inviqa / mx-widgetcomponent

inviqa/mx-widgetcomponent

Inviqa - MX Widget Component

magento2-module QA: failed
Viewing version 1.2.1. Latest version is 3.0.1. Switch to latest

MX_WidgetComponent

Useful module to implement widget components that don't exist in Magento 2.

Currently 5 types of component can be defined:

  • Image Picker
  • Date Picker
  • Datetime Picker
  • Textarea
  • Checkbox

##Compatibility
Magento 2.X

Usage

Image Picker

widget.xml

<parameter name="imagepicker_id" xsi:type="block" visible="true" required="false">
    <label translate="true">Image</label>
    <block class="MX\WidgetComponent\Block\Adminhtml\Component\ImagePicker" />
        <!-- Optional configuration parameters -->
        <data>
            <item name="dimension" xsi:type="array">
                <item name="max-width" xsi:type="string">500</item>
                <item name="max-height" xsi:type="string">500</item>
            </item>
            <item name="max-size" xsi:type="string">50000</item>
            <item name="button" xsi:type="array">
                <item name="open" xsi:type="string">Select Image...</item>
            </item>
        </data>
        <!-- Optional configuration parameters -->
    </block>
</parameter>

Date Picker

widget.xml

<parameter name="date_id" xsi:type="block" visible="true" required="false">
    <label translate="true">Date</label>
    <block class="MX\WidgetComponent\Block\Adminhtml\Component\DatePicker">
        <!-- Optional configuration parameters -->
        <data>
            <item name="dateFormat" xsi:type="string">Y-m-d</item>
            <item name="timeFormat" xsi:type="string">H:i</item>
            <item name="image" xsi:type="string">path-to/url</item>
            <item name="disabled" xsi:type="boolean">true</item>
        </data>
        <!-- Optional configuration parameters -->
    </block>
</parameter>

If timeFormat is set it will be implemented as a DateTimePicker.

Datetime Picker

widget.xml

<parameter name="datetime_id" xsi:type="block" visible="true" required="false">
    <label translate="true">Datetime</label>
    <block class="MX\WidgetComponent\Block\Adminhtml\Component\DateTimePicker">
        <!-- Optional configuration parameters -->
        <data>
            <item name="dateFormat" xsi:type="string">Y-m-d</item>
            <item name="timeFormat" xsi:type="string">H:i</item>
            <item name="image" xsi:type="string">path-to/url</item>
            <item name="disabled" xsi:type="boolean">true</item>
        </data>
        <!-- Optional configuration parameters -->
    </block>
</parameter>

Textarea

widget.xml

<parameter name="textarea_id" xsi:type="block" visible="true" required="false">
    <label translate="true">Textarea</label>
    <block class="MX\WidgetComponent\Block\Adminhtml\Component\Textarea" />
</parameter>

Checkbox

Useful for replacing the select boolean Yes/No component

widget.xml

<parameter name="checkbox_id" xsi:type="block" visible="true" required="false">
    <label translate="true">Checkbox</label>
    <block class="MX\WidgetComponent\Block\Adminhtml\Component\Checkbox">
        <data>
            <item name="value" xsi:type="string">checkbox_value</item>
        </data>
    </block>
</parameter>

No changelog yet

The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.

Versions
Version Stability QA Status Released
3.0.1 stable Fail 2020-09-15 09:23:42
3.0.0 stable Not tested 2020-06-15 13:37:03
2.2.1 stable Not tested 2018-05-11 15:49:29
2.2.0 stable Not tested 2018-05-11 14:34:38
2.1.0 stable Not tested 2018-04-25 09:00:07
2.0.1 stable Not tested 2018-02-28 14:27:22
2.0.0 stable Not tested 2017-05-26 07:34:12
1.6.1 stable Not tested 2017-04-21 10:41:41
1.6.0 stable Not tested 2017-04-20 14:49:48
1.5.0 stable Not tested 2017-04-07 06:44:48
1.4.0 stable Not tested 2017-04-01 09:16:27
1.3.1 stable Not tested 2017-03-31 07:01:52
1.3.0 stable Not tested 2017-03-08 13:23:04
1.2.1 stable Not tested 2016-12-20 14:37:52
1.2.0 stable Not tested 2016-12-16 18:44:42
1.1.1 stable Not tested 2016-12-16 07:36:22
1.1.0 stable Not tested 2016-12-15 15:17:30
1.0.0 stable Not tested 2016-12-14 07:18:16

Requires 7

Package Constraint
php >=5.5
symfony/yaml ~2.1|~3.0|^4.4
magento/framework ^100.1|^101.0|^102.0|^103.0
magento/module-backend ^100.1|^100.2|^101.0|^102.0
magento/module-cms ^101.0|^102.0|^103.0|^104.0
magento/module-ui ^100.1|^101.0
magento/module-catalog ^101.0|^102.0|^103.0|^104.0

No QA results yet

QA pipelines haven't run for this version. Status appears here once the vendor publishes a tagged release that gets ingested.

No license declared

This package's composer.json doesn't declare a license, homepage, or authors. Check the source repository for terms of use.

Make it pay

Turn an existing module into recurring revenue.

If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.