@kontur.candy/generator 6.36.0-vite-bundler.0 → 6.37.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.
Files changed (2) hide show
  1. package/dist/index.js +1638 -1323
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -18788,251 +18788,355 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/*!
18788
18788
  /*!**********************************************************************!*\
18789
18789
  !*** ./node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js ***!
18790
18790
  \**********************************************************************/
18791
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
18791
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
18792
18792
 
18793
+ /* module decorator */ module = __webpack_require__.nmd(module);
18793
18794
  (function (global, factory) {
18794
- true ? factory(exports, __webpack_require__(/*! @jridgewell/set-array */ "./node_modules/@jridgewell/set-array/dist/set-array.umd.js"), __webpack_require__(/*! @jridgewell/sourcemap-codec */ "./node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js"), __webpack_require__(/*! @jridgewell/trace-mapping */ "./node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js")) :
18795
- 0;
18796
- })(this, (function (exports, setArray, sourcemapCodec, traceMapping) { 'use strict';
18797
-
18798
- const COLUMN = 0;
18799
- const SOURCES_INDEX = 1;
18800
- const SOURCE_LINE = 2;
18801
- const SOURCE_COLUMN = 3;
18802
- const NAMES_INDEX = 4;
18795
+ if (true) {
18796
+ factory(module, __webpack_require__(/*! @jridgewell/sourcemap-codec */ "./node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js"), __webpack_require__(/*! @jridgewell/trace-mapping */ "./node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js"));
18797
+ module.exports = def(module);
18798
+ } else {}
18799
+ function def(m) { return 'default' in m.exports ? m.exports.default : m.exports; }
18800
+ })(this, (function (module, require_sourcemapCodec, require_traceMapping) {
18801
+ "use strict";
18802
+ var __create = Object.create;
18803
+ var __defProp = Object.defineProperty;
18804
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
18805
+ var __getOwnPropNames = Object.getOwnPropertyNames;
18806
+ var __getProtoOf = Object.getPrototypeOf;
18807
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
18808
+ var __commonJS = (cb, mod) => function __require() {
18809
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
18810
+ };
18811
+ var __export = (target, all) => {
18812
+ for (var name in all)
18813
+ __defProp(target, name, { get: all[name], enumerable: true });
18814
+ };
18815
+ var __copyProps = (to, from, except, desc) => {
18816
+ if (from && typeof from === "object" || typeof from === "function") {
18817
+ for (let key of __getOwnPropNames(from))
18818
+ if (!__hasOwnProp.call(to, key) && key !== except)
18819
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
18820
+ }
18821
+ return to;
18822
+ };
18823
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
18824
+ // If the importer is in node compatibility mode or this is not an ESM
18825
+ // file that has been converted to a CommonJS file using a Babel-
18826
+ // compatible transform (i.e. "__esModule" has not been set), then set
18827
+ // "default" to the CommonJS "module.exports" for node compatibility.
18828
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
18829
+ mod
18830
+ ));
18831
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18803
18832
 
18804
- const NO_NAME = -1;
18805
- /**
18806
- * Provides the state to generate a sourcemap.
18807
- */
18808
- class GenMapping {
18809
- constructor({ file, sourceRoot } = {}) {
18810
- this._names = new setArray.SetArray();
18811
- this._sources = new setArray.SetArray();
18812
- this._sourcesContent = [];
18813
- this._mappings = [];
18814
- this.file = file;
18815
- this.sourceRoot = sourceRoot;
18816
- this._ignoreList = new setArray.SetArray();
18817
- }
18818
- }
18819
- /**
18820
- * Typescript doesn't allow friend access to private fields, so this just casts the map into a type
18821
- * with public access modifiers.
18822
- */
18823
- function cast(map) {
18824
- return map;
18825
- }
18826
- function addSegment(map, genLine, genColumn, source, sourceLine, sourceColumn, name, content) {
18827
- return addSegmentInternal(false, map, genLine, genColumn, source, sourceLine, sourceColumn, name, content);
18828
- }
18829
- function addMapping(map, mapping) {
18830
- return addMappingInternal(false, map, mapping);
18831
- }
18832
- /**
18833
- * Same as `addSegment`, but will only add the segment if it generates useful information in the
18834
- * resulting map. This only works correctly if segments are added **in order**, meaning you should
18835
- * not add a segment with a lower generated line/column than one that came before.
18836
- */
18837
- const maybeAddSegment = (map, genLine, genColumn, source, sourceLine, sourceColumn, name, content) => {
18838
- return addSegmentInternal(true, map, genLine, genColumn, source, sourceLine, sourceColumn, name, content);
18839
- };
18840
- /**
18841
- * Same as `addMapping`, but will only add the mapping if it generates useful information in the
18842
- * resulting map. This only works correctly if mappings are added **in order**, meaning you should
18843
- * not add a mapping with a lower generated line/column than one that came before.
18844
- */
18845
- const maybeAddMapping = (map, mapping) => {
18846
- return addMappingInternal(true, map, mapping);
18847
- };
18848
- /**
18849
- * Adds/removes the content of the source file to the source map.
18850
- */
18851
- function setSourceContent(map, source, content) {
18852
- const { _sources: sources, _sourcesContent: sourcesContent } = cast(map);
18853
- const index = setArray.put(sources, source);
18854
- sourcesContent[index] = content;
18855
- }
18856
- function setIgnore(map, source, ignore = true) {
18857
- const { _sources: sources, _sourcesContent: sourcesContent, _ignoreList: ignoreList } = cast(map);
18858
- const index = setArray.put(sources, source);
18859
- if (index === sourcesContent.length)
18860
- sourcesContent[index] = null;
18861
- if (ignore)
18862
- setArray.put(ignoreList, index);
18863
- else
18864
- setArray.remove(ignoreList, index);
18865
- }
18866
- /**
18867
- * Returns a sourcemap object (with decoded mappings) suitable for passing to a library that expects
18868
- * a sourcemap, or to JSON.stringify.
18869
- */
18870
- function toDecodedMap(map) {
18871
- const { _mappings: mappings, _sources: sources, _sourcesContent: sourcesContent, _names: names, _ignoreList: ignoreList, } = cast(map);
18872
- removeEmptyFinalLines(mappings);
18873
- return {
18874
- version: 3,
18875
- file: map.file || undefined,
18876
- names: names.array,
18877
- sourceRoot: map.sourceRoot || undefined,
18878
- sources: sources.array,
18879
- sourcesContent,
18880
- mappings,
18881
- ignoreList: ignoreList.array,
18882
- };
18883
- }
18884
- /**
18885
- * Returns a sourcemap object (with encoded mappings) suitable for passing to a library that expects
18886
- * a sourcemap, or to JSON.stringify.
18887
- */
18888
- function toEncodedMap(map) {
18889
- const decoded = toDecodedMap(map);
18890
- return Object.assign(Object.assign({}, decoded), { mappings: sourcemapCodec.encode(decoded.mappings) });
18891
- }
18892
- /**
18893
- * Constructs a new GenMapping, using the already present mappings of the input.
18894
- */
18895
- function fromMap(input) {
18896
- const map = new traceMapping.TraceMap(input);
18897
- const gen = new GenMapping({ file: map.file, sourceRoot: map.sourceRoot });
18898
- putAll(cast(gen)._names, map.names);
18899
- putAll(cast(gen)._sources, map.sources);
18900
- cast(gen)._sourcesContent = map.sourcesContent || map.sources.map(() => null);
18901
- cast(gen)._mappings = traceMapping.decodedMappings(map);
18902
- if (map.ignoreList)
18903
- putAll(cast(gen)._ignoreList, map.ignoreList);
18904
- return gen;
18905
- }
18906
- /**
18907
- * Returns an array of high-level mapping objects for every recorded segment, which could then be
18908
- * passed to the `source-map` library.
18909
- */
18910
- function allMappings(map) {
18911
- const out = [];
18912
- const { _mappings: mappings, _sources: sources, _names: names } = cast(map);
18913
- for (let i = 0; i < mappings.length; i++) {
18914
- const line = mappings[i];
18915
- for (let j = 0; j < line.length; j++) {
18916
- const seg = line[j];
18917
- const generated = { line: i + 1, column: seg[COLUMN] };
18918
- let source = undefined;
18919
- let original = undefined;
18920
- let name = undefined;
18921
- if (seg.length !== 1) {
18922
- source = sources.array[seg[SOURCES_INDEX]];
18923
- original = { line: seg[SOURCE_LINE] + 1, column: seg[SOURCE_COLUMN] };
18924
- if (seg.length === 5)
18925
- name = names.array[seg[NAMES_INDEX]];
18926
- }
18927
- out.push({ generated, source, original, name });
18928
- }
18929
- }
18930
- return out;
18931
- }
18932
- // This split declaration is only so that terser can elminiate the static initialization block.
18933
- function addSegmentInternal(skipable, map, genLine, genColumn, source, sourceLine, sourceColumn, name, content) {
18934
- const { _mappings: mappings, _sources: sources, _sourcesContent: sourcesContent, _names: names, } = cast(map);
18935
- const line = getLine(mappings, genLine);
18936
- const index = getColumnIndex(line, genColumn);
18937
- if (!source) {
18938
- if (skipable && skipSourceless(line, index))
18939
- return;
18940
- return insert(line, index, [genColumn]);
18941
- }
18942
- const sourcesIndex = setArray.put(sources, source);
18943
- const namesIndex = name ? setArray.put(names, name) : NO_NAME;
18944
- if (sourcesIndex === sourcesContent.length)
18945
- sourcesContent[sourcesIndex] = content !== null && content !== void 0 ? content : null;
18946
- if (skipable && skipSource(line, index, sourcesIndex, sourceLine, sourceColumn, namesIndex)) {
18947
- return;
18948
- }
18949
- return insert(line, index, name
18950
- ? [genColumn, sourcesIndex, sourceLine, sourceColumn, namesIndex]
18951
- : [genColumn, sourcesIndex, sourceLine, sourceColumn]);
18952
- }
18953
- function getLine(mappings, index) {
18954
- for (let i = mappings.length; i <= index; i++) {
18955
- mappings[i] = [];
18956
- }
18957
- return mappings[index];
18958
- }
18959
- function getColumnIndex(line, genColumn) {
18960
- let index = line.length;
18961
- for (let i = index - 1; i >= 0; index = i--) {
18962
- const current = line[i];
18963
- if (genColumn >= current[COLUMN])
18964
- break;
18965
- }
18966
- return index;
18967
- }
18968
- function insert(array, index, value) {
18969
- for (let i = array.length; i > index; i--) {
18970
- array[i] = array[i - 1];
18971
- }
18972
- array[index] = value;
18973
- }
18974
- function removeEmptyFinalLines(mappings) {
18975
- const { length } = mappings;
18976
- let len = length;
18977
- for (let i = len - 1; i >= 0; len = i, i--) {
18978
- if (mappings[i].length > 0)
18979
- break;
18980
- }
18981
- if (len < length)
18982
- mappings.length = len;
18983
- }
18984
- function putAll(setarr, array) {
18985
- for (let i = 0; i < array.length; i++)
18986
- setArray.put(setarr, array[i]);
18987
- }
18988
- function skipSourceless(line, index) {
18989
- // The start of a line is already sourceless, so adding a sourceless segment to the beginning
18990
- // doesn't generate any useful information.
18991
- if (index === 0)
18992
- return true;
18993
- const prev = line[index - 1];
18994
- // If the previous segment is also sourceless, then adding another sourceless segment doesn't
18995
- // genrate any new information. Else, this segment will end the source/named segment and point to
18996
- // a sourceless position, which is useful.
18997
- return prev.length === 1;
18998
- }
18999
- function skipSource(line, index, sourcesIndex, sourceLine, sourceColumn, namesIndex) {
19000
- // A source/named segment at the start of a line gives position at that genColumn
19001
- if (index === 0)
19002
- return false;
19003
- const prev = line[index - 1];
19004
- // If the previous segment is sourceless, then we're transitioning to a source.
19005
- if (prev.length === 1)
19006
- return false;
19007
- // If the previous segment maps to the exact same source position, then this segment doesn't
19008
- // provide any new position information.
19009
- return (sourcesIndex === prev[SOURCES_INDEX] &&
19010
- sourceLine === prev[SOURCE_LINE] &&
19011
- sourceColumn === prev[SOURCE_COLUMN] &&
19012
- namesIndex === (prev.length === 5 ? prev[NAMES_INDEX] : NO_NAME));
19013
- }
19014
- function addMappingInternal(skipable, map, mapping) {
19015
- const { generated, source, original, name, content } = mapping;
19016
- if (!source) {
19017
- return addSegmentInternal(skipable, map, generated.line - 1, generated.column, null, null, null, null, null);
19018
- }
19019
- return addSegmentInternal(skipable, map, generated.line - 1, generated.column, source, original.line - 1, original.column, name, content);
19020
- }
18833
+ // umd:@jridgewell/sourcemap-codec
18834
+ var require_sourcemap_codec = __commonJS({
18835
+ "umd:@jridgewell/sourcemap-codec"(exports, module2) {
18836
+ module2.exports = require_sourcemapCodec;
18837
+ }
18838
+ });
19021
18839
 
19022
- exports.GenMapping = GenMapping;
19023
- exports.addMapping = addMapping;
19024
- exports.addSegment = addSegment;
19025
- exports.allMappings = allMappings;
19026
- exports.fromMap = fromMap;
19027
- exports.maybeAddMapping = maybeAddMapping;
19028
- exports.maybeAddSegment = maybeAddSegment;
19029
- exports.setIgnore = setIgnore;
19030
- exports.setSourceContent = setSourceContent;
19031
- exports.toDecodedMap = toDecodedMap;
19032
- exports.toEncodedMap = toEncodedMap;
18840
+ // umd:@jridgewell/trace-mapping
18841
+ var require_trace_mapping = __commonJS({
18842
+ "umd:@jridgewell/trace-mapping"(exports, module2) {
18843
+ module2.exports = require_traceMapping;
18844
+ }
18845
+ });
19033
18846
 
19034
- Object.defineProperty(exports, '__esModule', { value: true });
18847
+ // src/gen-mapping.ts
18848
+ var gen_mapping_exports = {};
18849
+ __export(gen_mapping_exports, {
18850
+ GenMapping: () => GenMapping,
18851
+ addMapping: () => addMapping,
18852
+ addSegment: () => addSegment,
18853
+ allMappings: () => allMappings,
18854
+ fromMap: () => fromMap,
18855
+ maybeAddMapping: () => maybeAddMapping,
18856
+ maybeAddSegment: () => maybeAddSegment,
18857
+ setIgnore: () => setIgnore,
18858
+ setSourceContent: () => setSourceContent,
18859
+ toDecodedMap: () => toDecodedMap,
18860
+ toEncodedMap: () => toEncodedMap
18861
+ });
18862
+ module.exports = __toCommonJS(gen_mapping_exports);
19035
18863
 
18864
+ // src/set-array.ts
18865
+ var SetArray = class {
18866
+ constructor() {
18867
+ this._indexes = { __proto__: null };
18868
+ this.array = [];
18869
+ }
18870
+ };
18871
+ function cast(set) {
18872
+ return set;
18873
+ }
18874
+ function get(setarr, key) {
18875
+ return cast(setarr)._indexes[key];
18876
+ }
18877
+ function put(setarr, key) {
18878
+ const index = get(setarr, key);
18879
+ if (index !== void 0) return index;
18880
+ const { array, _indexes: indexes } = cast(setarr);
18881
+ const length = array.push(key);
18882
+ return indexes[key] = length - 1;
18883
+ }
18884
+ function remove(setarr, key) {
18885
+ const index = get(setarr, key);
18886
+ if (index === void 0) return;
18887
+ const { array, _indexes: indexes } = cast(setarr);
18888
+ for (let i = index + 1; i < array.length; i++) {
18889
+ const k = array[i];
18890
+ array[i - 1] = k;
18891
+ indexes[k]--;
18892
+ }
18893
+ indexes[key] = void 0;
18894
+ array.pop();
18895
+ }
18896
+
18897
+ // src/gen-mapping.ts
18898
+ var import_sourcemap_codec = __toESM(require_sourcemap_codec());
18899
+ var import_trace_mapping = __toESM(require_trace_mapping());
18900
+
18901
+ // src/sourcemap-segment.ts
18902
+ var COLUMN = 0;
18903
+ var SOURCES_INDEX = 1;
18904
+ var SOURCE_LINE = 2;
18905
+ var SOURCE_COLUMN = 3;
18906
+ var NAMES_INDEX = 4;
18907
+
18908
+ // src/gen-mapping.ts
18909
+ var NO_NAME = -1;
18910
+ var GenMapping = class {
18911
+ constructor({ file, sourceRoot } = {}) {
18912
+ this._names = new SetArray();
18913
+ this._sources = new SetArray();
18914
+ this._sourcesContent = [];
18915
+ this._mappings = [];
18916
+ this.file = file;
18917
+ this.sourceRoot = sourceRoot;
18918
+ this._ignoreList = new SetArray();
18919
+ }
18920
+ };
18921
+ function cast2(map) {
18922
+ return map;
18923
+ }
18924
+ function addSegment(map, genLine, genColumn, source, sourceLine, sourceColumn, name, content) {
18925
+ return addSegmentInternal(
18926
+ false,
18927
+ map,
18928
+ genLine,
18929
+ genColumn,
18930
+ source,
18931
+ sourceLine,
18932
+ sourceColumn,
18933
+ name,
18934
+ content
18935
+ );
18936
+ }
18937
+ function addMapping(map, mapping) {
18938
+ return addMappingInternal(false, map, mapping);
18939
+ }
18940
+ var maybeAddSegment = (map, genLine, genColumn, source, sourceLine, sourceColumn, name, content) => {
18941
+ return addSegmentInternal(
18942
+ true,
18943
+ map,
18944
+ genLine,
18945
+ genColumn,
18946
+ source,
18947
+ sourceLine,
18948
+ sourceColumn,
18949
+ name,
18950
+ content
18951
+ );
18952
+ };
18953
+ var maybeAddMapping = (map, mapping) => {
18954
+ return addMappingInternal(true, map, mapping);
18955
+ };
18956
+ function setSourceContent(map, source, content) {
18957
+ const {
18958
+ _sources: sources,
18959
+ _sourcesContent: sourcesContent
18960
+ // _originalScopes: originalScopes,
18961
+ } = cast2(map);
18962
+ const index = put(sources, source);
18963
+ sourcesContent[index] = content;
18964
+ }
18965
+ function setIgnore(map, source, ignore = true) {
18966
+ const {
18967
+ _sources: sources,
18968
+ _sourcesContent: sourcesContent,
18969
+ _ignoreList: ignoreList
18970
+ // _originalScopes: originalScopes,
18971
+ } = cast2(map);
18972
+ const index = put(sources, source);
18973
+ if (index === sourcesContent.length) sourcesContent[index] = null;
18974
+ if (ignore) put(ignoreList, index);
18975
+ else remove(ignoreList, index);
18976
+ }
18977
+ function toDecodedMap(map) {
18978
+ const {
18979
+ _mappings: mappings,
18980
+ _sources: sources,
18981
+ _sourcesContent: sourcesContent,
18982
+ _names: names,
18983
+ _ignoreList: ignoreList
18984
+ // _originalScopes: originalScopes,
18985
+ // _generatedRanges: generatedRanges,
18986
+ } = cast2(map);
18987
+ removeEmptyFinalLines(mappings);
18988
+ return {
18989
+ version: 3,
18990
+ file: map.file || void 0,
18991
+ names: names.array,
18992
+ sourceRoot: map.sourceRoot || void 0,
18993
+ sources: sources.array,
18994
+ sourcesContent,
18995
+ mappings,
18996
+ // originalScopes,
18997
+ // generatedRanges,
18998
+ ignoreList: ignoreList.array
18999
+ };
19000
+ }
19001
+ function toEncodedMap(map) {
19002
+ const decoded = toDecodedMap(map);
19003
+ return Object.assign({}, decoded, {
19004
+ // originalScopes: decoded.originalScopes.map((os) => encodeOriginalScopes(os)),
19005
+ // generatedRanges: encodeGeneratedRanges(decoded.generatedRanges as GeneratedRange[]),
19006
+ mappings: (0, import_sourcemap_codec.encode)(decoded.mappings)
19007
+ });
19008
+ }
19009
+ function fromMap(input) {
19010
+ const map = new import_trace_mapping.TraceMap(input);
19011
+ const gen = new GenMapping({ file: map.file, sourceRoot: map.sourceRoot });
19012
+ putAll(cast2(gen)._names, map.names);
19013
+ putAll(cast2(gen)._sources, map.sources);
19014
+ cast2(gen)._sourcesContent = map.sourcesContent || map.sources.map(() => null);
19015
+ cast2(gen)._mappings = (0, import_trace_mapping.decodedMappings)(map);
19016
+ if (map.ignoreList) putAll(cast2(gen)._ignoreList, map.ignoreList);
19017
+ return gen;
19018
+ }
19019
+ function allMappings(map) {
19020
+ const out = [];
19021
+ const { _mappings: mappings, _sources: sources, _names: names } = cast2(map);
19022
+ for (let i = 0; i < mappings.length; i++) {
19023
+ const line = mappings[i];
19024
+ for (let j = 0; j < line.length; j++) {
19025
+ const seg = line[j];
19026
+ const generated = { line: i + 1, column: seg[COLUMN] };
19027
+ let source = void 0;
19028
+ let original = void 0;
19029
+ let name = void 0;
19030
+ if (seg.length !== 1) {
19031
+ source = sources.array[seg[SOURCES_INDEX]];
19032
+ original = { line: seg[SOURCE_LINE] + 1, column: seg[SOURCE_COLUMN] };
19033
+ if (seg.length === 5) name = names.array[seg[NAMES_INDEX]];
19034
+ }
19035
+ out.push({ generated, source, original, name });
19036
+ }
19037
+ }
19038
+ return out;
19039
+ }
19040
+ function addSegmentInternal(skipable, map, genLine, genColumn, source, sourceLine, sourceColumn, name, content) {
19041
+ const {
19042
+ _mappings: mappings,
19043
+ _sources: sources,
19044
+ _sourcesContent: sourcesContent,
19045
+ _names: names
19046
+ // _originalScopes: originalScopes,
19047
+ } = cast2(map);
19048
+ const line = getIndex(mappings, genLine);
19049
+ const index = getColumnIndex(line, genColumn);
19050
+ if (!source) {
19051
+ if (skipable && skipSourceless(line, index)) return;
19052
+ return insert(line, index, [genColumn]);
19053
+ }
19054
+ assert(sourceLine);
19055
+ assert(sourceColumn);
19056
+ const sourcesIndex = put(sources, source);
19057
+ const namesIndex = name ? put(names, name) : NO_NAME;
19058
+ if (sourcesIndex === sourcesContent.length) sourcesContent[sourcesIndex] = content != null ? content : null;
19059
+ if (skipable && skipSource(line, index, sourcesIndex, sourceLine, sourceColumn, namesIndex)) {
19060
+ return;
19061
+ }
19062
+ return insert(
19063
+ line,
19064
+ index,
19065
+ name ? [genColumn, sourcesIndex, sourceLine, sourceColumn, namesIndex] : [genColumn, sourcesIndex, sourceLine, sourceColumn]
19066
+ );
19067
+ }
19068
+ function assert(_val) {
19069
+ }
19070
+ function getIndex(arr, index) {
19071
+ for (let i = arr.length; i <= index; i++) {
19072
+ arr[i] = [];
19073
+ }
19074
+ return arr[index];
19075
+ }
19076
+ function getColumnIndex(line, genColumn) {
19077
+ let index = line.length;
19078
+ for (let i = index - 1; i >= 0; index = i--) {
19079
+ const current = line[i];
19080
+ if (genColumn >= current[COLUMN]) break;
19081
+ }
19082
+ return index;
19083
+ }
19084
+ function insert(array, index, value) {
19085
+ for (let i = array.length; i > index; i--) {
19086
+ array[i] = array[i - 1];
19087
+ }
19088
+ array[index] = value;
19089
+ }
19090
+ function removeEmptyFinalLines(mappings) {
19091
+ const { length } = mappings;
19092
+ let len = length;
19093
+ for (let i = len - 1; i >= 0; len = i, i--) {
19094
+ if (mappings[i].length > 0) break;
19095
+ }
19096
+ if (len < length) mappings.length = len;
19097
+ }
19098
+ function putAll(setarr, array) {
19099
+ for (let i = 0; i < array.length; i++) put(setarr, array[i]);
19100
+ }
19101
+ function skipSourceless(line, index) {
19102
+ if (index === 0) return true;
19103
+ const prev = line[index - 1];
19104
+ return prev.length === 1;
19105
+ }
19106
+ function skipSource(line, index, sourcesIndex, sourceLine, sourceColumn, namesIndex) {
19107
+ if (index === 0) return false;
19108
+ const prev = line[index - 1];
19109
+ if (prev.length === 1) return false;
19110
+ return sourcesIndex === prev[SOURCES_INDEX] && sourceLine === prev[SOURCE_LINE] && sourceColumn === prev[SOURCE_COLUMN] && namesIndex === (prev.length === 5 ? prev[NAMES_INDEX] : NO_NAME);
19111
+ }
19112
+ function addMappingInternal(skipable, map, mapping) {
19113
+ const { generated, source, original, name, content } = mapping;
19114
+ if (!source) {
19115
+ return addSegmentInternal(
19116
+ skipable,
19117
+ map,
19118
+ generated.line - 1,
19119
+ generated.column,
19120
+ null,
19121
+ null,
19122
+ null,
19123
+ null,
19124
+ null
19125
+ );
19126
+ }
19127
+ assert(original);
19128
+ return addSegmentInternal(
19129
+ skipable,
19130
+ map,
19131
+ generated.line - 1,
19132
+ generated.column,
19133
+ source,
19134
+ original.line - 1,
19135
+ original.column,
19136
+ name,
19137
+ content
19138
+ );
19139
+ }
19036
19140
  }));
