survey-creator-core 1.9.83 → 1.9.85
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/fonts.fontless.css +1 -1
- package/fonts.fontless.min.css +1 -1
- package/package.json +2 -2
- package/survey-creator-core.css +102 -25
- package/survey-creator-core.d.ts +1 -8046
- package/survey-creator-core.fontless.css +101 -24
- package/survey-creator-core.fontless.css.map +1 -1
- package/survey-creator-core.fontless.min.css +6 -6
- package/survey-creator-core.i18n.js +126 -128
- package/survey-creator-core.i18n.js.map +1 -1
- package/survey-creator-core.i18n.min.js +2 -2
- package/survey-creator-core.js +530 -165
- package/survey-creator-core.js.map +1 -1
- package/survey-creator-core.min.css +7 -7
- package/survey-creator-core.min.js +2 -2
- package/typings/components/action-container-view-model.d.ts +27 -0
- package/typings/components/embedded-survey.d.ts +9 -0
- package/typings/components/header/logo-image.d.ts +15 -0
- package/typings/components/image-item-value.d.ts +21 -0
- package/typings/components/item-value.d.ts +42 -0
- package/typings/components/link-value.d.ts +27 -0
- package/typings/components/matrix-cell.d.ts +25 -0
- package/typings/components/page-navigator/page-navigator.d.ts +39 -0
- package/typings/components/page.d.ts +28 -0
- package/typings/components/question-dropdown.d.ts +18 -0
- package/typings/components/question-image.d.ts +9 -0
- package/typings/components/question-rating.d.ts +18 -0
- package/typings/components/question.d.ts +41 -0
- package/typings/components/results.d.ts +40 -0
- package/typings/components/row.d.ts +9 -0
- package/typings/components/side-bar/side-bar-model.d.ts +34 -0
- package/typings/components/side-bar/side-bar-tab-model.d.ts +11 -0
- package/typings/components/simulator.d.ts +205 -0
- package/typings/components/string-editor.d.ts +68 -0
- package/typings/components/tabs/designer-plugin.d.ts +26 -0
- package/typings/components/tabs/designer.d.ts +30 -0
- package/typings/components/tabs/embed-json.d.ts +1 -0
- package/typings/components/tabs/embed.d.ts +13 -0
- package/typings/components/tabs/json-editor-ace.d.ts +22 -0
- package/typings/components/tabs/json-editor-plugin.d.ts +28 -0
- package/typings/components/tabs/json-editor-textarea.d.ts +22 -0
- package/typings/components/tabs/logic-actions-model.d.ts +49 -0
- package/typings/components/tabs/logic-expression.d.ts +32 -0
- package/typings/components/tabs/logic-item-editor.d.ts +53 -0
- package/typings/components/tabs/logic-items.d.ts +96 -0
- package/typings/components/tabs/logic-plugin.d.ts +22 -0
- package/typings/components/tabs/logic-theme.d.ts +327 -0
- package/typings/components/tabs/logic-types.d.ts +77 -0
- package/typings/components/tabs/logic-ui.d.ts +68 -0
- package/typings/components/tabs/logic.d.ts +102 -0
- package/typings/components/tabs/test-plugin.d.ts +33 -0
- package/typings/components/tabs/test.d.ts +43 -0
- package/typings/components/tabs/translation-plugin.d.ts +33 -0
- package/typings/components/tabs/translation-theme.d.ts +301 -0
- package/typings/components/tabs/translation.d.ts +199 -0
- package/typings/components/toolbox/toolbox-tool.d.ts +16 -0
- package/typings/creator-base.d.ts +1375 -0
- package/typings/creator-options.d.ts +247 -0
- package/typings/creator-responsivity-manager.d.ts +22 -0
- package/typings/creator-settings.d.ts +219 -0
- package/typings/custom-questions/question-color.d.ts +15 -0
- package/typings/custom-questions/question-file.d.ts +15 -0
- package/typings/custom-questions/question-spin-editor.d.ts +25 -0
- package/typings/editable-object.d.ts +20 -0
- package/typings/editorLocalization.d.ts +954 -0
- package/typings/entries/index.d.ts +68 -0
- package/typings/expressionToDisplayText.d.ts +46 -0
- package/typings/json5.d.ts +46 -0
- package/typings/localization/english.d.ts +925 -0
- package/typings/pages-controller.d.ts +21 -0
- package/typings/plugins/undo-redo/index.d.ts +12 -0
- package/typings/plugins/undo-redo/undo-redo-controller.d.ts +40 -0
- package/typings/plugins/undo-redo/undo-redo-manager.d.ts +78 -0
- package/typings/property-grid/bindings.d.ts +10 -0
- package/typings/property-grid/cells-survey.d.ts +14 -0
- package/typings/property-grid/condition-survey.d.ts +117 -0
- package/typings/property-grid/condition.d.ts +13 -0
- package/typings/property-grid/description-parser.d.ts +10 -0
- package/typings/property-grid/fast-entry.d.ts +32 -0
- package/typings/property-grid/index.d.ts +239 -0
- package/typings/property-grid/matrices.d.ts +135 -0
- package/typings/property-grid/object-selector.d.ts +42 -0
- package/typings/property-grid/property-grid-view-model.d.ts +23 -0
- package/typings/property-grid/restfull.d.ts +8 -0
- package/typings/property-grid/values-survey.d.ts +42 -0
- package/typings/property-grid/values.d.ts +37 -0
- package/typings/property-grid-theme/property-grid.d.ts +346 -0
- package/typings/question-editor/definition.d.ts +22 -0
- package/typings/question-editor/properties.d.ts +49 -0
- package/typings/questionconverter.d.ts +12 -0
- package/typings/selection-history.d.ts +20 -0
- package/typings/selection-owner.d.ts +7 -0
- package/typings/survey-helper.d.ts +44 -0
- package/typings/svgbundle.d.ts +1 -0
- package/typings/textWorker.d.ts +18 -0
- package/typings/toolbox.d.ts +269 -0
- package/typings/utils/actions.d.ts +5 -0
- package/typings/utils/events.d.ts +14 -0
- package/typings/utils/resizer.d.ts +24 -0
- package/typings/utils/utils.d.ts +19 -0
package/survey-creator-core.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* SurveyJS Creator v1.9.
|
|
2
|
+
* SurveyJS Creator v1.9.85
|
|
3
3
|
* (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* Github: https://github.com/surveyjs/survey-creator
|
|
5
5
|
* License: https://surveyjs.io/Licenses#SurveyCreator
|
|
@@ -949,8 +949,16 @@ var QuestionLinkValueModel = /** @class */ (function (_super) {
|
|
|
949
949
|
if (this.allowClear) {
|
|
950
950
|
this.showClear = !survey_core__WEBPACK_IMPORTED_MODULE_1__["Helpers"].isValueEmpty(newValue);
|
|
951
951
|
}
|
|
952
|
+
this.updateIsClickable();
|
|
952
953
|
}
|
|
953
954
|
};
|
|
955
|
+
QuestionLinkValueModel.prototype.onReadOnlyChanged = function () {
|
|
956
|
+
this.updateIsClickable();
|
|
957
|
+
_super.prototype.onReadOnlyChanged.call(this);
|
|
958
|
+
};
|
|
959
|
+
QuestionLinkValueModel.prototype.updateIsClickable = function () {
|
|
960
|
+
this.setPropertyValue("isClickable", !this.isReadOnly || (!!this.isClickableCallback && this.isClickableCallback()));
|
|
961
|
+
};
|
|
954
962
|
Object.defineProperty(QuestionLinkValueModel.prototype, "ariaRole", {
|
|
955
963
|
get: function () {
|
|
956
964
|
return "button";
|
|
@@ -1026,6 +1034,9 @@ var QuestionLinkValueModel = /** @class */ (function (_super) {
|
|
|
1026
1034
|
Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
|
|
1027
1035
|
Object(survey_core__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: false })
|
|
1028
1036
|
], QuestionLinkValueModel.prototype, "showTooltip", void 0);
|
|
1037
|
+
Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
|
|
1038
|
+
Object(survey_core__WEBPACK_IMPORTED_MODULE_1__["property"])({ defaultValue: true })
|
|
1039
|
+
], QuestionLinkValueModel.prototype, "isClickable", void 0);
|
|
1029
1040
|
return QuestionLinkValueModel;
|
|
1030
1041
|
}(survey_core__WEBPACK_IMPORTED_MODULE_1__["Question"]));
|
|
1031
1042
|
|
|
@@ -1071,6 +1082,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1071
1082
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
1072
1083
|
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_1__);
|
|
1073
1084
|
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/utils */ "./src/utils/utils.ts");
|
|
1085
|
+
/* harmony import */ var _survey_helper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../survey-helper */ "./src/survey-helper.ts");
|
|
1086
|
+
|
|
1074
1087
|
|
|
1075
1088
|
|
|
1076
1089
|
|
|
@@ -1167,6 +1180,15 @@ var MatrixCellWrapperViewModel = /** @class */ (function (_super) {
|
|
|
1167
1180
|
}
|
|
1168
1181
|
event.stopPropagation();
|
|
1169
1182
|
};
|
|
1183
|
+
Object.defineProperty(MatrixCellWrapperViewModel.prototype, "isSupportCellEditor", {
|
|
1184
|
+
get: function () {
|
|
1185
|
+
if (!this.question || !this.question.getType)
|
|
1186
|
+
return false;
|
|
1187
|
+
return _survey_helper__WEBPACK_IMPORTED_MODULE_3__["SurveyHelper"].isSupportCellEditor(this.question.getType());
|
|
1188
|
+
},
|
|
1189
|
+
enumerable: false,
|
|
1190
|
+
configurable: true
|
|
1191
|
+
});
|
|
1170
1192
|
MatrixCellWrapperViewModel.prototype.hover = function (event, element) {
|
|
1171
1193
|
if (!this.row && this.context && this.context.getPropertyValue && this.context.getType && this.context.getType() !== "itemvalue") {
|
|
1172
1194
|
Object(_utils_utils__WEBPACK_IMPORTED_MODULE_2__["toggleHovered"])(event, element);
|
|
@@ -1419,8 +1441,10 @@ var PageNavigatorViewModel = /** @class */ (function (_super) {
|
|
|
1419
1441
|
this._resizeObserver.disconnect();
|
|
1420
1442
|
this._resizeObserver = undefined;
|
|
1421
1443
|
}
|
|
1422
|
-
this.
|
|
1423
|
-
|
|
1444
|
+
if (!this.isDisposed) {
|
|
1445
|
+
this.visibleItemsStartIndex = 0;
|
|
1446
|
+
this.visibleItemsCount = Number.MAX_VALUE;
|
|
1447
|
+
}
|
|
1424
1448
|
};
|
|
1425
1449
|
PageNavigatorViewModel.prototype.setScrollableContainer = function (scrollableContainer) {
|
|
1426
1450
|
this._scrollableContainer = scrollableContainer;
|
|
@@ -1618,6 +1642,7 @@ var PageAdorner = /** @class */ (function (_super) {
|
|
|
1618
1642
|
"title",
|
|
1619
1643
|
"description"
|
|
1620
1644
|
]);
|
|
1645
|
+
this.page["surveyChangedCallback"] = undefined;
|
|
1621
1646
|
}
|
|
1622
1647
|
this.onPropertyValueChangedCallback = undefined;
|
|
1623
1648
|
};
|
|
@@ -1949,10 +1974,13 @@ var QuestionRatingAdornerViewModel = /** @class */ (function (_super) {
|
|
|
1949
1974
|
enumerable: false,
|
|
1950
1975
|
configurable: true
|
|
1951
1976
|
});
|
|
1977
|
+
QuestionRatingAdornerViewModel.useRateValues = function (element) {
|
|
1978
|
+
return element.useRateValues();
|
|
1979
|
+
};
|
|
1952
1980
|
QuestionRatingAdornerViewModel.prototype.addItem = function (model) {
|
|
1953
1981
|
if (!model.allowAdd)
|
|
1954
1982
|
return;
|
|
1955
|
-
if (model.element
|
|
1983
|
+
if (!QuestionRatingAdornerViewModel.useRateValues(model.element)) {
|
|
1956
1984
|
model.element.rateMax += model.element.rateStep;
|
|
1957
1985
|
}
|
|
1958
1986
|
else {
|
|
@@ -1990,12 +2018,12 @@ var QuestionRatingAdornerViewModel = /** @class */ (function (_super) {
|
|
|
1990
2018
|
var allowDelete = model.creator.onCollectionItemDeletingCallback(model.element, property, model.element.rateValues, item);
|
|
1991
2019
|
if (allowDelete) {
|
|
1992
2020
|
var question = model.element;
|
|
1993
|
-
if (
|
|
2021
|
+
if (!QuestionRatingAdornerViewModel.useRateValues(model.element) &&
|
|
1994
2022
|
itemIndex === question.rateValues.length - 1) {
|
|
1995
2023
|
question.rateMax -= question.rateStep;
|
|
1996
2024
|
}
|
|
1997
2025
|
else {
|
|
1998
|
-
if (
|
|
2026
|
+
if (!QuestionRatingAdornerViewModel.useRateValues(model.element)) {
|
|
1999
2027
|
// eslint-disable-next-line no-self-assign
|
|
2000
2028
|
question.rateValues = question.rateValues;
|
|
2001
2029
|
}
|
|
@@ -2003,18 +2031,32 @@ var QuestionRatingAdornerViewModel = /** @class */ (function (_super) {
|
|
|
2003
2031
|
}
|
|
2004
2032
|
}
|
|
2005
2033
|
};
|
|
2034
|
+
QuestionRatingAdornerViewModel.allowAddForElement = function (element, maximumRateValues) {
|
|
2035
|
+
if ((maximumRateValues < 1 || maximumRateValues > survey_core__WEBPACK_IMPORTED_MODULE_1__["settings"].ratingMaximumRateValueCount) && !QuestionRatingAdornerViewModel.useRateValues(element))
|
|
2036
|
+
maximumRateValues = survey_core__WEBPACK_IMPORTED_MODULE_1__["settings"].ratingMaximumRateValueCount;
|
|
2037
|
+
if (element.rateDisplayMode == "smileys" && (maximumRateValues < 1 || maximumRateValues > 10))
|
|
2038
|
+
maximumRateValues = 10;
|
|
2039
|
+
if (maximumRateValues < 1)
|
|
2040
|
+
return true;
|
|
2041
|
+
return element.rateCount < maximumRateValues;
|
|
2042
|
+
};
|
|
2006
2043
|
Object.defineProperty(QuestionRatingAdornerViewModel.prototype, "allowAdd", {
|
|
2007
2044
|
get: function () {
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2045
|
+
if (this.creator.readOnly)
|
|
2046
|
+
return false;
|
|
2047
|
+
return QuestionRatingAdornerViewModel.allowAddForElement(this.element, this.creator.maximumRateValues);
|
|
2011
2048
|
},
|
|
2012
2049
|
enumerable: false,
|
|
2013
2050
|
configurable: true
|
|
2014
2051
|
});
|
|
2052
|
+
QuestionRatingAdornerViewModel.allowRemoveForElement = function (element) {
|
|
2053
|
+
return element.rateCount > 2;
|
|
2054
|
+
};
|
|
2015
2055
|
Object.defineProperty(QuestionRatingAdornerViewModel.prototype, "allowRemove", {
|
|
2016
2056
|
get: function () {
|
|
2017
|
-
|
|
2057
|
+
if (this.creator.readOnly)
|
|
2058
|
+
return false;
|
|
2059
|
+
return QuestionRatingAdornerViewModel.allowRemoveForElement(this.element);
|
|
2018
2060
|
},
|
|
2019
2061
|
enumerable: false,
|
|
2020
2062
|
configurable: true
|
|
@@ -2178,6 +2220,7 @@ var QuestionAdornerViewModel = /** @class */ (function (_super) {
|
|
|
2178
2220
|
});
|
|
2179
2221
|
QuestionAdornerViewModel.prototype.dispose = function () {
|
|
2180
2222
|
this.surveyElement.unRegisterFunctionOnPropertyValueChanged("isRequired", "isRequiredAdorner");
|
|
2223
|
+
this.surveyElement.unRegisterFunctionOnPropertyValueChanged("inputType", "inputTypeAdorner");
|
|
2181
2224
|
if (!!this.surveyElement["setCanShowOptionItemCallback"]) {
|
|
2182
2225
|
this.surveyElement.setCanShowOptionItemCallback(undefined);
|
|
2183
2226
|
}
|
|
@@ -2199,9 +2242,15 @@ var QuestionAdornerViewModel = /** @class */ (function (_super) {
|
|
|
2199
2242
|
QuestionAdornerViewModel.prototype.updateElementAllowOptions = function (options, operationsAllow) {
|
|
2200
2243
|
_super.prototype.updateElementAllowOptions.call(this, options, operationsAllow);
|
|
2201
2244
|
this.updateActionVisibility("convertTo", operationsAllow && options.allowChangeType);
|
|
2202
|
-
|
|
2245
|
+
this.updateActionVisibilityByProp("isrequired", "isRequired", operationsAllow && options.allowChangeRequired);
|
|
2246
|
+
this.updateActionVisibilityByProp("convertInputType", "inputType", options.allowChangeInputType);
|
|
2247
|
+
};
|
|
2248
|
+
QuestionAdornerViewModel.prototype.updateActionVisibilityByProp = function (actionName, propName, allow) {
|
|
2249
|
+
var prop = survey_core__WEBPACK_IMPORTED_MODULE_1__["Serializer"].findProperty(this.surveyElement.getType(), propName);
|
|
2250
|
+
if (!prop)
|
|
2251
|
+
return;
|
|
2203
2252
|
var isPropReadOnly = this.creator.onIsPropertyReadOnlyCallback(this.surveyElement, prop, prop.readOnly, null, null);
|
|
2204
|
-
this.updateActionVisibility(
|
|
2253
|
+
this.updateActionVisibility(actionName, allow && !isPropReadOnly);
|
|
2205
2254
|
};
|
|
2206
2255
|
Object.defineProperty(QuestionAdornerViewModel.prototype, "isEmptyElement", {
|
|
2207
2256
|
get: function () {
|
|
@@ -2268,32 +2317,69 @@ var QuestionAdornerViewModel = /** @class */ (function (_super) {
|
|
|
2268
2317
|
enumerable: false,
|
|
2269
2318
|
configurable: true
|
|
2270
2319
|
});
|
|
2271
|
-
QuestionAdornerViewModel.prototype.
|
|
2320
|
+
QuestionAdornerViewModel.prototype.createConvertToAction = function () {
|
|
2272
2321
|
var _this = this;
|
|
2273
2322
|
var availableTypes = this.getConvertToTypesActions();
|
|
2274
2323
|
var allowChangeType = availableTypes.length > 0;
|
|
2275
|
-
var
|
|
2276
|
-
|
|
2277
|
-
|
|
2324
|
+
var newAction = this.createDropdownModel("convertTo", availableTypes, allowChangeType, 0, this.currentType, function (item) {
|
|
2325
|
+
_this.creator.convertCurrentQuestion(item.id);
|
|
2326
|
+
});
|
|
2327
|
+
return newAction;
|
|
2328
|
+
};
|
|
2329
|
+
QuestionAdornerViewModel.prototype.createConvertInputType = function () {
|
|
2330
|
+
var _this = this;
|
|
2331
|
+
if (this.surveyElement.getType() !== "text")
|
|
2332
|
+
return null;
|
|
2333
|
+
var prop = survey_core__WEBPACK_IMPORTED_MODULE_1__["Serializer"].findProperty("text", "inputType");
|
|
2334
|
+
if (!prop || !Object(_utils_utils__WEBPACK_IMPORTED_MODULE_4__["isPropertyVisible"])(this.surveyElement, prop.name))
|
|
2335
|
+
return null;
|
|
2336
|
+
var inputType = this.surveyElement.inputType;
|
|
2337
|
+
var items = prop.getChoices(this.surveyElement, function (chs) { });
|
|
2338
|
+
var availableTypes = [];
|
|
2339
|
+
items.forEach(function (item) {
|
|
2340
|
+
availableTypes.push({ id: item, title: _editorLocalization__WEBPACK_IMPORTED_MODULE_2__["editorLocalization"].getPropertyValueInEditor(prop.name, item) });
|
|
2341
|
+
});
|
|
2342
|
+
var newAction = this.createDropdownModel("convertInputType", availableTypes, true, 1, inputType, function (item) {
|
|
2343
|
+
_this.surveyElement.inputType = item.id;
|
|
2344
|
+
newAction.title = item.title;
|
|
2345
|
+
});
|
|
2346
|
+
this.surveyElement.registerFunctionOnPropertyValueChanged("inputType", function () {
|
|
2347
|
+
var item = _this.getSelectedItem(availableTypes, _this.surveyElement.inputType);
|
|
2348
|
+
if (!item)
|
|
2349
|
+
return;
|
|
2350
|
+
var popup = newAction.popupModel;
|
|
2351
|
+
var list = popup.contentComponentData.model;
|
|
2352
|
+
list.selectedItem = item;
|
|
2353
|
+
newAction.title = item.title;
|
|
2354
|
+
}, "inputTypeAdorner");
|
|
2355
|
+
newAction.removePriority = 1;
|
|
2356
|
+
return newAction;
|
|
2357
|
+
};
|
|
2358
|
+
QuestionAdornerViewModel.prototype.getSelectedItem = function (actions, id) {
|
|
2359
|
+
var selectedItems = actions.filter(function (item) { return item.id === id; });
|
|
2360
|
+
return selectedItems.length > 0 ? selectedItems[0] : undefined;
|
|
2361
|
+
};
|
|
2362
|
+
QuestionAdornerViewModel.prototype.createDropdownModel = function (id, actions, enabled, index, selValue, onSelectionChanged) {
|
|
2363
|
+
var _this = this;
|
|
2364
|
+
var selItem = this.getSelectedItem(actions, selValue);
|
|
2365
|
+
var actionTitle = !!selItem ? selItem.title : selValue;
|
|
2278
2366
|
var newAction = Object(survey_core__WEBPACK_IMPORTED_MODULE_1__["createDropdownActionModel"])({
|
|
2279
|
-
id:
|
|
2367
|
+
id: id,
|
|
2280
2368
|
css: "sv-action--convertTo sv-action-bar-item--secondary",
|
|
2281
2369
|
iconName: "icon-drop-down-arrow_16x16",
|
|
2282
2370
|
iconSize: 16,
|
|
2283
2371
|
title: actionTitle,
|
|
2284
|
-
|
|
2285
|
-
|
|
2372
|
+
enabled: enabled,
|
|
2373
|
+
visibleIndex: index,
|
|
2286
2374
|
disableShrink: true,
|
|
2287
2375
|
action: function (newType) {
|
|
2288
2376
|
newAction.popupModel.displayMode = _this.creator.isMobileView ? "overlay" : "popup";
|
|
2289
2377
|
},
|
|
2290
2378
|
}, {
|
|
2291
|
-
items:
|
|
2292
|
-
onSelectionChanged:
|
|
2293
|
-
_this.creator.convertCurrentQuestion(item.id);
|
|
2294
|
-
},
|
|
2379
|
+
items: actions,
|
|
2380
|
+
onSelectionChanged: onSelectionChanged,
|
|
2295
2381
|
allowSelection: true,
|
|
2296
|
-
selectedItem:
|
|
2382
|
+
selectedItem: selItem,
|
|
2297
2383
|
horizontalPosition: "center"
|
|
2298
2384
|
});
|
|
2299
2385
|
return newAction;
|
|
@@ -2325,7 +2411,12 @@ var QuestionAdornerViewModel = /** @class */ (function (_super) {
|
|
|
2325
2411
|
QuestionAdornerViewModel.prototype.buildActions = function (items) {
|
|
2326
2412
|
_super.prototype.buildActions.call(this, items);
|
|
2327
2413
|
var element = this.surveyElement;
|
|
2328
|
-
items.push(this.
|
|
2414
|
+
items.push(this.createConvertToAction());
|
|
2415
|
+
var inputTypeConverter = this.createConvertInputType();
|
|
2416
|
+
if (!!inputTypeConverter) {
|
|
2417
|
+
items.push(inputTypeConverter);
|
|
2418
|
+
}
|
|
2419
|
+
items[items.length - 1].css += " sv-action--convertTo-last";
|
|
2329
2420
|
if (typeof element["isRequired"] !== "undefined" &&
|
|
2330
2421
|
Object(_utils_utils__WEBPACK_IMPORTED_MODULE_4__["propertyExists"])(element, "isRequired") &&
|
|
2331
2422
|
Object(_utils_utils__WEBPACK_IMPORTED_MODULE_4__["isPropertyVisible"])(element, "isRequired")) {
|
|
@@ -4299,6 +4390,10 @@ var TabDesignerViewModel = /** @class */ (function (_super) {
|
|
|
4299
4390
|
this.pagesController.raisePagesChanged();
|
|
4300
4391
|
}
|
|
4301
4392
|
};
|
|
4393
|
+
TabDesignerViewModel.prototype.dispose = function () {
|
|
4394
|
+
_super.prototype.dispose.call(this);
|
|
4395
|
+
this.cssUpdater && this.cssUpdater.dispose();
|
|
4396
|
+
};
|
|
4302
4397
|
TabDesignerViewModel.prototype.checkLastPageToDelete = function () {
|
|
4303
4398
|
if (this.survey.pageCount === 0)
|
|
4304
4399
|
return false;
|
|
@@ -11599,6 +11694,7 @@ var CreatorBase = /** @class */ (function (_super) {
|
|
|
11599
11694
|
* - `options.allowAddToToolbox` - Allows users to save the current survey element configuration in the Toolbox.
|
|
11600
11695
|
* - `options.allowChangeRequired` - Allows users to make the survey element required.
|
|
11601
11696
|
* - `options.allowChangeType` - Allows users to change the survey element type.
|
|
11697
|
+
* - `options.allowChangeInputType` - Allows users to change the [`inputType`](https://surveyjs.io/form-library/documentation/api-reference/text-entry-question-model#inputType) property of Single-Line Input questions.
|
|
11602
11698
|
* - `options.allowCopy` - Allows users to duplicate the survey element.
|
|
11603
11699
|
* - `options.allowDelete` - Allows users to delete the survey element.
|
|
11604
11700
|
* - `options.allowDragging` - Allows users to drag and drop the survey element.
|
|
@@ -14466,6 +14562,7 @@ var CreatorBase = /** @class */ (function (_super) {
|
|
|
14466
14562
|
allowCopy: true,
|
|
14467
14563
|
allowDragging: true,
|
|
14468
14564
|
allowChangeType: true,
|
|
14565
|
+
allowChangeInputType: true,
|
|
14469
14566
|
allowChangeRequired: true,
|
|
14470
14567
|
allowEdit: undefined
|
|
14471
14568
|
};
|
|
@@ -15106,7 +15203,10 @@ var settings = {
|
|
|
15106
15203
|
]
|
|
15107
15204
|
},
|
|
15108
15205
|
image: {
|
|
15109
|
-
imageLink: "https://surveyjs.io/Content/Images/examples/image-picker/lion.jpg"
|
|
15206
|
+
imageLink: "https://surveyjs.io/Content/Images/examples/image-picker/lion.jpg",
|
|
15207
|
+
imageFit: "cover",
|
|
15208
|
+
imageHeight: "100%",
|
|
15209
|
+
imageWidth: "100%"
|
|
15110
15210
|
}
|
|
15111
15211
|
}
|
|
15112
15212
|
},
|
|
@@ -15299,6 +15399,107 @@ survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionFactory"].Instance.registerQue
|
|
|
15299
15399
|
});
|
|
15300
15400
|
|
|
15301
15401
|
|
|
15402
|
+
/***/ }),
|
|
15403
|
+
|
|
15404
|
+
/***/ "./src/custom-questions/question-file.ts":
|
|
15405
|
+
/*!***********************************************!*\
|
|
15406
|
+
!*** ./src/custom-questions/question-file.ts ***!
|
|
15407
|
+
\***********************************************/
|
|
15408
|
+
/*! exports provided: QuestionFileEditorModel */
|
|
15409
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
15410
|
+
|
|
15411
|
+
"use strict";
|
|
15412
|
+
__webpack_require__.r(__webpack_exports__);
|
|
15413
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "QuestionFileEditorModel", function() { return QuestionFileEditorModel; });
|
|
15414
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./src/entries/helpers.ts");
|
|
15415
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
15416
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_1__);
|
|
15417
|
+
|
|
15418
|
+
|
|
15419
|
+
var QuestionFileEditorModel = /** @class */ (function (_super) {
|
|
15420
|
+
Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(QuestionFileEditorModel, _super);
|
|
15421
|
+
function QuestionFileEditorModel() {
|
|
15422
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
15423
|
+
}
|
|
15424
|
+
QuestionFileEditorModel.prototype.onChangeQuestionValue = function (newValue) { };
|
|
15425
|
+
QuestionFileEditorModel.prototype.setNewValue = function (newValue) {
|
|
15426
|
+
if (typeof newValue === "object") {
|
|
15427
|
+
this.stateChanged(this.isEmpty() ? "empty" : "loaded");
|
|
15428
|
+
if (!this.isLoadingFromJson) {
|
|
15429
|
+
this.loadPreview(newValue);
|
|
15430
|
+
}
|
|
15431
|
+
this.loadedFilesValue = newValue;
|
|
15432
|
+
newValue = this.previewValue[0].content;
|
|
15433
|
+
}
|
|
15434
|
+
_super.prototype.setNewValue.call(this, newValue);
|
|
15435
|
+
};
|
|
15436
|
+
QuestionFileEditorModel.prototype.loadPreview = function (newValue) {
|
|
15437
|
+
if (typeof newValue !== "string") {
|
|
15438
|
+
_super.prototype.loadPreview.call(this, newValue);
|
|
15439
|
+
}
|
|
15440
|
+
};
|
|
15441
|
+
Object.defineProperty(QuestionFileEditorModel.prototype, "allowMultiple", {
|
|
15442
|
+
get: function () {
|
|
15443
|
+
return false;
|
|
15444
|
+
},
|
|
15445
|
+
set: function (val) { },
|
|
15446
|
+
enumerable: false,
|
|
15447
|
+
configurable: true
|
|
15448
|
+
});
|
|
15449
|
+
QuestionFileEditorModel.prototype.clear = function (doneCallback, shouldClearValue) {
|
|
15450
|
+
var _this = this;
|
|
15451
|
+
if (shouldClearValue === void 0) { shouldClearValue = true; }
|
|
15452
|
+
if (!this.survey)
|
|
15453
|
+
return;
|
|
15454
|
+
var callback = function () {
|
|
15455
|
+
if (shouldClearValue) {
|
|
15456
|
+
_this.value = undefined;
|
|
15457
|
+
}
|
|
15458
|
+
_this.errors = [];
|
|
15459
|
+
!!doneCallback && doneCallback();
|
|
15460
|
+
};
|
|
15461
|
+
if (!!this.loadedFilesValue) {
|
|
15462
|
+
this.containsMultiplyFiles = false;
|
|
15463
|
+
this.survey.clearFiles(this.loadedFilesValue, this.name, this.previewValue, null, function (status, data) {
|
|
15464
|
+
if (status === "success") {
|
|
15465
|
+
callback();
|
|
15466
|
+
}
|
|
15467
|
+
});
|
|
15468
|
+
}
|
|
15469
|
+
else {
|
|
15470
|
+
callback();
|
|
15471
|
+
}
|
|
15472
|
+
};
|
|
15473
|
+
QuestionFileEditorModel.prototype.updateValueFromInputEvent = function (event) {
|
|
15474
|
+
if (!survey_core__WEBPACK_IMPORTED_MODULE_1__["Helpers"].isTwoValueEquals(event.target.value, this.value)) {
|
|
15475
|
+
this.clear(undefined, false);
|
|
15476
|
+
this.loadedFilesValue = undefined;
|
|
15477
|
+
this.value = event.target.value;
|
|
15478
|
+
}
|
|
15479
|
+
};
|
|
15480
|
+
QuestionFileEditorModel.prototype.onInputChange = function (event) {
|
|
15481
|
+
if (event.target !== document.activeElement) {
|
|
15482
|
+
this.updateValueFromInputEvent(event);
|
|
15483
|
+
}
|
|
15484
|
+
};
|
|
15485
|
+
QuestionFileEditorModel.prototype.onInputBlur = function (event) {
|
|
15486
|
+
this.updateValueFromInputEvent(event);
|
|
15487
|
+
};
|
|
15488
|
+
QuestionFileEditorModel.prototype.getType = function () {
|
|
15489
|
+
return "fileedit";
|
|
15490
|
+
};
|
|
15491
|
+
QuestionFileEditorModel.prototype.getIsClearButtonDisabled = function () {
|
|
15492
|
+
return !this.value || this.isInputReadOnly;
|
|
15493
|
+
};
|
|
15494
|
+
return QuestionFileEditorModel;
|
|
15495
|
+
}(survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionFileModel"]));
|
|
15496
|
+
|
|
15497
|
+
survey_core__WEBPACK_IMPORTED_MODULE_1__["Serializer"].addClass("fileedit", [], function () { return new QuestionFileEditorModel(""); }, "file");
|
|
15498
|
+
survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionFactory"].Instance.registerQuestion("fileedit", function (name) {
|
|
15499
|
+
return new QuestionFileEditorModel(name);
|
|
15500
|
+
});
|
|
15501
|
+
|
|
15502
|
+
|
|
15302
15503
|
/***/ }),
|
|
15303
15504
|
|
|
15304
15505
|
/***/ "./src/custom-questions/question-spin-editor.ts":
|
|
@@ -15369,13 +15570,15 @@ var QuestionSpinEditorModel = /** @class */ (function (_super) {
|
|
|
15369
15570
|
};
|
|
15370
15571
|
QuestionSpinEditorModel.prototype.changeValue = function (increase) {
|
|
15371
15572
|
var parsedValue = this.parseValue(this.renderedValue);
|
|
15573
|
+
var step = Number(this.renderedStep || 1);
|
|
15574
|
+
var result = parsedValue.value;
|
|
15372
15575
|
if (increase) {
|
|
15373
|
-
|
|
15576
|
+
result += step;
|
|
15374
15577
|
}
|
|
15375
15578
|
else {
|
|
15376
|
-
|
|
15579
|
+
result -= step;
|
|
15377
15580
|
}
|
|
15378
|
-
this.value =
|
|
15581
|
+
this.value = result;
|
|
15379
15582
|
};
|
|
15380
15583
|
Object.defineProperty(QuestionSpinEditorModel.prototype, "showUnitsInEditor", {
|
|
15381
15584
|
get: function () {
|
|
@@ -15957,7 +16160,7 @@ var __spreadArray = function (to, from) {
|
|
|
15957
16160
|
/*!******************************!*\
|
|
15958
16161
|
!*** ./src/entries/index.ts ***!
|
|
15959
16162
|
\******************************/
|
|
15960
|
-
/*! exports provided: Version, enStrings, editorLocalization, defaultStrings, localization, QuestionConvertMode, settings, EmptySurveyCreatorOptions, CreatorAction, TabbedMenuItem, TabbedMenuContainer, ToolbarActionContainer, CreatorEvent, CreatorBase, SurveyCreatorModel, StylesManager, initializeDesignTimeSurveyModel, editableStringRendererName, getElementWrapperComponentName, getQuestionContentWrapperComponentName, getElementWrapperComponentData, getItemValueWrapperComponentName, getItemValueWrapperComponentData, isStringEditable, isTextInput, registerAdorner, removeAdorners, CreatorResponsivityManager, EmbedModel, TabEmbedPlugin, AceJsonEditorModel, TabJsonEditorAcePlugin, JsonEditorBaseModel, TabJsonEditorBasePlugin, TextareaJsonEditorModel, TabJsonEditorTextareaPlugin, TestSurveyTabViewModel, TabTestPlugin, initLogicOperator, LogicEvent, SurveyLogic, TranslationItemBase, TranslationItemString, TranslationItem, TranslationGroup, Translation, translationCss, TabTranslationPlugin, initialSettingsAllowShowEmptyTitleInDesignMode, TabDesignerViewModel, TabDesignerPlugin, SurveyLogicUI, TabLogicPlugin, logicCss, ToolboxToolViewModel, PageNavigatorViewModel, PageAdorner, RowViewModel, QuestionAdornerViewModel, QuestionDropdownAdornerViewModel, QuestionImageAdornerViewModel, QuestionRatingAdornerViewModel, ItemValueWrapperViewModel, ImageItemValueWrapperViewModel, MatrixCellWrapperEditSurvey, MatrixCellWrapperViewModel, SurveySimulatorModel, DEFAULT_MONITOR_DPI, simulatorDevices, SurveyResultsItemModel, SurveyResultsModel, LogoImageViewModel, StringItemsNavigatorBase, StringEditorConnector, StringEditorViewModelBase, QuestionEmbeddedSurveyModel, QuestionLinkValueModel, EditorLocalization, getLocString, SurveyJSON5, QuestionSpinEditorModel, QuestionColorModel, setSurveyJSONForPropertyGrid, PropertyEditorSetupValue, PropertyGridEditorCollection, PropertyGridTitleActionsCreator, PropertyJSONGenerator, PropertyGridModel, PropertyGridEditor, PropertyGridEditorBoolean, PropertyGridEditorStringBase, PropertyGridEditorString, PropertyGridEditorNumber, PropertyGridEditorImageSize, PropertyGridEditorText, PropertyGridEditorHtml, PropertyGridEditorColor, PropertyGridEditorStringArray, PropertyGridEditorDropdown, PropertyGridEditorSet, PropertyGridEditorPage, PropertyGridEditorQuestion, PropertyGridEditorQuestionSelectBase, PropertyGridEditorQuestionValue, PropertyGridEditorExpression, PropertyGridEditorCondition, PropertyGridEditorMatrix, PropertyGridEditorMatrixItemValues, PropertyGridEditorMatrixColumns, PropertyGridEditorMatrixPages, PropertyGridEditorMatrixCalculatedValues, PropertyGridEditorMatrixHtmlConditions, PropertyGridEditorMatrixUrlConditions, PropertyGridEditorMatrixMutlipleTextItems, PropertyGridEditorMatrixMultipleTypes, PropertyGridEditorMatrixValidators, PropertyGridEditorMatrixTriggers, PropertyGridEditorBindings, PropertyGridViewModel, ObjectSelectorItem, ObjectSelector, ObjectSelectorModel, PropertyGridEditorQuestionRestfull, PropertyGridValueEditorBase, PropertyGridCellsEditor, PropertyGridValueEditor, PropertyGridRowValueEditor, PropertyGridPanelValueEditor, PropertyGridTriggerValueEditor, PropertyGridTriggerValueInLogicEditor, propertyGridCss, QuestionConverter, svgBundle, SurveyTextWorker, QuestionToolboxCategory, QuestionToolboxItem, QuestionToolbox, SidebarModel, SidebarTabModel, getNextItemValue, getNextItemText, getNextValue, findParentNode, focusFirstControl, getFirstNonTextElement, getNodesFromKoComponentInfo, propertyExists, isPropertyVisible, toggleHovered, clearNewLines, select, copyObject, copyCssClasses, assignDefaultV2Classes, wrapTextByCurlyBraces, capitalize, notShortCircuitAnd, SurveyQuestionEditorDefinition, ObjType, SurveyHelper, ResizeManager, UndoRedoPlugin, undoRedoTransaction, ignoreUndoRedo, UndoRedoManager, Transaction, UndoRedoAction, UndoRedoArrayAction, PagesController */
|
|
16163
|
+
/*! exports provided: Version, enStrings, editorLocalization, defaultStrings, localization, QuestionConvertMode, settings, EmptySurveyCreatorOptions, CreatorAction, TabbedMenuItem, TabbedMenuContainer, ToolbarActionContainer, CreatorEvent, CreatorBase, SurveyCreatorModel, StylesManager, initializeDesignTimeSurveyModel, editableStringRendererName, getElementWrapperComponentName, getQuestionContentWrapperComponentName, getElementWrapperComponentData, getItemValueWrapperComponentName, getItemValueWrapperComponentData, isStringEditable, isTextInput, registerAdorner, removeAdorners, CreatorResponsivityManager, EmbedModel, TabEmbedPlugin, AceJsonEditorModel, TabJsonEditorAcePlugin, JsonEditorBaseModel, TabJsonEditorBasePlugin, TextareaJsonEditorModel, TabJsonEditorTextareaPlugin, TestSurveyTabViewModel, TabTestPlugin, initLogicOperator, LogicEvent, SurveyLogic, TranslationItemBase, TranslationItemString, TranslationItem, TranslationGroup, Translation, translationCss, TabTranslationPlugin, initialSettingsAllowShowEmptyTitleInDesignMode, TabDesignerViewModel, TabDesignerPlugin, SurveyLogicUI, TabLogicPlugin, logicCss, ToolboxToolViewModel, PageNavigatorViewModel, PageAdorner, RowViewModel, QuestionAdornerViewModel, QuestionDropdownAdornerViewModel, QuestionImageAdornerViewModel, QuestionRatingAdornerViewModel, ItemValueWrapperViewModel, ImageItemValueWrapperViewModel, MatrixCellWrapperEditSurvey, MatrixCellWrapperViewModel, SurveySimulatorModel, DEFAULT_MONITOR_DPI, simulatorDevices, SurveyResultsItemModel, SurveyResultsModel, LogoImageViewModel, StringItemsNavigatorBase, StringEditorConnector, StringEditorViewModelBase, QuestionEmbeddedSurveyModel, QuestionLinkValueModel, EditorLocalization, getLocString, SurveyJSON5, QuestionSpinEditorModel, QuestionColorModel, QuestionFileEditorModel, setSurveyJSONForPropertyGrid, PropertyEditorSetupValue, PropertyGridEditorCollection, PropertyGridTitleActionsCreator, PropertyJSONGenerator, PropertyGridModel, PropertyGridEditor, PropertyGridEditorBoolean, PropertyGridEditorStringBase, PropertyGridEditorString, PropertyGridEditorNumber, PropertyGridEditorImageSize, PropertyGridEditorText, PropertyGridEditorHtml, PropertyGridEditorColor, PropertyGridEditorStringArray, PropertyGridEditorDropdown, PropertyGridEditorSet, PropertyGridEditorPage, PropertyGridEditorQuestion, PropertyGridEditorQuestionSelectBase, PropertyGridEditorQuestionValue, PropertyGridEditorExpression, PropertyGridEditorCondition, PropertyGridEditorMatrix, PropertyGridEditorMatrixItemValues, PropertyGridEditorMatrixRateValues, PropertyGridEditorMatrixColumns, PropertyGridEditorMatrixPages, PropertyGridEditorMatrixCalculatedValues, PropertyGridEditorMatrixHtmlConditions, PropertyGridEditorMatrixUrlConditions, PropertyGridEditorMatrixMutlipleTextItems, PropertyGridEditorMatrixMultipleTypes, PropertyGridEditorMatrixValidators, PropertyGridEditorMatrixTriggers, PropertyGridEditorBindings, PropertyGridViewModel, ObjectSelectorItem, ObjectSelector, ObjectSelectorModel, PropertyGridEditorQuestionRestfull, PropertyGridValueEditorBase, PropertyGridCellsEditor, PropertyGridValueEditor, PropertyGridRowValueEditor, PropertyGridPanelValueEditor, PropertyGridTriggerValueEditor, PropertyGridTriggerValueInLogicEditor, propertyGridCss, QuestionConverter, svgBundle, SurveyTextWorker, QuestionToolboxCategory, QuestionToolboxItem, QuestionToolbox, SidebarModel, SidebarTabModel, getNextItemValue, getNextItemText, getNextValue, findParentNode, focusFirstControl, getFirstNonTextElement, getNodesFromKoComponentInfo, propertyExists, isPropertyVisible, toggleHovered, clearNewLines, select, copyObject, copyCssClasses, assignDefaultV2Classes, wrapTextByCurlyBraces, capitalize, notShortCircuitAnd, SurveyQuestionEditorDefinition, ObjType, SurveyHelper, ResizeManager, UndoRedoPlugin, undoRedoTransaction, ignoreUndoRedo, UndoRedoManager, Transaction, UndoRedoAction, UndoRedoArrayAction, PagesController */
|
|
15961
16164
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
15962
16165
|
|
|
15963
16166
|
"use strict";
|
|
@@ -16165,207 +16368,212 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16165
16368
|
/* harmony import */ var _custom_questions_question_color__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ../custom-questions/question-color */ "./src/custom-questions/question-color.ts");
|
|
16166
16369
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionColorModel", function() { return _custom_questions_question_color__WEBPACK_IMPORTED_MODULE_39__["QuestionColorModel"]; });
|
|
16167
16370
|
|
|
16168
|
-
/* harmony import */ var
|
|
16169
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16371
|
+
/* harmony import */ var _custom_questions_question_file__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ../custom-questions/question-file */ "./src/custom-questions/question-file.ts");
|
|
16372
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionFileEditorModel", function() { return _custom_questions_question_file__WEBPACK_IMPORTED_MODULE_40__["QuestionFileEditorModel"]; });
|
|
16373
|
+
|
|
16374
|
+
/* harmony import */ var _property_grid__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ../property-grid */ "./src/property-grid/index.ts");
|
|
16375
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "setSurveyJSONForPropertyGrid", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_41__["setSurveyJSONForPropertyGrid"]; });
|
|
16170
16376
|
|
|
16171
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyEditorSetupValue", function() { return
|
|
16377
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyEditorSetupValue", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_41__["PropertyEditorSetupValue"]; });
|
|
16172
16378
|
|
|
16173
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorCollection", function() { return
|
|
16379
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorCollection", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_41__["PropertyGridEditorCollection"]; });
|
|
16174
16380
|
|
|
16175
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridTitleActionsCreator", function() { return
|
|
16381
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridTitleActionsCreator", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_41__["PropertyGridTitleActionsCreator"]; });
|
|
16176
16382
|
|
|
16177
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyJSONGenerator", function() { return
|
|
16383
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyJSONGenerator", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_41__["PropertyJSONGenerator"]; });
|
|
16178
16384
|
|
|
16179
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridModel", function() { return
|
|
16385
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridModel", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_41__["PropertyGridModel"]; });
|
|
16180
16386
|
|
|
16181
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditor", function() { return
|
|
16387
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditor", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_41__["PropertyGridEditor"]; });
|
|
16182
16388
|
|
|
16183
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorBoolean", function() { return
|
|
16389
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorBoolean", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_41__["PropertyGridEditorBoolean"]; });
|
|
16184
16390
|
|
|
16185
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorStringBase", function() { return
|
|
16391
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorStringBase", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_41__["PropertyGridEditorStringBase"]; });
|
|
16186
16392
|
|
|
16187
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorString", function() { return
|
|
16393
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorString", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_41__["PropertyGridEditorString"]; });
|
|
16188
16394
|
|
|
16189
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorNumber", function() { return
|
|
16395
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorNumber", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_41__["PropertyGridEditorNumber"]; });
|
|
16190
16396
|
|
|
16191
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorImageSize", function() { return
|
|
16397
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorImageSize", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_41__["PropertyGridEditorImageSize"]; });
|
|
16192
16398
|
|
|
16193
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorText", function() { return
|
|
16399
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorText", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_41__["PropertyGridEditorText"]; });
|
|
16194
16400
|
|
|
16195
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorHtml", function() { return
|
|
16401
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorHtml", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_41__["PropertyGridEditorHtml"]; });
|
|
16196
16402
|
|
|
16197
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorColor", function() { return
|
|
16403
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorColor", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_41__["PropertyGridEditorColor"]; });
|
|
16198
16404
|
|
|
16199
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorStringArray", function() { return
|
|
16405
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorStringArray", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_41__["PropertyGridEditorStringArray"]; });
|
|
16200
16406
|
|
|
16201
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorDropdown", function() { return
|
|
16407
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorDropdown", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_41__["PropertyGridEditorDropdown"]; });
|
|
16202
16408
|
|
|
16203
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorSet", function() { return
|
|
16409
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorSet", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_41__["PropertyGridEditorSet"]; });
|
|
16204
16410
|
|
|
16205
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorPage", function() { return
|
|
16411
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorPage", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_41__["PropertyGridEditorPage"]; });
|
|
16206
16412
|
|
|
16207
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorQuestion", function() { return
|
|
16413
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorQuestion", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_41__["PropertyGridEditorQuestion"]; });
|
|
16208
16414
|
|
|
16209
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorQuestionSelectBase", function() { return
|
|
16415
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorQuestionSelectBase", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_41__["PropertyGridEditorQuestionSelectBase"]; });
|
|
16210
16416
|
|
|
16211
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorQuestionValue", function() { return
|
|
16417
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorQuestionValue", function() { return _property_grid__WEBPACK_IMPORTED_MODULE_41__["PropertyGridEditorQuestionValue"]; });
|
|
16212
16418
|
|
|
16213
|
-
/* harmony import */ var
|
|
16214
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorExpression", function() { return
|
|
16419
|
+
/* harmony import */ var _property_grid_condition__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ../property-grid/condition */ "./src/property-grid/condition.ts");
|
|
16420
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorExpression", function() { return _property_grid_condition__WEBPACK_IMPORTED_MODULE_42__["PropertyGridEditorExpression"]; });
|
|
16215
16421
|
|
|
16216
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorCondition", function() { return
|
|
16422
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorCondition", function() { return _property_grid_condition__WEBPACK_IMPORTED_MODULE_42__["PropertyGridEditorCondition"]; });
|
|
16217
16423
|
|
|
16218
|
-
/* harmony import */ var
|
|
16219
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrix", function() { return
|
|
16424
|
+
/* harmony import */ var _property_grid_matrices__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ../property-grid/matrices */ "./src/property-grid/matrices.ts");
|
|
16425
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrix", function() { return _property_grid_matrices__WEBPACK_IMPORTED_MODULE_43__["PropertyGridEditorMatrix"]; });
|
|
16220
16426
|
|
|
16221
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixItemValues", function() { return
|
|
16427
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixItemValues", function() { return _property_grid_matrices__WEBPACK_IMPORTED_MODULE_43__["PropertyGridEditorMatrixItemValues"]; });
|
|
16222
16428
|
|
|
16223
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16429
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixRateValues", function() { return _property_grid_matrices__WEBPACK_IMPORTED_MODULE_43__["PropertyGridEditorMatrixRateValues"]; });
|
|
16224
16430
|
|
|
16225
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16431
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixColumns", function() { return _property_grid_matrices__WEBPACK_IMPORTED_MODULE_43__["PropertyGridEditorMatrixColumns"]; });
|
|
16226
16432
|
|
|
16227
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16433
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixPages", function() { return _property_grid_matrices__WEBPACK_IMPORTED_MODULE_43__["PropertyGridEditorMatrixPages"]; });
|
|
16228
16434
|
|
|
16229
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16435
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixCalculatedValues", function() { return _property_grid_matrices__WEBPACK_IMPORTED_MODULE_43__["PropertyGridEditorMatrixCalculatedValues"]; });
|
|
16230
16436
|
|
|
16231
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16437
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixHtmlConditions", function() { return _property_grid_matrices__WEBPACK_IMPORTED_MODULE_43__["PropertyGridEditorMatrixHtmlConditions"]; });
|
|
16232
16438
|
|
|
16233
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16439
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixUrlConditions", function() { return _property_grid_matrices__WEBPACK_IMPORTED_MODULE_43__["PropertyGridEditorMatrixUrlConditions"]; });
|
|
16234
16440
|
|
|
16235
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16441
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixMutlipleTextItems", function() { return _property_grid_matrices__WEBPACK_IMPORTED_MODULE_43__["PropertyGridEditorMatrixMutlipleTextItems"]; });
|
|
16236
16442
|
|
|
16237
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16443
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixMultipleTypes", function() { return _property_grid_matrices__WEBPACK_IMPORTED_MODULE_43__["PropertyGridEditorMatrixMultipleTypes"]; });
|
|
16238
16444
|
|
|
16239
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16445
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixValidators", function() { return _property_grid_matrices__WEBPACK_IMPORTED_MODULE_43__["PropertyGridEditorMatrixValidators"]; });
|
|
16240
16446
|
|
|
16241
|
-
/* harmony
|
|
16242
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorBindings", function() { return _property_grid_bindings__WEBPACK_IMPORTED_MODULE_43__["PropertyGridEditorBindings"]; });
|
|
16447
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixTriggers", function() { return _property_grid_matrices__WEBPACK_IMPORTED_MODULE_43__["PropertyGridEditorMatrixTriggers"]; });
|
|
16243
16448
|
|
|
16244
|
-
/* harmony import */ var
|
|
16245
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16449
|
+
/* harmony import */ var _property_grid_bindings__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ../property-grid/bindings */ "./src/property-grid/bindings.ts");
|
|
16450
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorBindings", function() { return _property_grid_bindings__WEBPACK_IMPORTED_MODULE_44__["PropertyGridEditorBindings"]; });
|
|
16246
16451
|
|
|
16247
|
-
/* harmony import */ var
|
|
16248
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16452
|
+
/* harmony import */ var _property_grid_property_grid_view_model__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ../property-grid/property-grid-view-model */ "./src/property-grid/property-grid-view-model.ts");
|
|
16453
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridViewModel", function() { return _property_grid_property_grid_view_model__WEBPACK_IMPORTED_MODULE_45__["PropertyGridViewModel"]; });
|
|
16249
16454
|
|
|
16250
|
-
/* harmony
|
|
16455
|
+
/* harmony import */ var _property_grid_object_selector__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ../property-grid/object-selector */ "./src/property-grid/object-selector.ts");
|
|
16456
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ObjectSelectorItem", function() { return _property_grid_object_selector__WEBPACK_IMPORTED_MODULE_46__["ObjectSelectorItem"]; });
|
|
16251
16457
|
|
|
16252
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16458
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ObjectSelector", function() { return _property_grid_object_selector__WEBPACK_IMPORTED_MODULE_46__["ObjectSelector"]; });
|
|
16253
16459
|
|
|
16254
|
-
/* harmony
|
|
16255
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorQuestionRestfull", function() { return _property_grid_restfull__WEBPACK_IMPORTED_MODULE_46__["PropertyGridEditorQuestionRestfull"]; });
|
|
16460
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ObjectSelectorModel", function() { return _property_grid_object_selector__WEBPACK_IMPORTED_MODULE_46__["ObjectSelectorModel"]; });
|
|
16256
16461
|
|
|
16257
|
-
/* harmony import */ var
|
|
16258
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16462
|
+
/* harmony import */ var _property_grid_restfull__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ../property-grid/restfull */ "./src/property-grid/restfull.ts");
|
|
16463
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorQuestionRestfull", function() { return _property_grid_restfull__WEBPACK_IMPORTED_MODULE_47__["PropertyGridEditorQuestionRestfull"]; });
|
|
16259
16464
|
|
|
16260
|
-
/* harmony
|
|
16465
|
+
/* harmony import */ var _property_grid_values__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ../property-grid/values */ "./src/property-grid/values.ts");
|
|
16466
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridValueEditorBase", function() { return _property_grid_values__WEBPACK_IMPORTED_MODULE_48__["PropertyGridValueEditorBase"]; });
|
|
16261
16467
|
|
|
16262
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16468
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridCellsEditor", function() { return _property_grid_values__WEBPACK_IMPORTED_MODULE_48__["PropertyGridCellsEditor"]; });
|
|
16263
16469
|
|
|
16264
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16470
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridValueEditor", function() { return _property_grid_values__WEBPACK_IMPORTED_MODULE_48__["PropertyGridValueEditor"]; });
|
|
16265
16471
|
|
|
16266
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16472
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridRowValueEditor", function() { return _property_grid_values__WEBPACK_IMPORTED_MODULE_48__["PropertyGridRowValueEditor"]; });
|
|
16267
16473
|
|
|
16268
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16474
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridPanelValueEditor", function() { return _property_grid_values__WEBPACK_IMPORTED_MODULE_48__["PropertyGridPanelValueEditor"]; });
|
|
16269
16475
|
|
|
16270
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16476
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridTriggerValueEditor", function() { return _property_grid_values__WEBPACK_IMPORTED_MODULE_48__["PropertyGridTriggerValueEditor"]; });
|
|
16271
16477
|
|
|
16272
|
-
/* harmony
|
|
16273
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "propertyGridCss", function() { return _property_grid_theme_property_grid__WEBPACK_IMPORTED_MODULE_48__["propertyGridCss"]; });
|
|
16478
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PropertyGridTriggerValueInLogicEditor", function() { return _property_grid_values__WEBPACK_IMPORTED_MODULE_48__["PropertyGridTriggerValueInLogicEditor"]; });
|
|
16274
16479
|
|
|
16275
|
-
/* harmony import */ var
|
|
16276
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16480
|
+
/* harmony import */ var _property_grid_theme_property_grid__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ../property-grid-theme/property-grid */ "./src/property-grid-theme/property-grid.ts");
|
|
16481
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "propertyGridCss", function() { return _property_grid_theme_property_grid__WEBPACK_IMPORTED_MODULE_49__["propertyGridCss"]; });
|
|
16277
16482
|
|
|
16278
|
-
/* harmony import */ var
|
|
16279
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16483
|
+
/* harmony import */ var _questionconverter__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ../questionconverter */ "./src/questionconverter.ts");
|
|
16484
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionConverter", function() { return _questionconverter__WEBPACK_IMPORTED_MODULE_50__["QuestionConverter"]; });
|
|
16280
16485
|
|
|
16281
|
-
/* harmony import */ var
|
|
16282
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16486
|
+
/* harmony import */ var _svgbundle__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ../svgbundle */ "./src/svgbundle.ts");
|
|
16487
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "svgBundle", function() { return _svgbundle__WEBPACK_IMPORTED_MODULE_51__["svgBundle"]; });
|
|
16283
16488
|
|
|
16284
|
-
/* harmony import */ var
|
|
16285
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16489
|
+
/* harmony import */ var _textWorker__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ../textWorker */ "./src/textWorker.ts");
|
|
16490
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyTextWorker", function() { return _textWorker__WEBPACK_IMPORTED_MODULE_52__["SurveyTextWorker"]; });
|
|
16286
16491
|
|
|
16287
|
-
/* harmony
|
|
16492
|
+
/* harmony import */ var _toolbox__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ../toolbox */ "./src/toolbox.ts");
|
|
16493
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionToolboxCategory", function() { return _toolbox__WEBPACK_IMPORTED_MODULE_53__["QuestionToolboxCategory"]; });
|
|
16288
16494
|
|
|
16289
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16495
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionToolboxItem", function() { return _toolbox__WEBPACK_IMPORTED_MODULE_53__["QuestionToolboxItem"]; });
|
|
16290
16496
|
|
|
16291
|
-
/* harmony
|
|
16292
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SidebarModel", function() { return _components_side_bar_side_bar_model__WEBPACK_IMPORTED_MODULE_53__["SidebarModel"]; });
|
|
16497
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "QuestionToolbox", function() { return _toolbox__WEBPACK_IMPORTED_MODULE_53__["QuestionToolbox"]; });
|
|
16293
16498
|
|
|
16294
|
-
/* harmony import */ var
|
|
16295
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16499
|
+
/* harmony import */ var _components_side_bar_side_bar_model__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ../components/side-bar/side-bar-model */ "./src/components/side-bar/side-bar-model.ts");
|
|
16500
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SidebarModel", function() { return _components_side_bar_side_bar_model__WEBPACK_IMPORTED_MODULE_54__["SidebarModel"]; });
|
|
16296
16501
|
|
|
16297
|
-
/* harmony import */ var
|
|
16298
|
-
/*
|
|
16299
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "getNextItemValue", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_56__["getNextItemValue"]; });
|
|
16502
|
+
/* harmony import */ var _components_side_bar_side_bar_tab_model__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ../components/side-bar/side-bar-tab-model */ "./src/components/side-bar/side-bar-tab-model.ts");
|
|
16503
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SidebarTabModel", function() { return _components_side_bar_side_bar_tab_model__WEBPACK_IMPORTED_MODULE_55__["SidebarTabModel"]; });
|
|
16300
16504
|
|
|
16301
|
-
/* harmony
|
|
16505
|
+
/* harmony import */ var _utils_events__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ../utils/events */ "./src/utils/events.ts");
|
|
16506
|
+
/* empty/unused harmony star reexport *//* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ../utils/utils */ "./src/utils/utils.ts");
|
|
16507
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "getNextItemValue", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_57__["getNextItemValue"]; });
|
|
16302
16508
|
|
|
16303
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16509
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "getNextItemText", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_57__["getNextItemText"]; });
|
|
16304
16510
|
|
|
16305
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16511
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "getNextValue", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_57__["getNextValue"]; });
|
|
16306
16512
|
|
|
16307
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16513
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "findParentNode", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_57__["findParentNode"]; });
|
|
16308
16514
|
|
|
16309
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16515
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "focusFirstControl", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_57__["focusFirstControl"]; });
|
|
16310
16516
|
|
|
16311
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16517
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "getFirstNonTextElement", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_57__["getFirstNonTextElement"]; });
|
|
16312
16518
|
|
|
16313
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16519
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "getNodesFromKoComponentInfo", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_57__["getNodesFromKoComponentInfo"]; });
|
|
16314
16520
|
|
|
16315
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16521
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "propertyExists", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_57__["propertyExists"]; });
|
|
16316
16522
|
|
|
16317
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16523
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isPropertyVisible", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_57__["isPropertyVisible"]; });
|
|
16318
16524
|
|
|
16319
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16525
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "toggleHovered", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_57__["toggleHovered"]; });
|
|
16320
16526
|
|
|
16321
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16527
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "clearNewLines", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_57__["clearNewLines"]; });
|
|
16322
16528
|
|
|
16323
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16529
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "select", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_57__["select"]; });
|
|
16324
16530
|
|
|
16325
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16531
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "copyObject", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_57__["copyObject"]; });
|
|
16326
16532
|
|
|
16327
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16533
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "copyCssClasses", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_57__["copyCssClasses"]; });
|
|
16328
16534
|
|
|
16329
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16535
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "assignDefaultV2Classes", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_57__["assignDefaultV2Classes"]; });
|
|
16330
16536
|
|
|
16331
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16537
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "wrapTextByCurlyBraces", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_57__["wrapTextByCurlyBraces"]; });
|
|
16332
16538
|
|
|
16333
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16539
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "capitalize", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_57__["capitalize"]; });
|
|
16334
16540
|
|
|
16335
|
-
/* harmony
|
|
16336
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionEditorDefinition", function() { return _question_editor_definition__WEBPACK_IMPORTED_MODULE_57__["SurveyQuestionEditorDefinition"]; });
|
|
16541
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "notShortCircuitAnd", function() { return _utils_utils__WEBPACK_IMPORTED_MODULE_57__["notShortCircuitAnd"]; });
|
|
16337
16542
|
|
|
16338
|
-
/* harmony import */ var
|
|
16339
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16543
|
+
/* harmony import */ var _question_editor_definition__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ../question-editor/definition */ "./src/question-editor/definition.ts");
|
|
16544
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyQuestionEditorDefinition", function() { return _question_editor_definition__WEBPACK_IMPORTED_MODULE_58__["SurveyQuestionEditorDefinition"]; });
|
|
16340
16545
|
|
|
16341
|
-
/* harmony
|
|
16546
|
+
/* harmony import */ var _survey_helper__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ../survey-helper */ "./src/survey-helper.ts");
|
|
16547
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ObjType", function() { return _survey_helper__WEBPACK_IMPORTED_MODULE_59__["ObjType"]; });
|
|
16342
16548
|
|
|
16343
|
-
/* harmony
|
|
16344
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ResizeManager", function() { return _utils_resizer__WEBPACK_IMPORTED_MODULE_59__["ResizeManager"]; });
|
|
16549
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SurveyHelper", function() { return _survey_helper__WEBPACK_IMPORTED_MODULE_59__["SurveyHelper"]; });
|
|
16345
16550
|
|
|
16346
|
-
/* harmony import */ var
|
|
16347
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16551
|
+
/* harmony import */ var _utils_resizer__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ../utils/resizer */ "./src/utils/resizer.ts");
|
|
16552
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ResizeManager", function() { return _utils_resizer__WEBPACK_IMPORTED_MODULE_60__["ResizeManager"]; });
|
|
16348
16553
|
|
|
16349
|
-
/* harmony
|
|
16554
|
+
/* harmony import */ var _plugins_undo_redo__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ../plugins/undo-redo */ "./src/plugins/undo-redo/index.ts");
|
|
16555
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "UndoRedoPlugin", function() { return _plugins_undo_redo__WEBPACK_IMPORTED_MODULE_61__["UndoRedoPlugin"]; });
|
|
16350
16556
|
|
|
16351
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16557
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "undoRedoTransaction", function() { return _plugins_undo_redo__WEBPACK_IMPORTED_MODULE_61__["undoRedoTransaction"]; });
|
|
16352
16558
|
|
|
16353
|
-
/* harmony
|
|
16354
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "UndoRedoManager", function() { return _plugins_undo_redo_undo_redo_manager__WEBPACK_IMPORTED_MODULE_61__["UndoRedoManager"]; });
|
|
16559
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ignoreUndoRedo", function() { return _plugins_undo_redo__WEBPACK_IMPORTED_MODULE_61__["ignoreUndoRedo"]; });
|
|
16355
16560
|
|
|
16356
|
-
/* harmony
|
|
16561
|
+
/* harmony import */ var _plugins_undo_redo_undo_redo_manager__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ../plugins/undo-redo/undo-redo-manager */ "./src/plugins/undo-redo/undo-redo-manager.ts");
|
|
16562
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "UndoRedoManager", function() { return _plugins_undo_redo_undo_redo_manager__WEBPACK_IMPORTED_MODULE_62__["UndoRedoManager"]; });
|
|
16357
16563
|
|
|
16358
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16564
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Transaction", function() { return _plugins_undo_redo_undo_redo_manager__WEBPACK_IMPORTED_MODULE_62__["Transaction"]; });
|
|
16359
16565
|
|
|
16360
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "
|
|
16566
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "UndoRedoAction", function() { return _plugins_undo_redo_undo_redo_manager__WEBPACK_IMPORTED_MODULE_62__["UndoRedoAction"]; });
|
|
16361
16567
|
|
|
16362
|
-
/* harmony
|
|
16363
|
-
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PagesController", function() { return _pages_controller__WEBPACK_IMPORTED_MODULE_62__["PagesController"]; });
|
|
16568
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "UndoRedoArrayAction", function() { return _plugins_undo_redo_undo_redo_manager__WEBPACK_IMPORTED_MODULE_62__["UndoRedoArrayAction"]; });
|
|
16364
16569
|
|
|
16365
|
-
/* harmony import */ var
|
|
16366
|
-
/* harmony
|
|
16570
|
+
/* harmony import */ var _pages_controller__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ../pages-controller */ "./src/pages-controller.ts");
|
|
16571
|
+
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "PagesController", function() { return _pages_controller__WEBPACK_IMPORTED_MODULE_63__["PagesController"]; });
|
|
16572
|
+
|
|
16573
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! survey-core */ "survey-core");
|
|
16574
|
+
/* harmony import */ var survey_core__WEBPACK_IMPORTED_MODULE_64___default = /*#__PURE__*/__webpack_require__.n(survey_core__WEBPACK_IMPORTED_MODULE_64__);
|
|
16367
16575
|
var Version;
|
|
16368
|
-
Version = "" + "1.9.
|
|
16576
|
+
Version = "" + "1.9.85";
|
|
16369
16577
|
|
|
16370
16578
|
|
|
16371
16579
|
|
|
@@ -16430,6 +16638,7 @@ Version = "" + "1.9.83";
|
|
|
16430
16638
|
|
|
16431
16639
|
|
|
16432
16640
|
|
|
16641
|
+
|
|
16433
16642
|
|
|
16434
16643
|
|
|
16435
16644
|
__webpack_require__(/*! ../components/property-panel/property-panel-item.scss */ "./src/components/property-panel/property-panel-item.scss");
|
|
@@ -16444,8 +16653,8 @@ __webpack_require__(/*! ../property-grid-theme/property-grid.scss */ "./src/prop
|
|
|
16444
16653
|
__webpack_require__(/*! ../utils/design.scss */ "./src/utils/design.scss");
|
|
16445
16654
|
__webpack_require__(/*! ../utils/layout.scss */ "./src/utils/layout.scss");
|
|
16446
16655
|
|
|
16447
|
-
|
|
16448
|
-
Object(
|
|
16656
|
+
survey_core__WEBPACK_IMPORTED_MODULE_64__["settings"].supportCreatorV2 = true;
|
|
16657
|
+
Object(survey_core__WEBPACK_IMPORTED_MODULE_64__["checkLibraryVersion"])("" + "1.9.85", "survey-creator-core");
|
|
16449
16658
|
|
|
16450
16659
|
|
|
16451
16660
|
/***/ }),
|
|
@@ -18974,6 +19183,9 @@ var enStrings = {
|
|
|
18974
19183
|
hideIfRowsEmpty: "Hide the question if there are no rows",
|
|
18975
19184
|
hideColumnsIfEmpty: "Hide columns if there are no rows",
|
|
18976
19185
|
rateValues: "Custom rate values",
|
|
19186
|
+
rateCount: "Rate count",
|
|
19187
|
+
rateDisplayMode: "Rate display mode",
|
|
19188
|
+
autoGenerate: "How to specify rate values?",
|
|
18977
19189
|
hideIfChoicesEmpty: "Hide the question if it contains no choices",
|
|
18978
19190
|
hideNumber: "Hide question number",
|
|
18979
19191
|
minWidth: "Minimum width (in CSS-accepted values)",
|
|
@@ -19168,6 +19380,21 @@ var enStrings = {
|
|
|
19168
19380
|
clearInvisibleValues: {
|
|
19169
19381
|
none: "Never"
|
|
19170
19382
|
},
|
|
19383
|
+
inputType: {
|
|
19384
|
+
color: "Color",
|
|
19385
|
+
date: "Date",
|
|
19386
|
+
"datetime-local": "Date and Time",
|
|
19387
|
+
email: "Email",
|
|
19388
|
+
month: "Month",
|
|
19389
|
+
number: "Number",
|
|
19390
|
+
password: "Password",
|
|
19391
|
+
range: "Range",
|
|
19392
|
+
tel: "Phone Number",
|
|
19393
|
+
text: "Text",
|
|
19394
|
+
time: "Time",
|
|
19395
|
+
url: "URL",
|
|
19396
|
+
week: "Week"
|
|
19397
|
+
},
|
|
19171
19398
|
all: "All",
|
|
19172
19399
|
page: "Page",
|
|
19173
19400
|
survey: "Survey",
|
|
@@ -19235,7 +19462,8 @@ var enStrings = {
|
|
|
19235
19462
|
auto: "Auto",
|
|
19236
19463
|
buttons: "Buttons",
|
|
19237
19464
|
dropdown: "Dropdown"
|
|
19238
|
-
}
|
|
19465
|
+
},
|
|
19466
|
+
rateColorMode: { default: "Default" }
|
|
19239
19467
|
},
|
|
19240
19468
|
// Operators
|
|
19241
19469
|
op: {
|
|
@@ -20175,7 +20403,7 @@ var propertyGridCss = {
|
|
|
20175
20403
|
image: { root: "spg-image", image: "sv_image_image" },
|
|
20176
20404
|
error: {
|
|
20177
20405
|
root: "spg-question__erbox",
|
|
20178
|
-
icon: "",
|
|
20406
|
+
icon: "spg-question__erbox-icon",
|
|
20179
20407
|
item: "",
|
|
20180
20408
|
locationTop: "spg-question__erbox--location--top",
|
|
20181
20409
|
locationBottom: "spg-question__erbox--location--bottom"
|
|
@@ -20338,7 +20566,8 @@ var propertyGridCss = {
|
|
|
20338
20566
|
root: "spg-input spg-comment",
|
|
20339
20567
|
content: "spg-question__content spg-comment__content",
|
|
20340
20568
|
remainingCharacterCounter: "spg-remaining-character-counter",
|
|
20341
|
-
small: "spg-row__question--small"
|
|
20569
|
+
small: "spg-row__question--small",
|
|
20570
|
+
onError: "spg-input--error"
|
|
20342
20571
|
},
|
|
20343
20572
|
expression: "",
|
|
20344
20573
|
file: {
|
|
@@ -20400,7 +20629,7 @@ var propertyGridCss = {
|
|
|
20400
20629
|
spinedit: {
|
|
20401
20630
|
root: "spg-input spg-spin-editor spg-input-container",
|
|
20402
20631
|
control: "spg-spin-editor__input spg-input-container__input",
|
|
20403
|
-
buttonsContainer: "spg-
|
|
20632
|
+
buttonsContainer: "spg-input-container__buttons-container",
|
|
20404
20633
|
arrowButton: "spg-input__edit-button",
|
|
20405
20634
|
increaseButtonIcon: "icon-arrow-up",
|
|
20406
20635
|
decreaseButtonIcon: "icon-arrow-down"
|
|
@@ -20412,6 +20641,19 @@ var propertyGridCss = {
|
|
|
20412
20641
|
control: "spg-color-editor__input spg-input-container__input",
|
|
20413
20642
|
colorDropdown: "spg-input__edit-button",
|
|
20414
20643
|
colorDrodownIcon: "icon-drop-down-arrow"
|
|
20644
|
+
},
|
|
20645
|
+
fileedit: {
|
|
20646
|
+
root: "spg-input spg-input-container spg-file-edit",
|
|
20647
|
+
control: "spg-input-container__input",
|
|
20648
|
+
buttonsContainer: "spg-input-container__buttons-container",
|
|
20649
|
+
chooseButtonIcon: "icon-file",
|
|
20650
|
+
clearButtonIcon: "icon-clear",
|
|
20651
|
+
fileInput: "sd-visuallyhidden",
|
|
20652
|
+
clearButton: "spg-input__edit-button",
|
|
20653
|
+
chooseButton: "spg-input__edit-button spg-file-edit__choose-button"
|
|
20654
|
+
},
|
|
20655
|
+
linkvalue: {
|
|
20656
|
+
content: "spg-link"
|
|
20415
20657
|
}
|
|
20416
20658
|
};
|
|
20417
20659
|
|
|
@@ -20972,7 +21214,7 @@ var ConditionEditor = /** @class */ (function (_super) {
|
|
|
20972
21214
|
if (this.isModal) {
|
|
20973
21215
|
expression = "{panel.questionName} empty and {panelIndex} == 0";
|
|
20974
21216
|
}
|
|
20975
|
-
this.panel
|
|
21217
|
+
this.panel.template.getQuestionByName("placeholder").visibleIf = expression;
|
|
20976
21218
|
}
|
|
20977
21219
|
};
|
|
20978
21220
|
ConditionEditor.prototype.getSurveyJSON = function () {
|
|
@@ -22691,6 +22933,7 @@ var PropertyGridModel = /** @class */ (function () {
|
|
|
22691
22933
|
this.surveyValue.dispose();
|
|
22692
22934
|
}
|
|
22693
22935
|
this.surveyValue = this.createSurvey(json);
|
|
22936
|
+
this.surveyValue.questionErrorLocation = "bottom";
|
|
22694
22937
|
this.surveyValue.getCss().list = {};
|
|
22695
22938
|
this.surveyValue.css = _property_grid_theme_property_grid__WEBPACK_IMPORTED_MODULE_4__["propertyGridCss"];
|
|
22696
22939
|
var page = this.surveyValue.createNewPage("p1");
|
|
@@ -23027,6 +23270,9 @@ var PropertyGridEditor = /** @class */ (function () {
|
|
|
23027
23270
|
if (property.type !== "condition") {
|
|
23028
23271
|
surveyPropertyEditor.editSurvey.css = survey_core__WEBPACK_IMPORTED_MODULE_1__["defaultV2Css"];
|
|
23029
23272
|
}
|
|
23273
|
+
if (question.isReadOnly) {
|
|
23274
|
+
surveyPropertyEditor.editSurvey.mode = "display";
|
|
23275
|
+
}
|
|
23030
23276
|
if (!survey_core__WEBPACK_IMPORTED_MODULE_1__["settings"].showModal)
|
|
23031
23277
|
return surveyPropertyEditor;
|
|
23032
23278
|
var prevCurrentLocale = survey_core__WEBPACK_IMPORTED_MODULE_1__["surveyLocalization"].currentLocale;
|
|
@@ -23043,6 +23289,12 @@ var PropertyGridEditor = /** @class */ (function () {
|
|
|
23043
23289
|
_this.onModalPropertyEditorClosed(editor, property, question, options, "cancel");
|
|
23044
23290
|
onClose && onClose("cancel");
|
|
23045
23291
|
}, "sv-property-editor", question.title, options.isMobileView ? "overlay" : "popup");
|
|
23292
|
+
if (question.isReadOnly) {
|
|
23293
|
+
var applyBtn = popupModel.footerToolbar.getActionById("apply");
|
|
23294
|
+
if (!!applyBtn) {
|
|
23295
|
+
applyBtn.visible = false;
|
|
23296
|
+
}
|
|
23297
|
+
}
|
|
23046
23298
|
popupModel.locale = locale;
|
|
23047
23299
|
survey_core__WEBPACK_IMPORTED_MODULE_1__["surveyLocalization"].currentLocale = prevCurrentLocale;
|
|
23048
23300
|
this.onModalPropertyEditorShown(editor, property, question, options);
|
|
@@ -23549,13 +23801,14 @@ survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionFactory"].Instance.registerQue
|
|
|
23549
23801
|
/*!***************************************!*\
|
|
23550
23802
|
!*** ./src/property-grid/matrices.ts ***!
|
|
23551
23803
|
\***************************************/
|
|
23552
|
-
/*! exports provided: PropertyGridEditorMatrix, PropertyGridEditorMatrixItemValues, PropertyGridEditorMatrixColumns, PropertyGridEditorMatrixPages, PropertyGridEditorMatrixCalculatedValues, PropertyGridEditorMatrixHtmlConditions, PropertyGridEditorMatrixUrlConditions, PropertyGridEditorMatrixMutlipleTextItems, PropertyGridEditorMatrixMultipleTypes, PropertyGridEditorMatrixValidators, PropertyGridEditorMatrixTriggers */
|
|
23804
|
+
/*! exports provided: PropertyGridEditorMatrix, PropertyGridEditorMatrixItemValues, PropertyGridEditorMatrixRateValues, PropertyGridEditorMatrixColumns, PropertyGridEditorMatrixPages, PropertyGridEditorMatrixCalculatedValues, PropertyGridEditorMatrixHtmlConditions, PropertyGridEditorMatrixUrlConditions, PropertyGridEditorMatrixMutlipleTextItems, PropertyGridEditorMatrixMultipleTypes, PropertyGridEditorMatrixValidators, PropertyGridEditorMatrixTriggers */
|
|
23553
23805
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
23554
23806
|
|
|
23555
23807
|
"use strict";
|
|
23556
23808
|
__webpack_require__.r(__webpack_exports__);
|
|
23557
23809
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrix", function() { return PropertyGridEditorMatrix; });
|
|
23558
23810
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixItemValues", function() { return PropertyGridEditorMatrixItemValues; });
|
|
23811
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixRateValues", function() { return PropertyGridEditorMatrixRateValues; });
|
|
23559
23812
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixColumns", function() { return PropertyGridEditorMatrixColumns; });
|
|
23560
23813
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixPages", function() { return PropertyGridEditorMatrixPages; });
|
|
23561
23814
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "PropertyGridEditorMatrixCalculatedValues", function() { return PropertyGridEditorMatrixCalculatedValues; });
|
|
@@ -23574,6 +23827,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
23574
23827
|
/* harmony import */ var _fast_entry__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./fast-entry */ "./src/property-grid/fast-entry.ts");
|
|
23575
23828
|
/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./index */ "./src/property-grid/index.ts");
|
|
23576
23829
|
/* harmony import */ var _utils_actions__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/actions */ "./src/utils/actions.ts");
|
|
23830
|
+
/* harmony import */ var _components_question_rating__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../components/question-rating */ "./src/components/question-rating.ts");
|
|
23831
|
+
|
|
23577
23832
|
|
|
23578
23833
|
|
|
23579
23834
|
|
|
@@ -23582,6 +23837,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
23582
23837
|
|
|
23583
23838
|
|
|
23584
23839
|
|
|
23840
|
+
survey_core__WEBPACK_IMPORTED_MODULE_1__["Serializer"].addProperty("itemvalue", {
|
|
23841
|
+
name: "icon", isSerializable: false, readOnly: true, visibleIndex: 0,
|
|
23842
|
+
visibleIf: function (obj) {
|
|
23843
|
+
return obj &&
|
|
23844
|
+
obj.ownerPropertyName === "rateValues" &&
|
|
23845
|
+
obj.locOwner instanceof survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionRatingModel"] &&
|
|
23846
|
+
obj.locOwner.rateType == "smileys";
|
|
23847
|
+
},
|
|
23848
|
+
});
|
|
23585
23849
|
var PropertyGridEditorMatrix = /** @class */ (function (_super) {
|
|
23586
23850
|
Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(PropertyGridEditorMatrix, _super);
|
|
23587
23851
|
function PropertyGridEditorMatrix() {
|
|
@@ -23607,10 +23871,18 @@ var PropertyGridEditorMatrix = /** @class */ (function (_super) {
|
|
|
23607
23871
|
var objType = typeof rowObj.getType === "function" && rowObj.getType();
|
|
23608
23872
|
if (cellQuestion.getType() === "text" && !!objType) {
|
|
23609
23873
|
if (propertyName === "text" && objType === "itemvalue") {
|
|
23610
|
-
cellQuestion.placeholder = new survey_core__WEBPACK_IMPORTED_MODULE_1__["ComputedUpdater"](function () {
|
|
23874
|
+
cellQuestion.placeholder = new survey_core__WEBPACK_IMPORTED_MODULE_1__["ComputedUpdater"](function () {
|
|
23875
|
+
if (!!rowObj.value)
|
|
23876
|
+
return rowObj.value.toString();
|
|
23877
|
+
return rowObj.text;
|
|
23878
|
+
});
|
|
23611
23879
|
}
|
|
23612
23880
|
if (propertyName === "title" && objType === "matrixdropdowncolumn") {
|
|
23613
|
-
cellQuestion.placeholder = new survey_core__WEBPACK_IMPORTED_MODULE_1__["ComputedUpdater"](function () {
|
|
23881
|
+
cellQuestion.placeholder = new survey_core__WEBPACK_IMPORTED_MODULE_1__["ComputedUpdater"](function () {
|
|
23882
|
+
if (!!rowObj.name)
|
|
23883
|
+
return rowObj.name;
|
|
23884
|
+
return rowObj.title;
|
|
23885
|
+
});
|
|
23614
23886
|
}
|
|
23615
23887
|
}
|
|
23616
23888
|
};
|
|
@@ -23860,12 +24132,15 @@ var PropertyGridEditorMatrix = /** @class */ (function (_super) {
|
|
|
23860
24132
|
PropertyGridEditorMatrix.prototype.getMaximumRowCount = function (obj, prop, options) {
|
|
23861
24133
|
return -1;
|
|
23862
24134
|
};
|
|
24135
|
+
PropertyGridEditorMatrix.prototype.filterPropertyNames = function (propNames) {
|
|
24136
|
+
return propNames;
|
|
24137
|
+
};
|
|
23863
24138
|
PropertyGridEditorMatrix.prototype.getColumnsJSON = function (obj, prop, propNames, options) {
|
|
23864
24139
|
var className = prop.className;
|
|
23865
24140
|
if (!className) {
|
|
23866
24141
|
className = prop.baseClassName;
|
|
23867
24142
|
}
|
|
23868
|
-
var res = new _index__WEBPACK_IMPORTED_MODULE_6__["PropertyJSONGenerator"](obj, options).createColumnsJSON(className, propNames);
|
|
24143
|
+
var res = new _index__WEBPACK_IMPORTED_MODULE_6__["PropertyJSONGenerator"](obj, options).createColumnsJSON(className, this.filterPropertyNames(propNames));
|
|
23869
24144
|
for (var i = 0; i < res.length; i++) {
|
|
23870
24145
|
if (res[i].cellType == "comment") {
|
|
23871
24146
|
res[i].cellType = "text";
|
|
@@ -23912,7 +24187,10 @@ var PropertyGridEditorMatrixItemValues = /** @class */ (function (_super) {
|
|
|
23912
24187
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
23913
24188
|
}
|
|
23914
24189
|
PropertyGridEditorMatrixItemValues.prototype.fit = function (prop) {
|
|
23915
|
-
return (prop.isArray && survey_core__WEBPACK_IMPORTED_MODULE_1__["Serializer"].isDescendantOf(prop.className, "itemvalue"));
|
|
24190
|
+
return (prop.isArray && survey_core__WEBPACK_IMPORTED_MODULE_1__["Serializer"].isDescendantOf(prop.className, "itemvalue") && prop.name != "rateValues");
|
|
24191
|
+
};
|
|
24192
|
+
PropertyGridEditorMatrixItemValues.prototype.filterPropertyNames = function (propNames) {
|
|
24193
|
+
return propNames.filter(function (p) { return p != "icon"; });
|
|
23916
24194
|
};
|
|
23917
24195
|
PropertyGridEditorMatrixItemValues.prototype.isPropertyEditorSetupEnabled = function (obj, prop, question, options) {
|
|
23918
24196
|
if (question.showTextView === false)
|
|
@@ -23928,10 +24206,7 @@ var PropertyGridEditorMatrixItemValues = /** @class */ (function (_super) {
|
|
|
23928
24206
|
};
|
|
23929
24207
|
PropertyGridEditorMatrixItemValues.prototype.getAllowRowDragDrop = function (prop) { return true; };
|
|
23930
24208
|
PropertyGridEditorMatrixItemValues.prototype.createPropertyEditorSetup = function (obj, prop, question, options) {
|
|
23931
|
-
var names =
|
|
23932
|
-
question.columns.forEach(function (col) {
|
|
23933
|
-
names.push(col.name);
|
|
23934
|
-
});
|
|
24209
|
+
var names = question.columns.filter(function (c) { return !c.readOnly; }).map(function (c) { return c.name; });
|
|
23935
24210
|
return new _fast_entry__WEBPACK_IMPORTED_MODULE_5__["FastEntryEditor"](obj[prop.name], options, prop.className, names);
|
|
23936
24211
|
};
|
|
23937
24212
|
PropertyGridEditorMatrixItemValues.prototype.canClearPropertyValue = function (obj, prop, question, options) {
|
|
@@ -23953,6 +24228,12 @@ var PropertyGridEditorMatrixItemValues = /** @class */ (function (_super) {
|
|
|
23953
24228
|
PropertyGridEditorMatrixItemValues.prototype.getKeyValue = function () {
|
|
23954
24229
|
return "value";
|
|
23955
24230
|
};
|
|
24231
|
+
PropertyGridEditorMatrixItemValues.prototype.getMatrixJSON = function (obj, prop, propNames, options) {
|
|
24232
|
+
var res = _super.prototype.getMatrixJSON.call(this, obj, prop, propNames, options);
|
|
24233
|
+
if (prop.name === "rateValues" && res.columns[0].name == "icon")
|
|
24234
|
+
res.showHeader = res.columns > 3;
|
|
24235
|
+
return res;
|
|
24236
|
+
};
|
|
23956
24237
|
PropertyGridEditorMatrixItemValues.prototype.getMaximumRowCount = function (obj, prop, options) {
|
|
23957
24238
|
if (prop.name === "choices")
|
|
23958
24239
|
return options.maximumChoicesCount;
|
|
@@ -23986,9 +24267,65 @@ var PropertyGridEditorMatrixItemValues = /** @class */ (function (_super) {
|
|
|
23986
24267
|
}
|
|
23987
24268
|
return false;
|
|
23988
24269
|
};
|
|
24270
|
+
PropertyGridEditorMatrixItemValues.prototype.onMatrixCellCreated = function (obj, options) {
|
|
24271
|
+
_super.prototype.onMatrixCellCreated.call(this, obj, options);
|
|
24272
|
+
function updateHtml(question, value) {
|
|
24273
|
+
question.html = "<div class=\"spg-smiley-icon\"><svg><use xlink:href=\"#icon-" + value + "\"></use></svg></div>";
|
|
24274
|
+
}
|
|
24275
|
+
function changeValueCallback(sender, options) {
|
|
24276
|
+
if (options.name != "value")
|
|
24277
|
+
return;
|
|
24278
|
+
updateHtml(sender, options.newValue);
|
|
24279
|
+
}
|
|
24280
|
+
if (obj instanceof survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionRatingModel"] && options.columnName == "icon") {
|
|
24281
|
+
updateHtml(options.cellQuestion, options.cellQuestion.value);
|
|
24282
|
+
options.cellQuestion.onPropertyChanged.add(changeValueCallback);
|
|
24283
|
+
}
|
|
24284
|
+
};
|
|
24285
|
+
PropertyGridEditorMatrixItemValues.prototype.onMatrixCellValueChanged = function (obj, options) {
|
|
24286
|
+
if (obj instanceof survey_core__WEBPACK_IMPORTED_MODULE_1__["QuestionRatingModel"] && options.columnName == "icon") {
|
|
24287
|
+
//options.cellQuestion.html = "<svg style='fill: red'><use xlink:href=\"#" + options.cellQuestion.value + "\"></use></svg>";
|
|
24288
|
+
options.cellQuestion.html = options.cellQuestion.value;
|
|
24289
|
+
}
|
|
24290
|
+
};
|
|
23989
24291
|
return PropertyGridEditorMatrixItemValues;
|
|
23990
24292
|
}(PropertyGridEditorMatrix));
|
|
23991
24293
|
|
|
24294
|
+
var PropertyGridEditorMatrixRateValues = /** @class */ (function (_super) {
|
|
24295
|
+
Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(PropertyGridEditorMatrixRateValues, _super);
|
|
24296
|
+
function PropertyGridEditorMatrixRateValues() {
|
|
24297
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
24298
|
+
}
|
|
24299
|
+
PropertyGridEditorMatrixRateValues.prototype.fit = function (prop) {
|
|
24300
|
+
return (prop.isArray && survey_core__WEBPACK_IMPORTED_MODULE_1__["Serializer"].isDescendantOf(prop.className, "itemvalue") && prop.name == "rateValues");
|
|
24301
|
+
};
|
|
24302
|
+
PropertyGridEditorMatrixRateValues.prototype.updateAllowAddRemove = function (matrixQuestion, obj) {
|
|
24303
|
+
matrixQuestion.allowRemoveRows = _components_question_rating__WEBPACK_IMPORTED_MODULE_8__["QuestionRatingAdornerViewModel"].allowRemoveForElement(obj);
|
|
24304
|
+
matrixQuestion.allowAddRows = _components_question_rating__WEBPACK_IMPORTED_MODULE_8__["QuestionRatingAdornerViewModel"].allowAddForElement(obj, matrixQuestion.maxRowCount);
|
|
24305
|
+
};
|
|
24306
|
+
PropertyGridEditorMatrixRateValues.prototype.onCreated = function (obj, question, prop) {
|
|
24307
|
+
var _this = this;
|
|
24308
|
+
_super.prototype.onCreated.call(this, obj, question, prop);
|
|
24309
|
+
var matrixQuestion = question;
|
|
24310
|
+
this.updateAllowAddRemove(matrixQuestion, obj);
|
|
24311
|
+
obj.onPropertyChanged.add(function (sender, options) {
|
|
24312
|
+
if (options.name == "rateCount" || options.name == "rateDisplayMode") {
|
|
24313
|
+
_this.updateAllowAddRemove(matrixQuestion, obj);
|
|
24314
|
+
}
|
|
24315
|
+
});
|
|
24316
|
+
};
|
|
24317
|
+
PropertyGridEditorMatrixRateValues.prototype.onGetQuestionTitleActions = function (obj, options) {
|
|
24318
|
+
var clearAction = options.titleActions.filter(function (a) { return a.id == "property-grid-clear"; })[0];
|
|
24319
|
+
if (clearAction)
|
|
24320
|
+
clearAction.visible = false;
|
|
24321
|
+
_super.prototype.onGetQuestionTitleActions.call(this, obj, options);
|
|
24322
|
+
};
|
|
24323
|
+
PropertyGridEditorMatrixRateValues.prototype.filterPropertyNames = function (propNames) {
|
|
24324
|
+
return propNames;
|
|
24325
|
+
};
|
|
24326
|
+
return PropertyGridEditorMatrixRateValues;
|
|
24327
|
+
}(PropertyGridEditorMatrixItemValues));
|
|
24328
|
+
|
|
23992
24329
|
var PropertyGridEditorMatrixColumns = /** @class */ (function (_super) {
|
|
23993
24330
|
Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__extends"])(PropertyGridEditorMatrixColumns, _super);
|
|
23994
24331
|
function PropertyGridEditorMatrixColumns() {
|
|
@@ -24285,6 +24622,7 @@ var PropertyGridEditorMatrixTriggers = /** @class */ (function (_super) {
|
|
|
24285
24622
|
}(PropertyGridEditorMatrixMultipleTypes));
|
|
24286
24623
|
|
|
24287
24624
|
_index__WEBPACK_IMPORTED_MODULE_6__["PropertyGridEditorCollection"].register(new PropertyGridEditorMatrixItemValues());
|
|
24625
|
+
_index__WEBPACK_IMPORTED_MODULE_6__["PropertyGridEditorCollection"].register(new PropertyGridEditorMatrixRateValues());
|
|
24288
24626
|
_index__WEBPACK_IMPORTED_MODULE_6__["PropertyGridEditorCollection"].register(new PropertyGridEditorMatrixColumns());
|
|
24289
24627
|
_index__WEBPACK_IMPORTED_MODULE_6__["PropertyGridEditorCollection"].register(new PropertyGridEditorMatrixPages());
|
|
24290
24628
|
_index__WEBPACK_IMPORTED_MODULE_6__["PropertyGridEditorCollection"].register(new PropertyGridEditorMatrixCalculatedValues());
|
|
@@ -24293,6 +24631,19 @@ _index__WEBPACK_IMPORTED_MODULE_6__["PropertyGridEditorCollection"].register(new
|
|
|
24293
24631
|
_index__WEBPACK_IMPORTED_MODULE_6__["PropertyGridEditorCollection"].register(new PropertyGridEditorMatrixMutlipleTextItems());
|
|
24294
24632
|
_index__WEBPACK_IMPORTED_MODULE_6__["PropertyGridEditorCollection"].register(new PropertyGridEditorMatrixValidators());
|
|
24295
24633
|
_index__WEBPACK_IMPORTED_MODULE_6__["PropertyGridEditorCollection"].register(new PropertyGridEditorMatrixTriggers());
|
|
24634
|
+
_index__WEBPACK_IMPORTED_MODULE_6__["PropertyGridEditorCollection"].register({
|
|
24635
|
+
fit: function (prop) {
|
|
24636
|
+
if (prop.name === "icon") {
|
|
24637
|
+
return prop.classInfo.name === "itemvalue";
|
|
24638
|
+
}
|
|
24639
|
+
return false;
|
|
24640
|
+
},
|
|
24641
|
+
getJSON: function (obj) {
|
|
24642
|
+
return {
|
|
24643
|
+
"type": "html"
|
|
24644
|
+
};
|
|
24645
|
+
}
|
|
24646
|
+
});
|
|
24296
24647
|
|
|
24297
24648
|
|
|
24298
24649
|
/***/ }),
|
|
@@ -24616,6 +24967,7 @@ var PropertyGridViewModel = /** @class */ (function (_super) {
|
|
|
24616
24967
|
_this.selectorPopupModel.toggleVisibility();
|
|
24617
24968
|
});
|
|
24618
24969
|
_this.selectorPopupModel.toggleVisibility();
|
|
24970
|
+
selectorModel.list.scrollToSelectedItem();
|
|
24619
24971
|
},
|
|
24620
24972
|
popupModel: this.selectorPopupModel
|
|
24621
24973
|
});
|
|
@@ -24894,11 +25246,15 @@ var PropertyGridValueEditorBase = /** @class */ (function (_super) {
|
|
|
24894
25246
|
function PropertyGridValueEditorBase() {
|
|
24895
25247
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
24896
25248
|
_this.onCreated = function (obj, question, prop, options) {
|
|
24897
|
-
|
|
24898
|
-
|
|
24899
|
-
|
|
25249
|
+
var linkQuestion = question;
|
|
25250
|
+
linkQuestion.isClickableCallback = function () {
|
|
25251
|
+
return !linkQuestion.isReadOnly || !_this.isValueEmpty(linkQuestion.value);
|
|
25252
|
+
};
|
|
25253
|
+
linkQuestion.linkClickCallback = function () {
|
|
25254
|
+
_this.showModalPropertyEditor(_this, prop, question, options, function () { return linkQuestion.isSelected = false; });
|
|
25255
|
+
linkQuestion.isSelected = true;
|
|
24900
25256
|
};
|
|
24901
|
-
|
|
25257
|
+
linkQuestion.clearClickCallback = function () {
|
|
24902
25258
|
_this.clearPropertyValue(question.obj, prop, question, null /*this.options*/);
|
|
24903
25259
|
};
|
|
24904
25260
|
};
|
|
@@ -25497,6 +25853,7 @@ var SurveyQuestionEditorDefinition = /** @class */ (function () {
|
|
|
25497
25853
|
paneldynamic: {
|
|
25498
25854
|
properties: [
|
|
25499
25855
|
"renderMode",
|
|
25856
|
+
"templateTabTitle",
|
|
25500
25857
|
"tabAlign",
|
|
25501
25858
|
"panelCount",
|
|
25502
25859
|
"minPanelCount",
|
|
@@ -26031,7 +26388,7 @@ var SurveyQuestionProperties = /** @class */ (function () {
|
|
|
26031
26388
|
var props = [].concat(properties);
|
|
26032
26389
|
for (var i = 0; i < props.length; i++) {
|
|
26033
26390
|
var index = props[i].property.visibleIndex;
|
|
26034
|
-
if (props[i].createdFromTabName) {
|
|
26391
|
+
if (props[i].createdFromTabName && index < 0) {
|
|
26035
26392
|
index = 0;
|
|
26036
26393
|
}
|
|
26037
26394
|
if (index < 0)
|
|
@@ -26693,6 +27050,14 @@ var SurveyHelper = /** @class */ (function () {
|
|
|
26693
27050
|
}
|
|
26694
27051
|
return undefined;
|
|
26695
27052
|
};
|
|
27053
|
+
SurveyHelper.isSupportCellEditor = function (type) {
|
|
27054
|
+
var supportedTypes = ["selectbase", "boolean", "rating"];
|
|
27055
|
+
for (var i = 0; i < supportedTypes.length; i++) {
|
|
27056
|
+
if (survey_core__WEBPACK_IMPORTED_MODULE_0__["Serializer"].isDescendantOf(type, supportedTypes[i]))
|
|
27057
|
+
return true;
|
|
27058
|
+
}
|
|
27059
|
+
return false;
|
|
27060
|
+
};
|
|
26696
27061
|
return SurveyHelper;
|
|
26697
27062
|
}());
|
|
26698
27063
|
|
|
@@ -27627,7 +27992,7 @@ var QuestionToolbox = /** @class */ (function (_super) {
|
|
|
27627
27992
|
return questions;
|
|
27628
27993
|
};
|
|
27629
27994
|
QuestionToolbox.prototype.dispose = function () { };
|
|
27630
|
-
QuestionToolbox.hiddenTypes = ["buttongroup", "linkvalue", "embeddedsurvey", "spinedit", "color"];
|
|
27995
|
+
QuestionToolbox.hiddenTypes = ["buttongroup", "linkvalue", "embeddedsurvey", "spinedit", "color", "fileedit"];
|
|
27631
27996
|
QuestionToolbox.defaultIconName = "icon-default";
|
|
27632
27997
|
QuestionToolbox.defaultCategories = {
|
|
27633
27998
|
toolboxChoiceCategory: ["radiogroup", "rating", "checkbox", "dropdown", "tagbox", "boolean", "file", "imagepicker", "ranking"],
|