@kontur.candy/generator 5.1.0-xmlupload.0 → 5.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +58 -41
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -58369,8 +58369,7 @@ exports.XPathWildcardElement = XPathWildcardElement;
|
|
|
58369
58369
|
"use strict";
|
|
58370
58370
|
__webpack_require__.r(__webpack_exports__);
|
|
58371
58371
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
58372
|
-
/* harmony export */ "FufCombineMethod": () => (/* binding */ FufCombineMethod)
|
|
58373
|
-
/* harmony export */ "CombinatorType": () => (/* binding */ CombinatorType)
|
|
58372
|
+
/* harmony export */ "FufCombineMethod": () => (/* binding */ FufCombineMethod)
|
|
58374
58373
|
/* harmony export */ });
|
|
58375
58374
|
let FufCombineMethod = /*#__PURE__*/function (FufCombineMethod) {
|
|
58376
58375
|
FufCombineMethod["Merge"] = "Merge";
|
|
@@ -58378,11 +58377,6 @@ let FufCombineMethod = /*#__PURE__*/function (FufCombineMethod) {
|
|
|
58378
58377
|
FufCombineMethod["Replace"] = "Replace";
|
|
58379
58378
|
return FufCombineMethod;
|
|
58380
58379
|
}({});
|
|
58381
|
-
let CombinatorType = /*#__PURE__*/function (CombinatorType) {
|
|
58382
|
-
CombinatorType["XmlCombinatorByPath"] = "XmlCombinatorByPath";
|
|
58383
|
-
CombinatorType["Default"] = "Default";
|
|
58384
|
-
return CombinatorType;
|
|
58385
|
-
}({});
|
|
58386
58380
|
|
|
58387
58381
|
/***/ }),
|
|
58388
58382
|
|
|
@@ -60374,9 +60368,9 @@ function isMatchAbbreviation(abbreviation, value) {
|
|
|
60374
60368
|
|
|
60375
60369
|
/***/ }),
|
|
60376
60370
|
|
|
60377
|
-
/***/ "./Engine/src/Engine/Core/ModalManager/Modals/Utils/
|
|
60371
|
+
/***/ "./Engine/src/Engine/Core/ModalManager/Modals/Utils/Utils.ts":
|
|
60378
60372
|
/*!*******************************************************************!*\
|
|
60379
|
-
!*** ./Engine/src/Engine/Core/ModalManager/Modals/Utils/
|
|
60373
|
+
!*** ./Engine/src/Engine/Core/ModalManager/Modals/Utils/Utils.ts ***!
|
|
60380
60374
|
\*******************************************************************/
|
|
60381
60375
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
60382
60376
|
|
|
@@ -83479,7 +83473,7 @@ class DropDownButtonLoadExcelConverter extends _SugarNodeConverter__WEBPACK_IMPO
|
|
|
83479
83473
|
// no children
|
|
83480
83474
|
}
|
|
83481
83475
|
doConvert(context) {
|
|
83482
|
-
var _node$text, _node$textInLoading, _node$
|
|
83476
|
+
var _node$text, _node$textInLoading, _node$combineType;
|
|
83483
83477
|
const node = this.getCurrentNodeAs(_DropDownButtonLoadExcelNode__WEBPACK_IMPORTED_MODULE_5__.DropDownButtonLoadExcelNode);
|
|
83484
83478
|
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("DropDownButtonLoadExcel");
|
|
83485
83479
|
markupBuilder.prop(x => x.pathToTable).set(node.pathToTable);
|
|
@@ -83488,7 +83482,6 @@ class DropDownButtonLoadExcelConverter extends _SugarNodeConverter__WEBPACK_IMPO
|
|
|
83488
83482
|
markupBuilder.prop(x => x.text).set((_node$text = node.text) !== null && _node$text !== void 0 ? _node$text : "Действия");
|
|
83489
83483
|
markupBuilder.prop(x => x.textInLoading).set((_node$textInLoading = node.textInLoading) !== null && _node$textInLoading !== void 0 ? _node$textInLoading : "Скачиваем");
|
|
83490
83484
|
markupBuilder.prop(x => x.tableType).set(node.tableType);
|
|
83491
|
-
markupBuilder.prop(x => x.combinatorType).set((_node$combinatorType = node.combinatorType) !== null && _node$combinatorType !== void 0 ? _node$combinatorType : _Common_CandyApiClient_Types_DraftActions_CombineFufResult__WEBPACK_IMPORTED_MODULE_4__.CombinatorType.Default);
|
|
83492
83485
|
markupBuilder.prop(x => x.combineType).set((_node$combineType = node.combineType) !== null && _node$combineType !== void 0 ? _node$combineType : _Common_CandyApiClient_Types_DraftActions_CombineFufResult__WEBPACK_IMPORTED_MODULE_4__.FufCombineMethod.AddToEnd);
|
|
83493
83486
|
return markupBuilder.buildConverterResult();
|
|
83494
83487
|
}
|
|
@@ -83515,15 +83508,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
83515
83508
|
/* harmony import */ var _babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_initializerWarningHelper__WEBPACK_IMPORTED_MODULE_2__);
|
|
83516
83509
|
/* harmony import */ var _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../Serializer/SugarSerializer */ "./Generator/src/generators/markupGenerator/Serializer/SugarSerializer.ts");
|
|
83517
83510
|
/* harmony import */ var _Common_CandyApiClient_Types_DraftActions_CombineFufResult__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../../Common/CandyApiClient/Types/DraftActions/CombineFufResult */ "./Common/CandyApiClient/Types/DraftActions/CombineFufResult.ts");
|
|
83518
|
-
/* harmony import */ var
|
|
83511
|
+
/* harmony import */ var _Engine_src_Engine_Core_ModalManager_Modals_Utils_Utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../../Engine/src/Engine/Core/ModalManager/Modals/Utils/Utils */ "./Engine/src/Engine/Core/ModalManager/Modals/Utils/Utils.ts");
|
|
83519
83512
|
|
|
83520
83513
|
|
|
83521
83514
|
|
|
83522
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8,
|
|
83515
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7;
|
|
83523
83516
|
|
|
83524
83517
|
|
|
83525
83518
|
|
|
83526
|
-
let DropDownButtonLoadExcelNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("dropdownbuttonloadexcel", `Кнопка для выгрузки и загрузки файла Excel.`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Action/DropDownButtonLoadExcel sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("pathToTable", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string.required, "Путь до multiline, абсолютный."), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, "Возможность установки произвольных data-tid атрибутов, может пригодиться другим командам, или для идентификации элемента в тестах"), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("size", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType["enum"]("small", "medium", "large"), "Размер кнопки. По умолчанинию small"), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("text", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, "Текст в кнопке до загрузки файла. По умолчанию 'Действия'."), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("textInLoading", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, "Текст в кнопке при загрузке файла в Excel. По умолчанию 'Скачиваем'"), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("tableType", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType["enum"](
|
|
83519
|
+
let DropDownButtonLoadExcelNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("dropdownbuttonloadexcel", `Кнопка для выгрузки и загрузки файла Excel.`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Action/DropDownButtonLoadExcel sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("pathToTable", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string.required, "Путь до multiline, абсолютный."), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, "Возможность установки произвольных data-tid атрибутов, может пригодиться другим командам, или для идентификации элемента в тестах"), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("size", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType["enum"]("small", "medium", "large"), "Размер кнопки. По умолчанинию small"), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("text", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, "Текст в кнопке до загрузки файла. По умолчанию 'Действия'."), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("textInLoading", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, "Текст в кнопке при загрузке файла в Excel. По умолчанию 'Скачиваем'"), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("tableType", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType["enum"](_Engine_src_Engine_Core_ModalManager_Modals_Utils_Utils__WEBPACK_IMPORTED_MODULE_5__.TableType["static"], _Engine_src_Engine_Core_ModalManager_Modals_Utils_Utils__WEBPACK_IMPORTED_MODULE_5__.TableType.dynamic).required, `Статичная или динамическая таблица.
|
|
83527
83520
|
Статическая - таблица без изменений количества строк и столбцов.
|
|
83528
83521
|
Динамическая - таблица с изменением количесва строк и/или столбцов. Например, мультилайн.
|
|
83529
83522
|
Если в таблице есть и статические и данамические строки, то в этот атрибут писать static.
|
|
@@ -83531,9 +83524,6 @@ let DropDownButtonLoadExcelNode = (_dec = (0,_Serializer_SugarSerializer__WEBPAC
|
|
|
83531
83524
|
AddToEnd - добавляет в конец данные, даже если есть повторяющиеся.
|
|
83532
83525
|
Merge - по умному мерджит данные с одинаковыми полями (нужно спрашивать реализовано ли такое, пока что только для ПСВ).
|
|
83533
83526
|
По умолчанию - AddToEnd.
|
|
83534
|
-
`), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("combinatorType", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType["enum"](_Common_CandyApiClient_Types_DraftActions_CombineFufResult__WEBPACK_IMPORTED_MODULE_4__.CombinatorType.Default, _Common_CandyApiClient_Types_DraftActions_CombineFufResult__WEBPACK_IMPORTED_MODULE_4__.CombinatorType.XmlCombinatorByPath), `Default: использует умный комбинатор, который пишется флешами.
|
|
83535
|
-
XmlCombinatorByPath: новый вид комбинатора по пути. Перекладывает из фуфа в черновик 1 к 1.
|
|
83536
|
-
В связке с XmlCombinatorByPath - в combineType писать AddToEnd.
|
|
83537
83527
|
`), _dec(_class = (_class2 = class DropDownButtonLoadExcelNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
83538
83528
|
constructor(...args) {
|
|
83539
83529
|
super(...args);
|
|
@@ -83544,7 +83534,6 @@ let DropDownButtonLoadExcelNode = (_dec = (0,_Serializer_SugarSerializer__WEBPAC
|
|
|
83544
83534
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "textInLoading", _descriptor5, this);
|
|
83545
83535
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tableType", _descriptor6, this);
|
|
83546
83536
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "combineType", _descriptor7, this);
|
|
83547
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "combinatorType", _descriptor8, this);
|
|
83548
83537
|
}
|
|
83549
83538
|
}, (_descriptor = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "pathToTable", [_dec2], {
|
|
83550
83539
|
configurable: true,
|
|
@@ -83581,11 +83570,6 @@ let DropDownButtonLoadExcelNode = (_dec = (0,_Serializer_SugarSerializer__WEBPAC
|
|
|
83581
83570
|
enumerable: true,
|
|
83582
83571
|
writable: true,
|
|
83583
83572
|
initializer: null
|
|
83584
|
-
}), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "combinatorType", [_dec9], {
|
|
83585
|
-
configurable: true,
|
|
83586
|
-
enumerable: true,
|
|
83587
|
-
writable: true,
|
|
83588
|
-
initializer: null
|
|
83589
83573
|
})), _class2)) || _class);
|
|
83590
83574
|
|
|
83591
83575
|
/***/ }),
|
|
@@ -89288,10 +89272,12 @@ class FixedTabConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_0__
|
|
|
89288
89272
|
yield* node.content;
|
|
89289
89273
|
}
|
|
89290
89274
|
doConvert(context) {
|
|
89275
|
+
var _node$id;
|
|
89291
89276
|
const node = this.getCurrentNodeAs(_FixedTabsNode__WEBPACK_IMPORTED_MODULE_3__.FixedTabNode);
|
|
89292
89277
|
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("FixedTab");
|
|
89293
89278
|
markupBuilder.prop(x => x.title).set(this.getConverterResultFromAttributeWithMarkup(context, node.title));
|
|
89294
|
-
markupBuilder.prop(x => x.id).set(context.getUniqueControlId(node.findParentOfTypeStrict(_FixedTabsNode__WEBPACK_IMPORTED_MODULE_3__.FixedTabsNode)));
|
|
89279
|
+
markupBuilder.prop(x => x.id).set((_node$id = node.id) !== null && _node$id !== void 0 ? _node$id : context.getUniqueControlId(node.findParentOfTypeStrict(_FixedTabsNode__WEBPACK_IMPORTED_MODULE_3__.FixedTabsNode)));
|
|
89280
|
+
markupBuilder.prop("data-tid").set(node.tid);
|
|
89295
89281
|
markupBuilder.appendChild(context.convertChildNodes(node.content));
|
|
89296
89282
|
return markupBuilder.buildConverterResult();
|
|
89297
89283
|
}
|
|
@@ -89312,30 +89298,37 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
89312
89298
|
/* harmony export */ });
|
|
89313
89299
|
/* harmony import */ var _ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../ComponentMarkupBuilder/ComponentMarkupBuilder */ "./Generator/src/generators/markupGenerator/ComponentMarkupBuilder/ComponentMarkupBuilder.ts");
|
|
89314
89300
|
/* harmony import */ var _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../SugarNodeConverter */ "./Generator/src/generators/markupGenerator/SugarNodeConverter.ts");
|
|
89315
|
-
/* harmony import */ var
|
|
89301
|
+
/* harmony import */ var _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../common/XmlParser/XmlNode */ "./Generator/src/common/XmlParser/XmlNode.ts");
|
|
89302
|
+
/* harmony import */ var _FixedTabsNode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./FixedTabsNode */ "./Generator/src/generators/markupGenerator/ElementProcessors/Layout/FixedTabs/FixedTabsNode.ts");
|
|
89303
|
+
|
|
89316
89304
|
|
|
89317
89305
|
|
|
89318
89306
|
|
|
89319
89307
|
class FixedTabsConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1__.SugarNodeConverterBase {
|
|
89320
89308
|
static getAcceptNodeClass() {
|
|
89321
|
-
return
|
|
89309
|
+
return _FixedTabsNode__WEBPACK_IMPORTED_MODULE_3__.FixedTabsNode;
|
|
89322
89310
|
}
|
|
89323
89311
|
doBuildDataDeclaration(context) {
|
|
89324
|
-
const node = this.getCurrentNodeAs(
|
|
89312
|
+
const node = this.getCurrentNodeAs(_FixedTabsNode__WEBPACK_IMPORTED_MODULE_3__.FixedTabsNode);
|
|
89325
89313
|
return context.mergeDataDeclaration(node.dataScope.path && context.addPathSectionDeclarationEntry(node));
|
|
89326
89314
|
}
|
|
89327
89315
|
buildChildrenDataDeclaration(context) {
|
|
89328
|
-
const node = this.getCurrentNodeAs(
|
|
89316
|
+
const node = this.getCurrentNodeAs(_FixedTabsNode__WEBPACK_IMPORTED_MODULE_3__.FixedTabsNode);
|
|
89329
89317
|
return context.processChildrenDataDeclaration(node.children);
|
|
89330
89318
|
}
|
|
89331
89319
|
*doTraverseChildren() {
|
|
89332
|
-
const node = this.getCurrentNodeAs(
|
|
89320
|
+
const node = this.getCurrentNodeAs(_FixedTabsNode__WEBPACK_IMPORTED_MODULE_3__.FixedTabsNode);
|
|
89333
89321
|
yield* node.children;
|
|
89334
89322
|
}
|
|
89335
89323
|
doConvert(context) {
|
|
89336
|
-
const node = this.getCurrentNodeAs(
|
|
89324
|
+
const node = this.getCurrentNodeAs(_FixedTabsNode__WEBPACK_IMPORTED_MODULE_3__.FixedTabsNode);
|
|
89337
89325
|
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__.componentMarkupBuilder)("FixedTabs");
|
|
89338
89326
|
markupBuilder.prop("data-tid").set(node.tid);
|
|
89327
|
+
if (node.defaultTab != undefined && node.defaultTabByValue != undefined) {
|
|
89328
|
+
throw new _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_2__.SugarAttributeReadError(`Выберите или defaultTab или defaultTabByValue`, node, "defaultTab");
|
|
89329
|
+
}
|
|
89330
|
+
markupBuilder.prop(x => x.defaultTab).set(node.defaultTab);
|
|
89331
|
+
markupBuilder.prop(x => x.defaultTabByValue).set(node.defaultTabByValue);
|
|
89339
89332
|
markupBuilder.appendChild(context.convertChildNodes(node.children));
|
|
89340
89333
|
return markupBuilder.buildConverterResult();
|
|
89341
89334
|
}
|
|
@@ -89366,15 +89359,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
89366
89359
|
|
|
89367
89360
|
|
|
89368
89361
|
|
|
89369
|
-
var _dec, _dec2, _dec3, _dec4, _class, _class2, _descriptor, _descriptor2, _descriptor3,
|
|
89362
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _class4, _class5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10;
|
|
89370
89363
|
|
|
89371
89364
|
|
|
89372
|
-
let FixedTabsNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("fixedtabs", `Фискированный список табов`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Layout/FixedTabs sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_4__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, ""), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(), _dec(_class = (_class2 = class FixedTabsNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
89365
|
+
let FixedTabsNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("fixedtabs", `Фискированный список табов`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Layout/FixedTabs sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_4__.DataBindingScopeMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, "Возможность установки произвольных data-tid атрибутов, может пригодиться другим командам, или для идентификации элемента в тестах"), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("defaultTab", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, "Задает значение таба, открытого по умолчанию."), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("defaultTabByValue", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, "Задает значение таба, открытого по умолчанию, через значение в иннере."), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(), _dec(_class = (_class2 = class FixedTabsNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
89373
89366
|
constructor(...args) {
|
|
89374
89367
|
super(...args);
|
|
89375
89368
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataScope", _descriptor, this);
|
|
89376
89369
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tid", _descriptor2, this);
|
|
89377
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
89370
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "defaultTab", _descriptor3, this);
|
|
89371
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "defaultTabByValue", _descriptor4, this);
|
|
89372
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor5, this);
|
|
89378
89373
|
}
|
|
89379
89374
|
getOwnPath() {
|
|
89380
89375
|
return this.dataScope.getOwnPath();
|
|
@@ -89389,33 +89384,55 @@ let FixedTabsNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MOD
|
|
|
89389
89384
|
enumerable: true,
|
|
89390
89385
|
writable: true,
|
|
89391
89386
|
initializer: null
|
|
89392
|
-
}), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
89387
|
+
}), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "defaultTab", [_dec4], {
|
|
89388
|
+
configurable: true,
|
|
89389
|
+
enumerable: true,
|
|
89390
|
+
writable: true,
|
|
89391
|
+
initializer: null
|
|
89392
|
+
}), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "defaultTabByValue", [_dec5], {
|
|
89393
|
+
configurable: true,
|
|
89394
|
+
enumerable: true,
|
|
89395
|
+
writable: true,
|
|
89396
|
+
initializer: null
|
|
89397
|
+
}), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "children", [_dec6], {
|
|
89393
89398
|
configurable: true,
|
|
89394
89399
|
enumerable: true,
|
|
89395
89400
|
writable: true,
|
|
89396
89401
|
initializer: null
|
|
89397
89402
|
})), _class2)) || _class);
|
|
89398
|
-
let FixedTabNode = (
|
|
89403
|
+
let FixedTabNode = (_dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("tab", `Табы внутри фиксированного списка`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Layout/FixedTabs sync recursive .md$")), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_4__.DataBindingScopeMixinNode), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, "Возможность установки произвольных data-tid атрибутов, может пригодиться другим командам, или для идентификации элемента в тестах"), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.markupAttr)("title", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, ``), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("id", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, `Id для явного определения каждого таба.`), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.children)(), _dec7(_class4 = (_class5 = class FixedTabNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.SugarNodeBase {
|
|
89399
89404
|
constructor(...args) {
|
|
89400
89405
|
super(...args);
|
|
89401
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataScope",
|
|
89402
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
89403
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
89406
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataScope", _descriptor6, this);
|
|
89407
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tid", _descriptor7, this);
|
|
89408
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "title", _descriptor8, this);
|
|
89409
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "id", _descriptor9, this);
|
|
89410
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "content", _descriptor10, this);
|
|
89404
89411
|
}
|
|
89405
89412
|
getOwnPath() {
|
|
89406
89413
|
return this.dataScope.getOwnPath();
|
|
89407
89414
|
}
|
|
89408
|
-
}, (
|
|
89415
|
+
}, (_descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "dataScope", [_dec8], {
|
|
89409
89416
|
configurable: true,
|
|
89410
89417
|
enumerable: true,
|
|
89411
89418
|
writable: true,
|
|
89412
89419
|
initializer: null
|
|
89413
|
-
}),
|
|
89420
|
+
}), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "tid", [_dec9], {
|
|
89421
|
+
configurable: true,
|
|
89422
|
+
enumerable: true,
|
|
89423
|
+
writable: true,
|
|
89424
|
+
initializer: null
|
|
89425
|
+
}), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "title", [_dec10], {
|
|
89426
|
+
configurable: true,
|
|
89427
|
+
enumerable: true,
|
|
89428
|
+
writable: true,
|
|
89429
|
+
initializer: null
|
|
89430
|
+
}), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "id", [_dec11], {
|
|
89414
89431
|
configurable: true,
|
|
89415
89432
|
enumerable: true,
|
|
89416
89433
|
writable: true,
|
|
89417
89434
|
initializer: null
|
|
89418
|
-
}),
|
|
89435
|
+
}), _descriptor10 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class5.prototype, "content", [_dec12], {
|
|
89419
89436
|
configurable: true,
|
|
89420
89437
|
enumerable: true,
|
|
89421
89438
|
writable: true,
|