19037
19141
  //# sourceMappingURL=gen-mapping.umd.js.map
19038
19142
 
@@ -19286,278 +19390,467 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/*!
19286
19390
  //# sourceMappingURL=resolve-uri.umd.js.map
19287
19391
 
19288
19392
 
19289
- /***/ }),
19290
-
19291
- /***/ "./node_modules/@jridgewell/set-array/dist/set-array.umd.js":
19292
- /*!******************************************************************!*\
19293
- !*** ./node_modules/@jridgewell/set-array/dist/set-array.umd.js ***!
19294
- \******************************************************************/
19295
- /***/ (function(__unused_webpack_module, exports) {
19296
-
19297
- (function (global, factory) {
19298
- true ? factory(exports) :
19299
- 0;
19300
- })(this, (function (exports) { 'use strict';
19301
-
19302
- /**
19303
- * SetArray acts like a `Set` (allowing only one occurrence of a string `key`), but provides the
19304
- * index of the `key` in the backing array.
19305
- *
19306
- * This is designed to allow synchronizing a second array with the contents of the backing array,
19307
- * like how in a sourcemap `sourcesContent[i]` is the source content associated with `source[i]`,
19308
- * and there are never duplicates.
19309
- */
19310
- class SetArray {
19311
- constructor() {
19312
- this._indexes = { __proto__: null };
19313
- this.array = [];
19314
- }
19315
- }
19316
- /**
19317
- * Typescript doesn't allow friend access to private fields, so this just casts the set into a type
19318
- * with public access modifiers.
19319
- */
19320
- function cast(set) {
19321
- return set;
19322
- }
19323
- /**
19324
- * Gets the index associated with `key` in the backing array, if it is already present.
19325
- */
19326
- function get(setarr, key) {
19327
- return cast(setarr)._indexes[key];
19328
- }
19329
- /**
19330
- * Puts `key` into the backing array, if it is not already present. Returns
19331
- * the index of the `key` in the backing array.
19332
- */
19333
- function put(setarr, key) {
19334
- // The key may or may not be present. If it is present, it's a number.
19335
- const index = get(setarr, key);
19336
- if (index !== undefined)
19337
- return index;
19338
- const { array, _indexes: indexes } = cast(setarr);
19339
- const length = array.push(key);
19340
- return (indexes[key] = length - 1);
19341
- }
19342
- /**
19343
- * Pops the last added item out of the SetArray.
19344
- */
19345
- function pop(setarr) {
19346
- const { array, _indexes: indexes } = cast(setarr);
19347
- if (array.length === 0)
19348
- return;
19349
- const last = array.pop();
19350
- indexes[last] = undefined;
19351
- }
19352
- /**
19353
- * Removes the key, if it exists in the set.
19354
- */
19355
- function remove(setarr, key) {
19356
- const index = get(setarr, key);
19357
- if (index === undefined)
19358
- return;
19359
- const { array, _indexes: indexes } = cast(setarr);
19360
- for (let i = index + 1; i < array.length; i++) {
19361
- const k = array[i];
19362
- array[i - 1] = k;
19363
- indexes[k]--;
19364
- }
19365
- indexes[key] = undefined;
19366
- array.pop();
19367
- }
19368
-
19369
- exports.SetArray = SetArray;
19370
- exports.get = get;
19371
- exports.pop = pop;
19372
- exports.put = put;
19373
- exports.remove = remove;
19374
-
19375
- Object.defineProperty(exports, '__esModule', { value: true });
19376
-
19377
- }));
19378
- //# sourceMappingURL=set-array.umd.js.map
19379
-
19380
-
19381
19393
  /***/ }),
19382
19394
 
19383
19395
  /***/ "./node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js":
19384
19396
  /*!******************************************************************************!*\
19385
19397
  !*** ./node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js ***!
19386
19398
  \******************************************************************************/
