survey-js-ui 3.2.0 → 3.2.1
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/fesm/survey-js-ui.mjs +63 -43
- package/fesm/survey-js-ui.mjs.map +1 -1
- package/package.json +2 -2
- package/survey-js-ui.js +63 -43
- package/survey-js-ui.js.map +1 -1
- package/survey-js-ui.min.js +2 -2
- package/typings/survey-react-ui/src/dropdown-base.d.ts +3 -2
- package/typings/survey-react-ui/src/tagbox-filter.d.ts +4 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-js-ui",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"homepage": "https://surveyjs.io/",
|
|
6
6
|
"author": "DevSoft Baltic OU <info@devsoftbaltic.com>",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {},
|
|
62
62
|
"peerDependencies": {
|
|
63
|
-
"survey-core": "3.2.
|
|
63
|
+
"survey-core": "3.2.1",
|
|
64
64
|
"@types/react-dom": "*",
|
|
65
65
|
"@types/react": "*"
|
|
66
66
|
}
|
package/survey-js-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - Survey JavaScript library v3.2.
|
|
2
|
+
* surveyjs - Survey JavaScript library v3.2.1
|
|
3
3
|
* Copyright (c) 2015-2026 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5
5
|
*/
|
|
@@ -1284,6 +1284,10 @@
|
|
|
1284
1284
|
|
|
1285
1285
|
var ranking_arrows = "<svg viewBox=\"0 0 10 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M10 5L5 0L0 5H4V9H6V5H10Z\"/><path d=\"M6 19V15H4V19H0L5 24L10 19H6Z\"/></svg>";
|
|
1286
1286
|
|
|
1287
|
+
var rankingdot_16x16 = "<svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M8 10C9.10457 10 10 9.10457 10 8C10 6.89543 9.10457 6 8 6C6.89543 6 6 6.89543 6 8C6 9.10457 6.89543 10 8 10Z\"/></svg>";
|
|
1288
|
+
|
|
1289
|
+
var rankingplus_16x16 = "<svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M8 2.25C8.41 2.25 8.75 2.59 8.75 3V7.25H13C13.41 7.25 13.75 7.59 13.75 8C13.75 8.41 13.41 8.75 13 8.75H8.75V13C8.75 13.41 8.41 13.75 8 13.75C7.59 13.75 7.25 13.41 7.25 13V8.75H3C2.59 8.75 2.25 8.41 2.25 8C2.25 7.59 2.59 7.25 3 7.25H7.25V3C7.25 2.59 7.59 2.25 8 2.25Z\"/></svg>";
|
|
1290
|
+
|
|
1287
1291
|
var rankingundefined_16x16 = "<svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M11.75 8C11.75 8.41 11.41 8.75 11 8.75H5C4.59 8.75 4.25 8.41 4.25 8C4.25 7.59 4.59 7.25 5 7.25H11C11.41 7.25 11.75 7.59 11.75 8Z\"/></svg>";
|
|
1288
1292
|
|
|
1289
1293
|
var rating_star_2 = "<svg viewBox=\"0 0 48 48\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M24 39.5057L11.7226 45.9839C10.4095 46.6739 8.87606 45.5622 9.12525 44.096L11.4734 30.373L1.54411 20.6556C0.480254 19.6207 1.06489 17.8095 2.53128 17.5986L16.2559 15.5957L22.3994 3.10891C23.0512 1.77685 24.9488 1.77685 25.6102 3.10891L31.7441 15.5957L45.4687 17.5986C46.9351 17.8095 47.5197 19.6207 46.4559 20.6556L36.5266 30.373L38.8748 44.096C39.1239 45.5622 37.5905 46.6835 36.2774 45.9839L24 39.5057Z\" fill=\"none\" stroke-width=\"2\"/><path d=\"M24.3981 33.1305L24 32.9206L23.6019 33.1305L15.8715 37.2059L17.3542 28.5663L17.43 28.1246L17.1095 27.8113L10.83 21.6746L19.4965 20.4049L19.9405 20.3399L20.1387 19.9373L24 12.0936L27.8613 19.9373L28.0595 20.3399L28.5035 20.4049L37.17 21.6746L30.8905 27.8113L30.57 28.1246L30.6458 28.5663L32.1285 37.2059L24.3981 33.1305Z\" stroke-width=\"1.70746\"/></svg>";
|
|
@@ -1367,6 +1371,8 @@
|
|
|
1367
1371
|
"noimage-48x48": noimage_48x48,
|
|
1368
1372
|
"radio-16x16": radio_16x16,
|
|
1369
1373
|
"ranking-arrows": ranking_arrows,
|
|
1374
|
+
"rankingdot-16x16": rankingdot_16x16,
|
|
1375
|
+
"rankingplus-16x16": rankingplus_16x16,
|
|
1370
1376
|
"rankingundefined-16x16": rankingundefined_16x16,
|
|
1371
1377
|
"rating-star-2": rating_star_2,
|
|
1372
1378
|
"rating-star-small-2": rating_star_small_2,
|
|
@@ -1484,7 +1490,7 @@
|
|
|
1484
1490
|
this.survey.renderCallback = undefined;
|
|
1485
1491
|
this.survey.onPartialSend.clear();
|
|
1486
1492
|
this.survey.stopTimer();
|
|
1487
|
-
this.survey.
|
|
1493
|
+
this.survey.beforeDestroySurveyElement();
|
|
1488
1494
|
}
|
|
1489
1495
|
}
|
|
1490
1496
|
componentWillUnmount() {
|
|
@@ -2702,7 +2708,7 @@
|
|
|
2702
2708
|
return _$1(SurveyActionBar, { model: footerToolbar });
|
|
2703
2709
|
}
|
|
2704
2710
|
getIsVisible() {
|
|
2705
|
-
return this.panelBase.
|
|
2711
|
+
return this.panelBase.renderedIsContentVisible;
|
|
2706
2712
|
}
|
|
2707
2713
|
}
|
|
2708
2714
|
ReactElementFactory.Instance.registerElement("panel", (props) => {
|
|
@@ -3161,7 +3167,7 @@
|
|
|
3161
3167
|
}
|
|
3162
3168
|
renderEmptyIcon() {
|
|
3163
3169
|
return (_$1("svg", null,
|
|
3164
|
-
_$1("use", { xlinkHref: this.question.
|
|
3170
|
+
_$1("use", { xlinkHref: this.question.emptyIndexSvgIcon })));
|
|
3165
3171
|
}
|
|
3166
3172
|
renderElement() {
|
|
3167
3173
|
let itemContent = ReactElementFactory.Instance.createElement(this.question.itemComponent, { item: this.item, cssClasses: this.cssClasses });
|
|
@@ -3282,8 +3288,12 @@
|
|
|
3282
3288
|
});
|
|
3283
3289
|
|
|
3284
3290
|
class TagboxFilterString extends SurveyElementBase {
|
|
3291
|
+
// Creates the model: used by the event handlers only.
|
|
3285
3292
|
get model() {
|
|
3286
|
-
return this.props.model;
|
|
3293
|
+
return this.props.model || this.question.dropdownListModel;
|
|
3294
|
+
}
|
|
3295
|
+
get renderState() {
|
|
3296
|
+
return this.props.model || this.question.dropdownRenderState;
|
|
3287
3297
|
}
|
|
3288
3298
|
get question() {
|
|
3289
3299
|
return this.props.question;
|
|
@@ -3299,9 +3309,9 @@
|
|
|
3299
3309
|
updateDomElement() {
|
|
3300
3310
|
if (!!this.inputElement) {
|
|
3301
3311
|
const control = this.inputElement;
|
|
3302
|
-
const newValue = this.
|
|
3312
|
+
const newValue = this.renderState.inputStringRendered;
|
|
3303
3313
|
if (!surveyCore.Helpers.isTwoValueEquals(newValue, control.value, false, true, false)) {
|
|
3304
|
-
control.value = this.
|
|
3314
|
+
control.value = this.renderState.inputStringRendered;
|
|
3305
3315
|
}
|
|
3306
3316
|
}
|
|
3307
3317
|
}
|
|
@@ -3325,19 +3335,19 @@
|
|
|
3325
3335
|
super(props);
|
|
3326
3336
|
}
|
|
3327
3337
|
getStateElement() {
|
|
3328
|
-
return this.model;
|
|
3338
|
+
return this.props.model || this.question.dropdownListModelValue;
|
|
3329
3339
|
}
|
|
3330
3340
|
render() {
|
|
3331
3341
|
return (_$1("div", { className: this.question.cssClasses.hint },
|
|
3332
|
-
this.
|
|
3342
|
+
this.renderState.showHintPrefix ?
|
|
3333
3343
|
(_$1("div", { className: this.question.cssClasses.hintPrefix },
|
|
3334
|
-
_$1("span", null, this.
|
|
3344
|
+
_$1("span", null, this.renderState.hintStringPrefix))) : null,
|
|
3335
3345
|
_$1("div", { className: this.question.cssClasses.hintSuffixWrapper },
|
|
3336
|
-
this.
|
|
3346
|
+
this.renderState.showHintString ?
|
|
3337
3347
|
(_$1("div", { className: this.question.cssClasses.hintSuffix },
|
|
3338
|
-
_$1("span", { style: { visibility: "hidden" }, "data-bind": "text: model.filterString" }, this.
|
|
3339
|
-
_$1("span", null, this.
|
|
3340
|
-
_$1("input", { type: "text", autoComplete: "off", id: this.question.getInputId(), inputMode: this.
|
|
3348
|
+
_$1("span", { style: { visibility: "hidden" }, "data-bind": "text: model.filterString" }, this.renderState.inputStringRendered),
|
|
3349
|
+
_$1("span", null, this.renderState.hintStringSuffix))) : null,
|
|
3350
|
+
_$1("input", { type: "text", autoComplete: "off", id: this.question.getInputId(), inputMode: this.renderState.inputMode, ref: (element) => (this.inputElement = element), className: this.question.cssClasses.filterStringInput, disabled: this.question.isInputReadOnly, readOnly: this.renderState.filterReadOnly ? true : undefined, size: !this.renderState.inputStringRendered ? 1 : undefined, role: this.renderState.ariaInputRole, "aria-required": this.renderState.ariaInputRequired, "aria-invalid": this.renderState.ariaInputInvalid, "aria-errormessage": this.renderState.ariaInputErrorMessage, "aria-expanded": this.renderState.ariaInputExpanded, "aria-label": this.renderState.ariaInputLabel, "aria-labelledby": this.renderState.ariaInputLabelledby, "aria-describedby": this.renderState.ariaInputDescribedby, "aria-controls": this.renderState.ariaInputControls, "aria-activedescendant": this.renderState.ariaInputActivedescendant, placeholder: this.renderState.filterStringPlaceholder, onKeyDown: (e) => { this.keyhandler(e); }, onChange: (e) => { this.onChange(e); }, onBlur: (e) => { this.onBlur(e); }, onFocus: (e) => { this.onFocus(e); } }))));
|
|
3341
3351
|
}
|
|
3342
3352
|
}
|
|
3343
3353
|
ReactQuestionFactory.Instance.registerQuestion("sv-tagbox-filter", (props) => {
|
|
@@ -3416,8 +3426,18 @@
|
|
|
3416
3426
|
get dropdownListModel() {
|
|
3417
3427
|
return this.question["dropdownListModel"];
|
|
3418
3428
|
}
|
|
3419
|
-
|
|
3420
|
-
|
|
3429
|
+
// Everything the closed control renders. It does not create DropdownListModel; a question without it (a custom type)
|
|
3430
|
+
// falls back to the model.
|
|
3431
|
+
get renderState() {
|
|
3432
|
+
return this.question["dropdownRenderState"] || this.question["dropdownListModel"];
|
|
3433
|
+
}
|
|
3434
|
+
// The model is created on the first interaction or when the popup is rendered; componentDidUpdate subscribes to it then.
|
|
3435
|
+
getStateElements() {
|
|
3436
|
+
const res = [this.question];
|
|
3437
|
+
const model = this.question["dropdownListModelValue"];
|
|
3438
|
+
if (!!model)
|
|
3439
|
+
res.push(model);
|
|
3440
|
+
return res;
|
|
3421
3441
|
}
|
|
3422
3442
|
setValueCore(newValue) {
|
|
3423
3443
|
this.questionBase.renderedValue = newValue;
|
|
@@ -3436,25 +3456,24 @@
|
|
|
3436
3456
|
}
|
|
3437
3457
|
renderSelect(cssClasses) {
|
|
3438
3458
|
let selectElement = null;
|
|
3439
|
-
const
|
|
3459
|
+
const renderState = this.renderState;
|
|
3440
3460
|
if (this.question.isReadOnly) {
|
|
3441
3461
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
3442
3462
|
// @ts-ignore
|
|
3443
|
-
selectElement = _$1("div", { id: this.question.inputId, role:
|
|
3463
|
+
selectElement = _$1("div", { id: this.question.inputId, role: renderState === null || renderState === void 0 ? void 0 : renderState.ariaQuestionRole, "aria-label": renderState === null || renderState === void 0 ? void 0 : renderState.ariaQuestionLabel, "aria-labelledby": renderState === null || renderState === void 0 ? void 0 : renderState.ariaQuestionLabelledby, "aria-describedby": renderState === null || renderState === void 0 ? void 0 : renderState.ariaQuestionDescribedby, "aria-expanded": "false", "aria-readonly": "true", "aria-disabled": "true", tabIndex: this.question.isDisabledAttr ? undefined : 0, className: this.question.getControlClass(), ref: (div) => (this.setControl(div)) },
|
|
3444
3464
|
this.renderReadOnlyElement(),
|
|
3445
3465
|
this.renderEditorButtons());
|
|
3446
3466
|
}
|
|
3447
3467
|
else {
|
|
3448
3468
|
selectElement = _$1(k$2, null,
|
|
3449
3469
|
this.renderInput(),
|
|
3450
|
-
this.question.isInputReadOnly ? null : _$1(Popup, { model: dropdownListModel.popupModel }));
|
|
3470
|
+
this.question.isInputReadOnly ? null : _$1(Popup, { model: this.dropdownListModel.popupModel }));
|
|
3451
3471
|
}
|
|
3452
3472
|
return (_$1("div", { className: cssClasses.selectWrapper, onClick: this.click }, selectElement));
|
|
3453
3473
|
}
|
|
3454
3474
|
renderValueElement() {
|
|
3455
3475
|
if (this.question.showInputFieldComponent) {
|
|
3456
|
-
const
|
|
3457
|
-
const actionItem = !!listModel ? listModel.getSelectedAction() : this.question.selectedItem;
|
|
3476
|
+
const actionItem = this.renderState.getSelectedAction();
|
|
3458
3477
|
return ReactElementFactory.Instance.createElement(this.question.inputFieldComponentName, { item: actionItem, question: this.question });
|
|
3459
3478
|
}
|
|
3460
3479
|
else if (this.question.showSelectedItemLocText) {
|
|
@@ -3463,36 +3482,36 @@
|
|
|
3463
3482
|
return null;
|
|
3464
3483
|
}
|
|
3465
3484
|
renderInput() {
|
|
3466
|
-
const
|
|
3485
|
+
const renderState = this.renderState;
|
|
3467
3486
|
let valueElement = this.renderValueElement();
|
|
3468
|
-
return (_$1("div", { id: this.question.inputId, className: this.question.getControlClass(), tabIndex:
|
|
3487
|
+
return (_$1("div", { id: this.question.inputId, className: this.question.getControlClass(), tabIndex: renderState.noTabIndex ? undefined : 0,
|
|
3469
3488
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
3470
3489
|
// @ts-ignore
|
|
3471
|
-
disabled: this.question.isDisabledAttr, required: this.question.isRequired, onKeyDown: this.keyhandler, onBlur: this.blur, onFocus: this.focus, role:
|
|
3490
|
+
disabled: this.question.isDisabledAttr, required: this.question.isRequired, onKeyDown: this.keyhandler, onBlur: this.blur, onFocus: this.focus, role: renderState.ariaQuestionRole, "aria-required": renderState.ariaQuestionRequired, "aria-invalid": renderState.ariaQuestionInvalid, "aria-errormessage": renderState.ariaQuestionErrorMessage, "aria-expanded": renderState.ariaQuestionExpanded, "aria-label": renderState.ariaQuestionLabel, "aria-labelledby": renderState.ariaQuestionLabelledby, "aria-describedby": renderState.ariaQuestionDescribedby, "aria-controls": renderState.ariaQuestionControls, "aria-activedescendant": renderState.ariaQuestionActivedescendant, ref: (div) => (this.setControl(div)) },
|
|
3472
3491
|
_$1("div", { className: this.question.cssClasses.controlValue },
|
|
3473
|
-
|
|
3492
|
+
renderState.showHintPrefix ?
|
|
3474
3493
|
(_$1("div", { className: this.question.cssClasses.hintPrefix },
|
|
3475
|
-
_$1("span", null,
|
|
3494
|
+
_$1("span", null, renderState.hintStringPrefix))) : null,
|
|
3476
3495
|
_$1("div", { className: this.question.cssClasses.inputPrefixWrapper },
|
|
3477
|
-
|
|
3496
|
+
renderState.showHintString ?
|
|
3478
3497
|
(_$1("div", { className: this.question.cssClasses.hintSuffix },
|
|
3479
|
-
_$1("span", { style: { visibility: "hidden" }, "data-bind": "text: model.filterString" },
|
|
3480
|
-
_$1("span", null,
|
|
3498
|
+
_$1("span", { style: { visibility: "hidden" }, "data-bind": "text: model.filterString" }, renderState.inputStringRendered),
|
|
3499
|
+
_$1("span", null, renderState.hintStringSuffix))) : null,
|
|
3481
3500
|
valueElement,
|
|
3482
|
-
|
|
3501
|
+
renderState.needRenderInput ? this.renderFilterInput() : null)),
|
|
3483
3502
|
this.renderEditorButtons()));
|
|
3484
3503
|
}
|
|
3485
3504
|
renderFilterInput() {
|
|
3486
3505
|
surveyCore.settings.environment;
|
|
3487
|
-
const
|
|
3506
|
+
const renderState = this.renderState;
|
|
3488
3507
|
const onInputChange = (e) => {
|
|
3489
3508
|
var _a;
|
|
3490
3509
|
const activeElement = (_a = e.target.getRootNode()) === null || _a === void 0 ? void 0 : _a.activeElement;
|
|
3491
3510
|
if (e.target === activeElement) {
|
|
3492
|
-
dropdownListModel.inputStringRendered = e.target.value;
|
|
3511
|
+
this.dropdownListModel.inputStringRendered = e.target.value;
|
|
3493
3512
|
}
|
|
3494
3513
|
};
|
|
3495
|
-
return _$1("input", { type: "text", autoComplete: "off", id: this.question.getInputId(), ref: (element) => (this.inputElement = element), className: this.question.cssClasses.filterStringInput, role:
|
|
3514
|
+
return _$1("input", { type: "text", autoComplete: "off", id: this.question.getInputId(), ref: (element) => (this.inputElement = element), className: this.question.cssClasses.filterStringInput, role: renderState.ariaInputRole, "aria-required": renderState.ariaInputRequired, "aria-invalid": renderState.ariaInputInvalid, "aria-errormessage": renderState.ariaInputErrorMessage, "aria-expanded": renderState.ariaInputExpanded, "aria-label": renderState.ariaInputLabel, "aria-labelledby": renderState.ariaInputLabelledby, "aria-describedby": renderState.ariaInputDescribedby, "aria-controls": renderState.ariaInputControls, "aria-activedescendant": renderState.ariaInputActivedescendant, placeholder: renderState.placeholderRendered, readOnly: renderState.filterReadOnly ? true : undefined, tabIndex: renderState.noTabIndex ? undefined : -1, disabled: this.question.isDisabledAttr, inputMode: renderState.inputMode, onChange: (e) => { onInputChange(e); }, onBlur: this.blur, onFocus: this.focus });
|
|
3496
3515
|
}
|
|
3497
3516
|
renderOther(item, cssClasses) {
|
|
3498
3517
|
if (!item || !item.isCommentShowing)
|
|
@@ -3501,7 +3520,7 @@
|
|
|
3501
3520
|
_$1(SurveyQuestionCommentValueItem, { question: this.question, item: item, cssClasses: this.question.cssClasses })));
|
|
3502
3521
|
}
|
|
3503
3522
|
renderEditorButtons() {
|
|
3504
|
-
return _$1(SurveyActionBar, { model: this.
|
|
3523
|
+
return _$1(SurveyActionBar, { model: this.renderState.editorButtons });
|
|
3505
3524
|
}
|
|
3506
3525
|
componentDidUpdate(prevProps, prevState) {
|
|
3507
3526
|
super.componentDidUpdate(prevProps, prevState);
|
|
@@ -3513,15 +3532,16 @@
|
|
|
3513
3532
|
}
|
|
3514
3533
|
componentWillUnmount() {
|
|
3515
3534
|
super.componentWillUnmount();
|
|
3516
|
-
|
|
3517
|
-
|
|
3535
|
+
const model = this.question["dropdownListModelValue"];
|
|
3536
|
+
if (model)
|
|
3537
|
+
model.focused = false;
|
|
3518
3538
|
}
|
|
3519
3539
|
updateInputDomElement() {
|
|
3520
3540
|
if (!!this.inputElement) {
|
|
3521
3541
|
const control = this.inputElement;
|
|
3522
|
-
const newValue = this.
|
|
3542
|
+
const newValue = this.renderState.inputStringRendered;
|
|
3523
3543
|
if (!surveyCore.Helpers.isTwoValueEquals(newValue, control.value, false, true, false)) {
|
|
3524
|
-
control.value = this.
|
|
3544
|
+
control.value = this.renderState.inputStringRendered;
|
|
3525
3545
|
}
|
|
3526
3546
|
}
|
|
3527
3547
|
}
|
|
@@ -3582,15 +3602,15 @@
|
|
|
3582
3602
|
return renderedItem;
|
|
3583
3603
|
}
|
|
3584
3604
|
renderInput() {
|
|
3585
|
-
const
|
|
3605
|
+
const renderState = this.renderState;
|
|
3586
3606
|
const items = this.question.selectedChoices.map((choice, index) => { return this.renderItem("item" + index, choice); });
|
|
3587
|
-
return (_$1("div", { id: this.question.inputId, className: this.question.getControlClass(), tabIndex:
|
|
3607
|
+
return (_$1("div", { id: this.question.inputId, className: this.question.getControlClass(), tabIndex: renderState.noTabIndex ? undefined : 0,
|
|
3588
3608
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
3589
3609
|
// @ts-ignore
|
|
3590
|
-
disabled: this.question.isInputReadOnly, required: this.question.isRequired, onKeyDown: this.keyhandler, onBlur: this.blur, role:
|
|
3610
|
+
disabled: this.question.isInputReadOnly, required: this.question.isRequired, onKeyDown: this.keyhandler, onBlur: this.blur, role: renderState.ariaQuestionRole, "aria-required": renderState.ariaQuestionRequired, "aria-invalid": renderState.ariaQuestionInvalid, "aria-errormessage": renderState.ariaQuestionErrorMessage, "aria-label": renderState.ariaQuestionLabel, "aria-labelledby": renderState.ariaQuestionLabelledby, "aria-describedby": renderState.ariaQuestionDescribedby, "aria-expanded": renderState.ariaQuestionExpanded, "aria-controls": renderState.ariaQuestionControls, "aria-activedescendant": renderState.ariaQuestionActivedescendant, ref: (div) => (this.setControl(div)) },
|
|
3591
3611
|
_$1("div", { className: this.question.cssClasses.controlValue },
|
|
3592
3612
|
items,
|
|
3593
|
-
|
|
3613
|
+
renderState.needRenderInput ? _$1(TagboxFilterString, { question: this.question }) : null),
|
|
3594
3614
|
this.renderEditorButtons()));
|
|
3595
3615
|
}
|
|
3596
3616
|
renderElement() {
|
|
@@ -6265,7 +6285,7 @@
|
|
|
6265
6285
|
}
|
|
6266
6286
|
};
|
|
6267
6287
|
const preact = React;
|
|
6268
|
-
surveyCore.checkLibraryVersion(`${"3.2.
|
|
6288
|
+
surveyCore.checkLibraryVersion(`${"3.2.1"}`, "survey-js-ui");
|
|
6269
6289
|
|
|
6270
6290
|
Object.defineProperty(exports, 'Model', {
|
|
6271
6291
|
enumerable: true,
|