@subiz/widget-v4 4.1.142 → 4.1.143
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compiled_src/chatbox/Widget.js +2 -2
- package/compiled_src/store/store.js +1257 -0
- package/compiled_src/util/campaign.js +88 -0
- package/compiled_src/util/common.js +1294 -0
- package/compiled_src/util/common.test.js +496 -0
- package/compiled_src/util/extractor.test.js +299 -0
- package/compiled_src/util/gate.js +38 -0
- package/compiled_src/util/gate.test.js +18 -0
- package/compiled_src/util/index.js +20 -0
- package/compiled_src/util/mutex.js +31 -0
- package/compiled_src/util/op.js +55 -0
- package/compiled_src/util/pubsub.js +29 -0
- package/compiled_src/util/pubsub.test.js +35 -0
- package/dist/19680dc0775.278.js +1 -0
- package/dist/19680dc0775.app.js +1 -0
- package/dist/19680dc0775.form.html +1 -0
- package/dist/19680dc0775.form.js +1 -0
- package/dist/{1967c022bc1.index.html → 19680dc0775.index.html} +1 -1
- package/dist/{1967c022bc1.library.html → 19680dc0775.library.html} +1 -1
- package/dist/19680dc0775.library.js +1 -0
- package/dist/{1967c022bc1.preview.html → 19680dc0775.preview.html} +1 -1
- package/dist/19680dc0775.preview.js +1 -0
- package/dist/19680dc0775.webview.js +1 -0
- package/dist/278.js +1 -1
- package/dist/HASH +1 -1
- package/dist/screenshoot.js +79 -90
- package/package.json +1 -1
- package/src/chatbox/Widget.js +2 -2
- package/dist/1967c022bc1.278.js +0 -1
- package/dist/1967c022bc1.app.js +0 -1
- package/dist/1967c022bc1.form.html +0 -1
- package/dist/1967c022bc1.form.js +0 -1
- package/dist/1967c022bc1.library.js +0 -1
- package/dist/1967c022bc1.preview.js +0 -1
- package/dist/1967c022bc1.webview.js +0 -1
- /package/dist/{1967c022bc1.127.js → 19680dc0775.127.js} +0 -0
- /package/dist/{1967c022bc1.132.js → 19680dc0775.132.js} +0 -0
- /package/dist/{1967c022bc1.185.js → 19680dc0775.185.js} +0 -0
- /package/dist/{1967c022bc1.27.js → 19680dc0775.27.js} +0 -0
- /package/dist/{1967c022bc1.459.js → 19680dc0775.459.js} +0 -0
- /package/dist/{1967c022bc1.490.js → 19680dc0775.490.js} +0 -0
- /package/dist/{1967c022bc1.74.js → 19680dc0775.74.js} +0 -0
- /package/dist/{1967c022bc1.997.js → 19680dc0775.997.js} +0 -0
|
@@ -541,9 +541,9 @@ class Widget extends _common.Com {
|
|
|
541
541
|
});
|
|
542
542
|
} else if (_index.default.get(field, 'def.select') === 'checkbox') {
|
|
543
543
|
$field = this.renderCheckboxField(field);
|
|
544
|
-
} else if (_index.default.get(field, 'def.select') === 'radio') {
|
|
544
|
+
} else if (_index.default.get(field, 'def.select') === 'radio' && _index.default.size(_index.default.get(field, 'def.items', [])) < 5) {
|
|
545
545
|
$field = this.renderRadioField(field);
|
|
546
|
-
} else if (_index.default.get(field, 'def.select') === 'dropdown') {
|
|
546
|
+
} else if (_index.default.get(field, 'def.select') === 'dropdown' || _index.default.size(_index.default.get(field, 'def.items', [])) >= 5) {
|
|
547
547
|
$field = this.renderDropdownField(field);
|
|
548
548
|
} else {
|
|
549
549
|
$field = (0, _preact.h)("input", {
|