19387
- /***/ (function(__unused_webpack_module, exports) {
19399
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
19388
19400
 
19401
+ /* module decorator */ module = __webpack_require__.nmd(module);
19389
19402
  (function (global, factory) {
19390
- true ? factory(exports) :
19391
- 0;
19392
- })(this, (function (exports) { 'use strict';
19393
-
19394
- const comma = ','.charCodeAt(0);
19395
- const semicolon = ';'.charCodeAt(0);
19396
- const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
19397
- const intToChar = new Uint8Array(64); // 64 possible chars.
19398
- const charToInt = new Uint8Array(128); // z is 122 in ASCII
19399
- for (let i = 0; i < chars.length; i++) {
19400
- const c = chars.charCodeAt(i);
19401
- intToChar[i] = c;
19402
- charToInt[c] = i;
19403
- }
19404
- // Provide a fallback for older environments.
19405
- const td = typeof TextDecoder !== 'undefined'
19406
- ? /* #__PURE__ */ new TextDecoder()
19407
- : typeof Buffer !== 'undefined'
19408
- ? {
19409
- decode(buf) {
19410
- const out = Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength);
19411
- return out.toString();
19412
- },
19413
- }
19414
- : {
19415
- decode(buf) {
19416
- let out = '';
19417
- for (let i = 0; i < buf.length; i++) {
19418
- out += String.fromCharCode(buf[i]);
19419
- }
19420
- return out;
19421
- },
19422
- };
19423
- function decode(mappings) {
19424
- const state = new Int32Array(5);
19425
- const decoded = [];
19426
- let index = 0;
19427
- do {
19428
- const semi = indexOf(mappings, index);
19429
- const line = [];
19430
- let sorted = true;
19431
- let lastCol = 0;
19432
- state[0] = 0;
19433
- for (let i = index; i < semi; i++) {
19434
- let seg;
19435
- i = decodeInteger(mappings, i, state, 0); // genColumn
19436
- const col = state[0];
19437
- if (col < lastCol)
19438
- sorted = false;
19439
- lastCol = col;
19440
- if (hasMoreVlq(mappings, i, semi)) {
19441
- i = decodeInteger(mappings, i, state, 1); // sourcesIndex
19442
- i = decodeInteger(mappings, i, state, 2); // sourceLine
19443
- i = decodeInteger(mappings, i, state, 3); // sourceColumn
19444
- if (hasMoreVlq(mappings, i, semi)) {
19445
- i = decodeInteger(mappings, i, state, 4); // namesIndex
19446
- seg = [col, state[1], state[2], state[3], state[4]];
19447
- }
19448
- else {
19449
- seg = [col, state[1], state[2], state[3]];
19450
- }
19451
- }
19452
- else {
19453
- seg = [col];
19454
- }
19455
- line.push(seg);
19456
- }
19457
- if (!sorted)
19458
- sort(line);
19459
- decoded.push(line);
19460
- index = semi + 1;
19461
- } while (index <= mappings.length);
19462
- return decoded;
19463
- }
19464
- function indexOf(mappings, index) {
19465
- const idx = mappings.indexOf(';', index);
19466
- return idx === -1 ? mappings.length : idx;
19467
- }
19468
- function decodeInteger(mappings, pos, state, j) {
19469
- let value = 0;
19470
- let shift = 0;
19471
- let integer = 0;
19403
+ if (true) {
19404
+ factory(module);
19405
+ module.exports = def(module);
19406
+ } else {}
19407
+ function def(m) { return 'default' in m.exports ? m.exports.default : m.exports; }
19408
+ })(this, (function (module) {
19409
+ "use strict";
19410
+ var __defProp = Object.defineProperty;
19411
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
19412
+ var __getOwnPropNames = Object.getOwnPropertyNames;
19413
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
19414
+ var __export = (target, all) => {
19415
+ for (var name in all)
19416
+ __defProp(target, name, { get: all[name], enumerable: true });
19417
+ };
19418
+ var __copyProps = (to, from, except, desc) => {
19419
+ if (from && typeof from === "object" || typeof from === "function") {
19420
+ for (let key of __getOwnPropNames(from))
19421
+ if (!__hasOwnProp.call(to, key) && key !== except)
19422
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
19423
+ }
19424
+ return to;
19425
+ };
19426
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19427
+
19428
+ // src/sourcemap-codec.ts
19429
+ var sourcemap_codec_exports = {};
19430
+ __export(sourcemap_codec_exports, {
19431
+ decode: () => decode,
19432
+ decodeGeneratedRanges: () => decodeGeneratedRanges,
19433
+ decodeOriginalScopes: () => decodeOriginalScopes,
19434
+ encode: () => encode,
19435
+ encodeGeneratedRanges: () => encodeGeneratedRanges,
19436
+ encodeOriginalScopes: () => encodeOriginalScopes
19437
+ });
19438
+ module.exports = __toCommonJS(sourcemap_codec_exports);
19439
+
19440
+ // src/vlq.ts
19441
+ var comma = ",".charCodeAt(0);
19442
+ var semicolon = ";".charCodeAt(0);
19443
+ var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
19444
+ var intToChar = new Uint8Array(64);
19445
+ var charToInt = new Uint8Array(128);
19446
+ for (let i = 0; i < chars.length; i++) {
19447
+ const c = chars.charCodeAt(i);
19448
+ intToChar[i] = c;
19449
+ charToInt[c] = i;
19450
+ }
19451
+ function decodeInteger(reader, relative) {
19452
+ let value = 0;
19453
+ let shift = 0;
19454
+ let integer = 0;
19455
+ do {
19456
+ const c = reader.next();
19457
+ integer = charToInt[c];
19458
+ value |= (integer & 31) << shift;
19459
+ shift += 5;
19460
+ } while (integer & 32);
19461
+ const shouldNegate = value & 1;
19462
+ value >>>= 1;
19463
+ if (shouldNegate) {
19464
+ value = -2147483648 | -value;
19465
+ }
19466
+ return relative + value;
19467
+ }
19468
+ function encodeInteger(builder, num, relative) {
19469
+ let delta = num - relative;
19470
+ delta = delta < 0 ? -delta << 1 | 1 : delta << 1;
19471
+ do {
19472
+ let clamped = delta & 31;
19473
+ delta >>>= 5;
19474
+ if (delta > 0) clamped |= 32;
19475
+ builder.write(intToChar[clamped]);
19476
+ } while (delta > 0);
19477
+ return num;
19478
+ }
19479
+ function hasMoreVlq(reader, max) {
19480
+ if (reader.pos >= max) return false;
19481
+ return reader.peek() !== comma;
19482
+ }
19483
+
19484
+ // src/strings.ts
19485
+ var bufLength = 1024 * 16;
19486
+ var td = typeof TextDecoder !== "undefined" ? /* @__PURE__ */ new TextDecoder() : typeof Buffer !== "undefined" ? {
19487
+ decode(buf) {
19488
+ const out = Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength);
19489
+ return out.toString();
19490
+ }
19491
+ } : {
19492
+ decode(buf) {
19493
+ let out = "";
19494
+ for (let i = 0; i < buf.length; i++) {
19495
+ out += String.fromCharCode(buf[i]);
19496
+ }
19497
+ return out;
19498
+ }
19499
+ };
19500
+ var StringWriter = class {
19501
+ constructor() {
19502
+ this.pos = 0;
19503
+ this.out = "";
19504
+ this.buffer = new Uint8Array(bufLength);
19505
+ }
19506
+ write(v) {
19507
+ const { buffer } = this;
19508
+ buffer[this.pos++] = v;
19509
+ if (this.pos === bufLength) {
19510
+ this.out += td.decode(buffer);
19511
+ this.pos = 0;
19512
+ }
19513
+ }
19514
+ flush() {
19515
+ const { buffer, out, pos } = this;
19516
+ return pos > 0 ? out + td.decode(buffer.subarray(0, pos)) : out;
19517
+ }
19518
+ };
19519
+ var StringReader = class {
19520
+ constructor(buffer) {
19521
+ this.pos = 0;
19522
+ this.buffer = buffer;
19523
+ }
19524
+ next() {
19525
+ return this.buffer.charCodeAt(this.pos++);
19526
+ }
19527
+ peek() {
19528
+ return this.buffer.charCodeAt(this.pos);
19529
+ }
19530
+ indexOf(char) {
19531
+ const { buffer, pos } = this;
19532
+ const idx = buffer.indexOf(char, pos);
19533
+ return idx === -1 ? buffer.length : idx;
19534
+ }
19535
+ };
19536
+
19537
+ // src/scopes.ts
19538
+ var EMPTY = [];
19539
+ function decodeOriginalScopes(input) {
19540
+ const { length } = input;
19541
+ const reader = new StringReader(input);
19542
+ const scopes = [];
19543
+ const stack = [];
19544
+ let line = 0;
19545
+ for (; reader.pos < length; reader.pos++) {
19546
+ line = decodeInteger(reader, line);
19547
+ const column = decodeInteger(reader, 0);
19548
+ if (!hasMoreVlq(reader, length)) {
19549
+ const last = stack.pop();
19550
+ last[2] = line;
19551
+ last[3] = column;
19552
+ continue;
19553
+ }
19554
+ const kind = decodeInteger(reader, 0);
19555
+ const fields = decodeInteger(reader, 0);
19556
+ const hasName = fields & 1;
19557
+ const scope = hasName ? [line, column, 0, 0, kind, decodeInteger(reader, 0)] : [line, column, 0, 0, kind];
19558
+ let vars = EMPTY;
19559
+ if (hasMoreVlq(reader, length)) {
19560
+ vars = [];
19561
+ do {
19562
+ const varsIndex = decodeInteger(reader, 0);
19563
+ vars.push(varsIndex);
19564
+ } while (hasMoreVlq(reader, length));
19565
+ }
19566
+ scope.vars = vars;
19567
+ scopes.push(scope);
19568
+ stack.push(scope);
19569
+ }
19570
+ return scopes;
19571
+ }
19572
+ function encodeOriginalScopes(scopes) {
19573
+ const writer = new StringWriter();
19574
+ for (let i = 0; i < scopes.length; ) {
19575
+ i = _encodeOriginalScopes(scopes, i, writer, [0]);
19576
+ }
19577
+ return writer.flush();
19578
+ }
19579
+ function _encodeOriginalScopes(scopes, index, writer, state) {
19580
+ const scope = scopes[index];
19581
+ const { 0: startLine, 1: startColumn, 2: endLine, 3: endColumn, 4: kind, vars } = scope;
19582
+ if (index > 0) writer.write(comma);
19583
+ state[0] = encodeInteger(writer, startLine, state[0]);
19584
+ encodeInteger(writer, startColumn, 0);
19585
+ encodeInteger(writer, kind, 0);
19586
+ const fields = scope.length === 6 ? 1 : 0;
19587
+ encodeInteger(writer, fields, 0);
19588
+ if (scope.length === 6) encodeInteger(writer, scope[5], 0);
19589
+ for (const v of vars) {
19590
+ encodeInteger(writer, v, 0);
19591
+ }
19592
+ for (index++; index < scopes.length; ) {
19593
+ const next = scopes[index];
19594
+ const { 0: l, 1: c } = next;
19595
+ if (l > endLine || l === endLine && c >= endColumn) {
19596
+ break;
19597
+ }
19598
+ index = _encodeOriginalScopes(scopes, index, writer, state);
19599
+ }
19600
+ writer.write(comma);
19601
+ state[0] = encodeInteger(writer, endLine, state[0]);
19602
+ encodeInteger(writer, endColumn, 0);
19603
+ return index;
19604
+ }
19605
+ function decodeGeneratedRanges(input) {
19606
+ const { length } = input;
19607
+ const reader = new StringReader(input);
19608
+ const ranges = [];
19609
+ const stack = [];
19610
+ let genLine = 0;
19611
+ let definitionSourcesIndex = 0;
19612
+ let definitionScopeIndex = 0;
19613
+ let callsiteSourcesIndex = 0;
19614
+ let callsiteLine = 0;
19615
+ let callsiteColumn = 0;
19616
+ let bindingLine = 0;
19617
+ let bindingColumn = 0;
19618
+ do {
19619
+ const semi = reader.indexOf(";");
19620
+ let genColumn = 0;
19621
+ for (; reader.pos < semi; reader.pos++) {
19622
+ genColumn = decodeInteger(reader, genColumn);
19623
+ if (!hasMoreVlq(reader, semi)) {
19624
+ const last = stack.pop();
19625
+ last[2] = genLine;
19626
+ last[3] = genColumn;
19627
+ continue;
19628
+ }
19629
+ const fields = decodeInteger(reader, 0);
19630
+ const hasDefinition = fields & 1;
19631
+ const hasCallsite = fields & 2;
19632
+ const hasScope = fields & 4;
19633
+ let callsite = null;
19634
+ let bindings = EMPTY;
19635
+ let range;
19636
+ if (hasDefinition) {
19637
+ const defSourcesIndex = decodeInteger(reader, definitionSourcesIndex);
19638
+ definitionScopeIndex = decodeInteger(
19639
+ reader,
19640
+ definitionSourcesIndex === defSourcesIndex ? definitionScopeIndex : 0
19641
+ );
19642
+ definitionSourcesIndex = defSourcesIndex;
19643
+ range = [genLine, genColumn, 0, 0, defSourcesIndex, definitionScopeIndex];
19644
+ } else {
19645
+ range = [genLine, genColumn, 0, 0];
19646
+ }
19647
+ range.isScope = !!hasScope;
19648
+ if (hasCallsite) {
19649
+ const prevCsi = callsiteSourcesIndex;
19650
+ const prevLine = callsiteLine;
19651
+ callsiteSourcesIndex = decodeInteger(reader, callsiteSourcesIndex);
19652
+ const sameSource = prevCsi === callsiteSourcesIndex;
19653
+ callsiteLine = decodeInteger(reader, sameSource ? callsiteLine : 0);
19654
+ callsiteColumn = decodeInteger(
19655
+ reader,
19656
+ sameSource && prevLine === callsiteLine ? callsiteColumn : 0
19657
+ );
19658
+ callsite = [callsiteSourcesIndex, callsiteLine, callsiteColumn];
19659
+ }
19660
+ range.callsite = callsite;
19661
+ if (hasMoreVlq(reader, semi)) {
19662
+ bindings = [];
19472
19663
  do {
19473
- const c = mappings.charCodeAt(pos++);
19474
- integer = charToInt[c];
19475
- value |= (integer & 31) << shift;
19476
- shift += 5;
19477
- } while (integer & 32);
19478
- const shouldNegate = value & 1;
19479
- value >>>= 1;
19480
- if (shouldNegate) {
19481
- value = -0x80000000 | -value;
19482
- }
19483
- state[j] += value;
19484
- return pos;
19485
- }
19486
- function hasMoreVlq(mappings, i, length) {
19487
- if (i >= length)
19488
- return false;
19489
- return mappings.charCodeAt(i) !== comma;
19490
- }
19491
- function sort(line) {
19492
- line.sort(sortComparator);
19493
- }
19494
- function sortComparator(a, b) {
19495
- return a[0] - b[0];
19496
- }
19497
- function encode(decoded) {
19498
- const state = new Int32Array(5);
19499
- const bufLength = 1024 * 16;
19500
- const subLength = bufLength - 36;
19501
- const buf = new Uint8Array(bufLength);
19502
- const sub = buf.subarray(0, subLength);
19503
- let pos = 0;
19504
- let out = '';
19505
- for (let i = 0; i < decoded.length; i++) {
19506
- const line = decoded[i];
19507
- if (i > 0) {
19508
- if (pos === bufLength) {
19509
- out += td.decode(buf);
19510
- pos = 0;
19511
- }
19512
- buf[pos++] = semicolon;
19664
+ bindingLine = genLine;
19665
+ bindingColumn = genColumn;
19666
+ const expressionsCount = decodeInteger(reader, 0);
19667
+ let expressionRanges;
19668
+ if (expressionsCount < -1) {
19669
+ expressionRanges = [[decodeInteger(reader, 0)]];
19670
+ for (let i = -1; i > expressionsCount; i--) {
19671
+ const prevBl = bindingLine;
19672
+ bindingLine = decodeInteger(reader, bindingLine);
19673
+ bindingColumn = decodeInteger(reader, bindingLine === prevBl ? bindingColumn : 0);
19674
+ const expression = decodeInteger(reader, 0);
19675
+ expressionRanges.push([expression, bindingLine, bindingColumn]);
19513
19676
  }
19514
- if (line.length === 0)
19515
- continue;
19516
- state[0] = 0;
19517
- for (let j = 0; j < line.length; j++) {
19518
- const segment = line[j];
19519
- // We can push up to 5 ints, each int can take at most 7 chars, and we
19520
- // may push a comma.
19521
- if (pos > subLength) {
19522
- out += td.decode(sub);
19523
- buf.copyWithin(0, subLength, pos);
19524
- pos -= subLength;
19525
- }
19526
- if (j > 0)
19527
- buf[pos++] = comma;
19528
- pos = encodeInteger(buf, pos, state, segment, 0); // genColumn
19529
- if (segment.length === 1)
19530
- continue;
19531
- pos = encodeInteger(buf, pos, state, segment, 1); // sourcesIndex
19532
- pos = encodeInteger(buf, pos, state, segment, 2); // sourceLine
19533
- pos = encodeInteger(buf, pos, state, segment, 3); // sourceColumn
19534
- if (segment.length === 4)
19535
- continue;
19536
- pos = encodeInteger(buf, pos, state, segment, 4); // namesIndex
19537
- }
19538
- }
19539
- return out + td.decode(buf.subarray(0, pos));
19677
+ } else {
19678
+ expressionRanges = [[expressionsCount]];
19679
+ }
19680
+ bindings.push(expressionRanges);
19681
+ } while (hasMoreVlq(reader, semi));
19682
+ }
19683
+ range.bindings = bindings;
19684
+ ranges.push(range);
19685
+ stack.push(range);
19540
19686
  }
19541
- function encodeInteger(buf, pos, state, segment, j) {
19542
- const next = segment[j];
19543
- let num = next - state[j];
19544
- state[j] = next;
19545
- num = num < 0 ? (-num << 1) | 1 : num << 1;
19546
- do {
19547
- let clamped = num & 0b011111;
19548
- num >>>= 5;
19549
- if (num > 0)
19550
- clamped |= 0b100000;
19551
- buf[pos++] = intToChar[clamped];
19552
- } while (num > 0);
19553
- return pos;
19687
+ genLine++;
19688
+ reader.pos = semi + 1;
19689
+ } while (reader.pos < length);
19690
+ return ranges;
19691
+ }
19692
+ function encodeGeneratedRanges(ranges) {
19693
+ if (ranges.length === 0) return "";
19694
+ const writer = new StringWriter();
19695
+ for (let i = 0; i < ranges.length; ) {
19696
+ i = _encodeGeneratedRanges(ranges, i, writer, [0, 0, 0, 0, 0, 0, 0]);
19697
+ }
19698
+ return writer.flush();
19699
+ }
19700
+ function _encodeGeneratedRanges(ranges, index, writer, state) {
19701
+ const range = ranges[index];
19702
+ const {
19703
+ 0: startLine,
19704
+ 1: startColumn,
19705
+ 2: endLine,
19706
+ 3: endColumn,
19707
+ isScope,
19708
+ callsite,
19709
+ bindings
19710
+ } = range;
19711
+ if (state[0] < startLine) {
19712
+ catchupLine(writer, state[0], startLine);
19713
+ state[0] = startLine;
19714
+ state[1] = 0;
19715
+ } else if (index > 0) {
19716
+ writer.write(comma);
19717
+ }
19718
+ state[1] = encodeInteger(writer, range[1], state[1]);
19719
+ const fields = (range.length === 6 ? 1 : 0) | (callsite ? 2 : 0) | (isScope ? 4 : 0);
19720
+ encodeInteger(writer, fields, 0);
19721
+ if (range.length === 6) {
19722
+ const { 4: sourcesIndex, 5: scopesIndex } = range;
19723
+ if (sourcesIndex !== state[2]) {
19724
+ state[3] = 0;
19725
+ }
19726
+ state[2] = encodeInteger(writer, sourcesIndex, state[2]);
19727
+ state[3] = encodeInteger(writer, scopesIndex, state[3]);
19728
+ }
19729
+ if (callsite) {
19730
+ const { 0: sourcesIndex, 1: callLine, 2: callColumn } = range.callsite;
19731
+ if (sourcesIndex !== state[4]) {
19732
+ state[5] = 0;
19733
+ state[6] = 0;
19734
+ } else if (callLine !== state[5]) {
19735
+ state[6] = 0;
19736
+ }
19737
+ state[4] = encodeInteger(writer, sourcesIndex, state[4]);
19738
+ state[5] = encodeInteger(writer, callLine, state[5]);
19739
+ state[6] = encodeInteger(writer, callColumn, state[6]);
19740
+ }
19741
+ if (bindings) {
19742
+ for (const binding of bindings) {
19743
+ if (binding.length > 1) encodeInteger(writer, -binding.length, 0);
19744
+ const expression = binding[0][0];
19745
+ encodeInteger(writer, expression, 0);
19746
+ let bindingStartLine = startLine;
19747
+ let bindingStartColumn = startColumn;
19748
+ for (let i = 1; i < binding.length; i++) {
19749
+ const expRange = binding[i];
19750
+ bindingStartLine = encodeInteger(writer, expRange[1], bindingStartLine);
19751
+ bindingStartColumn = encodeInteger(writer, expRange[2], bindingStartColumn);
19752
+ encodeInteger(writer, expRange[0], 0);
19753
+ }
19754
+ }
19755
+ }
19756
+ for (index++; index < ranges.length; ) {
19757
+ const next = ranges[index];
19758
+ const { 0: l, 1: c } = next;
19759
+ if (l > endLine || l === endLine && c >= endColumn) {
19760
+ break;
19554
19761
  }
19555
-
19556
- exports.decode = decode;
19557
- exports.encode = encode;
19558
-
19559
- Object.defineProperty(exports, '__esModule', { value: true });
19560
-
19762
+ index = _encodeGeneratedRanges(ranges, index, writer, state);
19763
+ }
19764
+ if (state[0] < endLine) {
19765
+ catchupLine(writer, state[0], endLine);
19766
+ state[0] = endLine;
19767
+ state[1] = 0;
19768
+ } else {
19769
+ writer.write(comma);
19770
+ }
19771
+ state[1] = encodeInteger(writer, endColumn, state[1]);
19772
+ return index;
19773
+ }
19774
+ function catchupLine(writer, lastLine, line) {
19775
+ do {
19776
+ writer.write(semicolon);
19777
+ } while (++lastLine < line);
19778
+ }
19779
+
19780
+ // src/sourcemap-codec.ts
19781
+ function decode(mappings) {
19782
+ const { length } = mappings;
19783
+ const reader = new StringReader(mappings);
19784
+ const decoded = [];
19785
+ let genColumn = 0;
19786
+ let sourcesIndex = 0;
19787
+ let sourceLine = 0;
19788
+ let sourceColumn = 0;
19789
+ let namesIndex = 0;
19790
+ do {
19791
+ const semi = reader.indexOf(";");
19792
+ const line = [];
19793
+ let sorted = true;
19794
+ let lastCol = 0;
19795
+ genColumn = 0;
19796
+ while (reader.pos < semi) {
19797
+ let seg;
19798
+ genColumn = decodeInteger(reader, genColumn);
19799
+ if (genColumn < lastCol) sorted = false;
19800
+ lastCol = genColumn;
19801
+ if (hasMoreVlq(reader, semi)) {
19802
+ sourcesIndex = decodeInteger(reader, sourcesIndex);
19803
+ sourceLine = decodeInteger(reader, sourceLine);
19804
+ sourceColumn = decodeInteger(reader, sourceColumn);
19805
+ if (hasMoreVlq(reader, semi)) {
19806
+ namesIndex = decodeInteger(reader, namesIndex);
19807
+ seg = [genColumn, sourcesIndex, sourceLine, sourceColumn, namesIndex];
19808
+ } else {
19809
+ seg = [genColumn, sourcesIndex, sourceLine, sourceColumn];
19810
+ }
19811
+ } else {
19812
+ seg = [genColumn];
19813
+ }
19814
+ line.push(seg);
19815
+ reader.pos++;
19816
+ }
19817
+ if (!sorted) sort(line);
19818
+ decoded.push(line);
19819
+ reader.pos = semi + 1;
19820
+ } while (reader.pos <= length);
19821
+ return decoded;
19822
+ }
19823
+ function sort(line) {
19824
+ line.sort(sortComparator);
19825
+ }
19826
+ function sortComparator(a, b) {
19827
+ return a[0] - b[0];
19828
+ }
19829
+ function encode(decoded) {
19830
+ const writer = new StringWriter();
19831
+ let sourcesIndex = 0;
19832
+ let sourceLine = 0;
19833
+ let sourceColumn = 0;
19834
+ let namesIndex = 0;
19835
+ for (let i = 0; i < decoded.length; i++) {
19836
+ const line = decoded[i];
19837
+ if (i > 0) writer.write(semicolon);
19838
+ if (line.length === 0) continue;
19839
+ let genColumn = 0;
19840
+ for (let j = 0; j < line.length; j++) {
19841
+ const segment = line[j];
19842
+ if (j > 0) writer.write(comma);
19843
+ genColumn = encodeInteger(writer, segment[0], genColumn);
19844
+ if (segment.length === 1) continue;
19845
+ sourcesIndex = encodeInteger(writer, segment[1], sourcesIndex);
19846
+ sourceLine = encodeInteger(writer, segment[2], sourceLine);
19847
+ sourceColumn = encodeInteger(writer, segment[3], sourceColumn);
19848
+ if (segment.length === 4) continue;
19849
+ namesIndex = encodeInteger(writer, segment[4], namesIndex);
19850
+ }
19851
+ }
19852
+ return writer.flush();
19853
+ }
19561
19854
  }));
19562
19855
  //# sourceMappingURL=sourcemap-codec.umd.js.map
19563
19856
 
@@ -19568,605 +19861,556 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/*!
19568
19861
  /*!**************************************************************************!*\
19569
19862
  !*** ./node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js ***!
19570
19863
  \**************************************************************************/
19571
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
19864
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
19572
19865
 
19866
+ /* module decorator */ module = __webpack_require__.nmd(module);
19573
19867
  (function (global, factory) {
19574
- true ? factory(exports, __webpack_require__(/*! @jridgewell/sourcemap-codec */ "./node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js"), __webpack_require__(/*! @jridgewell/resolve-uri */ "./node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js")) :
19575
- 0;
19576
- })(this, (function (exports, sourcemapCodec, resolveUri) { 'use strict';
19577
-
19578
- function resolve(input, base) {
19579
- // The base is always treated as a directory, if it's not empty.
19580
- // https://github.com/mozilla/source-map/blob/8cb3ee57/lib/util.js#L327
19581
- // https://github.com/chromium/chromium/blob/da4adbb3/third_party/blink/renderer/devtools/front_end/sdk/SourceMap.js#L400-L401
19582
- if (base && !base.endsWith('/'))
19583
- base += '/';
19584
- return resolveUri(input, base);
19585
- }
19586
-
19587
- /**
19588
- * Removes everything after the last "/", but leaves the slash.
19589
- */
19590
- function stripFilename(path) {
19591
- if (!path)
19592
- return '';
19593
- const index = path.lastIndexOf('/');
19594
- return path.slice(0, index + 1);
19868
+ if (true) {
19869
+ factory(module, __webpack_require__(/*! @jridgewell/resolve-uri */ "./node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js"), __webpack_require__(/*! @jridgewell/sourcemap-codec */ "./node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js"));
19870
+ module.exports = def(module);
19871
+ } else {}
19872
+ function def(m) { return 'default' in m.exports ? m.exports.default : m.exports; }
19873
+ })(this, (function (module, require_resolveURI, require_sourcemapCodec) {
19874
+ "use strict";
19875
+ var __create = Object.create;
19876
+ var __defProp = Object.defineProperty;
19877
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
19878
+ var __getOwnPropNames = Object.getOwnPropertyNames;
19879
+ var __getProtoOf = Object.getPrototypeOf;
19880
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
19881
+ var __commonJS = (cb, mod) => function __require() {
19882
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
19883
+ };
19884
+ var __export = (target, all) => {
19885
+ for (var name in all)
19886
+ __defProp(target, name, { get: all[name], enumerable: true });
19887
+ };
19888
+ var __copyProps = (to, from, except, desc) => {
19889
+ if (from && typeof from === "object" || typeof from === "function") {
19890
+ for (let key of __getOwnPropNames(from))
19891
+ if (!__hasOwnProp.call(to, key) && key !== except)
19892
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
19893
+ }
19894
+ return to;
19895
+ };
19896
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
19897
+ // If the importer is in node compatibility mode or this is not an ESM
19898
+ // file that has been converted to a CommonJS file using a Babel-
19899
+ // compatible transform (i.e. "__esModule" has not been set), then set
19900
+ // "default" to the CommonJS "module.exports" for node compatibility.
19901
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
19902
+ mod
19903
+ ));
19904
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19905
+
19906
+ // umd:@jridgewell/sourcemap-codec
19907
+ var require_sourcemap_codec = __commonJS({
19908
+ "umd:@jridgewell/sourcemap-codec"(exports, module2) {
19909
+ module2.exports = require_sourcemapCodec;
19910
+ }
19911
+ });
19912
+
19913
+ // umd:@jridgewell/resolve-uri
19914
+ var require_resolve_uri = __commonJS({
19915
+ "umd:@jridgewell/resolve-uri"(exports, module2) {
19916
+ module2.exports = require_resolveURI;
19917
+ }
19918
+ });
19919
+
19920
+ // src/trace-mapping.ts
19921
+ var trace_mapping_exports = {};
19922
+ __export(trace_mapping_exports, {
19923
+ AnyMap: () => FlattenMap,
19924
+ FlattenMap: () => FlattenMap,
19925
+ GREATEST_LOWER_BOUND: () => GREATEST_LOWER_BOUND,
19926
+ LEAST_UPPER_BOUND: () => LEAST_UPPER_BOUND,
19927
+ TraceMap: () => TraceMap,
19928
+ allGeneratedPositionsFor: () => allGeneratedPositionsFor,
19929
+ decodedMap: () => decodedMap,
19930
+ decodedMappings: () => decodedMappings,
19931
+ eachMapping: () => eachMapping,
19932
+ encodedMap: () => encodedMap,
19933
+ encodedMappings: () => encodedMappings,
19934
+ generatedPositionFor: () => generatedPositionFor,
19935
+ isIgnored: () => isIgnored,
19936
+ originalPositionFor: () => originalPositionFor,
19937
+ presortedDecodedMap: () => presortedDecodedMap,
19938
+ sourceContentFor: () => sourceContentFor,
19939
+ traceSegment: () => traceSegment
19940
+ });
19941
+ module.exports = __toCommonJS(trace_mapping_exports);
19942
+ var import_sourcemap_codec = __toESM(require_sourcemap_codec());
19943
+
19944
+ // src/resolve.ts
19945
+ var import_resolve_uri = __toESM(require_resolve_uri());
19946
+
19947
+ // src/strip-filename.ts
19948
+ function stripFilename(path) {
19949
+ if (!path) return "";
19950
+ const index = path.lastIndexOf("/");
19951
+ return path.slice(0, index + 1);
19952
+ }
19953
+
19954
+ // src/resolve.ts
19955
+ function resolver(mapUrl, sourceRoot) {
19956
+ const from = stripFilename(mapUrl);
19957
+ const prefix = sourceRoot ? sourceRoot + "/" : "";
19958
+ return (source) => (0, import_resolve_uri.default)(prefix + (source || ""), from);
19959
+ }
19960
+
19961
+ // src/sourcemap-segment.ts
19962
+ var COLUMN = 0;
19963
+ var SOURCES_INDEX = 1;
19964
+ var SOURCE_LINE = 2;
19965
+ var SOURCE_COLUMN = 3;
19966
+ var NAMES_INDEX = 4;
19967
+ var REV_GENERATED_LINE = 1;
19968
+ var REV_GENERATED_COLUMN = 2;
19969
+
19970
+ // src/sort.ts
19971
+ function maybeSort(mappings, owned) {
19972
+ const unsortedIndex = nextUnsortedSegmentLine(mappings, 0);
19973
+ if (unsortedIndex === mappings.length) return mappings;
19974
+ if (!owned) mappings = mappings.slice();
19975
+ for (let i = unsortedIndex; i < mappings.length; i = nextUnsortedSegmentLine(mappings, i + 1)) {
19976
+ mappings[i] = sortSegments(mappings[i], owned);
19977
+ }
19978
+ return mappings;
19979
+ }
19980
+ function nextUnsortedSegmentLine(mappings, start) {
19981
+ for (let i = start; i < mappings.length; i++) {
19982
+ if (!isSorted(mappings[i])) return i;
19983
+ }
19984
+ return mappings.length;
19985
+ }
19986
+ function isSorted(line) {
19987
+ for (let j = 1; j < line.length; j++) {
19988
+ if (line[j][COLUMN] < line[j - 1][COLUMN]) {
19989
+ return false;
19595
19990
  }
19991
+ }
19992
+ return true;
19993
+ }
19994
+ function sortSegments(line, owned) {
19995
+ if (!owned) line = line.slice();
19996
+ return line.sort(sortComparator);
19997
+ }
19998
+ function sortComparator(a, b) {
19999
+ return a[COLUMN] - b[COLUMN];
20000
+ }
19596
20001
 
19597
- const COLUMN = 0;
19598
- const SOURCES_INDEX = 1;
19599
- const SOURCE_LINE = 2;
19600
- const SOURCE_COLUMN = 3;
19601
- const NAMES_INDEX = 4;
19602
- const REV_GENERATED_LINE = 1;
19603
- const REV_GENERATED_COLUMN = 2;
19604
-
19605
- function maybeSort(mappings, owned) {
19606
- const unsortedIndex = nextUnsortedSegmentLine(mappings, 0);
19607
- if (unsortedIndex === mappings.length)
19608
- return mappings;
19609
- // If we own the array (meaning we parsed it from JSON), then we're free to directly mutate it. If
19610
- // not, we do not want to modify the consumer's input array.
19611
- if (!owned)
19612
- mappings = mappings.slice();
19613
- for (let i = unsortedIndex; i < mappings.length; i = nextUnsortedSegmentLine(mappings, i + 1)) {
19614
- mappings[i] = sortSegments(mappings[i], owned);
19615
- }
19616
- return mappings;
19617
- }
19618
- function nextUnsortedSegmentLine(mappings, start) {
19619
- for (let i = start; i < mappings.length; i++) {
19620
- if (!isSorted(mappings[i]))
19621
- return i;
19622
- }
19623
- return mappings.length;
20002
+ // src/by-source.ts
20003
+ function buildBySources(decoded, memos) {
20004
+ const sources = memos.map(() => []);
20005
+ for (let i = 0; i < decoded.length; i++) {
20006
+ const line = decoded[i];
20007
+ for (let j = 0; j < line.length; j++) {
20008
+ const seg = line[j];
20009
+ if (seg.length === 1) continue;
20010
+ const sourceIndex2 = seg[SOURCES_INDEX];
20011
+ const sourceLine = seg[SOURCE_LINE];
20012
+ const sourceColumn = seg[SOURCE_COLUMN];
20013
+ const source = sources[sourceIndex2];
20014
+ const segs = source[sourceLine] || (source[sourceLine] = []);
20015
+ segs.push([sourceColumn, i, seg[COLUMN]]);
19624
20016
  }
19625
- function isSorted(line) {
19626
- for (let j = 1; j < line.length; j++) {
19627
- if (line[j][COLUMN] < line[j - 1][COLUMN]) {
19628
- return false;
19629
- }
19630
- }
19631
- return true;
19632
- }
19633
- function sortSegments(line, owned) {
19634
- if (!owned)
19635
- line = line.slice();
19636
- return line.sort(sortComparator);
19637
- }
19638
- function sortComparator(a, b) {
19639
- return a[COLUMN] - b[COLUMN];
20017
+ }
20018
+ for (let i = 0; i < sources.length; i++) {
20019
+ const source = sources[i];
20020
+ for (let j = 0; j < source.length; j++) {
20021
+ const line = source[j];
20022
+ if (line) line.sort(sortComparator);
19640
20023
  }
20024
+ }
20025
+ return sources;
20026
+ }
19641
20027
 
19642
- let found = false;
19643
- /**
19644
- * A binary search implementation that returns the index if a match is found.
19645
- * If no match is found, then the left-index (the index associated with the item that comes just
19646
- * before the desired index) is returned. To maintain proper sort order, a splice would happen at
19647
- * the next index:
19648
- *
19649
- * ```js
19650
- * const array = [1, 3];
19651
- * const needle = 2;
19652
- * const index = binarySearch(array, needle, (item, needle) => item - needle);
19653
- *
19654
- * assert.equal(index, 0);
19655
- * array.splice(index + 1, 0, needle);
19656
- * assert.deepEqual(array, [1, 2, 3]);
19657
- * ```
19658
- */
19659
- function binarySearch(haystack, needle, low, high) {
19660
- while (low <= high) {
19661
- const mid = low + ((high - low) >> 1);
19662
- const cmp = haystack[mid][COLUMN] - needle;
19663
- if (cmp === 0) {
19664
- found = true;
19665
- return mid;
19666
- }
19667
- if (cmp < 0) {
19668
- low = mid + 1;
19669
- }
19670
- else {
19671
- high = mid - 1;
19672
- }
19673
- }
19674
- found = false;
19675
- return low - 1;
19676
- }
19677
- function upperBound(haystack, needle, index) {
19678
- for (let i = index + 1; i < haystack.length; index = i++) {
19679
- if (haystack[i][COLUMN] !== needle)
19680
- break;
19681
- }
19682
- return index;
19683
- }
19684
- function lowerBound(haystack, needle, index) {
19685
- for (let i = index - 1; i >= 0; index = i--) {
19686
- if (haystack[i][COLUMN] !== needle)
19687
- break;
19688
- }
19689
- return index;
19690
- }
19691
- function memoizedState() {
19692
- return {
19693
- lastKey: -1,
19694
- lastNeedle: -1,
19695
- lastIndex: -1,
19696
- };
19697
- }
19698
- /**
19699
- * This overly complicated beast is just to record the last tested line/column and the resulting
19700
- * index, allowing us to skip a few tests if mappings are monotonically increasing.
19701
- */
19702
- function memoizedBinarySearch(haystack, needle, state, key) {
19703
- const { lastKey, lastNeedle, lastIndex } = state;
19704
- let low = 0;
19705
- let high = haystack.length - 1;
19706
- if (key === lastKey) {
19707
- if (needle === lastNeedle) {
19708
- found = lastIndex !== -1 && haystack[lastIndex][COLUMN] === needle;
19709
- return lastIndex;
19710
- }
19711
- if (needle >= lastNeedle) {
19712
- // lastIndex may be -1 if the previous needle was not found.
19713
- low = lastIndex === -1 ? 0 : lastIndex;
19714
- }
19715
- else {
19716
- high = lastIndex;
19717
- }
19718
- }
19719
- state.lastKey = key;
19720
- state.lastNeedle = needle;
19721
- return (state.lastIndex = binarySearch(haystack, needle, low, high));
19722
- }
19723
-
19724
- // Rebuilds the original source files, with mappings that are ordered by source line/column instead
19725
- // of generated line/column.
19726
- function buildBySources(decoded, memos) {
19727
- const sources = memos.map(buildNullArray);
19728
- for (let i = 0; i < decoded.length; i++) {
19729
- const line = decoded[i];
19730
- for (let j = 0; j < line.length; j++) {
19731
- const seg = line[j];
19732
- if (seg.length === 1)
19733
- continue;
19734
- const sourceIndex = seg[SOURCES_INDEX];
19735
- const sourceLine = seg[SOURCE_LINE];
19736
- const sourceColumn = seg[SOURCE_COLUMN];
19737
- const originalSource = sources[sourceIndex];
19738
- const originalLine = (originalSource[sourceLine] || (originalSource[sourceLine] = []));
19739
- const memo = memos[sourceIndex];
19740
- // The binary search either found a match, or it found the left-index just before where the
19741
- // segment should go. Either way, we want to insert after that. And there may be multiple
19742
- // generated segments associated with an original location, so there may need to move several
19743
- // indexes before we find where we need to insert.
19744
- let index = upperBound(originalLine, sourceColumn, memoizedBinarySearch(originalLine, sourceColumn, memo, sourceLine));
19745
- memo.lastIndex = ++index;
19746
- insert(originalLine, index, [sourceColumn, i, seg[COLUMN]]);
19747
- }
19748
- }
19749
- return sources;
19750
- }
19751
- function insert(array, index, value) {
19752
- for (let i = array.length; i > index; i--) {
19753
- array[i] = array[i - 1];
19754
- }
19755
- array[index] = value;
19756
- }
19757
- // Null arrays allow us to use ordered index keys without actually allocating contiguous memory like
19758
- // a real array. We use a null-prototype object to avoid prototype pollution and deoptimizations.
19759
- // Numeric properties on objects are magically sorted in ascending order by the engine regardless of
19760
- // the insertion order. So, by setting any numeric keys, even out of order, we'll get ascending
19761
- // order when iterating with for-in.
19762
- function buildNullArray() {
19763
- return { __proto__: null };
19764
- }
19765
-
19766
- const AnyMap = function (map, mapUrl) {
19767
- const parsed = parse(map);
19768
- if (!('sections' in parsed)) {
19769
- return new TraceMap(parsed, mapUrl);
19770
- }
19771
- const mappings = [];
19772
- const sources = [];
19773
- const sourcesContent = [];
19774
- const names = [];
19775
- const ignoreList = [];
19776
- recurse(parsed, mapUrl, mappings, sources, sourcesContent, names, ignoreList, 0, 0, Infinity, Infinity);
19777
- const joined = {
19778
- version: 3,
19779
- file: parsed.file,
19780
- names,
19781
- sources,
19782
- sourcesContent,
19783
- mappings,
19784
- ignoreList,
19785
- };
19786
- return presortedDecodedMap(joined);
19787
- };
19788
- function parse(map) {
19789
- return typeof map === 'string' ? JSON.parse(map) : map;
19790
- }
19791
- function recurse(input, mapUrl, mappings, sources, sourcesContent, names, ignoreList, lineOffset, columnOffset, stopLine, stopColumn) {
19792
- const { sections } = input;
19793
- for (let i = 0; i < sections.length; i++) {
19794
- const { map, offset } = sections[i];
19795
- let sl = stopLine;
19796
- let sc = stopColumn;
19797
- if (i + 1 < sections.length) {
19798
- const nextOffset = sections[i + 1].offset;
19799
- sl = Math.min(stopLine, lineOffset + nextOffset.line);
19800
- if (sl === stopLine) {
19801
- sc = Math.min(stopColumn, columnOffset + nextOffset.column);
19802
- }
19803
- else if (sl < stopLine) {
19804
- sc = columnOffset + nextOffset.column;
19805
- }
19806
- }
19807
- addSection(map, mapUrl, mappings, sources, sourcesContent, names, ignoreList, lineOffset + offset.line, columnOffset + offset.column, sl, sc);
19808
- }
19809
- }
19810
- function addSection(input, mapUrl, mappings, sources, sourcesContent, names, ignoreList, lineOffset, columnOffset, stopLine, stopColumn) {
19811
- const parsed = parse(input);
19812
- if ('sections' in parsed)
19813
- return recurse(...arguments);
19814
- const map = new TraceMap(parsed, mapUrl);
19815
- const sourcesOffset = sources.length;
19816
- const namesOffset = names.length;
19817
- const decoded = decodedMappings(map);
19818
- const { resolvedSources, sourcesContent: contents, ignoreList: ignores } = map;
19819
- append(sources, resolvedSources);
19820
- append(names, map.names);
19821
- if (contents)
19822
- append(sourcesContent, contents);
19823
- else
19824
- for (let i = 0; i < resolvedSources.length; i++)
19825
- sourcesContent.push(null);
19826
- if (ignores)
19827
- for (let i = 0; i < ignores.length; i++)
19828
- ignoreList.push(ignores[i] + sourcesOffset);
19829
- for (let i = 0; i < decoded.length; i++) {
19830
- const lineI = lineOffset + i;
19831
- // We can only add so many lines before we step into the range that the next section's map
19832
- // controls. When we get to the last line, then we'll start checking the segments to see if
19833
- // they've crossed into the column range. But it may not have any columns that overstep, so we
19834
- // still need to check that we don't overstep lines, too.
19835
- if (lineI > stopLine)
19836
- return;
19837
- // The out line may already exist in mappings (if we're continuing the line started by a
19838
- // previous section). Or, we may have jumped ahead several lines to start this section.
19839
- const out = getLine(mappings, lineI);
19840
- // On the 0th loop, the section's column offset shifts us forward. On all other lines (since the
19841
- // map can be multiple lines), it doesn't.
19842
- const cOffset = i === 0 ? columnOffset : 0;
19843
- const line = decoded[i];
19844
- for (let j = 0; j < line.length; j++) {
19845
- const seg = line[j];
19846
- const column = cOffset + seg[COLUMN];
19847
- // If this segment steps into the column range that the next section's map controls, we need
19848
- // to stop early.
19849
- if (lineI === stopLine && column >= stopColumn)
19850
- return;
19851
- if (seg.length === 1) {
19852
- out.push([column]);
19853
- continue;
19854
- }
19855
- const sourcesIndex = sourcesOffset + seg[SOURCES_INDEX];
19856
- const sourceLine = seg[SOURCE_LINE];
19857
- const sourceColumn = seg[SOURCE_COLUMN];
19858
- out.push(seg.length === 4
19859
- ? [column, sourcesIndex, sourceLine, sourceColumn]
19860
- : [column, sourcesIndex, sourceLine, sourceColumn, namesOffset + seg[NAMES_INDEX]]);
19861
- }
19862
- }
19863
- }
19864
- function append(arr, other) {
19865
- for (let i = 0; i < other.length; i++)
19866
- arr.push(other[i]);
19867
- }
19868
- function getLine(arr, index) {
19869
- for (let i = arr.length; i <= index; i++)
19870
- arr[i] = [];
19871
- return arr[index];
19872
- }
19873
-
19874
- const LINE_GTR_ZERO = '`line` must be greater than 0 (lines start at line 1)';
19875
- const COL_GTR_EQ_ZERO = '`column` must be greater than or equal to 0 (columns start at column 0)';
19876
- const LEAST_UPPER_BOUND = -1;
19877
- const GREATEST_LOWER_BOUND = 1;
19878
- class TraceMap {
19879
- constructor(map, mapUrl) {
19880
- const isString = typeof map === 'string';
19881
- if (!isString && map._decodedMemo)
19882
- return map;
19883
- const parsed = (isString ? JSON.parse(map) : map);
19884
- const { version, file, names, sourceRoot, sources, sourcesContent } = parsed;
19885
- this.version = version;
19886
- this.file = file;
19887
- this.names = names || [];
19888
- this.sourceRoot = sourceRoot;
19889
- this.sources = sources;
19890
- this.sourcesContent = sourcesContent;
19891
- this.ignoreList = parsed.ignoreList || parsed.x_google_ignoreList || undefined;
19892
- const from = resolve(sourceRoot || '', stripFilename(mapUrl));
19893
- this.resolvedSources = sources.map((s) => resolve(s || '', from));
19894
- const { mappings } = parsed;
19895
- if (typeof mappings === 'string') {
19896
- this._encoded = mappings;
19897
- this._decoded = undefined;
19898
- }
19899
- else {
19900
- this._encoded = undefined;
19901
- this._decoded = maybeSort(mappings, isString);
19902
- }
19903
- this._decodedMemo = memoizedState();
19904
- this._bySources = undefined;
19905
- this._bySourceMemos = undefined;
19906
- }
19907
- }
19908
- /**
19909
- * Typescript doesn't allow friend access to private fields, so this just casts the map into a type
19910
- * with public access modifiers.
19911
- */
19912
- function cast(map) {
19913
- return map;
19914
- }
19915
- /**
19916
- * Returns the encoded (VLQ string) form of the SourceMap's mappings field.
19917
- */
19918
- function encodedMappings(map) {
19919
- var _a;
19920
- var _b;
19921
- return ((_a = (_b = cast(map))._encoded) !== null && _a !== void 0 ? _a : (_b._encoded = sourcemapCodec.encode(cast(map)._decoded)));
19922
- }
19923
- /**
19924
- * Returns the decoded (array of lines of segments) form of the SourceMap's mappings field.
19925
- */
19926
- function decodedMappings(map) {
19927
- var _a;
19928
- return ((_a = cast(map))._decoded || (_a._decoded = sourcemapCodec.decode(cast(map)._encoded)));
19929
- }
19930
- /**
19931
- * A low-level API to find the segment associated with a generated line/column (think, from a
19932
- * stack trace). Line and column here are 0-based, unlike `originalPositionFor`.
19933
- */
19934
- function traceSegment(map, line, column) {
19935
- const decoded = decodedMappings(map);
19936
- // It's common for parent source maps to have pointers to lines that have no
19937
- // mapping (like a "//# sourceMappingURL=") at the end of the child file.
19938
- if (line >= decoded.length)
19939
- return null;
19940
- const segments = decoded[line];
19941
- const index = traceSegmentInternal(segments, cast(map)._decodedMemo, line, column, GREATEST_LOWER_BOUND);
19942
- return index === -1 ? null : segments[index];
19943
- }
19944
- /**
19945
- * A higher-level API to find the source/line/column associated with a generated line/column
19946
- * (think, from a stack trace). Line is 1-based, but column is 0-based, due to legacy behavior in
19947
- * `source-map` library.
19948
- */
19949
- function originalPositionFor(map, needle) {
19950
- let { line, column, bias } = needle;
19951
- line--;
19952
- if (line < 0)
19953
- throw new Error(LINE_GTR_ZERO);
19954
- if (column < 0)
19955
- throw new Error(COL_GTR_EQ_ZERO);
19956
- const decoded = decodedMappings(map);
19957
- // It's common for parent source maps to have pointers to lines that have no
19958
- // mapping (like a "//# sourceMappingURL=") at the end of the child file.
19959
- if (line >= decoded.length)
19960
- return OMapping(null, null, null, null);
19961
- const segments = decoded[line];
19962
- const index = traceSegmentInternal(segments, cast(map)._decodedMemo, line, column, bias || GREATEST_LOWER_BOUND);
19963
- if (index === -1)
19964
- return OMapping(null, null, null, null);
19965
- const segment = segments[index];
19966
- if (segment.length === 1)
19967
- return OMapping(null, null, null, null);
19968
- const { names, resolvedSources } = map;
19969
- return OMapping(resolvedSources[segment[SOURCES_INDEX]], segment[SOURCE_LINE] + 1, segment[SOURCE_COLUMN], segment.length === 5 ? names[segment[NAMES_INDEX]] : null);
19970
- }
19971
- /**
19972
- * Finds the generated line/column position of the provided source/line/column source position.
19973
- */
19974
- function generatedPositionFor(map, needle) {
19975
- const { source, line, column, bias } = needle;
19976
- return generatedPosition(map, source, line, column, bias || GREATEST_LOWER_BOUND, false);
19977
- }
19978
- /**
19979
- * Finds all generated line/column positions of the provided source/line/column source position.
19980
- */
19981
- function allGeneratedPositionsFor(map, needle) {
19982
- const { source, line, column, bias } = needle;
19983
- // SourceMapConsumer uses LEAST_UPPER_BOUND for some reason, so we follow suit.
19984
- return generatedPosition(map, source, line, column, bias || LEAST_UPPER_BOUND, true);
19985
- }
19986
- /**
19987
- * Iterates each mapping in generated position order.
19988
- */
19989
- function eachMapping(map, cb) {
19990
- const decoded = decodedMappings(map);
19991
- const { names, resolvedSources } = map;
19992
- for (let i = 0; i < decoded.length; i++) {
19993
- const line = decoded[i];
19994
- for (let j = 0; j < line.length; j++) {
19995
- const seg = line[j];
19996
- const generatedLine = i + 1;
19997
- const generatedColumn = seg[0];
19998
- let source = null;
19999
- let originalLine = null;
20000
- let originalColumn = null;
20001
- let name = null;
20002
- if (seg.length !== 1) {
20003
- source = resolvedSources[seg[1]];
20004
- originalLine = seg[2] + 1;
20005
- originalColumn = seg[3];
20006
- }
20007
- if (seg.length === 5)
20008
- name = names[seg[4]];
20009
- cb({
20010
- generatedLine,
20011
- generatedColumn,
20012
- source,
20013
- originalLine,
20014
- originalColumn,
20015
- name,
20016
- });
20017
- }
20018
- }
20019
- }
20020
- function sourceIndex(map, source) {
20021
- const { sources, resolvedSources } = map;
20022
- let index = sources.indexOf(source);
20023
- if (index === -1)
20024
- index = resolvedSources.indexOf(source);
20025
- return index;
20026
- }
20027
- /**
20028
- * Retrieves the source content for a particular source, if its found. Returns null if not.
20029
- */
20030
- function sourceContentFor(map, source) {
20031
- const { sourcesContent } = map;
20032
- if (sourcesContent == null)
20033
- return null;
20034
- const index = sourceIndex(map, source);
20035
- return index === -1 ? null : sourcesContent[index];
20036
- }
20037
- /**
20038
- * Determines if the source is marked to ignore by the source map.
20039
- */
20040
- function isIgnored(map, source) {
20041
- const { ignoreList } = map;
20042
- if (ignoreList == null)
20043
- return false;
20044
- const index = sourceIndex(map, source);
20045
- return index === -1 ? false : ignoreList.includes(index);
20046
- }
20047
- /**
20048
- * A helper that skips sorting of the input map's mappings array, which can be expensive for larger
20049
- * maps.
20050
- */
20051
- function presortedDecodedMap(map, mapUrl) {
20052
- const tracer = new TraceMap(clone(map, []), mapUrl);
20053
- cast(tracer)._decoded = map.mappings;
20054
- return tracer;
20055
- }
20056
- /**
20057
- * Returns a sourcemap object (with decoded mappings) suitable for passing to a library that expects
20058
- * a sourcemap, or to JSON.stringify.
20059
- */
20060
- function decodedMap(map) {
20061
- return clone(map, decodedMappings(map));
20062
- }
20063
- /**
20064
- * Returns a sourcemap object (with encoded mappings) suitable for passing to a library that expects
20065
- * a sourcemap, or to JSON.stringify.
20066
- */
20067
- function encodedMap(map) {
20068
- return clone(map, encodedMappings(map));
20028
+ // src/binary-search.ts
20029
+ var found = false;
20030
+ function binarySearch(haystack, needle, low, high) {
20031
+ while (low <= high) {
20032
+ const mid = low + (high - low >> 1);
20033
+ const cmp = haystack[mid][COLUMN] - needle;
20034
+ if (cmp === 0) {
20035
+ found = true;
20036
+ return mid;
20069
20037
  }
20070
- function clone(map, mappings) {
20071
- return {
20072
- version: map.version,
20073
- file: map.file,
20074
- names: map.names,
20075
- sourceRoot: map.sourceRoot,
20076
- sources: map.sources,
20077
- sourcesContent: map.sourcesContent,
20078
- mappings,
20079
- ignoreList: map.ignoreList || map.x_google_ignoreList,
20080
- };
20038
+ if (cmp < 0) {
20039
+ low = mid + 1;
20040
+ } else {
20041
+ high = mid - 1;
20081
20042
  }
20082
- function OMapping(source, line, column, name) {
20083
- return { source, line, column, name };
20043
+ }
20044
+ found = false;
20045
+ return low - 1;
20046
+ }
20047
+ function upperBound(haystack, needle, index) {
20048
+ for (let i = index + 1; i < haystack.length; index = i++) {
20049
+ if (haystack[i][COLUMN] !== needle) break;
20050
+ }
20051
+ return index;
20052
+ }
20053
+ function lowerBound(haystack, needle, index) {
20054
+ for (let i = index - 1; i >= 0; index = i--) {
20055
+ if (haystack[i][COLUMN] !== needle) break;
20056
+ }
20057
+ return index;
20058
+ }
20059
+ function memoizedState() {
20060
+ return {
20061
+ lastKey: -1,
20062
+ lastNeedle: -1,
20063
+ lastIndex: -1
20064
+ };
20065
+ }
20066
+ function memoizedBinarySearch(haystack, needle, state, key) {
20067
+ const { lastKey, lastNeedle, lastIndex } = state;
20068
+ let low = 0;
20069
+ let high = haystack.length - 1;
20070
+ if (key === lastKey) {
20071
+ if (needle === lastNeedle) {
20072
+ found = lastIndex !== -1 && haystack[lastIndex][COLUMN] === needle;
20073
+ return lastIndex;
20074
+ }
20075
+ if (needle >= lastNeedle) {
20076
+ low = lastIndex === -1 ? 0 : lastIndex;
20077
+ } else {
20078
+ high = lastIndex;
20084
20079
  }
20085
- function GMapping(line, column) {
20086
- return { line, column };
20080
+ }
20081
+ state.lastKey = key;
20082
+ state.lastNeedle = needle;
20083
+ return state.lastIndex = binarySearch(haystack, needle, low, high);
20084
+ }
20085
+
20086
+ // src/types.ts
20087
+ function parse(map) {
20088
+ return typeof map === "string" ? JSON.parse(map) : map;
20089
+ }
20090
+
20091
+ // src/flatten-map.ts
20092
+ var FlattenMap = function(map, mapUrl) {
20093
+ const parsed = parse(map);
20094
+ if (!("sections" in parsed)) {
20095
+ return new TraceMap(parsed, mapUrl);
20096
+ }
20097
+ const mappings = [];
20098
+ const sources = [];
20099
+ const sourcesContent = [];
20100
+ const names = [];
20101
+ const ignoreList = [];
20102
+ recurse(
20103
+ parsed,
20104
+ mapUrl,
20105
+ mappings,
20106
+ sources,
20107
+ sourcesContent,
20108
+ names,
20109
+ ignoreList,
20110
+ 0,
20111
+ 0,
20112
+ Infinity,
20113
+ Infinity
20114
+ );
20115
+ const joined = {
20116
+ version: 3,
20117
+ file: parsed.file,
20118
+ names,
20119
+ sources,
20120
+ sourcesContent,
20121
+ mappings,
20122
+ ignoreList
20123
+ };
20124
+ return presortedDecodedMap(joined);
20125
+ };
20126
+ function recurse(input, mapUrl, mappings, sources, sourcesContent, names, ignoreList, lineOffset, columnOffset, stopLine, stopColumn) {
20127
+ const { sections } = input;
20128
+ for (let i = 0; i < sections.length; i++) {
20129
+ const { map, offset } = sections[i];
20130
+ let sl = stopLine;
20131
+ let sc = stopColumn;
20132
+ if (i + 1 < sections.length) {
20133
+ const nextOffset = sections[i + 1].offset;
20134
+ sl = Math.min(stopLine, lineOffset + nextOffset.line);
20135
+ if (sl === stopLine) {
20136
+ sc = Math.min(stopColumn, columnOffset + nextOffset.column);
20137
+ } else if (sl < stopLine) {
20138
+ sc = columnOffset + nextOffset.column;
20139
+ }
20140
+ }
20141
+ addSection(
20142
+ map,
20143
+ mapUrl,
20144
+ mappings,
20145
+ sources,
20146
+ sourcesContent,
20147
+ names,
20148
+ ignoreList,
20149
+ lineOffset + offset.line,
20150
+ columnOffset + offset.column,
20151
+ sl,
20152
+ sc
20153
+ );
20154
+ }
20155
+ }
20156
+ function addSection(input, mapUrl, mappings, sources, sourcesContent, names, ignoreList, lineOffset, columnOffset, stopLine, stopColumn) {
20157
+ const parsed = parse(input);
20158
+ if ("sections" in parsed) return recurse(...arguments);
20159
+ const map = new TraceMap(parsed, mapUrl);
20160
+ const sourcesOffset = sources.length;
20161
+ const namesOffset = names.length;
20162
+ const decoded = decodedMappings(map);
20163
+ const { resolvedSources, sourcesContent: contents, ignoreList: ignores } = map;
20164
+ append(sources, resolvedSources);
20165
+ append(names, map.names);
20166
+ if (contents) append(sourcesContent, contents);
20167
+ else for (let i = 0; i < resolvedSources.length; i++) sourcesContent.push(null);
20168
+ if (ignores) for (let i = 0; i < ignores.length; i++) ignoreList.push(ignores[i] + sourcesOffset);
20169
+ for (let i = 0; i < decoded.length; i++) {
20170
+ const lineI = lineOffset + i;
20171
+ if (lineI > stopLine) return;
20172
+ const out = getLine(mappings, lineI);
20173
+ const cOffset = i === 0 ? columnOffset : 0;
20174
+ const line = decoded[i];
20175
+ for (let j = 0; j < line.length; j++) {
20176
+ const seg = line[j];
20177
+ const column = cOffset + seg[COLUMN];
20178
+ if (lineI === stopLine && column >= stopColumn) return;
20179
+ if (seg.length === 1) {
20180
+ out.push([column]);
20181
+ continue;
20182
+ }
20183
+ const sourcesIndex = sourcesOffset + seg[SOURCES_INDEX];
20184
+ const sourceLine = seg[SOURCE_LINE];
20185
+ const sourceColumn = seg[SOURCE_COLUMN];
20186
+ out.push(
20187
+ seg.length === 4 ? [column, sourcesIndex, sourceLine, sourceColumn] : [column, sourcesIndex, sourceLine, sourceColumn, namesOffset + seg[NAMES_INDEX]]
20188
+ );
20087
20189
  }
20088
- function traceSegmentInternal(segments, memo, line, column, bias) {
20089
- let index = memoizedBinarySearch(segments, column, memo, line);
20090
- if (found) {
20091
- index = (bias === LEAST_UPPER_BOUND ? upperBound : lowerBound)(segments, column, index);
20092
- }
20093
- else if (bias === LEAST_UPPER_BOUND)
20094
- index++;
20095
- if (index === -1 || index === segments.length)
20096
- return -1;
20097
- return index;
20190
+ }
20191
+ }
20192
+ function append(arr, other) {
20193
+ for (let i = 0; i < other.length; i++) arr.push(other[i]);
20194
+ }
20195
+ function getLine(arr, index) {
20196
+ for (let i = arr.length; i <= index; i++) arr[i] = [];
20197
+ return arr[index];
20198
+ }
20199
+
20200
+ // src/trace-mapping.ts
20201
+ var LINE_GTR_ZERO = "`line` must be greater than 0 (lines start at line 1)";
20202
+ var COL_GTR_EQ_ZERO = "`column` must be greater than or equal to 0 (columns start at column 0)";
20203
+ var LEAST_UPPER_BOUND = -1;
20204
+ var GREATEST_LOWER_BOUND = 1;
20205
+ var TraceMap = class {
20206
+ constructor(map, mapUrl) {
20207
+ const isString = typeof map === "string";
20208
+ if (!isString && map._decodedMemo) return map;
20209
+ const parsed = parse(map);
20210
+ const { version, file, names, sourceRoot, sources, sourcesContent } = parsed;
20211
+ this.version = version;
20212
+ this.file = file;
20213
+ this.names = names || [];
20214
+ this.sourceRoot = sourceRoot;
20215
+ this.sources = sources;
20216
+ this.sourcesContent = sourcesContent;
20217
+ this.ignoreList = parsed.ignoreList || parsed.x_google_ignoreList || void 0;
20218
+ const resolve = resolver(mapUrl, sourceRoot);
20219
+ this.resolvedSources = sources.map(resolve);
20220
+ const { mappings } = parsed;
20221
+ if (typeof mappings === "string") {
20222
+ this._encoded = mappings;
20223
+ this._decoded = void 0;
20224
+ } else if (Array.isArray(mappings)) {
20225
+ this._encoded = void 0;
20226
+ this._decoded = maybeSort(mappings, isString);
20227
+ } else if (parsed.sections) {
20228
+ throw new Error(`TraceMap passed sectioned source map, please use FlattenMap export instead`);
20229
+ } else {
20230
+ throw new Error(`invalid source map: ${JSON.stringify(parsed)}`);
20098
20231
  }
20099
- function sliceGeneratedPositions(segments, memo, line, column, bias) {
20100
- let min = traceSegmentInternal(segments, memo, line, column, GREATEST_LOWER_BOUND);
20101
- // We ignored the bias when tracing the segment so that we're guarnateed to find the first (in
20102
- // insertion order) segment that matched. Even if we did respect the bias when tracing, we would
20103
- // still need to call `lowerBound()` to find the first segment, which is slower than just looking
20104
- // for the GREATEST_LOWER_BOUND to begin with. The only difference that matters for us is when the
20105
- // binary search didn't match, in which case GREATEST_LOWER_BOUND just needs to increment to
20106
- // match LEAST_UPPER_BOUND.
20107
- if (!found && bias === LEAST_UPPER_BOUND)
20108
- min++;
20109
- if (min === -1 || min === segments.length)
20110
- return [];
20111
- // We may have found the segment that started at an earlier column. If this is the case, then we
20112
- // need to slice all generated segments that match _that_ column, because all such segments span
20113
- // to our desired column.
20114
- const matchedColumn = found ? column : segments[min][COLUMN];
20115
- // The binary search is not guaranteed to find the lower bound when a match wasn't found.
20116
- if (!found)
20117
- min = lowerBound(segments, matchedColumn, min);
20118
- const max = upperBound(segments, matchedColumn, min);
20119
- const result = [];
20120
- for (; min <= max; min++) {
20121
- const segment = segments[min];
20122
- result.push(GMapping(segment[REV_GENERATED_LINE] + 1, segment[REV_GENERATED_COLUMN]));
20123
- }
20124
- return result;
20232
+ this._decodedMemo = memoizedState();
20233
+ this._bySources = void 0;
20234
+ this._bySourceMemos = void 0;
20235
+ }
20236
+ };
20237
+ function cast(map) {
20238
+ return map;
20239
+ }
20240
+ function encodedMappings(map) {
20241
+ var _a, _b;
20242
+ return (_b = (_a = cast(map))._encoded) != null ? _b : _a._encoded = (0, import_sourcemap_codec.encode)(cast(map)._decoded);
20243
+ }
20244
+ function decodedMappings(map) {
20245
+ var _a;
20246
+ return (_a = cast(map))._decoded || (_a._decoded = (0, import_sourcemap_codec.decode)(cast(map)._encoded));
20247
+ }
20248
+ function traceSegment(map, line, column) {
20249
+ const decoded = decodedMappings(map);
20250
+ if (line >= decoded.length) return null;
20251
+ const segments = decoded[line];
20252
+ const index = traceSegmentInternal(
20253
+ segments,
20254
+ cast(map)._decodedMemo,
20255
+ line,
20256
+ column,
20257
+ GREATEST_LOWER_BOUND
20258
+ );
20259
+ return index === -1 ? null : segments[index];
20260
+ }
20261
+ function originalPositionFor(map, needle) {
20262
+ let { line, column, bias } = needle;
20263
+ line--;
20264
+ if (line < 0) throw new Error(LINE_GTR_ZERO);
20265
+ if (column < 0) throw new Error(COL_GTR_EQ_ZERO);
20266
+ const decoded = decodedMappings(map);
20267
+ if (line >= decoded.length) return OMapping(null, null, null, null);
20268
+ const segments = decoded[line];
20269
+ const index = traceSegmentInternal(
20270
+ segments,
20271
+ cast(map)._decodedMemo,
20272
+ line,
20273
+ column,
20274
+ bias || GREATEST_LOWER_BOUND
20275
+ );
20276
+ if (index === -1) return OMapping(null, null, null, null);
20277
+ const segment = segments[index];
20278
+ if (segment.length === 1) return OMapping(null, null, null, null);
20279
+ const { names, resolvedSources } = map;
20280
+ return OMapping(
20281
+ resolvedSources[segment[SOURCES_INDEX]],
20282
+ segment[SOURCE_LINE] + 1,
20283
+ segment[SOURCE_COLUMN],
20284
+ segment.length === 5 ? names[segment[NAMES_INDEX]] : null
20285
+ );
20286
+ }
20287
+ function generatedPositionFor(map, needle) {
20288
+ const { source, line, column, bias } = needle;
20289
+ return generatedPosition(map, source, line, column, bias || GREATEST_LOWER_BOUND, false);
20290
+ }
20291
+ function allGeneratedPositionsFor(map, needle) {
20292
+ const { source, line, column, bias } = needle;
20293
+ return generatedPosition(map, source, line, column, bias || LEAST_UPPER_BOUND, true);
20294
+ }
20295
+ function eachMapping(map, cb) {
20296
+ const decoded = decodedMappings(map);
20297
+ const { names, resolvedSources } = map;
20298
+ for (let i = 0; i < decoded.length; i++) {
20299
+ const line = decoded[i];
20300
+ for (let j = 0; j < line.length; j++) {
20301
+ const seg = line[j];
20302
+ const generatedLine = i + 1;
20303
+ const generatedColumn = seg[0];
20304
+ let source = null;
20305
+ let originalLine = null;
20306
+ let originalColumn = null;
20307
+ let name = null;
20308
+ if (seg.length !== 1) {
20309
+ source = resolvedSources[seg[1]];
20310
+ originalLine = seg[2] + 1;
20311
+ originalColumn = seg[3];
20312
+ }
20313
+ if (seg.length === 5) name = names[seg[4]];
20314
+ cb({
20315
+ generatedLine,
20316
+ generatedColumn,
20317
+ source,
20318
+ originalLine,
20319
+ originalColumn,
20320
+ name
20321
+ });
20125
20322
  }
20126
- function generatedPosition(map, source, line, column, bias, all) {
20127
- var _a;
20128
- line--;
20129
- if (line < 0)
20130
- throw new Error(LINE_GTR_ZERO);
20131
- if (column < 0)
20132
- throw new Error(COL_GTR_EQ_ZERO);
20133
- const { sources, resolvedSources } = map;
20134
- let sourceIndex = sources.indexOf(source);
20135
- if (sourceIndex === -1)
20136
- sourceIndex = resolvedSources.indexOf(source);
20137
- if (sourceIndex === -1)
20138
- return all ? [] : GMapping(null, null);
20139
- const generated = ((_a = cast(map))._bySources || (_a._bySources = buildBySources(decodedMappings(map), (cast(map)._bySourceMemos = sources.map(memoizedState)))));
20140
- const segments = generated[sourceIndex][line];
20141
- if (segments == null)
20142
- return all ? [] : GMapping(null, null);
20143
- const memo = cast(map)._bySourceMemos[sourceIndex];
20144
- if (all)
20145
- return sliceGeneratedPositions(segments, memo, line, column, bias);
20146
- const index = traceSegmentInternal(segments, memo, line, column, bias);
20147
- if (index === -1)
20148
- return GMapping(null, null);
20149
- const segment = segments[index];
20150
- return GMapping(segment[REV_GENERATED_LINE] + 1, segment[REV_GENERATED_COLUMN]);
20151
- }
20152
-
20153
- exports.AnyMap = AnyMap;
20154
- exports.GREATEST_LOWER_BOUND = GREATEST_LOWER_BOUND;
20155
- exports.LEAST_UPPER_BOUND = LEAST_UPPER_BOUND;
20156
- exports.TraceMap = TraceMap;
20157
- exports.allGeneratedPositionsFor = allGeneratedPositionsFor;
20158
- exports.decodedMap = decodedMap;
20159
- exports.decodedMappings = decodedMappings;
20160
- exports.eachMapping = eachMapping;
20161
- exports.encodedMap = encodedMap;
20162
- exports.encodedMappings = encodedMappings;
20163
- exports.generatedPositionFor = generatedPositionFor;
20164
- exports.isIgnored = isIgnored;
20165
- exports.originalPositionFor = originalPositionFor;
20166
- exports.presortedDecodedMap = presortedDecodedMap;
20167
- exports.sourceContentFor = sourceContentFor;
20168
- exports.traceSegment = traceSegment;
20169
-
20323
+ }
20324
+ }
20325
+ function sourceIndex(map, source) {
20326
+ const { sources, resolvedSources } = map;
20327
+ let index = sources.indexOf(source);
20328
+ if (index === -1) index = resolvedSources.indexOf(source);
20329
+ return index;
20330
+ }
20331
+ function sourceContentFor(map, source) {
20332
+ const { sourcesContent } = map;
20333
+ if (sourcesContent == null) return null;
20334
+ const index = sourceIndex(map, source);
20335
+ return index === -1 ? null : sourcesContent[index];
20336
+ }
20337
+ function isIgnored(map, source) {
20338
+ const { ignoreList } = map;
20339
+ if (ignoreList == null) return false;
20340
+ const index = sourceIndex(map, source);
20341
+ return index === -1 ? false : ignoreList.includes(index);
20342
+ }
20343
+ function presortedDecodedMap(map, mapUrl) {
20344
+ const tracer = new TraceMap(clone(map, []), mapUrl);
20345
+ cast(tracer)._decoded = map.mappings;
20346
+ return tracer;
20347
+ }
20348
+ function decodedMap(map) {
20349
+ return clone(map, decodedMappings(map));
20350
+ }
20351
+ function encodedMap(map) {
20352
+ return clone(map, encodedMappings(map));
20353
+ }
20354
+ function clone(map, mappings) {
20355
+ return {
20356
+ version: map.version,
20357
+ file: map.file,
20358
+ names: map.names,
20359
+ sourceRoot: map.sourceRoot,
20360
+ sources: map.sources,
20361
+ sourcesContent: map.sourcesContent,
20362
+ mappings,
20363
+ ignoreList: map.ignoreList || map.x_google_ignoreList
20364
+ };
20365
+ }
20366
+ function OMapping(source, line, column, name) {
20367
+ return { source, line, column, name };
20368
+ }
20369
+ function GMapping(line, column) {
20370
+ return { line, column };
20371
+ }
20372
+ function traceSegmentInternal(segments, memo, line, column, bias) {
20373
+ let index = memoizedBinarySearch(segments, column, memo, line);
20374
+ if (found) {
20375
+ index = (bias === LEAST_UPPER_BOUND ? upperBound : lowerBound)(segments, column, index);
20376
+ } else if (bias === LEAST_UPPER_BOUND) index++;
20377
+ if (index === -1 || index === segments.length) return -1;
20378
+ return index;
20379
+ }
20380
+ function sliceGeneratedPositions(segments, memo, line, column, bias) {
20381
+ let min = traceSegmentInternal(segments, memo, line, column, GREATEST_LOWER_BOUND);
20382
+ if (!found && bias === LEAST_UPPER_BOUND) min++;
20383
+ if (min === -1 || min === segments.length) return [];
20384
+ const matchedColumn = found ? column : segments[min][COLUMN];
20385
+ if (!found) min = lowerBound(segments, matchedColumn, min);
20386
+ const max = upperBound(segments, matchedColumn, min);
20387
+ const result = [];
20388
+ for (; min <= max; min++) {
20389
+ const segment = segments[min];
20390
+ result.push(GMapping(segment[REV_GENERATED_LINE] + 1, segment[REV_GENERATED_COLUMN]));
20391
+ }
20392
+ return result;
20393
+ }
20394
+ function generatedPosition(map, source, line, column, bias, all) {
20395
+ var _a, _b;
20396
+ line--;
20397
+ if (line < 0) throw new Error(LINE_GTR_ZERO);
20398
+ if (column < 0) throw new Error(COL_GTR_EQ_ZERO);
20399
+ const { sources, resolvedSources } = map;
20400
+ let sourceIndex2 = sources.indexOf(source);
20401
+ if (sourceIndex2 === -1) sourceIndex2 = resolvedSources.indexOf(source);
20402
+ if (sourceIndex2 === -1) return all ? [] : GMapping(null, null);
20403
+ const bySourceMemos = (_a = cast(map))._bySourceMemos || (_a._bySourceMemos = sources.map(memoizedState));
20404
+ const generated = (_b = cast(map))._bySources || (_b._bySources = buildBySources(decodedMappings(map), bySourceMemos));
20405
+ const segments = generated[sourceIndex2][line];
20406
+ if (segments == null) return all ? [] : GMapping(null, null);
20407
+ const memo = bySourceMemos[sourceIndex2];
20408
+ if (all) return sliceGeneratedPositions(segments, memo, line, column, bias);
20409
+ const index = traceSegmentInternal(segments, memo, line, column, bias);
20410
+ if (index === -1) return GMapping(null, null);
20411
+ const segment = segments[index];
20412
+ return GMapping(segment[REV_GENERATED_LINE] + 1, segment[REV_GENERATED_COLUMN]);
20413
+ }
20170
20414
  }));
20171
20415
  //# sourceMappingURL=trace-mapping.umd.js.map
20172
20416
 
@@ -62556,6 +62800,7 @@ function useColors() {
62556
62800
 
62557
62801
  // Is webkit? http://stackoverflow.com/a/16459606/376773
62558
62802
  // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632
62803
+ // eslint-disable-next-line no-return-assign
62559
62804
  return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||
62560
62805
  // Is firebug? http://stackoverflow.com/a/398120/376773
62561
62806
  (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||
@@ -62645,7 +62890,7 @@ function save(namespaces) {
62645
62890
  function load() {
62646
62891
  let r;
62647
62892
  try {
62648
- r = exports.storage.getItem('debug');
62893
+ r = exports.storage.getItem('debug') || exports.storage.getItem('DEBUG') ;
62649
62894
  } catch (error) {
62650
62895
  // Swallow
62651
62896
  // XXX (@Qix-) should we be logging these?
@@ -62874,24 +63119,62 @@ function setup(env) {
62874
63119
  createDebug.names = [];
62875
63120
  createDebug.skips = [];
62876
63121
 
62877
- let i;
62878
- const split = (typeof namespaces === 'string' ? namespaces : '').split(/[\s,]+/);
62879
- const len = split.length;
63122
+ const split = (typeof namespaces === 'string' ? namespaces : '')
63123
+ .trim()
63124
+ .replace(/\s+/g, ',')
63125
+ .split(',')
63126
+ .filter(Boolean);
62880
63127
 
62881
- for (i = 0; i < len; i++) {
62882
- if (!split[i]) {
62883
- // ignore empty strings
62884
- continue;
63128
+ for (const ns of split) {
63129
+ if (ns[0] === '-') {
63130
+ createDebug.skips.push(ns.slice(1));
63131
+ } else {
63132
+ createDebug.names.push(ns);
62885
63133
  }
63134
+ }
63135
+ }
62886
63136
 
62887
- namespaces = split[i].replace(/\*/g, '.*?');
62888
-
62889
- if (namespaces[0] === '-') {
62890
- createDebug.skips.push(new RegExp('^' + namespaces.slice(1) + '$'));
63137
+ /**
63138
+ * Checks if the given string matches a namespace template, honoring
63139
+ * asterisks as wildcards.
63140
+ *
63141
+ * @param {String} search
63142
+ * @param {String} template
63143
+ * @return {Boolean}
63144
+ */
63145
+ function matchesTemplate(search, template) {
63146
+ let searchIndex = 0;
63147
+ let templateIndex = 0;
63148
+ let starIndex = -1;
63149
+ let matchIndex = 0;
63150
+
63151
+ while (searchIndex < search.length) {
63152
+ if (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || template[templateIndex] === '*')) {
63153
+ // Match character or proceed with wildcard
63154
+ if (template[templateIndex] === '*') {
63155
+ starIndex = templateIndex;
63156
+ matchIndex = searchIndex;
63157
+ templateIndex++; // Skip the '*'
63158
+ } else {
63159
+ searchIndex++;
63160
+ templateIndex++;
63161
+ }
63162
+ } else if (starIndex !== -1) { // eslint-disable-line no-negated-condition
63163
+ // Backtrack to the last '*' and try to match more characters
63164
+ templateIndex = starIndex + 1;
63165
+ matchIndex++;
63166
+ searchIndex = matchIndex;
62891
63167
  } else {
62892
- createDebug.names.push(new RegExp('^' + namespaces + '$'));
63168
+ return false; // No match
62893
63169
  }
62894
63170
  }
63171
+
63172
+ // Handle trailing '*' in template
63173
+ while (templateIndex < template.length && template[templateIndex] === '*') {
63174
+ templateIndex++;
63175
+ }
63176
+
63177
+ return templateIndex === template.length;
62895
63178
  }
62896
63179
 
62897
63180
  /**
@@ -62902,8 +63185,8 @@ function setup(env) {
62902
63185
  */
62903
63186
  function disable() {
62904
63187
  const namespaces = [
62905
- ...createDebug.names.map(toNamespace),
62906
- ...createDebug.skips.map(toNamespace).map(namespace => '-' + namespace)
63188
+ ...createDebug.names,
63189
+ ...createDebug.skips.map(namespace => '-' + namespace)
62907
63190
  ].join(',');
62908
63191
  createDebug.enable('');
62909
63192
  return namespaces;
@@ -62917,21 +63200,14 @@ function setup(env) {
62917
63200
  * @api public
62918
63201
  */
62919
63202
  function enabled(name) {
62920
- if (name[name.length - 1] === '*') {
62921
- return true;
62922
- }
62923
-
62924
- let i;
62925
- let len;
62926
-
62927
- for (i = 0, len = createDebug.skips.length; i < len; i++) {
62928
- if (createDebug.skips[i].test(name)) {
63203
+ for (const skip of createDebug.skips) {
63204
+ if (matchesTemplate(name, skip)) {
62929
63205
  return false;
62930
63206
  }
62931
63207
  }
62932
63208
 
62933
- for (i = 0, len = createDebug.names.length; i < len; i++) {
62934
- if (createDebug.names[i].test(name)) {
63209
+ for (const ns of createDebug.names) {
63210
+ if (matchesTemplate(name, ns)) {
62935
63211
  return true;
62936
63212
  }
62937
63213
  }
@@ -62939,19 +63215,6 @@ function setup(env) {
62939
63215
  return false;
62940
63216
  }
62941
63217
 
62942
- /**
62943
- * Convert regexp to namespace
62944
- *
62945
- * @param {RegExp} regxep
62946
- * @return {String} namespace
62947
- * @api private
62948
- */
62949
- function toNamespace(regexp) {
62950
- return regexp.toString()
62951
- .substring(2, regexp.toString().length - 2)
62952
- .replace(/\.\*\?$/, '*');
62953
- }
62954
-
62955
63218
  /**
62956
63219
  * Coerce `val`.
62957
63220
  *
@@ -119097,7 +119360,7 @@ class KCLangAntlrVisitor {
119097
119360
  return interval.length === 0 ? "" : (_context$start$inputS = (_context$start$inputS2 = context.start.inputStream) === null || _context$start$inputS2 === void 0 ? void 0 : _context$start$inputS2.getText(interval)) !== null && _context$start$inputS !== void 0 ? _context$start$inputS : "";
119098
119361
  }
119099
119362
  removeEscapeSimbolsFromDescription(text) {
119100
- const cleanedValue = text.replace("\\[", "[").replace("\\]", "]").replace("\\{", "{").replace("\\}", "}").replace("\\`", "`").replace("\\*", "*");
119363
+ const cleanedValue = text.replaceAll("\\[", "[").replaceAll("\\]", "]").replaceAll("\\{", "{").replaceAll("\\}", "}").replaceAll("\\`", "`").replaceAll("\\*", "*");
119101
119364
  return cleanedValue;
119102
119365
  }
119103
119366
  }
@@ -124961,7 +125224,6 @@ function generateKCXmlExpression(expression, prefixPath = "") {
124961
125224
  case "minus":
124962
125225
  case "not":
124963
125226
  return [`<m:${expression.type}>`, (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_2__.indent)(generateKCXmlExpression(expression.expression, prefixPath), 1), `</m:${expression.type}>`].join("\n");
124964
- break;
124965
125227
  case "round":
124966
125228
  return [expression.fractionalDigits != undefined ? `<m:round fractionalDigits="${expression.fractionalDigits}">` : `<m:round>`, (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_2__.indent)(generateKCXmlExpression(expression.expression, prefixPath), 1), `</m:round>`].join("\n");
124967
125229
  case "floor":
@@ -125005,7 +125267,6 @@ function generateKCXmlExpression(expression, prefixPath = "") {
125005
125267
  }
125006
125268
  case "choose":
125007
125269
  return [`<m:choose>`, ` <m:if>`, (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_2__.indent)(generateKCXmlExpression(expression.if, prefixPath), 2), ` </m:if>`, ` <m:then>`, (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_2__.indent)(generateKCXmlExpression(expression.then, prefixPath), 2), ` </m:then>`, ` <m:else>`, (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_2__.indent)(generateKCXmlExpression(expression.else, prefixPath), 2), ` </m:else>`, `</m:choose>`].join("\n");
125008
- break;
125009
125270
  case "const":
125010
125271
  if (expression.value.type === "decimal") {
125011
125272
  return `<m:const value="${expression.value.value}" type="decimal" />`;
@@ -132875,6 +133136,8 @@ __webpack_require__.r(__webpack_exports__);
132875
133136
  /* harmony import */ var path__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! path */ "path");
132876
133137
  /* harmony import */ var path__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_0__);
132877
133138
  /* harmony import */ var _GetWebEntry__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./GetWebEntry */ "./Generator/src/generators/FormSourcesBuilder/GetWebEntry.ts");
133139
+ /* harmony import */ var _GetWebJsContent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./GetWebJsContent */ "./Generator/src/generators/FormSourcesBuilder/GetWebJsContent.ts");
133140
+
132878
133141
 
132879
133142
 
132880
133143
  class FormSourcesBuilder {
@@ -132903,7 +133166,8 @@ class FormSourcesBuilder {
132903
133166
  }
132904
133167
  buildSources(gfv, resourcesHash) {
132905
133168
  const formContent = {};
132906
- formContent["web.js"] = (0,_GetWebEntry__WEBPACK_IMPORTED_MODULE_1__.getWebEntry)(gfv, resourcesHash);
133169
+ formContent["web.js"] = (0,_GetWebJsContent__WEBPACK_IMPORTED_MODULE_2__.getWebJsContent)();
133170
+ formContent["webEntry.js"] = (0,_GetWebEntry__WEBPACK_IMPORTED_MODULE_1__.getWebEntry)(gfv, resourcesHash);
132907
133171
  for (const [filename, content] of this.serverSideResources.entries()) {
132908
133172
  formContent[filename] = content;
132909
133173
  }
@@ -132918,7 +133182,7 @@ class FormSourcesBuilder {
132918
133182
  }
132919
133183
  const resourcesExports = this.buildResourcesExports();
132920
133184
  formContent["resources/index.js"] = resourcesExports;
132921
- formContent["components/index.js"] = 'export { default as Form } from "./Form"\n';
133185
+ formContent["components/index.js"] = 'export Form from "./Form"\n';
132922
133186
  return formContent;
132923
133187
  }
132924
133188
  buildResourcesExports() {
@@ -132927,7 +133191,7 @@ class FormSourcesBuilder {
132927
133191
  for (const [filename] of this.resources.entries()) {
132928
133192
  if (filename.endsWith(".js")) {
132929
133193
  const fileNameWithoutExtension = filename.replace(".js", "");
132930
- resourcesExports.push(`export { default as ${fileNameWithoutExtension} } from './${fileNameWithoutExtension}'`);
133194
+ resourcesExports.push(`export ${fileNameWithoutExtension} from './${fileNameWithoutExtension}'`);
132931
133195
  } else if (filename.endsWith(".less")) {
132932
133196
  resourcesImports.push(`import './${filename}'`);
132933
133197
  }
@@ -132955,7 +133219,8 @@ __webpack_require__.r(__webpack_exports__);
132955
133219
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
132956
133220
  /* harmony export */ getWebEntry: () => (/* binding */ getWebEntry)
132957
133221
  /* harmony export */ });
132958
- const getWebEntry = (gfv, resourcesHash) => `import {
133222
+ function getWebEntry(gfv, resourcesHash) {
133223
+ return `import {
132959
133224
  dataDeclaration,
132960
133225
  calculationFunctions,
132961
133226
  validationFunctions,
@@ -132971,7 +133236,7 @@ const getWebEntry = (gfv, resourcesHash) => `import {
132971
133236
  import { Form } from './components'
132972
133237
 
132973
133238
  const gfv = '${gfv}'
132974
- const resourcesHash = '${resourcesHash}'
133239
+ const resourcesHash = ${JSON.stringify(resourcesHash)}
132975
133240
  const autocalculationConfigurators = [kcXmlValidationConfigurator, rngSchemaValidationConfigurator, kcXmlAutoCalculationConfigurator]
132976
133241
 
132977
133242
  window.CF.entryPoint = window.CF.entryPoint || {};
@@ -133014,9 +133279,38 @@ if (window.CF.entryPoint[gfv]) {
133014
133279
  }
133015
133280
  }
133016
133281
 
133017
- if (import.meta.hot) {
133018
- import.meta.hot.accept();
133019
- }`;
133282
+ if (module.hot) {
133283
+ module.hot.accept();
133284
+ }
133285
+ `;
133286
+ }
133287
+
133288
+ /***/ }),
133289
+
133290
+ /***/ "./Generator/src/generators/FormSourcesBuilder/GetWebJsContent.ts":
133291
+ /*!************************************************************************!*\
133292
+ !*** ./Generator/src/generators/FormSourcesBuilder/GetWebJsContent.ts ***!
133293
+ \************************************************************************/
133294
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
133295
+
133296
+ "use strict";
133297
+ __webpack_require__.r(__webpack_exports__);
133298
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
133299
+ /* harmony export */ getWebJsContent: () => (/* binding */ getWebJsContent)
133300
+ /* harmony export */ });
133301
+ function getWebJsContent() {
133302
+ return `if (window.CF && window.CF.keformsUrl) {
133303
+ let { keformsUrl } = window.CF
133304
+ let publicPath = __webpack_public_path__
133305
+
133306
+ publicPath = publicPath.slice(0, 1) == '/' ? publicPath.slice(1) : publicPath
133307
+ keformsUrl = keformsUrl.slice(-1) == '/' ? keformsUrl.slice(0, -1) : keformsUrl
133308
+ __webpack_public_path__ = \`\${keformsUrl\}/\$\{publicPath\}\`
133309
+ }
133310
+
133311
+ require('./webEntry')
133312
+ `;
133313
+ }
133020
133314
 
133021
133315
  /***/ }),
133022
133316
 
@@ -134911,6 +135205,7 @@ function processSugar(formSugarContent, additionalContent, generationOptions) {
134911
135205
  skipNotSupportedFunction: useServerCalculations
134912
135206
  });
134913
135207
  builder.addResource("kcXmlValidationConfigurator.js", content);
135208
+ builder.addResource("FakeStyles.less", `// empty styles to enforce style files`);
134914
135209
  const localizationResources = (0,_localization_localization__WEBPACK_IMPORTED_MODULE_24__.generateLocalizationResources)(additionalContent.localization);
134915
135210
  if (localizationResources) {
134916
135211
  builder.addResource("localizationDictionary.js", localizationResources);
@@ -135372,7 +135667,7 @@ const getAllFiles = async dirPath => {
135372
135667
  });
135373
135668
  const filePaths = await Promise.all(files.map(file => {
135374
135669
  const fullPath = node_path__WEBPACK_IMPORTED_MODULE_2___default().join(file.parentPath, file.name);
135375
- return file.isDirectory() ? getAllFiles(fullPath) : fullPath;
135670
+ return file.isDirectory() ? getAllFiles(fullPath) : Promise.resolve(fullPath);
135376
135671
  }));
135377
135672
  return filePaths.flat();
135378
135673
  };
@@ -136405,7 +136700,7 @@ class ConverterResult {
136405
136700
  const contextPath = context.dirName;
136406
136701
  const dependencyFilesWithContent = this.getDependencies(ctxName).map(dependency => dependency.toFile()).filter(_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_0__.isNotNullOrUndefined);
136407
136702
  if (context.isBase) {
136408
- builder.addComponent(`${contextPath}/index.js`, `export { default } from './${ctxName}'\n`);
136703
+ builder.addComponent(`${contextPath}/index.js`, `export default from './${ctxName}'\n`);
136409
136704
  }
136410
136705
  for (const dependencyFile of dependencyFilesWithContent) {
136411
136706
  const dependencyFilePath = `${contextPath}/${dependencyFile.getName()}`;
@@ -149963,6 +150258,9 @@ class CrossfitTableConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODUL
149963
150258
  footerBuilder.prop(x => x.needAddButton).set(true);
149964
150259
  footerBuilder.prop(x => x.addButtonText).set(multiline.addbutton);
149965
150260
  footerBuilder.prop(x => x.addButtonType).set(multiline.addType);
150261
+ if (multiline.onAddButtonClick) {
150262
+ footerBuilder.prop(x => x.onAddButtonClick).set(context.generateHelperFunctionExpression(multiline, "onAddButtonClick", multiline.onAddButtonClick));
150263
+ }
149966
150264
  if (multiline.maxOccurs != undefined) {
149967
150265
  const maxOccursWithDependencies = (0,_common_ConditionUtils__WEBPACK_IMPORTED_MODULE_11__.convertConditionToJsOrFailWithFriendlySugarError)(multiline.maxOccurs, "path", "count", _Common_KCLangRuntimeUtils__WEBPACK_IMPORTED_MODULE_12__.KCLangRuntimeUtils.kcLangUtilsName, multiline, "maxOccurs");
149968
150266
  const maxOccurs = (0,_SugarNodes_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_13__.buildExpressionPropValue)(maxOccursWithDependencies.condition, maxOccursWithDependencies.dependencies);
@@ -150021,7 +150319,7 @@ __webpack_require__.r(__webpack_exports__);
150021
150319
 
150022
150320
 
150023
150321
 
150024
- var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _dec23, _dec24, _dec25, _dec26, _class3, _class4, _descriptor22, _descriptor23, _descriptor24, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _dec38, _dec39, _dec40, _dec41, _dec42, _dec43, _dec44, _dec45, _dec46, _dec47, _class5, _class6, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _descriptor39, _descriptor40, _descriptor41, _descriptor42, _descriptor43, _descriptor44, _dec48, _dec49, _dec50, _class7, _class8, _descriptor45, _descriptor46, _dec51, _dec52, _dec53, _dec54, _dec55, _dec56, _dec57, _class9, _class10, _descriptor47, _descriptor48, _descriptor49, _descriptor50, _descriptor51, _descriptor52, _dec58, _dec59, _class11, _class12, _descriptor53, _dec60, _dec61, _class13, _class14, _descriptor54, _dec62, _dec63, _class15, _class16, _descriptor55, _dec64, _dec65, _dec66, _dec67, _dec68, _dec69, _dec70, _dec71, _dec72, _dec73, _dec74, _dec75, _dec76, _dec77, _dec78, _dec79, _dec80, _dec81, _dec82, _dec83, _dec84, _dec85, _dec86, _class17, _class18, _descriptor56, _descriptor57, _descriptor58, _descriptor59, _descriptor60, _descriptor61, _descriptor62, _descriptor63, _descriptor64, _descriptor65, _descriptor66, _descriptor67, _descriptor68, _descriptor69, _descriptor70, _descriptor71, _descriptor72, _descriptor73, _descriptor74, _descriptor75, _descriptor76, _descriptor77;
150322
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _dec23, _dec24, _dec25, _dec26, _class3, _class4, _descriptor22, _descriptor23, _descriptor24, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _dec38, _dec39, _dec40, _dec41, _dec42, _dec43, _dec44, _dec45, _dec46, _dec47, _dec48, _class5, _class6, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _descriptor39, _descriptor40, _descriptor41, _descriptor42, _descriptor43, _descriptor44, _descriptor45, _dec49, _dec50, _dec51, _class7, _class8, _descriptor46, _descriptor47, _dec52, _dec53, _dec54, _dec55, _dec56, _dec57, _dec58, _class9, _class10, _descriptor48, _descriptor49, _descriptor50, _descriptor51, _descriptor52, _descriptor53, _dec59, _dec60, _class11, _class12, _descriptor54, _dec61, _dec62, _class13, _class14, _descriptor55, _dec63, _dec64, _class15, _class16, _descriptor56, _dec65, _dec66, _dec67, _dec68, _dec69, _dec70, _dec71, _dec72, _dec73, _dec74, _dec75, _dec76, _dec77, _dec78, _dec79, _dec80, _dec81, _dec82, _dec83, _dec84, _dec85, _dec86, _dec87, _class17, _class18, _descriptor57, _descriptor58, _descriptor59, _descriptor60, _descriptor61, _descriptor62, _descriptor63, _descriptor64, _descriptor65, _descriptor66, _descriptor67, _descriptor68, _descriptor69, _descriptor70, _descriptor71, _descriptor72, _descriptor73, _descriptor74, _descriptor75, _descriptor76, _descriptor77, _descriptor78;
150025
150323
 
150026
150324
 
150027
150325
 
@@ -150201,7 +150499,7 @@ let MultilineNode = (_dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_M
150201
150499
  Платой за эту опцию, может быть тормознутый интерфейс, пересчитывающий все фильтры на каждый чих.
150202
150500
  Обязательно проверьте, как себя ведет интерфейс на "средних" данных, когда резко меняете фильтры. (в инпуте добавляйте и стирайте значения например).`), _dec33 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("defaultChildren", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.arrayLiteral(), `Добавляет чилдренов по дефолту. Принимает массив строк, например: ['0', '1', '2']`), _dec34 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("focusByHotkey", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_4__.DeprecationReason.InvalidUsage), _dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("pageStep", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_4__.DeprecationReason.InvalidUsage), _dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("removebutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Управляет layout-ом и поведением кнопки удаления для данного мультилайна.
150203
150501
  false — не добавлять лишнюю колонку в сайдбар (sidebarColumns не увеличивается) и не показывать inline-кнопку удаления в теле строки при sidebar=false.
150204
- По умолчанию true. Не влияет на рендер RemoveRowButton в сайдбаре — это контролируется removebutton на <table>.`), _dec37 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("rowmenu", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, ``), _dec38 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("row", [CrossfitTableRowNode]), _dec39 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("addbutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.localizedString, `Название кнопки при добавлении множественности`), _dec40 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("addType", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.enum("button", "link"), `Добавить строку м.б. как кнопка "button" или ссылка "link"`), _dec41 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("usepager", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `false - без пейджера (1-11, 12-22 - этого нет внизу страницы)`), _dec42 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("instancesPerPage", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number.default(10), "Максимальное кол-во элементов на странице пейджинга"), _dec43 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("onRowClick", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.helperFunctionName, "Имя кастомной helpers функции, которая вызовется при клике по строке"), _dec44 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("storeFilters", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Будут ли сохраняться фильтры для этого мультилайна между обнолениями страницы. По умолчанию -- нет`), _dec45 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("disableScroll", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Возможность отключить скролл в мультилайне`), _dec46 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("defaultFilter", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.objectLiteral(), `Дает возможность изначально фильтровать мультилайн, по определенному выражению`), _dec47 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("dynamicHeight", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean.default(false), "В режиме пейджинга высота таблицы будет подстраиваться под кол-во строк"), _dec27(_class5 = (_class6 = class MultilineNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_5__.SugarNodeWithLegacyVisibility {
150502
+ По умолчанию true. Не влияет на рендер RemoveRowButton в сайдбаре — это контролируется removebutton на <table>.`), _dec37 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("rowmenu", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, ``), _dec38 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("row", [CrossfitTableRowNode]), _dec39 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("addbutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.localizedString, `Название кнопки при добавлении множественности`), _dec40 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("addType", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.enum("button", "link"), `Добавить строку м.б. как кнопка "button" или ссылка "link"`), _dec41 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("onAddButtonClick", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.helperFunctionName, `Название хелпер-функции, которая будет выполняться при клике на кнопку добавления инстанса вместо стандартного действия`), _dec42 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("usepager", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `false - без пейджера (1-11, 12-22 - этого нет внизу страницы)`), _dec43 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("instancesPerPage", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number.default(10), "Максимальное кол-во элементов на странице пейджинга"), _dec44 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("onRowClick", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.helperFunctionName, "Имя кастомной helpers функции, которая вызовется при клике по строке"), _dec45 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("storeFilters", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Будут ли сохраняться фильтры для этого мультилайна между обнолениями страницы. По умолчанию -- нет`), _dec46 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("disableScroll", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Возможность отключить скролл в мультилайне`), _dec47 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("defaultFilter", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.objectLiteral(), `Дает возможность изначально фильтровать мультилайн, по определенному выражению`), _dec48 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("dynamicHeight", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean.default(false), "В режиме пейджинга высота таблицы будет подстраиваться под кол-во строк"), _dec27(_class5 = (_class6 = class MultilineNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_5__.SugarNodeWithLegacyVisibility {
150205
150503
  constructor(...args) {
150206
150504
  super(...args);
150207
150505
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataScope", _descriptor25, this);
@@ -150217,13 +150515,14 @@ let MultilineNode = (_dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_M
150217
150515
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "rows", _descriptor35, this);
150218
150516
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "addbutton", _descriptor36, this);
150219
150517
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "addType", _descriptor37, this);
150220
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "usepager", _descriptor38, this);
150221
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "instancesPerPage", _descriptor39, this);
150222
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "onRowClick", _descriptor40, this);
150223
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "storeFilters", _descriptor41, this);
150224
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "disableScroll", _descriptor42, this);
150225
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "defaultFilter", _descriptor43, this);
150226
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dynamicHeight", _descriptor44, this);
150518
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "onAddButtonClick", _descriptor38, this);
150519
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "usepager", _descriptor39, this);
150520
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "instancesPerPage", _descriptor40, this);
150521
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "onRowClick", _descriptor41, this);
150522
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "storeFilters", _descriptor42, this);
150523
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "disableScroll", _descriptor43, this);
150524
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "defaultFilter", _descriptor44, this);
150525
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dynamicHeight", _descriptor45, this);
150227
150526
  }
150228
150527
  getOwnPath() {
150229
150528
  return this.dataScope.getOwnPath();
@@ -150296,165 +150595,170 @@ let MultilineNode = (_dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_M
150296
150595
  enumerable: true,
150297
150596
  writable: true,
150298
150597
  initializer: null
150299
- }), _descriptor38 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "usepager", [_dec41], {
150598
+ }), _descriptor38 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "onAddButtonClick", [_dec41], {
150599
+ configurable: true,
150600
+ enumerable: true,
150601
+ writable: true,
150602
+ initializer: null
150603
+ }), _descriptor39 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "usepager", [_dec42], {
150300
150604
  configurable: true,
150301
150605
  enumerable: true,
150302
150606
  writable: true,
150303
150607
  initializer: null
150304
- }), _descriptor39 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "instancesPerPage", [_dec42], {
150608
+ }), _descriptor40 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "instancesPerPage", [_dec43], {
150305
150609
  configurable: true,
150306
150610
  enumerable: true,
150307
150611
  writable: true,
150308
150612
  initializer: null
150309
- }), _descriptor40 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "onRowClick", [_dec43], {
150613
+ }), _descriptor41 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "onRowClick", [_dec44], {
150310
150614
  configurable: true,
150311
150615
  enumerable: true,
150312
150616
  writable: true,
150313
150617
  initializer: null
150314
- }), _descriptor41 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "storeFilters", [_dec44], {
150618
+ }), _descriptor42 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "storeFilters", [_dec45], {
150315
150619
  configurable: true,
150316
150620
  enumerable: true,
150317
150621
  writable: true,
150318
150622
  initializer: null
150319
- }), _descriptor42 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "disableScroll", [_dec45], {
150623
+ }), _descriptor43 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "disableScroll", [_dec46], {
150320
150624
  configurable: true,
150321
150625
  enumerable: true,
150322
150626
  writable: true,
150323
150627
  initializer: null
150324
- }), _descriptor43 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "defaultFilter", [_dec46], {
150628
+ }), _descriptor44 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "defaultFilter", [_dec47], {
150325
150629
  configurable: true,
150326
150630
  enumerable: true,
150327
150631
  writable: true,
150328
150632
  initializer: null
150329
- }), _descriptor44 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "dynamicHeight", [_dec47], {
150633
+ }), _descriptor45 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "dynamicHeight", [_dec48], {
150330
150634
  configurable: true,
150331
150635
  enumerable: true,
150332
150636
  writable: true,
150333
150637
  initializer: null
150334
150638
  }), _class6)) || _class5);
150335
- let CrossfitTableHeaderNode = (_dec48 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.sugarNode)("header", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/CrossfitTable sync recursive .md$")), _dec49 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.enum("right"), ``), _dec50 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)(), _dec48(_class7 = (_class8 = class CrossfitTableHeaderNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.SugarNodeBase {
150639
+ let CrossfitTableHeaderNode = (_dec49 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.sugarNode)("header", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/CrossfitTable sync recursive .md$")), _dec50 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.enum("right"), ``), _dec51 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)(), _dec49(_class7 = (_class8 = class CrossfitTableHeaderNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.SugarNodeBase {
150336
150640
  constructor(...args) {
150337
150641
  super(...args);
150338
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "align", _descriptor45, this);
150339
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor46, this);
150642
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "align", _descriptor46, this);
150643
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor47, this);
150340
150644
  }
150341
- }, _descriptor45 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class8.prototype, "align", [_dec49], {
150645
+ }, _descriptor46 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class8.prototype, "align", [_dec50], {
150342
150646
  configurable: true,
150343
150647
  enumerable: true,
150344
150648
  writable: true,
150345
150649
  initializer: null
150346
- }), _descriptor46 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class8.prototype, "children", [_dec50], {
150650
+ }), _descriptor47 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class8.prototype, "children", [_dec51], {
150347
150651
  configurable: true,
150348
150652
  enumerable: true,
150349
150653
  writable: true,
150350
150654
  initializer: null
150351
150655
  }), _class8)) || _class7);
150352
- let FilterInfoNode = (_dec51 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.sugarNode)("filterinfo", `path - путь до multiline, по которому фильтруем`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/CrossfitTable sync recursive .md$")), _dec52 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataReferenceMixinNode), _dec53 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("multilinePath", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, ``), _dec54 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, `путь до multiline, по которому фильтруем`), _dec55 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("filteredUniqKey", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, `Уникальный ключ фильтрации multiline, используется, для фильтраций одних и тех же путей иннера
150353
- разными фильтрами. Задается произвольной строкой. Фильтры с одинаковым ключем фильтрации получают одинаковый результат фильтрации`), _dec56 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("titles", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.stringArray, `массив строк для склонения единицы поиска (для корректного вывода с количеством найденных)`), _dec57 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("notFoundText", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.localizedString, ` текст, который будет выводится, если после фильтрации ничего не найдено`), _dec51(_class9 = (_class10 = class FilterInfoNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.SugarNodeBase {
150656
+ let FilterInfoNode = (_dec52 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.sugarNode)("filterinfo", `path - путь до multiline, по которому фильтруем`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/CrossfitTable sync recursive .md$")), _dec53 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataReferenceMixinNode), _dec54 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("multilinePath", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, ``), _dec55 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, `путь до multiline, по которому фильтруем`), _dec56 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("filteredUniqKey", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, `Уникальный ключ фильтрации multiline, используется, для фильтраций одних и тех же путей иннера
150657
+ разными фильтрами. Задается произвольной строкой. Фильтры с одинаковым ключем фильтрации получают одинаковый результат фильтрации`), _dec57 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("titles", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.stringArray, `массив строк для склонения единицы поиска (для корректного вывода с количеством найденных)`), _dec58 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("notFoundText", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.localizedString, ` текст, который будет выводится, если после фильтрации ничего не найдено`), _dec52(_class9 = (_class10 = class FilterInfoNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.SugarNodeBase {
150354
150658
  constructor(...args) {
150355
150659
  super(...args);
150356
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataReference", _descriptor47, this);
150357
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "multilinePath", _descriptor48, this);
150358
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "path", _descriptor49, this);
150359
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filteredUniqKey", _descriptor50, this);
150360
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "titles", _descriptor51, this);
150361
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "notFoundText", _descriptor52, this);
150660
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataReference", _descriptor48, this);
150661
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "multilinePath", _descriptor49, this);
150662
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "path", _descriptor50, this);
150663
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filteredUniqKey", _descriptor51, this);
150664
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "titles", _descriptor52, this);
150665
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "notFoundText", _descriptor53, this);
150362
150666
  }
150363
150667
  getOwnPath() {
150364
150668
  return this.dataReference.getOwnPath();
150365
150669
  }
150366
- }, _descriptor47 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class10.prototype, "dataReference", [_dec52], {
150670
+ }, _descriptor48 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class10.prototype, "dataReference", [_dec53], {
150367
150671
  configurable: true,
150368
150672
  enumerable: true,
150369
150673
  writable: true,
150370
150674
  initializer: null
150371
- }), _descriptor48 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class10.prototype, "multilinePath", [_dec53], {
150675
+ }), _descriptor49 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class10.prototype, "multilinePath", [_dec54], {
150372
150676
  configurable: true,
150373
150677
  enumerable: true,
150374
150678
  writable: true,
150375
150679
  initializer: null
150376
- }), _descriptor49 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class10.prototype, "path", [_dec54], {
150680
+ }), _descriptor50 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class10.prototype, "path", [_dec55], {
150377
150681
  configurable: true,
150378
150682
  enumerable: true,
150379
150683
  writable: true,
150380
150684
  initializer: null
150381
- }), _descriptor50 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class10.prototype, "filteredUniqKey", [_dec55], {
150685
+ }), _descriptor51 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class10.prototype, "filteredUniqKey", [_dec56], {
150382
150686
  configurable: true,
150383
150687
  enumerable: true,
150384
150688
  writable: true,
150385
150689
  initializer: null
150386
- }), _descriptor51 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class10.prototype, "titles", [_dec56], {
150690
+ }), _descriptor52 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class10.prototype, "titles", [_dec57], {
150387
150691
  configurable: true,
150388
150692
  enumerable: true,
150389
150693
  writable: true,
150390
150694
  initializer: null
150391
- }), _descriptor52 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class10.prototype, "notFoundText", [_dec57], {
150695
+ }), _descriptor53 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class10.prototype, "notFoundText", [_dec58], {
150392
150696
  configurable: true,
150393
150697
  enumerable: true,
150394
150698
  writable: true,
150395
150699
  initializer: null
150396
150700
  }), _class10)) || _class9);
150397
- let CrossfitTableFooterNode = (_dec58 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.sugarNode)("footer", ``), _dec59 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)(), _dec58(_class11 = (_class12 = class CrossfitTableFooterNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.SugarNodeBase {
150701
+ let CrossfitTableFooterNode = (_dec59 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.sugarNode)("footer", ``), _dec60 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)(), _dec59(_class11 = (_class12 = class CrossfitTableFooterNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.SugarNodeBase {
150398
150702
  constructor(...args) {
150399
150703
  super(...args);
150400
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor53, this);
150704
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor54, this);
150401
150705
  }
150402
- }, _descriptor53 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class12.prototype, "children", [_dec59], {
150706
+ }, _descriptor54 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class12.prototype, "children", [_dec60], {
150403
150707
  configurable: true,
150404
150708
  enumerable: true,
150405
150709
  writable: true,
150406
150710
  initializer: null
150407
150711
  }), _class12)) || _class11);
150408
- let CrossfitTableColgroupColumnNode = (_dec60 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.sugarNode)("col", ``), _dec61 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.lengthUnit, ``), _dec60(_class13 = (_class14 = class CrossfitTableColgroupColumnNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.SugarNodeBase {
150712
+ let CrossfitTableColgroupColumnNode = (_dec61 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.sugarNode)("col", ``), _dec62 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.lengthUnit, ``), _dec61(_class13 = (_class14 = class CrossfitTableColgroupColumnNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.SugarNodeBase {
150409
150713
  constructor(...args) {
150410
150714
  super(...args);
150411
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor54, this);
150715
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor55, this);
150412
150716
  }
150413
- }, _descriptor54 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class14.prototype, "width", [_dec61], {
150717
+ }, _descriptor55 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class14.prototype, "width", [_dec62], {
150414
150718
  configurable: true,
150415
150719
  enumerable: true,
150416
150720
  writable: true,
150417
150721
  initializer: null
150418
150722
  }), _class14)) || _class13);
150419
- let CrossfitTableColgroupNode = (_dec62 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.sugarNode)("colgroup", ``), _dec63 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("col", [CrossfitTableColgroupColumnNode]), _dec62(_class15 = (_class16 = class CrossfitTableColgroupNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.SugarNodeBase {
150723
+ let CrossfitTableColgroupNode = (_dec63 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.sugarNode)("colgroup", ``), _dec64 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("col", [CrossfitTableColgroupColumnNode]), _dec63(_class15 = (_class16 = class CrossfitTableColgroupNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.SugarNodeBase {
150420
150724
  constructor(...args) {
150421
150725
  super(...args);
150422
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "cols", _descriptor55, this);
150726
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "cols", _descriptor56, this);
150423
150727
  }
150424
- }, _descriptor55 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class16.prototype, "cols", [_dec63], {
150728
+ }, _descriptor56 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class16.prototype, "cols", [_dec64], {
150425
150729
  configurable: true,
150426
150730
  enumerable: true,
150427
150731
  writable: true,
150428
150732
  initializer: null
150429
150733
  }), _class16)) || _class15);
150430
- let CrossfitTableNode = (_dec64 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.sugarNode)("table", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/CrossfitTable sync recursive .md$"), x => x.boolAttr("crossfit"), "crossfit"), _dec65 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.bindingPath, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_7__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_7__.bindingPathLink)} данного элемента. Опционально, если не указан, то будет отображаться текст заданный внутри данного элемента`), _dec66 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `необязательность`), _dec67 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("offsetBottom", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_4__.DeprecationReason.InvalidUsage), _dec68 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("grayColumn", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, ``), _dec69 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("sidebar", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, ``), _dec70 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("crossfit", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, ``), _dec71 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("side", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, ``), _dec72 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("rowmenu", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, ``), _dec73 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("removebutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Управляет рендером кнопки удаления строки в CrossfitTable.Sidebar для всех мультилайнов таблицы.
150734
+ let CrossfitTableNode = (_dec65 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.sugarNode)("table", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/CrossfitTable sync recursive .md$"), x => x.boolAttr("crossfit"), "crossfit"), _dec66 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.bindingPath, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_7__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_7__.bindingPathLink)} данного элемента. Опционально, если не указан, то будет отображаться текст заданный внутри данного элемента`), _dec67 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `необязательность`), _dec68 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("offsetBottom", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_4__.DeprecationReason.InvalidUsage), _dec69 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("grayColumn", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, ``), _dec70 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("sidebar", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, ``), _dec71 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("crossfit", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, ``), _dec72 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("side", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, ``), _dec73 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("rowmenu", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, ``), _dec74 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("removebutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Управляет рендером кнопки удаления строки в CrossfitTable.Sidebar для всех мультилайнов таблицы.
150431
150735
  false — RemoveRowButton не рендерится в сайдбаре. По умолчанию true.
150432
- Не влияет на layout (ширины колонок и количество колонок сайдбара) — это контролируется removebutton на \`<multiline>\`.`), _dec74 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("sticky", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Делает шапку и футер таблицы залипающими при скролле. По дефолту true.
150433
- Если нужно спрятать пустой футер (без пейджинга и прочего), нужно явно указать false.`), _dec75 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("doNotCopyPaths", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.stringArray, ``), _dec76 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)(["row", "multiline"], [CrossfitTableRowNode, MultilineNode]), _dec77 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("header", [CrossfitTableHeaderNode]), _dec78 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("colgroup", [CrossfitTableColgroupNode]), _dec79 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("filterinfo", [FilterInfoNode]), _dec80 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("loader", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.localizedString, ``), _dec81 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.enum("baseline", "top"), ``), _dec82 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("columnGrouping", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.object, ``), _dec83 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("hiddenGroups", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.object, ``), _dec84 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("isHideEmptySpace", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.object, `Костыль: если справа появляется пустое место "для крестика", то этот атрибут ставить true. По умолчанию false`), _dec85 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("footer", [CrossfitTableFooterNode]), _dec86 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, "Возможность установки произвольных data-tid атрибутов, может пригодиться другим командам, или для идентификации элемента в тестах"), _dec64(_class17 = (_class18 = class CrossfitTableNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_5__.SugarNodeWithLegacyVisibility {
150736
+ Не влияет на layout (ширины колонок и количество колонок сайдбара) — это контролируется removebutton на \`<multiline>\`.`), _dec75 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("sticky", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Делает шапку и футер таблицы залипающими при скролле. По дефолту true.
150737
+ Если нужно спрятать пустой футер (без пейджинга и прочего), нужно явно указать false.`), _dec76 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("doNotCopyPaths", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.stringArray, ``), _dec77 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)(["row", "multiline"], [CrossfitTableRowNode, MultilineNode]), _dec78 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("header", [CrossfitTableHeaderNode]), _dec79 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("colgroup", [CrossfitTableColgroupNode]), _dec80 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("filterinfo", [FilterInfoNode]), _dec81 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("loader", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.localizedString, ``), _dec82 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.enum("baseline", "top"), ``), _dec83 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("columnGrouping", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.object, ``), _dec84 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("hiddenGroups", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.object, ``), _dec85 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("isHideEmptySpace", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.object, `Костыль: если справа появляется пустое место "для крестика", то этот атрибут ставить true. По умолчанию false`), _dec86 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("footer", [CrossfitTableFooterNode]), _dec87 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, "Возможность установки произвольных data-tid атрибутов, может пригодиться другим командам, или для идентификации элемента в тестах"), _dec65(_class17 = (_class18 = class CrossfitTableNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_5__.SugarNodeWithLegacyVisibility {
150434
150738
  constructor(...args) {
150435
150739
  super(...args);
150436
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "path", _descriptor56, this);
150437
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "optional", _descriptor57, this);
150438
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "offsetBottom", _descriptor58, this);
150439
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "grayColumn", _descriptor59, this);
150440
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sidebar", _descriptor60, this);
150441
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "crossfit", _descriptor61, this);
150442
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "side", _descriptor62, this);
150443
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "rowmenu", _descriptor63, this);
150444
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "removebutton", _descriptor64, this);
150445
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sticky", _descriptor65, this);
150446
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "doNotCopyPaths", _descriptor66, this);
150447
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "rows", _descriptor67, this);
150448
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "header", _descriptor68, this);
150449
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "colgroup", _descriptor69, this);
150450
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filterinfo", _descriptor70, this);
150451
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "loader", _descriptor71, this);
150452
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "align", _descriptor72, this);
150453
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "columnGrouping", _descriptor73, this);
150454
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "hiddenGroups", _descriptor74, this);
150455
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "isHideEmptySpace", _descriptor75, this);
150456
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "footer", _descriptor76, this);
150457
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tid", _descriptor77, this);
150740
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "path", _descriptor57, this);
150741
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "optional", _descriptor58, this);
150742
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "offsetBottom", _descriptor59, this);
150743
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "grayColumn", _descriptor60, this);
150744
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sidebar", _descriptor61, this);
150745
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "crossfit", _descriptor62, this);
150746
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "side", _descriptor63, this);
150747
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "rowmenu", _descriptor64, this);
150748
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "removebutton", _descriptor65, this);
150749
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sticky", _descriptor66, this);
150750
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "doNotCopyPaths", _descriptor67, this);
150751
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "rows", _descriptor68, this);
150752
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "header", _descriptor69, this);
150753
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "colgroup", _descriptor70, this);
150754
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "filterinfo", _descriptor71, this);
150755
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "loader", _descriptor72, this);
150756
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "align", _descriptor73, this);
150757
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "columnGrouping", _descriptor74, this);
150758
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "hiddenGroups", _descriptor75, this);
150759
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "isHideEmptySpace", _descriptor76, this);
150760
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "footer", _descriptor77, this);
150761
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tid", _descriptor78, this);
150458
150762
  }
150459
150763
  getOwnPath() {
150460
150764
  return this.path != undefined ? (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_8__.createFromMask)(this.path, "auto", _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_8__.PathTokens.each) : undefined;
@@ -150477,112 +150781,112 @@ let CrossfitTableNode = (_dec64 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORT
150477
150781
  var _this$sticky;
150478
150782
  return (_this$sticky = this.sticky) !== null && _this$sticky !== void 0 ? _this$sticky : true;
150479
150783
  }
150480
- }, _descriptor56 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "path", [_dec65], {
150784
+ }, _descriptor57 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "path", [_dec66], {
150481
150785
  configurable: true,
150482
150786
  enumerable: true,
150483
150787
  writable: true,
150484
150788
  initializer: null
150485
- }), _descriptor57 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "optional", [_dec66], {
150789
+ }), _descriptor58 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "optional", [_dec67], {
150486
150790
  configurable: true,
150487
150791
  enumerable: true,
150488
150792
  writable: true,
150489
150793
  initializer: null
150490
- }), _descriptor58 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "offsetBottom", [_dec67], {
150794
+ }), _descriptor59 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "offsetBottom", [_dec68], {
150491
150795
  configurable: true,
150492
150796
  enumerable: true,
150493
150797
  writable: true,
150494
150798
  initializer: null
150495
- }), _descriptor59 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "grayColumn", [_dec68], {
150799
+ }), _descriptor60 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "grayColumn", [_dec69], {
150496
150800
  configurable: true,
150497
150801
  enumerable: true,
150498
150802
  writable: true,
150499
150803
  initializer: null
150500
- }), _descriptor60 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "sidebar", [_dec69], {
150804
+ }), _descriptor61 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "sidebar", [_dec70], {
150501
150805
  configurable: true,
150502
150806
  enumerable: true,
150503
150807
  writable: true,
150504
150808
  initializer: null
150505
- }), _descriptor61 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "crossfit", [_dec70], {
150809
+ }), _descriptor62 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "crossfit", [_dec71], {
150506
150810
  configurable: true,
150507
150811
  enumerable: true,
150508
150812
  writable: true,
150509
150813
  initializer: null
150510
- }), _descriptor62 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "side", [_dec71], {
150814
+ }), _descriptor63 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "side", [_dec72], {
150511
150815
  configurable: true,
150512
150816
  enumerable: true,
150513
150817
  writable: true,
150514
150818
  initializer: null
150515
- }), _descriptor63 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "rowmenu", [_dec72], {
150819
+ }), _descriptor64 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "rowmenu", [_dec73], {
150516
150820
  configurable: true,
150517
150821
  enumerable: true,
150518
150822
  writable: true,
150519
150823
  initializer: null
150520
- }), _descriptor64 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "removebutton", [_dec73], {
150824
+ }), _descriptor65 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "removebutton", [_dec74], {
150521
150825
  configurable: true,
150522
150826
  enumerable: true,
150523
150827
  writable: true,
150524
150828
  initializer: null
150525
- }), _descriptor65 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "sticky", [_dec74], {
150829
+ }), _descriptor66 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "sticky", [_dec75], {
150526
150830
  configurable: true,
150527
150831
  enumerable: true,
150528
150832
  writable: true,
150529
150833
  initializer: null
150530
- }), _descriptor66 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "doNotCopyPaths", [_dec75], {
150834
+ }), _descriptor67 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "doNotCopyPaths", [_dec76], {
150531
150835
  configurable: true,
150532
150836
  enumerable: true,
150533
150837
  writable: true,
150534
150838
  initializer: null
150535
- }), _descriptor67 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "rows", [_dec76], {
150839
+ }), _descriptor68 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "rows", [_dec77], {
150536
150840
  configurable: true,
150537
150841
  enumerable: true,
150538
150842
  writable: true,
150539
150843
  initializer: null
150540
- }), _descriptor68 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "header", [_dec77], {
150844
+ }), _descriptor69 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "header", [_dec78], {
150541
150845
  configurable: true,
150542
150846
  enumerable: true,
150543
150847
  writable: true,
150544
150848
  initializer: null
150545
- }), _descriptor69 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "colgroup", [_dec78], {
150849
+ }), _descriptor70 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "colgroup", [_dec79], {
150546
150850
  configurable: true,
150547
150851
  enumerable: true,
150548
150852
  writable: true,
150549
150853
  initializer: null
150550
- }), _descriptor70 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "filterinfo", [_dec79], {
150854
+ }), _descriptor71 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "filterinfo", [_dec80], {
150551
150855
  configurable: true,
150552
150856
  enumerable: true,
150553
150857
  writable: true,
150554
150858
  initializer: null
150555
- }), _descriptor71 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "loader", [_dec80], {
150859
+ }), _descriptor72 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "loader", [_dec81], {
150556
150860
  configurable: true,
150557
150861
  enumerable: true,
150558
150862
  writable: true,
150559
150863
  initializer: null
150560
- }), _descriptor72 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "align", [_dec81], {
150864
+ }), _descriptor73 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "align", [_dec82], {
150561
150865
  configurable: true,
150562
150866
  enumerable: true,
150563
150867
  writable: true,
150564
150868
  initializer: null
150565
- }), _descriptor73 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "columnGrouping", [_dec82], {
150869
+ }), _descriptor74 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "columnGrouping", [_dec83], {
150566
150870
  configurable: true,
150567
150871
  enumerable: true,
150568
150872
  writable: true,
150569
150873
  initializer: null
150570
- }), _descriptor74 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "hiddenGroups", [_dec83], {
150874
+ }), _descriptor75 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "hiddenGroups", [_dec84], {
150571
150875
  configurable: true,
150572
150876
  enumerable: true,
150573
150877
  writable: true,
150574
150878
  initializer: null
150575
- }), _descriptor75 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "isHideEmptySpace", [_dec84], {
150879
+ }), _descriptor76 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "isHideEmptySpace", [_dec85], {
150576
150880
  configurable: true,
150577
150881
  enumerable: true,
150578
150882
  writable: true,
150579
150883
  initializer: null
150580
- }), _descriptor76 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "footer", [_dec85], {
150884
+ }), _descriptor77 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "footer", [_dec86], {
150581
150885
  configurable: true,
150582
150886
  enumerable: true,
150583
150887
  writable: true,
150584
150888
  initializer: null
150585
- }), _descriptor77 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "tid", [_dec86], {
150889
+ }), _descriptor78 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "tid", [_dec87], {
150586
150890
  configurable: true,
150587
150891
  enumerable: true,
150588
150892
  writable: true,
@@ -152091,7 +152395,7 @@ __webpack_require__.r(__webpack_exports__);
152091
152395
 
152092
152396
 
152093
152397
 
152094
- var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _dec21, _dec22, _dec23, _class3, _class4, _descriptor20, _descriptor21, _dec24, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _dec38, _dec39, _dec40, _dec41, _dec42, _dec43, _dec44, _dec45, _dec46, _dec47, _dec48, _dec49, _dec50, _dec51, _class5, _class6, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _descriptor39, _descriptor40, _descriptor41, _descriptor42, _descriptor43, _descriptor44, _descriptor45, _descriptor46, _descriptor47, _descriptor48, _dec52, _dec53, _dec54, _dec55, _dec56, _dec57, _dec58, _class7, _class8, _descriptor49, _descriptor50, _descriptor51, _descriptor52, _descriptor53, _descriptor54, _dec59, _dec60, _dec61, _class9, _class10, _descriptor55, _descriptor56, _dec62, _dec63, _dec64, _class11, _class12, _descriptor57, _descriptor58, _dec65, _dec66, _dec67, _class13, _class14, _descriptor59, _descriptor60, _dec68, _dec69, _class15, _class16, _descriptor61, _dec70, _dec71, _dec72, _dec73, _dec74, _dec75, _dec76, _dec77, _dec78, _dec79, _dec80, _dec81, _dec82, _dec83, _dec84, _dec85, _dec86, _dec87, _class17, _class18, _descriptor62, _descriptor63, _descriptor64, _descriptor65, _descriptor66, _descriptor67, _descriptor68, _descriptor69, _descriptor70, _descriptor71, _descriptor72, _descriptor73, _descriptor74, _descriptor75, _descriptor76, _descriptor77, _descriptor78;
152398
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _dec21, _dec22, _dec23, _class3, _class4, _descriptor20, _descriptor21, _dec24, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _dec38, _dec39, _dec40, _dec41, _dec42, _dec43, _dec44, _dec45, _dec46, _dec47, _dec48, _dec49, _dec50, _dec51, _dec52, _class5, _class6, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _descriptor39, _descriptor40, _descriptor41, _descriptor42, _descriptor43, _descriptor44, _descriptor45, _descriptor46, _descriptor47, _descriptor48, _descriptor49, _dec53, _dec54, _dec55, _dec56, _dec57, _dec58, _dec59, _class7, _class8, _descriptor50, _descriptor51, _descriptor52, _descriptor53, _descriptor54, _descriptor55, _dec60, _dec61, _dec62, _class9, _class10, _descriptor56, _descriptor57, _dec63, _dec64, _dec65, _class11, _class12, _descriptor58, _descriptor59, _dec66, _dec67, _dec68, _class13, _class14, _descriptor60, _descriptor61, _dec69, _dec70, _class15, _class16, _descriptor62, _dec71, _dec72, _dec73, _dec74, _dec75, _dec76, _dec77, _dec78, _dec79, _dec80, _dec81, _dec82, _dec83, _dec84, _dec85, _dec86, _dec87, _dec88, _class17, _class18, _descriptor63, _descriptor64, _descriptor65, _descriptor66, _descriptor67, _descriptor68, _descriptor69, _descriptor70, _descriptor71, _descriptor72, _descriptor73, _descriptor74, _descriptor75, _descriptor76, _descriptor77, _descriptor78, _descriptor79;
152095
152399
 
152096
152400
 
152097
152401
 
@@ -152243,7 +152547,7 @@ let StickyTableMultilineRowNode = (_dec21 = (0,_Serializer_SugarSerializer__WEBP
152243
152547
  initializer: null
152244
152548
  }), _class4)) || _class3);
152245
152549
  let StickyTableMultilineNode = (_dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.sugarNode)("multiline", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$")), _dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.bindingPath, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_8__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_8__.bindingPathLink)} данного элемента. Опционально, если не указан, то будет оторажаться текст заданный внутри данного элемента`), _dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("maxOccurs", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.javascriptExpression, `Масмальное возможное количество элементов в заданном множественном элементе. Может быть ${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_8__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_8__.javaScriptExpressionLink)}.`), _dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("filteredUniqKey", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, `Уникальный ключ фильтрации multiline, используется, для фильтраций одних и тех же путей иннера
152246
- разными фильтрами. Задается произвольной строкой. Фильтры с одинаковым ключем фильтрации получают одинаковый результат фильтрации`), _dec28 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, ``), _dec29 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("defaultChildren", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.arrayLiteral(), `Добавляет чилдренов по дефолту. Принимает массив строк, например: ['0', '1', '2']`), _dec30 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("removebutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, `\"false\" - крестики не рисовать`), _dec31 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("rowmenu", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, ``), _dec32 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("debounceDisable", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, `Позволяет управлять задержкой до рендеринга`), _dec33 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.deprecatedAttr)("className", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_4__.DeprecationReason.Removed), _dec34 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.deprecatedAttr)("customProperty", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_4__.DeprecationReason.UntypedUsage), _dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.deprecatedAttr)("addButtonText", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_4__.DeprecationReason.InvalidUsage), _dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.deprecatedAttr)("offsetLeft", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_4__.DeprecationReason.InvalidUsage), _dec37 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.deprecatedAttr)("offsetTop", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_4__.DeprecationReason.InvalidUsage), _dec38 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("focusByHotkey", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, `Если добавишь больше 90 строк, то пейджер сворачивается и по focusByHotkey можно сфокусироваться`), _dec39 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.children)("row", [StickyTableMultilineRowNode]), _dec40 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("addbutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.localizedString, `\"false\" - не нужна кнопка для добавления множественного блока`), _dec41 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("doNotCopyPaths", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.stringArray, ``), _dec42 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("addType", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.localizedString, ``), _dec43 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("usepager", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, `\"false\" - без пейджера (1-11, 12-22 - этого нет внизу страницы)`), _dec44 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("instancesPerPage", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.number.default(10), "Максимальное кол-во элементов на странице пейджинга"), _dec45 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("show-row-border", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, `Добавляет разделитель между строк`), _dec46 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("override", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.customControl, ``), _dec47 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("storeFilters", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, `Будут ли сохраняться фильтры для этого мультилайна между обнолениями страницы. По умолчанию -- нет`), _dec48 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("disableScroll", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, `Возможность отключить скролл в мультилайне`), _dec49 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("defaultFilter", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.objectLiteral(), `Дает возможность изначально фильтровать мультилайн, по определенному выражению`), _dec50 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("onRowClick", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.helperFunctionName, "Имя кастомной helpers функции, которая вызовется при клике по строке"), _dec51 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("dynamicHeight", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean.default(false), "В режиме пейджинга высота таблицы будет подстраиваться под кол-во строк"), _dec24(_class5 = (_class6 = class StickyTableMultilineNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_6__.SugarNodeWithLegacyVisibility {
152550
+ разными фильтрами. Задается произвольной строкой. Фильтры с одинаковым ключем фильтрации получают одинаковый результат фильтрации`), _dec28 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, ``), _dec29 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("defaultChildren", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.arrayLiteral(), `Добавляет чилдренов по дефолту. Принимает массив строк, например: ['0', '1', '2']`), _dec30 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("removebutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, `\"false\" - крестики не рисовать`), _dec31 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("rowmenu", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, ``), _dec32 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("debounceDisable", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, `Позволяет управлять задержкой до рендеринга`), _dec33 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.deprecatedAttr)("className", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_4__.DeprecationReason.Removed), _dec34 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.deprecatedAttr)("customProperty", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_4__.DeprecationReason.UntypedUsage), _dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.deprecatedAttr)("addButtonText", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_4__.DeprecationReason.InvalidUsage), _dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.deprecatedAttr)("offsetLeft", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_4__.DeprecationReason.InvalidUsage), _dec37 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.deprecatedAttr)("offsetTop", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_4__.DeprecationReason.InvalidUsage), _dec38 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("focusByHotkey", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, `Если добавишь больше 90 строк, то пейджер сворачивается и по focusByHotkey можно сфокусироваться`), _dec39 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.children)("row", [StickyTableMultilineRowNode]), _dec40 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("addbutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.localizedString, `\"false\" - не нужна кнопка для добавления множественного блока`), _dec41 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("onAddButtonClick", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.helperFunctionName, `Название хелпер-функции, которая будет выполняться при клике на кнопку добавления инстанса вместо стандартного действия`), _dec42 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("doNotCopyPaths", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.stringArray, ``), _dec43 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("addType", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.localizedString, ``), _dec44 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("usepager", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, `\"false\" - без пейджера (1-11, 12-22 - этого нет внизу страницы)`), _dec45 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("instancesPerPage", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.number.default(10), "Максимальное кол-во элементов на странице пейджинга"), _dec46 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("show-row-border", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, `Добавляет разделитель между строк`), _dec47 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("override", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.customControl, ``), _dec48 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("storeFilters", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, `Будут ли сохраняться фильтры для этого мультилайна между обнолениями страницы. По умолчанию -- нет`), _dec49 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("disableScroll", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, `Возможность отключить скролл в мультилайне`), _dec50 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("defaultFilter", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.objectLiteral(), `Дает возможность изначально фильтровать мультилайн, по определенному выражению`), _dec51 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("onRowClick", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.helperFunctionName, "Имя кастомной helpers функции, которая вызовется при клике по строке"), _dec52 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("dynamicHeight", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean.default(false), "В режиме пейджинга высота таблицы будет подстраиваться под кол-во строк"), _dec24(_class5 = (_class6 = class StickyTableMultilineNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_6__.SugarNodeWithLegacyVisibility {
152247
152551
  constructor(...args) {
152248
152552
  super(...args);
152249
152553
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "path", _descriptor22, this);
@@ -152262,17 +152566,18 @@ let StickyTableMultilineNode = (_dec24 = (0,_Serializer_SugarSerializer__WEBPACK
152262
152566
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "focusByHotkey", _descriptor35, this);
152263
152567
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "rows", _descriptor36, this);
152264
152568
  _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "addbutton", _descriptor37, this);
152265
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "doNotCopyPaths", _descriptor38, this);
152266
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "addType", _descriptor39, this);
152267
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "usepager", _descriptor40, this);
152268
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "instancesPerPage", _descriptor41, this);
152269
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "showRowBorder", _descriptor42, this);
152270
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "override", _descriptor43, this);
152271
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "storeFilters", _descriptor44, this);
152272
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "disableScroll", _descriptor45, this);
152273
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "defaultFilter", _descriptor46, this);
152274
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "onRowClick", _descriptor47, this);
152275
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dynamicHeight", _descriptor48, this);
152569
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "onAddButtonClick", _descriptor38, this);
152570
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "doNotCopyPaths", _descriptor39, this);
152571
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "addType", _descriptor40, this);
152572
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "usepager", _descriptor41, this);
152573
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "instancesPerPage", _descriptor42, this);
152574
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "showRowBorder", _descriptor43, this);
152575
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "override", _descriptor44, this);
152576
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "storeFilters", _descriptor45, this);
152577
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "disableScroll", _descriptor46, this);
152578
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "defaultFilter", _descriptor47, this);
152579
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "onRowClick", _descriptor48, this);
152580
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dynamicHeight", _descriptor49, this);
152276
152581
  }
152277
152582
  getOwnPath() {
152278
152583
  return this.path != undefined ? (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_9__.createFromMask)(this.path, "auto", _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_9__.PathTokens.each) : undefined;
@@ -152360,128 +152665,133 @@ let StickyTableMultilineNode = (_dec24 = (0,_Serializer_SugarSerializer__WEBPACK
152360
152665
  enumerable: true,
152361
152666
  writable: true,
152362
152667
  initializer: null
152363
- }), _descriptor38 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "doNotCopyPaths", [_dec41], {
152668
+ }), _descriptor38 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "onAddButtonClick", [_dec41], {
152364
152669
  configurable: true,
152365
152670
  enumerable: true,
152366
152671
  writable: true,
152367
152672
  initializer: null
152368
- }), _descriptor39 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "addType", [_dec42], {
152673
+ }), _descriptor39 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "doNotCopyPaths", [_dec42], {
152369
152674
  configurable: true,
152370
152675
  enumerable: true,
152371
152676
  writable: true,
152372
152677
  initializer: null
152373
- }), _descriptor40 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "usepager", [_dec43], {
152678
+ }), _descriptor40 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "addType", [_dec43], {
152374
152679
  configurable: true,
152375
152680
  enumerable: true,
152376
152681
  writable: true,
152377
152682
  initializer: null
152378
- }), _descriptor41 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "instancesPerPage", [_dec44], {
152683
+ }), _descriptor41 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "usepager", [_dec44], {
152379
152684
  configurable: true,
152380
152685
  enumerable: true,
152381
152686
  writable: true,
152382
152687
  initializer: null
152383
- }), _descriptor42 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "showRowBorder", [_dec45], {
152688
+ }), _descriptor42 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "instancesPerPage", [_dec45], {
152384
152689
  configurable: true,
152385
152690
  enumerable: true,
152386
152691
  writable: true,
152387
152692
  initializer: null
152388
- }), _descriptor43 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "override", [_dec46], {
152693
+ }), _descriptor43 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "showRowBorder", [_dec46], {
152389
152694
  configurable: true,
152390
152695
  enumerable: true,
152391
152696
  writable: true,
152392
152697
  initializer: null
152393
- }), _descriptor44 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "storeFilters", [_dec47], {
152698
+ }), _descriptor44 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "override", [_dec47], {
152394
152699
  configurable: true,
152395
152700
  enumerable: true,
152396
152701
  writable: true,
152397
152702
  initializer: null
152398
- }), _descriptor45 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "disableScroll", [_dec48], {
152703
+ }), _descriptor45 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "storeFilters", [_dec48], {
152399
152704
  configurable: true,
152400
152705
  enumerable: true,
152401
152706
  writable: true,
152402
152707
  initializer: null
152403
- }), _descriptor46 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "defaultFilter", [_dec49], {
152708
+ }), _descriptor46 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "disableScroll", [_dec49], {
152404
152709
  configurable: true,
152405
152710
  enumerable: true,
152406
152711
  writable: true,
152407
152712
  initializer: null
152408
- }), _descriptor47 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "onRowClick", [_dec50], {
152713
+ }), _descriptor47 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "defaultFilter", [_dec50], {
152409
152714
  configurable: true,
152410
152715
  enumerable: true,
152411
152716
  writable: true,
152412
152717
  initializer: null
152413
- }), _descriptor48 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "dynamicHeight", [_dec51], {
152718
+ }), _descriptor48 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "onRowClick", [_dec51], {
152719
+ configurable: true,
152720
+ enumerable: true,
152721
+ writable: true,
152722
+ initializer: null
152723
+ }), _descriptor49 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "dynamicHeight", [_dec52], {
152414
152724
  configurable: true,
152415
152725
  enumerable: true,
152416
152726
  writable: true,
152417
152727
  initializer: null
152418
152728
  }), _class6)) || _class5);
