@kontur.candy/generator 4.278.0-efs-partial-load.23 → 4.278.0-efs-partial-load.24
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 +12 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -152191,6 +152191,7 @@ class IconConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sug
|
|
|
152191
152191
|
const mb = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_1__.componentMarkupBuilder)("Icon");
|
|
152192
152192
|
mb.prop(x => x.name).set((0,_GetIconName__WEBPACK_IMPORTED_MODULE_5__.getIconName)(node, node.name));
|
|
152193
152193
|
mb.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node));
|
|
152194
|
+
mb.prop(x => x.hint).set(this.getConverterResultFromAttributeWithMarkup(context, node.hint));
|
|
152194
152195
|
return mb.buildConverterResult();
|
|
152195
152196
|
}
|
|
152196
152197
|
|
|
@@ -152222,18 +152223,20 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
152222
152223
|
|
|
152223
152224
|
|
|
152224
152225
|
|
|
152225
|
-
var _dec, _dec2, _dec3, _class, _class2, _descriptor, _descriptor2;
|
|
152226
|
+
var _dec, _dec2, _dec3, _dec4, _class, _class2, _descriptor, _descriptor2, _descriptor3;
|
|
152226
152227
|
|
|
152227
152228
|
|
|
152228
152229
|
|
|
152229
152230
|
|
|
152230
|
-
let IconNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("icon", `Иконка`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Typography/Icon sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("name", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string.required, `Название иконки, можно посмотреть http://tech.skbkontur.ru/react-ui/#/Icons`), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_5__.DataBindingMixinNode), _dec(_class = (_class2 = class IconNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_3__.SugarNodeWithLegacyVisibility {
|
|
152231
|
+
let IconNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.sugarNode)("icon", `Иконка`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/Typography/Icon sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attr)("name", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.string.required, `Название иконки, можно посмотреть http://tech.skbkontur.ru/react-ui/#/Icons`), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.markupAttr)("hint", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrType.localizedString, "Всплывающая подсказка по наведению"), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_5__.DataBindingMixinNode), _dec(_class = (_class2 = class IconNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_3__.SugarNodeWithLegacyVisibility {
|
|
152231
152232
|
constructor(...args) {
|
|
152232
152233
|
super(...args);
|
|
152233
152234
|
|
|
152234
152235
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "name", _descriptor, this);
|
|
152235
152236
|
|
|
152236
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
152237
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "hint", _descriptor2, this);
|
|
152238
|
+
|
|
152239
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataBinding", _descriptor3, this);
|
|
152237
152240
|
}
|
|
152238
152241
|
|
|
152239
152242
|
get path() {
|
|
@@ -152249,7 +152252,12 @@ let IconNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_4
|
|
|
152249
152252
|
enumerable: true,
|
|
152250
152253
|
writable: true,
|
|
152251
152254
|
initializer: null
|
|
152252
|
-
}), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
152255
|
+
}), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "hint", [_dec3], {
|
|
152256
|
+
configurable: true,
|
|
152257
|
+
enumerable: true,
|
|
152258
|
+
writable: true,
|
|
152259
|
+
initializer: null
|
|
152260
|
+
}), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "dataBinding", [_dec4], {
|
|
152253
152261
|
configurable: true,
|
|
152254
152262
|
enumerable: true,
|
|
152255
152263
|
writable: true,
|