@kontur.candy/generator 4.264.0 → 4.265.0-react-ui4.0
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 +31 -24
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -34505,7 +34505,7 @@ function highlight(code, options = {}) {
|
|
|
34505
34505
|
|
|
34506
34506
|
"use strict";
|
|
34507
34507
|
|
|
34508
|
-
const escapeStringRegexp = __webpack_require__(/*! escape-string-regexp */ "./node_modules/escape-string-regexp/index.js");
|
|
34508
|
+
const escapeStringRegexp = __webpack_require__(/*! escape-string-regexp */ "./node_modules/@babel/highlight/node_modules/escape-string-regexp/index.js");
|
|
34509
34509
|
const ansiStyles = __webpack_require__(/*! ansi-styles */ "./node_modules/ansi-styles/index.js");
|
|
34510
34510
|
const stdoutColor = (__webpack_require__(/*! supports-color */ "./node_modules/@babel/highlight/node_modules/supports-color/index.js").stdout);
|
|
34511
34511
|
|
|
@@ -34873,6 +34873,28 @@ module.exports = (chalk, tmp) => {
|
|
|
34873
34873
|
};
|
|
34874
34874
|
|
|
34875
34875
|
|
|
34876
|
+
/***/ }),
|
|
34877
|
+
|
|
34878
|
+
/***/ "./node_modules/@babel/highlight/node_modules/escape-string-regexp/index.js":
|
|
34879
|
+
/*!**********************************************************************************!*\
|
|
34880
|
+
!*** ./node_modules/@babel/highlight/node_modules/escape-string-regexp/index.js ***!
|
|
34881
|
+
\**********************************************************************************/
|
|
34882
|
+
/***/ ((module) => {
|
|
34883
|
+
|
|
34884
|
+
"use strict";
|
|
34885
|
+
|
|
34886
|
+
|
|
34887
|
+
var matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g;
|
|
34888
|
+
|
|
34889
|
+
module.exports = function (str) {
|
|
34890
|
+
if (typeof str !== 'string') {
|
|
34891
|
+
throw new TypeError('Expected a string');
|
|
34892
|
+
}
|
|
34893
|
+
|
|
34894
|
+
return str.replace(matchOperatorsRe, '\\$&');
|
|
34895
|
+
};
|
|
34896
|
+
|
|
34897
|
+
|
|
34876
34898
|
/***/ }),
|
|
34877
34899
|
|
|
34878
34900
|
/***/ "./node_modules/@babel/highlight/node_modules/has-flag/index.js":
|
|
@@ -149134,6 +149156,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
149134
149156
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
149135
149157
|
/* harmony export */ "getIconName": () => (/* binding */ getIconName)
|
|
149136
149158
|
/* harmony export */ });
|
|
149159
|
+
// export function getIconName(node: SugarNodeBase, iconName: string): IconName | NewIconNames;
|
|
149160
|
+
// export function getIconName(node: SugarNodeBase, iconName: undefined | string): undefined | IconName | NewIconNames;
|
|
149161
|
+
// export function getIconName(node: SugarNodeBase, iconName: undefined | string): undefined | IconName | NewIconNames {
|
|
149162
|
+
// // @ts-ignore Не хочу зависеть от иконок в генераторе, может быть собраться и заиспользовать babel-preeval
|
|
149163
|
+
// const iconNameWeakCasted: IconName | NewIconNames = iconName;
|
|
149164
|
+
// return iconNameWeakCasted;
|
|
149165
|
+
// }
|
|
149137
149166
|
function getIconName(node, iconName) {
|
|
149138
149167
|
// @ts-ignore Не хочу зависеть от иконок в генераторе, может быть собраться и заиспользовать babel-preeval
|
|
149139
149168
|
const iconNameWeakCasted = iconName;
|
|
@@ -149220,7 +149249,7 @@ var _dec, _dec2, _class, _class2, _descriptor;
|
|
|
149220
149249
|
|
|
149221
149250
|
|
|
149222
149251
|
|
|
149223
|
-
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, `Название иконки, можно посмотреть
|
|
149252
|
+
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, `Название иконки, можно посмотреть https://ui.gitlab-pages.kontur.host/docs/#/react-icons`), _dec(_class = (_class2 = class IconNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_3__.SugarNodeWithLegacyVisibility {
|
|
149224
149253
|
constructor(...args) {
|
|
149225
149254
|
super(...args);
|
|
149226
149255
|
|
|
@@ -197664,28 +197693,6 @@ module.exports = {
|
|
|
197664
197693
|
"17.0": "96"
|
|
197665
197694
|
};
|
|
197666
197695
|
|
|
197667
|
-
/***/ }),
|
|
197668
|
-
|
|
197669
|
-
/***/ "./node_modules/escape-string-regexp/index.js":
|
|
197670
|
-
/*!****************************************************!*\
|
|
197671
|
-
!*** ./node_modules/escape-string-regexp/index.js ***!
|
|
197672
|
-
\****************************************************/
|
|
197673
|
-
/***/ ((module) => {
|
|
197674
|
-
|
|
197675
|
-
"use strict";
|
|
197676
|
-
|
|
197677
|
-
|
|
197678
|
-
var matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g;
|
|
197679
|
-
|
|
197680
|
-
module.exports = function (str) {
|
|
197681
|
-
if (typeof str !== 'string') {
|
|
197682
|
-
throw new TypeError('Expected a string');
|
|
197683
|
-
}
|
|
197684
|
-
|
|
197685
|
-
return str.replace(matchOperatorsRe, '\\$&');
|
|
197686
|
-
};
|
|
197687
|
-
|
|
197688
|
-
|
|
197689
197696
|
/***/ }),
|
|
197690
197697
|
|
|
197691
197698
|
/***/ "./node_modules/fbjs/lib/areEqual.js":
|