152419
- let StickyTableRowNode = (_dec52 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.sugarNode)("row", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$")), _dec53 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataBindingScopeMixinNode), _dec54 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, ``), _dec55 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("kind", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.enum("head"), `Шапка таблицы`), _dec56 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("subkind", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.enum("numbers"), `Строка с нумерацией столбцов`), _dec57 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.children)(["column", "multiline"], [StickyTableColumnNode, StickyTableMultilineNode]), _dec58 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("borderBottom", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, `Серая черта под строкой`), _dec52(_class7 = (_class8 = class StickyTableRowNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.SugarNodeBase {
152729
+ let StickyTableRowNode = (_dec53 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.sugarNode)("row", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$")), _dec54 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_3__.DataBindingScopeMixinNode), _dec55 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, ``), _dec56 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("kind", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.enum("head"), `Шапка таблицы`), _dec57 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("subkind", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.enum("numbers"), `Строка с нумерацией столбцов`), _dec58 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.children)(["column", "multiline"], [StickyTableColumnNode, StickyTableMultilineNode]), _dec59 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("borderBottom", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, `Серая черта под строкой`), _dec53(_class7 = (_class8 = class StickyTableRowNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.SugarNodeBase {
152420
152730
  constructor(...args) {
152421
152731
  super(...args);
152422
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataScope", _descriptor49, this);
152423
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "optional", _descriptor50, this);
152424
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "kind", _descriptor51, this);
152425
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "subkind", _descriptor52, this);
152426
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "columns", _descriptor53, this);
152427
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "borderBottom", _descriptor54, this);
152732
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataScope", _descriptor50, this);
152733
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "optional", _descriptor51, this);
152734
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "kind", _descriptor52, this);
152735
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "subkind", _descriptor53, this);
152736
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "columns", _descriptor54, this);
152737
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "borderBottom", _descriptor55, this);
152428
152738
  }
152429
152739
  getOwnPath() {
152430
152740
  return this.dataScope.getOwnPath();
152431
152741
  }
152432
- }, _descriptor49 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class8.prototype, "dataScope", [_dec53], {
152742
+ }, _descriptor50 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class8.prototype, "dataScope", [_dec54], {
152433
152743
  configurable: true,
152434
152744
  enumerable: true,
152435
152745
  writable: true,
152436
152746
  initializer: null
152437
- }), _descriptor50 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class8.prototype, "optional", [_dec54], {
152747
+ }), _descriptor51 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class8.prototype, "optional", [_dec55], {
152438
152748
  configurable: true,
152439
152749
  enumerable: true,
152440
152750
  writable: true,
152441
152751
  initializer: null
152442
- }), _descriptor51 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class8.prototype, "kind", [_dec55], {
152752
+ }), _descriptor52 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class8.prototype, "kind", [_dec56], {
152443
152753
  configurable: true,
152444
152754
  enumerable: true,
152445
152755
  writable: true,
152446
152756
  initializer: null
152447
- }), _descriptor52 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class8.prototype, "subkind", [_dec56], {
152757
+ }), _descriptor53 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class8.prototype, "subkind", [_dec57], {
152448
152758
  configurable: true,
152449
152759
  enumerable: true,
152450
152760
  writable: true,
152451
152761
  initializer: null
152452
- }), _descriptor53 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class8.prototype, "columns", [_dec57], {
152762
+ }), _descriptor54 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class8.prototype, "columns", [_dec58], {
152453
152763
  configurable: true,
152454
152764
  enumerable: true,
152455
152765
  writable: true,
152456
152766
  initializer: null
152457
- }), _descriptor54 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class8.prototype, "borderBottom", [_dec58], {
152767
+ }), _descriptor55 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class8.prototype, "borderBottom", [_dec59], {
152458
152768
  configurable: true,
152459
152769
  enumerable: true,
152460
152770
  writable: true,
152461
152771
  initializer: null
152462
152772
  }), _class8)) || _class7);
152463
- let StickyTableHeaderNode = (_dec59 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.sugarNode)("header", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$")), _dec60 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.enum("right"), ``), _dec61 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.children)(), _dec59(_class9 = (_class10 = class StickyTableHeaderNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.SugarNodeBase {
152773
+ let StickyTableHeaderNode = (_dec60 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.sugarNode)("header", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$")), _dec61 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.enum("right"), ``), _dec62 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.children)(), _dec60(_class9 = (_class10 = class StickyTableHeaderNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.SugarNodeBase {
152464
152774
  constructor(...args) {
152465
152775
  super(...args);
152466
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "align", _descriptor55, this);
152467
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor56, this);
152776
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "align", _descriptor56, this);
152777
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor57, this);
152468
152778
  }
152469
- }, _descriptor55 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class10.prototype, "align", [_dec60], {
152779
+ }, _descriptor56 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class10.prototype, "align", [_dec61], {
152470
152780
  configurable: true,
152471
152781
  enumerable: true,
152472
152782
  writable: true,
152473
152783
  initializer: null
152474
- }), _descriptor56 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class10.prototype, "children", [_dec61], {
152784
+ }), _descriptor57 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class10.prototype, "children", [_dec62], {
152475
152785
  configurable: true,
152476
152786
  enumerable: true,
152477
152787
  writable: true,
152478
152788
  initializer: null
152479
152789
  }), _class10)) || _class9);
152480
- let StickyTableFooterNode = (_dec62 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.sugarNode)("footer", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$")), _dec63 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.children)(["row"], [StickyTableRowNode]), _dec64 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.children)("column", [StickyTableColumnNode]), _dec62(_class11 = (_class12 = class StickyTableFooterNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.SugarNodeBase {
152790
+ let StickyTableFooterNode = (_dec63 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.sugarNode)("footer", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$")), _dec64 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.children)(["row"], [StickyTableRowNode]), _dec65 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.children)("column", [StickyTableColumnNode]), _dec63(_class11 = (_class12 = class StickyTableFooterNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.SugarNodeBase {
152481
152791
  constructor(...args) {
152482
152792
  super(...args);
152483
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "rows", _descriptor57, this);
152484
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "columns", _descriptor58, this);
152793
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "rows", _descriptor58, this);
152794
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "columns", _descriptor59, this);
152485
152795
  }
152486
152796
  getColumnLists() {
152487
152797
  const footerColumnsLists = this.rows.map(x => x.columns.filter((0,_Serializer_SugarNodeUtils__WEBPACK_IMPORTED_MODULE_5__.ofTypeStrict)(StickyTableColumnNode)));
@@ -152490,65 +152800,65 @@ let StickyTableFooterNode = (_dec62 = (0,_Serializer_SugarSerializer__WEBPACK_IM
152490
152800
  }
152491
152801
  return footerColumnsLists;
152492
152802
  }
152493
- }, _descriptor57 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class12.prototype, "rows", [_dec63], {
152803
+ }, _descriptor58 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class12.prototype, "rows", [_dec64], {
152494
152804
  configurable: true,
152495
152805
  enumerable: true,
152496
152806
  writable: true,
152497
152807
  initializer: null
152498
- }), _descriptor58 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class12.prototype, "columns", [_dec64], {
152808
+ }), _descriptor59 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class12.prototype, "columns", [_dec65], {
152499
152809
  configurable: true,
152500
152810
  enumerable: true,
152501
152811
  writable: true,
152502
152812
  initializer: null
152503
152813
  }), _class12)) || _class11);
152504
- let StickyTableColgroupColumnNode = (_dec65 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.sugarNode)("col", ``), _dec66 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.lengthUnit, ``), _dec67 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("condition", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.javascriptExpression, "Условие, при котором колонка отображается. Можно использовать функции: path, count."), _dec65(_class13 = (_class14 = class StickyTableColgroupColumnNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.SugarNodeBase {
152814
+ let StickyTableColgroupColumnNode = (_dec66 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.sugarNode)("col", ``), _dec67 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.lengthUnit, ``), _dec68 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("condition", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.javascriptExpression, "Условие, при котором колонка отображается. Можно использовать функции: path, count."), _dec66(_class13 = (_class14 = class StickyTableColgroupColumnNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.SugarNodeBase {
152505
152815
  constructor(...args) {
152506
152816
  super(...args);
152507
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor59, this);
152508
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "condition", _descriptor60, this);
152817
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor60, this);
152818
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "condition", _descriptor61, this);
152509
152819
  }
152510
- }, _descriptor59 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class14.prototype, "width", [_dec66], {
152820
+ }, _descriptor60 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class14.prototype, "width", [_dec67], {
152511
152821
  configurable: true,
152512
152822
  enumerable: true,
152513
152823
  writable: true,
152514
152824
  initializer: null
152515
- }), _descriptor60 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class14.prototype, "condition", [_dec67], {
152825
+ }), _descriptor61 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class14.prototype, "condition", [_dec68], {
152516
152826
  configurable: true,
152517
152827
  enumerable: true,
152518
152828
  writable: true,
152519
152829
  initializer: null
152520
152830
  }), _class14)) || _class13);
152521
- let StickyTableColgroupNode = (_dec68 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.sugarNode)("colgroup", ``), _dec69 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.children)("col", [StickyTableColgroupColumnNode]), _dec68(_class15 = (_class16 = class StickyTableColgroupNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.SugarNodeBase {
152831
+ let StickyTableColgroupNode = (_dec69 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.sugarNode)("colgroup", ``), _dec70 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.children)("col", [StickyTableColgroupColumnNode]), _dec69(_class15 = (_class16 = class StickyTableColgroupNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.SugarNodeBase {
152522
152832
  constructor(...args) {
152523
152833
  super(...args);
152524
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "cols", _descriptor61, this);
152834
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "cols", _descriptor62, this);
152525
152835
  }
152526
- }, _descriptor61 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class16.prototype, "cols", [_dec69], {
152836
+ }, _descriptor62 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class16.prototype, "cols", [_dec70], {
152527
152837
  configurable: true,
152528
152838
  enumerable: true,
152529
152839
  writable: true,
152530
152840
  initializer: null
152531
152841
  }), _class16)) || _class15);
152532
- let StickyTableNode = (_dec70 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.sugarNode)("table", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$"), x => x.boolAttr("sticky") || x.getFirstChild("multiline") != undefined, "sticky"), _dec71 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.bindingPath, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_8__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_8__.bindingPathLink)} данного элемента. Опционально, если не указан, то будет оторажаться текст заданный внутри данного элемента`), _dec72 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, ``), _dec73 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.enum("baseline", "top", "middle").default("baseline"), ``), _dec74 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("removebutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, `\"false\" - крестики не рисовать`), _dec75 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("sticky", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, ``), _dec76 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("stickyHeader", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, `Залипающая шапка`), _dec77 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("grayColumn", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.number, `Буквы во второй колонке серым цветом`), _dec78 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("side", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.number, `Сколько колонок слева должны залипать`), _dec79 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("className", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, ``), _dec80 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.singleChild)("colgroup", [StickyTableColgroupNode]), _dec81 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.children)(["row", "multiline"], [StickyTableRowNode, StickyTableMultilineNode]), _dec82 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.singleChild)("header", [StickyTableHeaderNode]), _dec83 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.singleChild)("footer", [StickyTableFooterNode]), _dec84 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("deprecated-diadoc-width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.number, ``), _dec85 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.number, `Ширина таблицы`), _dec86 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, "Возможность установки произвольных data-tid атрибутов, может пригодиться другим командам, или для идентификации элемента в тестах"), _dec87 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("columnGrouping", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, `Только вместе с crossfit="true". {"start": "4", "end": "5", "text": ["Испр. с-ф", "040 и 050" ]} - Устанавливает колонки в которых ячейки скрыты под карандаш. В text записываются текстовки, которыми будут заменены тексты в шапке. Если для этих ячеек rowspan > 1, то нужно добавить на каждую пустую строку "". { start: 4, end: 11, showText: "Свернуть столбцы 040-110", hideText: "Столбцы 040-110" } - Устанавливает колонки, которые можно скрывать кнопкой. showText и hideText устанавливаю тексты в подсказке при наведении.`), _dec70(_class17 = (_class18 = class StickyTableNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_6__.SugarNodeWithLegacyVisibility {
152842
+ let StickyTableNode = (_dec71 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.sugarNode)("table", ``, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/MultiControls/StickyTable sync recursive .md$"), x => x.boolAttr("sticky") || x.getFirstChild("multiline") != undefined, "sticky"), _dec72 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("path", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.bindingPath, `${(0,_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_8__.docLink)(_Commons_DocumentationLinks__WEBPACK_IMPORTED_MODULE_8__.bindingPathLink)} данного элемента. Опционально, если не указан, то будет оторажаться текст заданный внутри данного элемента`), _dec73 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("optional", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, ``), _dec74 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("align", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.enum("baseline", "top", "middle").default("baseline"), ``), _dec75 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("removebutton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, `\"false\" - крестики не рисовать`), _dec76 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("sticky", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, ``), _dec77 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("stickyHeader", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.boolean, `Залипающая шапка`), _dec78 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("grayColumn", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.number, `Буквы во второй колонке серым цветом`), _dec79 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("side", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.number, `Сколько колонок слева должны залипать`), _dec80 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("className", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, ``), _dec81 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.singleChild)("colgroup", [StickyTableColgroupNode]), _dec82 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.children)(["row", "multiline"], [StickyTableRowNode, StickyTableMultilineNode]), _dec83 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.singleChild)("header", [StickyTableHeaderNode]), _dec84 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.singleChild)("footer", [StickyTableFooterNode]), _dec85 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("deprecated-diadoc-width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.number, ``), _dec86 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.number, `Ширина таблицы`), _dec87 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("tid", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, "Возможность установки произвольных data-tid атрибутов, может пригодиться другим командам, или для идентификации элемента в тестах"), _dec88 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attr)("columnGrouping", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_7__.attrType.string, `Только вместе с crossfit="true". {"start": "4", "end": "5", "text": ["Испр. с-ф", "040 и 050" ]} - Устанавливает колонки в которых ячейки скрыты под карандаш. В text записываются текстовки, которыми будут заменены тексты в шапке. Если для этих ячеек rowspan > 1, то нужно добавить на каждую пустую строку "". { start: 4, end: 11, showText: "Свернуть столбцы 040-110", hideText: "Столбцы 040-110" } - Устанавливает колонки, которые можно скрывать кнопкой. showText и hideText устанавливаю тексты в подсказке при наведении.`), _dec71(_class17 = (_class18 = class StickyTableNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_6__.SugarNodeWithLegacyVisibility {
152533
152843
  constructor(...args) {
152534
152844
  super(...args);
152535
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "path", _descriptor62, this);
152536
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "optional", _descriptor63, this);
152537
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "align", _descriptor64, this);
152538
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "removeButton", _descriptor65, this);
152539
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sticky", _descriptor66, this);
152540
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "stickyHeader", _descriptor67, this);
152541
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "grayColumn", _descriptor68, this);
152542
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "side", _descriptor69, this);
152543
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "className", _descriptor70, this);
152544
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "colgroup", _descriptor71, this);
152545
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "rows", _descriptor72, this);
152546
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "header", _descriptor73, this);
152547
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "footer", _descriptor74, this);
152548
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "deprecatedDiadocWidth", _descriptor75, this);
152549
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor76, this);
152550
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tid", _descriptor77, this);
152551
- _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "columnGrouping", _descriptor78, this);
152845
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "path", _descriptor63, this);
152846
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "optional", _descriptor64, this);
152847
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "align", _descriptor65, this);
152848
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "removeButton", _descriptor66, this);
152849
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "sticky", _descriptor67, this);
152850
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "stickyHeader", _descriptor68, this);
152851
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "grayColumn", _descriptor69, this);
152852
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "side", _descriptor70, this);
152853
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "className", _descriptor71, this);
152854
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "colgroup", _descriptor72, this);
152855
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "rows", _descriptor73, this);
152856
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "header", _descriptor74, this);
152857
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "footer", _descriptor75, this);
152858
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "deprecatedDiadocWidth", _descriptor76, this);
152859
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor77, this);
152860
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "tid", _descriptor78, this);
152861
+ _babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "columnGrouping", _descriptor79, this);
152552
152862
  }
152553
152863
  getOwnPath() {
152554
152864
  return this.path != undefined ? (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_9__.createFromMask)(this.path, "auto", _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_9__.PathTokens.each) : undefined;
@@ -152556,87 +152866,87 @@ let StickyTableNode = (_dec70 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED
152556
152866
  getHeaderRows() {
152557
152867
  return this.rows.filter(isRowNode).filter(row => row.kind === "head");
152558
152868
  }
152559
- }, _descriptor62 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "path", [_dec71], {
152869
+ }, _descriptor63 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "path", [_dec72], {
152560
152870
  configurable: true,
152561
152871
  enumerable: true,
152562
152872
  writable: true,
152563
152873
  initializer: null
152564
- }), _descriptor63 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "optional", [_dec72], {
152874
+ }), _descriptor64 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "optional", [_dec73], {
152565
152875
  configurable: true,
152566
152876
  enumerable: true,
152567
152877
  writable: true,
152568
152878
  initializer: null
152569
- }), _descriptor64 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "align", [_dec73], {
152879
+ }), _descriptor65 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "align", [_dec74], {
152570
152880
  configurable: true,
152571
152881
  enumerable: true,
152572
152882
  writable: true,
152573
152883
  initializer: null
152574
- }), _descriptor65 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "removeButton", [_dec74], {
152884
+ }), _descriptor66 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "removeButton", [_dec75], {
152575
152885
  configurable: true,
152576
152886
  enumerable: true,
152577
152887
  writable: true,
152578
152888
  initializer: null
152579
- }), _descriptor66 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "sticky", [_dec75], {
152889
+ }), _descriptor67 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "sticky", [_dec76], {
152580
152890
  configurable: true,
152581
152891
  enumerable: true,
152582
152892
  writable: true,
152583
152893
  initializer: null
152584
- }), _descriptor67 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "stickyHeader", [_dec76], {
152894
+ }), _descriptor68 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "stickyHeader", [_dec77], {
152585
152895
  configurable: true,
152586
152896
  enumerable: true,
152587
152897
  writable: true,
152588
152898
  initializer: null
152589
- }), _descriptor68 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "grayColumn", [_dec77], {
152899
+ }), _descriptor69 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "grayColumn", [_dec78], {
152590
152900
  configurable: true,
152591
152901
  enumerable: true,
152592
152902
  writable: true,
152593
152903
  initializer: null
152594
- }), _descriptor69 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "side", [_dec78], {
152904
+ }), _descriptor70 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "side", [_dec79], {
152595
152905
  configurable: true,
152596
152906
  enumerable: true,
152597
152907
  writable: true,
152598
152908
  initializer: null
152599
- }), _descriptor70 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "className", [_dec79], {
152909
+ }), _descriptor71 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "className", [_dec80], {
152600
152910
  configurable: true,
152601
152911
  enumerable: true,
152602
152912
  writable: true,
152603
152913
  initializer: null
152604
- }), _descriptor71 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "colgroup", [_dec80], {
152914
+ }), _descriptor72 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "colgroup", [_dec81], {
152605
152915
  configurable: true,
152606
152916
  enumerable: true,
152607
152917
  writable: true,
152608
152918
  initializer: null
152609
- }), _descriptor72 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "rows", [_dec81], {
152919
+ }), _descriptor73 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "rows", [_dec82], {
152610
152920
  configurable: true,
152611
152921
  enumerable: true,
152612
152922
  writable: true,
152613
152923
  initializer: null
152614
- }), _descriptor73 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "header", [_dec82], {
152924
+ }), _descriptor74 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "header", [_dec83], {
152615
152925
  configurable: true,
152616
152926
  enumerable: true,
152617
152927
  writable: true,
152618
152928
  initializer: null
152619
- }), _descriptor74 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "footer", [_dec83], {
152929
+ }), _descriptor75 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "footer", [_dec84], {
152620
152930
  configurable: true,
152621
152931
  enumerable: true,
152622
152932
  writable: true,
152623
152933
  initializer: null
152624
- }), _descriptor75 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "deprecatedDiadocWidth", [_dec84], {
152934
+ }), _descriptor76 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "deprecatedDiadocWidth", [_dec85], {
152625
152935
  configurable: true,
152626
152936
  enumerable: true,
152627
152937
  writable: true,
152628
152938
  initializer: null
152629
- }), _descriptor76 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "width", [_dec85], {
152939
+ }), _descriptor77 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "width", [_dec86], {
152630
152940
  configurable: true,
152631
152941
  enumerable: true,
152632
152942
  writable: true,
152633
152943
  initializer: null
152634
- }), _descriptor77 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "tid", [_dec86], {
152944
+ }), _descriptor78 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "tid", [_dec87], {
152635
152945
  configurable: true,
152636
152946
  enumerable: true,
152637
152947
  writable: true,
152638
152948
  initializer: null
152639
- }), _descriptor78 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "columnGrouping", [_dec87], {
152949
+ }), _descriptor79 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class18.prototype, "columnGrouping", [_dec88], {
152640
152950
  configurable: true,
152641
152951
  enumerable: true,
152642
152952
  writable: true,
@@ -153162,6 +153472,9 @@ BindingPath: ${errorPath}`));
153162
153472
  mb.prop(x => x.isPager).set((_multiline$usepager = multiline.usepager) !== null && _multiline$usepager !== void 0 ? _multiline$usepager : true);
153163
153473
  mb.prop(x => x.isAddButton).set(multiline.addbutton !== "false");
153164
153474
  mb.prop(x => x.optional).set((_multiline$optional = multiline.optional) !== null && _multiline$optional !== void 0 ? _multiline$optional : false);
153475
+ if (multiline.onAddButtonClick) {
153476
+ mb.prop(x => x.onAddButtonClick).set(context.generateHelperFunctionExpression(multiline, "onAddButtonClick", multiline.onAddButtonClick));
153477
+ }
153165
153478
  }
153166
153479
  getMultiline(context, node, multiline, start, end = Infinity) {
153167
153480
  var _ref4, _node$removeButton, _multiline$rowmenu2, _ref5, _node$removeButton2, _context$popPathsCont2;
@@ -153191,6 +153504,9 @@ BindingPath: ${errorPath}`));
153191
153504
  mb.prop(x => x.removeButton).set(false);
153192
153505
  mb.prop(x => x.removeButtonPosition).set(undefined);
153193
153506
  }
153507
+ if (multiline.onAddButtonClick) {
153508
+ mb.prop(x => x.onAddButtonClick).set(context.generateHelperFunctionExpression(multiline, "onAddButtonClick", multiline.onAddButtonClick));
153509
+ }
153194
153510
  mb.prop(x => x.disableScroll).set(multiline.disableScroll ? multiline.disableScroll : needAddButton || ((_ref5 = (_node$removeButton2 = node.removeButton) !== null && _node$removeButton2 !== void 0 ? _node$removeButton2 : multiline.removebutton) !== null && _ref5 !== void 0 ? _ref5 : true) ? undefined : true);
153195
153511
  context.pushPathsContext();
153196
153512
  if ((0,_Common_TypingUtils__WEBPACK_IMPORTED_MODULE_3__.arrayHasLength)(multiline.rows, 1)) {
@@ -164240,7 +164556,7 @@ class KCLangCalculationsBuildContext {
164240
164556
  return undefined;
164241
164557
  }
164242
164558
  createCheck(targetPath, condition, message, checkType) {
164243
- const withBlocks = [new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_27__.WithBlock("description", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_8__.DescriptionText(message.replace(/\[/gi, "\\[").replace(/]/gi, "\\]"))), new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_27__.WithBlock("target", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_8__.DescriptionText((0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createRelativeFromTokens)(Iterator.from(targetPath.getPathParts()).filter(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.PathTokens.isSimpleToken).toArray()).toString()))];
164559
+ const withBlocks = [new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_27__.WithBlock("description", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_8__.DescriptionText(message)), new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_27__.WithBlock("target", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_8__.DescriptionText((0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createRelativeFromTokens)(Iterator.from(targetPath.getPathParts()).filter(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.PathTokens.isSimpleToken).toArray()).toString()))];
164244
164560
  if (checkType == "warning") {
164245
164561
  withBlocks.push(new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_27__.WithBlock("errorLevel", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_8__.DescriptionText("Warning")));
164246
164562
  }
@@ -164414,7 +164730,6 @@ class KCLangCalculationsBuildContext {
164414
164730
  break;
164415
164731
  default:
164416
164732
  throw new Error(`Unknown base type name: '${baseType}'`);
164417
- break;
164418
164733
  }
164419
164734
  }
164420
164735
  }
@@ -166167,8 +166482,8 @@ class SugarNodeConverterBase {
166167
166482
  }
166168
166483
  }
166169
166484
  continue;
166170
- // eslint-disable-next-line no-console
166171
- console.error(`Cannot process node of type ${(0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_13__.getNodeClass)(child).name}`);
166485
+ // Мб все-таки кидать ошибку?
166486
+ // console.error(`Cannot process node of type ${getNodeClass(child).name}`);
166172
166487
  // throw new SugarAttributeReadError(
166173
166488
  // `Cannot process node of type ${getNodeClass(child).name}`,
166174
166489
  // child.sourceXmlNode as SugarXmlNode,
@@ -167077,7 +167392,7 @@ function getSettings(sugarRoot, gfv, additionalSettings, formJsonSettings) {
167077
167392
  showErrorsCountInPanel: formJsonSettings === null || formJsonSettings === void 0 ? void 0 : formJsonSettings.showErrorsCountInPanel,
167078
167393
  inventoryAttachment: formJsonSettings === null || formJsonSettings === void 0 ? void 0 : formJsonSettings.inventoryAttachment
167079
167394
  };
167080
- return `export default ${JSON.stringify(settings, undefined, 2)}`;
167395
+ return `module.exports = ${JSON.stringify(settings, undefined, 2)}`;
167081
167396
  }
167082
167397
 
167083
167398
  /***/ }),