@symbo.ls/create 2.11.461 → 2.11.464
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/bundle/index.js +372 -405
- package/dist/cjs/initEmotion.js +2 -12
- package/package.json +6 -6
- package/src/initEmotion.js +1 -1
package/dist/cjs/bundle/index.js
CHANGED
|
@@ -1959,7 +1959,7 @@ var require_cjs2 = __commonJS({
|
|
|
1959
1959
|
mod
|
|
1960
1960
|
));
|
|
1961
1961
|
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
1962
|
-
var
|
|
1962
|
+
var require_cjs20 = __commonJS2({
|
|
1963
1963
|
"../../node_modules/@domql/globals/dist/cjs/index.js"(exports2, module22) {
|
|
1964
1964
|
"use strict";
|
|
1965
1965
|
var __defProp22 = Object.defineProperty;
|
|
@@ -5979,7 +5979,7 @@ var require_cjs2 = __commonJS({
|
|
|
5979
5979
|
FONT_FAMILY_TYPES: () => FONT_FAMILY_TYPES,
|
|
5980
5980
|
GRADIENT: () => GRADIENT2,
|
|
5981
5981
|
GRID: () => GRID,
|
|
5982
|
-
ICONS: () =>
|
|
5982
|
+
ICONS: () => ICONS2,
|
|
5983
5983
|
MEDIA: () => MEDIA2,
|
|
5984
5984
|
RESET: () => RESET,
|
|
5985
5985
|
SEMANTIC_ICONS: () => SEMANTIC_ICONS,
|
|
@@ -6137,7 +6137,7 @@ var require_cjs2 = __commonJS({
|
|
|
6137
6137
|
var isScalingUnit = (unit) => {
|
|
6138
6138
|
return unit === "em" || unit === "rem" || unit === "vw" || unit === "vh" || unit === "vmax" || unit === "vmin";
|
|
6139
6139
|
};
|
|
6140
|
-
var import_globals = __toESM2(
|
|
6140
|
+
var import_globals = __toESM2(require_cjs20(), 1);
|
|
6141
6141
|
var import_utils30 = __toESM2(require_cjs22(), 1);
|
|
6142
6142
|
var ENV3 = "development";
|
|
6143
6143
|
var colorStringToRgbaArray = (color) => {
|
|
@@ -6354,7 +6354,7 @@ var require_cjs2 = __commonJS({
|
|
|
6354
6354
|
FONT_FAMILY_TYPES: () => FONT_FAMILY_TYPES,
|
|
6355
6355
|
GRADIENT: () => GRADIENT2,
|
|
6356
6356
|
GRID: () => GRID,
|
|
6357
|
-
ICONS: () =>
|
|
6357
|
+
ICONS: () => ICONS2,
|
|
6358
6358
|
MEDIA: () => MEDIA2,
|
|
6359
6359
|
RESET: () => RESET,
|
|
6360
6360
|
SEMANTIC_ICONS: () => SEMANTIC_ICONS,
|
|
@@ -6446,7 +6446,7 @@ var require_cjs2 = __commonJS({
|
|
|
6446
6446
|
var GRADIENT2 = {};
|
|
6447
6447
|
var THEME2 = {};
|
|
6448
6448
|
var SHADOW = {};
|
|
6449
|
-
var
|
|
6449
|
+
var ICONS2 = {};
|
|
6450
6450
|
var SEMANTIC_ICONS = {};
|
|
6451
6451
|
var defaultProps3 = {
|
|
6452
6452
|
default: 150,
|
|
@@ -6822,10 +6822,11 @@ var require_cjs2 = __commonJS({
|
|
|
6822
6822
|
return sprite;
|
|
6823
6823
|
};
|
|
6824
6824
|
var parseRootAttributes = (htmlString) => {
|
|
6825
|
-
|
|
6826
|
-
|
|
6825
|
+
const val = htmlString.default || htmlString;
|
|
6826
|
+
if (!(0, import_utils62.isString)(val)) {
|
|
6827
|
+
return console.warn(`parseRootAttributes: ${val} is not a string`);
|
|
6827
6828
|
}
|
|
6828
|
-
const match3 =
|
|
6829
|
+
const match3 = val.match(/<svg\s+(.*?)>/);
|
|
6829
6830
|
if (!match3 || !match3[1]) {
|
|
6830
6831
|
return {};
|
|
6831
6832
|
}
|
|
@@ -7594,7 +7595,7 @@ var require_cjs2 = __commonJS({
|
|
|
7594
7595
|
lineHeight: TYPOGRAPHY22.lineHeight
|
|
7595
7596
|
});
|
|
7596
7597
|
};
|
|
7597
|
-
var import_globals2 = __toESM2(
|
|
7598
|
+
var import_globals2 = __toESM2(require_cjs20(), 1);
|
|
7598
7599
|
var DEF_OPTIONS = {
|
|
7599
7600
|
document: import_globals2.document
|
|
7600
7601
|
};
|
|
@@ -9371,7 +9372,7 @@ var require_cjs3 = __commonJS({
|
|
|
9371
9372
|
});
|
|
9372
9373
|
module22.exports = __toCommonJS22(cookie_exports);
|
|
9373
9374
|
var import_types = require_types4();
|
|
9374
|
-
var import_utils32 =
|
|
9375
|
+
var import_utils32 = require_cjs20();
|
|
9375
9376
|
var isMobile = (() => typeof navigator === "undefined" ? false : /Mobi/.test(navigator.userAgent))();
|
|
9376
9377
|
var setCookie = (cname, cvalue, exdays = 365) => {
|
|
9377
9378
|
if ((0, import_types.isUndefined)(import_utils32.document) || (0, import_types.isUndefined)(import_utils32.document.cookie))
|
|
@@ -9631,7 +9632,7 @@ var require_cjs3 = __commonJS({
|
|
|
9631
9632
|
setContentKey: () => setContentKey
|
|
9632
9633
|
});
|
|
9633
9634
|
module22.exports = __toCommonJS22(component_exports);
|
|
9634
|
-
var import__ =
|
|
9635
|
+
var import__ = require_cjs20();
|
|
9635
9636
|
var ENV3 = "development";
|
|
9636
9637
|
var checkIfKeyIsComponent2 = (key) => {
|
|
9637
9638
|
const isFirstKeyString = (0, import__.isString)(key);
|
|
@@ -9832,7 +9833,7 @@ var require_cjs3 = __commonJS({
|
|
|
9832
9833
|
};
|
|
9833
9834
|
}
|
|
9834
9835
|
});
|
|
9835
|
-
var
|
|
9836
|
+
var require_cjs20 = __commonJS2({
|
|
9836
9837
|
"../../../domql/packages/utils/dist/cjs/index.js"(exports2, module22) {
|
|
9837
9838
|
"use strict";
|
|
9838
9839
|
var __defProp22 = Object.defineProperty;
|
|
@@ -9890,7 +9891,7 @@ var require_cjs3 = __commonJS({
|
|
|
9890
9891
|
toggleFullscreen: () => toggleFullscreen
|
|
9891
9892
|
});
|
|
9892
9893
|
module2.exports = __toCommonJS2(src_exports2);
|
|
9893
|
-
var import_utils210 = __toESM2(
|
|
9894
|
+
var import_utils210 = __toESM2(require_cjs20(), 1);
|
|
9894
9895
|
var toggleFullscreen = async (el) => {
|
|
9895
9896
|
if (!document.fullscreenElement) {
|
|
9896
9897
|
try {
|
|
@@ -9902,7 +9903,7 @@ var require_cjs3 = __commonJS({
|
|
|
9902
9903
|
await document.exitFullscreen();
|
|
9903
9904
|
}
|
|
9904
9905
|
};
|
|
9905
|
-
var import_utils30 = __toESM2(
|
|
9906
|
+
var import_utils30 = __toESM2(require_cjs20(), 1);
|
|
9906
9907
|
var findClosestNumber = (number, arr) => {
|
|
9907
9908
|
return ((0, import_utils30.isArray)(arr) ? arr : Object.values(arr)).reduce((prev3, curr) => {
|
|
9908
9909
|
return Math.abs(curr - number) < Math.abs(prev3 - number) ? curr : prev3;
|
|
@@ -14466,7 +14467,7 @@ var init_Icon = __esm({
|
|
|
14466
14467
|
deps: { isString: import_utils15.isString, replaceLiteralsWithObjectFields: import_utils15.replaceLiteralsWithObjectFields },
|
|
14467
14468
|
props: (el, s, ctx) => {
|
|
14468
14469
|
const { props: props5, parent, deps } = el;
|
|
14469
|
-
const { ICONS, useIconSprite, verbose } = ctx && ctx.designSystem;
|
|
14470
|
+
const { ICONS: ICONS2, useIconSprite, verbose } = ctx && ctx.designSystem;
|
|
14470
14471
|
const { toCamelCase } = ctx && ctx.utils;
|
|
14471
14472
|
const iconName = getIconName(el, s);
|
|
14472
14473
|
const camelCase = toCamelCase(iconName);
|
|
@@ -14489,26 +14490,26 @@ var init_Icon = __esm({
|
|
|
14489
14490
|
activeIconName = deps.replaceLiteralsWithObjectFields(activeIconName, s);
|
|
14490
14491
|
}
|
|
14491
14492
|
let iconInContext;
|
|
14492
|
-
if (
|
|
14493
|
+
if (ICONS2[activeIconName])
|
|
14493
14494
|
iconInContext = activeIconName;
|
|
14494
|
-
if (
|
|
14495
|
+
if (ICONS2[camelCase])
|
|
14495
14496
|
iconInContext = camelCase;
|
|
14496
|
-
else if (
|
|
14497
|
+
else if (ICONS2[isArray4[0] + isArray4[1]])
|
|
14497
14498
|
iconInContext = isArray4[0] + isArray4[1];
|
|
14498
|
-
else if (
|
|
14499
|
+
else if (ICONS2[isArray4[0]])
|
|
14499
14500
|
iconInContext = isArray4[0];
|
|
14500
14501
|
else {
|
|
14501
14502
|
if (verbose)
|
|
14502
14503
|
el.warn("Can't find icon:", iconName, iconInContext);
|
|
14503
14504
|
}
|
|
14504
|
-
const iconFromLibrary =
|
|
14505
|
+
const iconFromLibrary = ICONS2[iconInContext];
|
|
14505
14506
|
const directSrc = parent && parent.props && parent.props.src || props5.src;
|
|
14506
14507
|
return {
|
|
14507
14508
|
width: "A",
|
|
14508
14509
|
height: "A",
|
|
14509
14510
|
display: "inline-block",
|
|
14510
14511
|
spriteId: useIconSprite && iconInContext,
|
|
14511
|
-
src: iconFromLibrary || directSrc ||
|
|
14512
|
+
src: iconFromLibrary || directSrc || ICONS2.noIcon,
|
|
14512
14513
|
style: { fill: "currentColor", "*": { fill: "currentColor" } }
|
|
14513
14514
|
};
|
|
14514
14515
|
},
|
|
@@ -21392,7 +21393,7 @@ var require_component3 = __commonJS({
|
|
|
21392
21393
|
newElem.define[k] = prop;
|
|
21393
21394
|
}
|
|
21394
21395
|
const isComponent = (0, import_utils30.checkIfKeyIsComponent)(k);
|
|
21395
|
-
const isRegistry = import_mixins.
|
|
21396
|
+
const isRegistry = import_mixins.REGISTRY[k];
|
|
21396
21397
|
if (isComponent || isRegistry) {
|
|
21397
21398
|
newElem[k] = prop;
|
|
21398
21399
|
} else {
|
|
@@ -21484,13 +21485,14 @@ var require_attr = __commonJS({
|
|
|
21484
21485
|
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
21485
21486
|
var attr_exports = {};
|
|
21486
21487
|
__export2(attr_exports, {
|
|
21488
|
+
attr: () => attr,
|
|
21487
21489
|
default: () => attr_default
|
|
21488
21490
|
});
|
|
21489
21491
|
module2.exports = __toCommonJS2(attr_exports);
|
|
21490
21492
|
var import_utils30 = require_cjs11();
|
|
21491
21493
|
var import_report = require_cjs5();
|
|
21492
21494
|
var import_utils210 = require_utils();
|
|
21493
|
-
var
|
|
21495
|
+
var attr = (params, element, node3) => {
|
|
21494
21496
|
const { __ref } = element;
|
|
21495
21497
|
const { __attr } = __ref;
|
|
21496
21498
|
if ((0, import_utils30.isNot)("object"))
|
|
@@ -21498,16 +21500,17 @@ var require_attr = __commonJS({
|
|
|
21498
21500
|
if (params) {
|
|
21499
21501
|
if (element.props.attr)
|
|
21500
21502
|
(0, import_utils210.deepMerge)(params, element.props.attr);
|
|
21501
|
-
for (const
|
|
21502
|
-
const val = (0, import_utils30.exec)(params[
|
|
21503
|
+
for (const attr2 in params) {
|
|
21504
|
+
const val = (0, import_utils30.exec)(params[attr2], element);
|
|
21503
21505
|
if (val !== false && !(0, import_utils30.isUndefined)(val) && !(0, import_utils30.isNull)(val) && node3.setAttribute)
|
|
21504
|
-
node3.setAttribute(
|
|
21506
|
+
node3.setAttribute(attr2, val);
|
|
21505
21507
|
else if (node3.removeAttribute)
|
|
21506
|
-
node3.removeAttribute(
|
|
21507
|
-
__attr[
|
|
21508
|
+
node3.removeAttribute(attr2);
|
|
21509
|
+
__attr[attr2] = val;
|
|
21508
21510
|
}
|
|
21509
21511
|
}
|
|
21510
21512
|
};
|
|
21513
|
+
var attr_default = attr;
|
|
21511
21514
|
}
|
|
21512
21515
|
});
|
|
21513
21516
|
|
|
@@ -21535,6 +21538,7 @@ var require_classList = __commonJS({
|
|
|
21535
21538
|
var classList_exports = {};
|
|
21536
21539
|
__export2(classList_exports, {
|
|
21537
21540
|
applyClassListOnNode: () => applyClassListOnNode2,
|
|
21541
|
+
applyClasslist: () => applyClasslist,
|
|
21538
21542
|
assignKeyAsClassname: () => assignKeyAsClassname,
|
|
21539
21543
|
classList: () => classList2,
|
|
21540
21544
|
classify: () => classify2,
|
|
@@ -21584,9 +21588,10 @@ var require_classList = __commonJS({
|
|
|
21584
21588
|
node3.classList = className;
|
|
21585
21589
|
return className;
|
|
21586
21590
|
};
|
|
21587
|
-
var
|
|
21591
|
+
var applyClasslist = (params, element, node3) => {
|
|
21588
21592
|
applyClassListOnNode2(params, element, node3);
|
|
21589
21593
|
};
|
|
21594
|
+
var classList_default = applyClasslist;
|
|
21590
21595
|
}
|
|
21591
21596
|
});
|
|
21592
21597
|
|
|
@@ -21613,10 +21618,12 @@ var require_options = __commonJS({
|
|
|
21613
21618
|
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
21614
21619
|
var options_exports = {};
|
|
21615
21620
|
__export2(options_exports, {
|
|
21621
|
+
OPTIONS: () => OPTIONS,
|
|
21616
21622
|
default: () => options_default2
|
|
21617
21623
|
});
|
|
21618
21624
|
module2.exports = __toCommonJS2(options_exports);
|
|
21619
|
-
var
|
|
21625
|
+
var OPTIONS = {};
|
|
21626
|
+
var options_default2 = OPTIONS;
|
|
21620
21627
|
}
|
|
21621
21628
|
});
|
|
21622
21629
|
|
|
@@ -21624,11 +21631,9 @@ var require_options = __commonJS({
|
|
|
21624
21631
|
var require_set = __commonJS({
|
|
21625
21632
|
"../../../domql/packages/element/dist/cjs/set.js"(exports, module2) {
|
|
21626
21633
|
"use strict";
|
|
21627
|
-
var __create2 = Object.create;
|
|
21628
21634
|
var __defProp2 = Object.defineProperty;
|
|
21629
21635
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
21630
21636
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
21631
|
-
var __getProtoOf2 = Object.getPrototypeOf;
|
|
21632
21637
|
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
|
|
21633
21638
|
var __export2 = (target, all) => {
|
|
21634
21639
|
for (var name in all)
|
|
@@ -21642,25 +21647,18 @@ var require_set = __commonJS({
|
|
|
21642
21647
|
}
|
|
21643
21648
|
return to;
|
|
21644
21649
|
};
|
|
21645
|
-
var __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
|
|
21646
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
21647
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
21648
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
21649
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21650
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", { value: mod, enumerable: true }) : target,
|
|
21651
|
-
mod
|
|
21652
|
-
));
|
|
21653
21650
|
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
21654
21651
|
var set_exports = {};
|
|
21655
21652
|
__export2(set_exports, {
|
|
21656
21653
|
default: () => set_default,
|
|
21657
21654
|
reset: () => reset,
|
|
21658
|
-
resetElement: () => resetElement
|
|
21655
|
+
resetElement: () => resetElement,
|
|
21656
|
+
set: () => set3
|
|
21659
21657
|
});
|
|
21660
21658
|
module2.exports = __toCommonJS2(set_exports);
|
|
21661
21659
|
var import_utils30 = require_cjs11();
|
|
21662
|
-
var
|
|
21663
|
-
var
|
|
21660
|
+
var import_options3 = require_options();
|
|
21661
|
+
var import_create = require_create5();
|
|
21664
21662
|
var import_mixins = require_mixins();
|
|
21665
21663
|
var import_content = require_content();
|
|
21666
21664
|
var import_event = require_cjs12();
|
|
@@ -21668,19 +21666,19 @@ var require_set = __commonJS({
|
|
|
21668
21666
|
if (!options.preventRemove)
|
|
21669
21667
|
(0, import_content.removeContent)(element, options);
|
|
21670
21668
|
const { __ref: ref } = element;
|
|
21671
|
-
(0, import_create.
|
|
21669
|
+
(0, import_create.create)(params, element, ref.contentElementKey || "content", {
|
|
21672
21670
|
ignoreChildExtend: true,
|
|
21673
21671
|
...import_mixins.registry.defaultOptions,
|
|
21674
|
-
...import_options3.
|
|
21672
|
+
...import_options3.OPTIONS.create,
|
|
21675
21673
|
...options
|
|
21676
21674
|
});
|
|
21677
21675
|
};
|
|
21678
21676
|
var reset = (options) => {
|
|
21679
21677
|
const element = void 0;
|
|
21680
|
-
(0, import_create.
|
|
21678
|
+
(0, import_create.create)(element, element.parent, void 0, {
|
|
21681
21679
|
ignoreChildExtend: true,
|
|
21682
21680
|
...import_mixins.registry.defaultOptions,
|
|
21683
|
-
...import_options3.
|
|
21681
|
+
...import_options3.OPTIONS.create,
|
|
21684
21682
|
...options
|
|
21685
21683
|
});
|
|
21686
21684
|
};
|
|
@@ -21730,11 +21728,9 @@ var require_set = __commonJS({
|
|
|
21730
21728
|
var require_content = __commonJS({
|
|
21731
21729
|
"../../../domql/packages/element/dist/cjs/mixins/content.js"(exports, module2) {
|
|
21732
21730
|
"use strict";
|
|
21733
|
-
var __create2 = Object.create;
|
|
21734
21731
|
var __defProp2 = Object.defineProperty;
|
|
21735
21732
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
21736
21733
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
21737
|
-
var __getProtoOf2 = Object.getPrototypeOf;
|
|
21738
21734
|
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
|
|
21739
21735
|
var __export2 = (target, all) => {
|
|
21740
21736
|
for (var name in all)
|
|
@@ -21748,14 +21744,6 @@ var require_content = __commonJS({
|
|
|
21748
21744
|
}
|
|
21749
21745
|
return to;
|
|
21750
21746
|
};
|
|
21751
|
-
var __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
|
|
21752
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
21753
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
21754
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
21755
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21756
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", { value: mod, enumerable: true }) : target,
|
|
21757
|
-
mod
|
|
21758
|
-
));
|
|
21759
21747
|
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
21760
21748
|
var content_exports = {};
|
|
21761
21749
|
__export2(content_exports, {
|
|
@@ -21766,7 +21754,7 @@ var require_content = __commonJS({
|
|
|
21766
21754
|
});
|
|
21767
21755
|
module2.exports = __toCommonJS2(content_exports);
|
|
21768
21756
|
var import_utils30 = require_cjs11();
|
|
21769
|
-
var import_set =
|
|
21757
|
+
var import_set = require_set();
|
|
21770
21758
|
var updateContent = function(params, options) {
|
|
21771
21759
|
const element = this;
|
|
21772
21760
|
const ref = element.__ref;
|
|
@@ -21808,7 +21796,7 @@ var require_content = __commonJS({
|
|
|
21808
21796
|
if (element[contentElementKey].update) {
|
|
21809
21797
|
element[contentElementKey].update({}, opts);
|
|
21810
21798
|
} else {
|
|
21811
|
-
import_set.
|
|
21799
|
+
import_set.set.call(element, param, opts);
|
|
21812
21800
|
}
|
|
21813
21801
|
}
|
|
21814
21802
|
};
|
|
@@ -21839,12 +21827,13 @@ var require_data = __commonJS({
|
|
|
21839
21827
|
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
21840
21828
|
var data_exports = {};
|
|
21841
21829
|
__export2(data_exports, {
|
|
21830
|
+
data: () => data,
|
|
21842
21831
|
default: () => data_default
|
|
21843
21832
|
});
|
|
21844
21833
|
module2.exports = __toCommonJS2(data_exports);
|
|
21845
21834
|
var import_utils30 = require_cjs11();
|
|
21846
21835
|
var import_report = require_cjs5();
|
|
21847
|
-
var
|
|
21836
|
+
var data = (params, element, node3) => {
|
|
21848
21837
|
if (params) {
|
|
21849
21838
|
if (element.props.data)
|
|
21850
21839
|
(0, import_utils30.deepMerge)(params, element.props.data);
|
|
@@ -21859,6 +21848,7 @@ var require_data = __commonJS({
|
|
|
21859
21848
|
}
|
|
21860
21849
|
}
|
|
21861
21850
|
};
|
|
21851
|
+
var data_default = data;
|
|
21862
21852
|
}
|
|
21863
21853
|
});
|
|
21864
21854
|
|
|
@@ -21885,11 +21875,12 @@ var require_html = __commonJS({
|
|
|
21885
21875
|
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
21886
21876
|
var html_exports = {};
|
|
21887
21877
|
__export2(html_exports, {
|
|
21888
|
-
default: () => html_default
|
|
21878
|
+
default: () => html_default,
|
|
21879
|
+
html: () => html
|
|
21889
21880
|
});
|
|
21890
21881
|
module2.exports = __toCommonJS2(html_exports);
|
|
21891
21882
|
var import_utils30 = require_cjs11();
|
|
21892
|
-
var
|
|
21883
|
+
var html = (param, element, node3) => {
|
|
21893
21884
|
var _a;
|
|
21894
21885
|
const prop = (0, import_utils30.exec)(param, element) || (0, import_utils30.exec)((_a = element == null ? void 0 : element.props) == null ? void 0 : _a.html, element);
|
|
21895
21886
|
const { __ref } = element;
|
|
@@ -21901,6 +21892,7 @@ var require_html = __commonJS({
|
|
|
21901
21892
|
__ref.__html = prop;
|
|
21902
21893
|
}
|
|
21903
21894
|
};
|
|
21895
|
+
var html_default = html;
|
|
21904
21896
|
}
|
|
21905
21897
|
});
|
|
21906
21898
|
|
|
@@ -21927,12 +21919,13 @@ var require_style = __commonJS({
|
|
|
21927
21919
|
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
21928
21920
|
var style_exports = {};
|
|
21929
21921
|
__export2(style_exports, {
|
|
21930
|
-
default: () => style_default
|
|
21922
|
+
default: () => style_default,
|
|
21923
|
+
style: () => style2
|
|
21931
21924
|
});
|
|
21932
21925
|
module2.exports = __toCommonJS2(style_exports);
|
|
21933
21926
|
var import_utils30 = require_cjs11();
|
|
21934
21927
|
var import_report = require_cjs5();
|
|
21935
|
-
var
|
|
21928
|
+
var style2 = (params, element, node3) => {
|
|
21936
21929
|
if (params) {
|
|
21937
21930
|
if ((0, import_utils30.isObject)(params))
|
|
21938
21931
|
(0, import_utils30.map)(node3.style, params, element);
|
|
@@ -21940,6 +21933,7 @@ var require_style = __commonJS({
|
|
|
21940
21933
|
(0, import_report.report)("HTMLInvalidStyles", params);
|
|
21941
21934
|
}
|
|
21942
21935
|
};
|
|
21936
|
+
var style_default = style2;
|
|
21943
21937
|
}
|
|
21944
21938
|
});
|
|
21945
21939
|
|
|
@@ -21966,12 +21960,13 @@ var require_text = __commonJS({
|
|
|
21966
21960
|
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
21967
21961
|
var text_exports = {};
|
|
21968
21962
|
__export2(text_exports, {
|
|
21969
|
-
default: () => text_default
|
|
21963
|
+
default: () => text_default,
|
|
21964
|
+
text: () => text
|
|
21970
21965
|
});
|
|
21971
21966
|
module2.exports = __toCommonJS2(text_exports);
|
|
21972
21967
|
var import__ = require_cjs15();
|
|
21973
21968
|
var import_utils30 = require_cjs11();
|
|
21974
|
-
var
|
|
21969
|
+
var text = (param, element, node3) => {
|
|
21975
21970
|
let prop = (0, import_utils30.exec)(param, element);
|
|
21976
21971
|
if ((0, import_utils30.isString)(prop) && prop.includes("{{")) {
|
|
21977
21972
|
prop = (0, import_utils30.replaceLiteralsWithObjectFields)(prop, element.state);
|
|
@@ -21989,6 +21984,7 @@ var require_text = __commonJS({
|
|
|
21989
21984
|
(0, import__.create)({ tag: "string", text: prop }, element, "__text");
|
|
21990
21985
|
}
|
|
21991
21986
|
};
|
|
21987
|
+
var text_default = text;
|
|
21992
21988
|
}
|
|
21993
21989
|
});
|
|
21994
21990
|
|
|
@@ -22766,11 +22762,12 @@ var require_scope = __commonJS({
|
|
|
22766
22762
|
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
22767
22763
|
var scope_exports = {};
|
|
22768
22764
|
__export2(scope_exports, {
|
|
22769
|
-
default: () => scope_default
|
|
22765
|
+
default: () => scope_default,
|
|
22766
|
+
scope: () => scope
|
|
22770
22767
|
});
|
|
22771
22768
|
module2.exports = __toCommonJS2(scope_exports);
|
|
22772
22769
|
var import_utils30 = require_cjs11();
|
|
22773
|
-
var
|
|
22770
|
+
var scope = (params, element, node3) => {
|
|
22774
22771
|
if (!(0, import_utils30.isObject)(params))
|
|
22775
22772
|
return;
|
|
22776
22773
|
for (const scopeItem in params) {
|
|
@@ -22782,6 +22779,7 @@ var require_scope = __commonJS({
|
|
|
22782
22779
|
}
|
|
22783
22780
|
}
|
|
22784
22781
|
};
|
|
22782
|
+
var scope_default = scope;
|
|
22785
22783
|
}
|
|
22786
22784
|
});
|
|
22787
22785
|
|
|
@@ -22808,13 +22806,14 @@ var require_registry = __commonJS({
|
|
|
22808
22806
|
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
22809
22807
|
var registry_exports = {};
|
|
22810
22808
|
__export2(registry_exports, {
|
|
22809
|
+
REGISTRY: () => REGISTRY,
|
|
22811
22810
|
collectionFilters: () => collectionFilters,
|
|
22812
22811
|
default: () => registry_default,
|
|
22813
22812
|
parseFilters: () => parseFilters
|
|
22814
22813
|
});
|
|
22815
22814
|
module2.exports = __toCommonJS2(registry_exports);
|
|
22816
22815
|
var import__ = require_mixins();
|
|
22817
|
-
var
|
|
22816
|
+
var REGISTRY = {
|
|
22818
22817
|
attr: import__.attr,
|
|
22819
22818
|
style: import__.style,
|
|
22820
22819
|
text: import__.text,
|
|
@@ -22873,6 +22872,7 @@ var require_registry = __commonJS({
|
|
|
22873
22872
|
$setStateCollection: {},
|
|
22874
22873
|
$setPropsCollection: {}
|
|
22875
22874
|
};
|
|
22875
|
+
var registry_default = REGISTRY;
|
|
22876
22876
|
var parseFilters = {
|
|
22877
22877
|
elementKeys: [
|
|
22878
22878
|
"tag",
|
|
@@ -22907,11 +22907,9 @@ var require_registry = __commonJS({
|
|
|
22907
22907
|
var require_mixins = __commonJS({
|
|
22908
22908
|
"../../../domql/packages/element/dist/cjs/mixins/index.js"(exports, module2) {
|
|
22909
22909
|
"use strict";
|
|
22910
|
-
var __create2 = Object.create;
|
|
22911
22910
|
var __defProp2 = Object.defineProperty;
|
|
22912
22911
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
22913
22912
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
22914
|
-
var __getProtoOf2 = Object.getPrototypeOf;
|
|
22915
22913
|
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
|
|
22916
22914
|
var __export2 = (target, all) => {
|
|
22917
22915
|
for (var name in all)
|
|
@@ -22926,39 +22924,31 @@ var require_mixins = __commonJS({
|
|
|
22926
22924
|
return to;
|
|
22927
22925
|
};
|
|
22928
22926
|
var __reExport2 = (target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default"));
|
|
22929
|
-
var __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
|
|
22930
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22931
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
22932
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
22933
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
22934
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", { value: mod, enumerable: true }) : target,
|
|
22935
|
-
mod
|
|
22936
|
-
));
|
|
22937
22927
|
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
22938
22928
|
var mixins_exports = {};
|
|
22939
22929
|
__export2(mixins_exports, {
|
|
22940
|
-
attr: () => import_attr.
|
|
22941
|
-
classList: () => import_classList.
|
|
22942
|
-
content: () => import_content.
|
|
22943
|
-
data: () => import_data.
|
|
22944
|
-
html: () => import_html.
|
|
22945
|
-
registry: () => import_registry.
|
|
22946
|
-
scope: () => import_scope.
|
|
22947
|
-
state: () => import_state2.
|
|
22948
|
-
style: () => import_style3.
|
|
22949
|
-
text: () => import_text.
|
|
22930
|
+
attr: () => import_attr.attr,
|
|
22931
|
+
classList: () => import_classList.applyClasslist,
|
|
22932
|
+
content: () => import_content.setContent,
|
|
22933
|
+
data: () => import_data.data,
|
|
22934
|
+
html: () => import_html.html,
|
|
22935
|
+
registry: () => import_registry.REGISTRY,
|
|
22936
|
+
scope: () => import_scope.scope,
|
|
22937
|
+
state: () => import_state2.state,
|
|
22938
|
+
style: () => import_style3.style,
|
|
22939
|
+
text: () => import_text.text
|
|
22950
22940
|
});
|
|
22951
22941
|
module2.exports = __toCommonJS2(mixins_exports);
|
|
22952
|
-
var import_attr =
|
|
22953
|
-
var import_classList =
|
|
22954
|
-
var import_content =
|
|
22955
|
-
var import_data =
|
|
22956
|
-
var import_html =
|
|
22957
|
-
var import_style3 =
|
|
22958
|
-
var import_text =
|
|
22959
|
-
var import_state2 =
|
|
22960
|
-
var import_scope =
|
|
22961
|
-
var import_registry =
|
|
22942
|
+
var import_attr = require_attr();
|
|
22943
|
+
var import_classList = require_classList();
|
|
22944
|
+
var import_content = require_content();
|
|
22945
|
+
var import_data = require_data();
|
|
22946
|
+
var import_html = require_html();
|
|
22947
|
+
var import_style3 = require_style();
|
|
22948
|
+
var import_text = require_text();
|
|
22949
|
+
var import_state2 = require_state();
|
|
22950
|
+
var import_scope = require_scope();
|
|
22951
|
+
var import_registry = require_registry();
|
|
22962
22952
|
__reExport2(mixins_exports, require_registry(), module2.exports);
|
|
22963
22953
|
}
|
|
22964
22954
|
});
|
|
@@ -23142,7 +23132,7 @@ var require_methods3 = __commonJS({
|
|
|
23142
23132
|
const element = this;
|
|
23143
23133
|
const keys2 = [];
|
|
23144
23134
|
for (const param in element) {
|
|
23145
|
-
if (import_mixins.
|
|
23135
|
+
if (import_mixins.REGISTRY[param] && !import_mixins.parseFilters.elementKeys.includes(param) || !Object.hasOwnProperty.call(element, param)) {
|
|
23146
23136
|
continue;
|
|
23147
23137
|
}
|
|
23148
23138
|
keys2.push(param);
|
|
@@ -23471,7 +23461,7 @@ var require_applyParam = __commonJS({
|
|
|
23471
23461
|
const { node: node3, context, __ref: ref } = element;
|
|
23472
23462
|
const prop = element[param];
|
|
23473
23463
|
const { onlyUpdate } = options;
|
|
23474
|
-
const DOMQLProperty = import_mixins.
|
|
23464
|
+
const DOMQLProperty = import_mixins.REGISTRY[param];
|
|
23475
23465
|
const DOMQLPropertyFromContext = context && context.registry && context.registry[param];
|
|
23476
23466
|
const isGlobalTransformer = DOMQLPropertyFromContext || DOMQLProperty;
|
|
23477
23467
|
const hasDefine = element.define && element.define[param];
|
|
@@ -23616,7 +23606,7 @@ var require_node3 = __commonJS({
|
|
|
23616
23606
|
const value2 = element[param];
|
|
23617
23607
|
if (!Object.hasOwnProperty.call(element, param))
|
|
23618
23608
|
continue;
|
|
23619
|
-
if ((0, import_utils30.isUndefined)(value2) || (0, import_methods.isMethod)(param, element) || (0, import_utils30.isVariant)(param) || (0, import_utils30.isObject)(import_mixins.
|
|
23609
|
+
if ((0, import_utils30.isUndefined)(value2) || (0, import_methods.isMethod)(param, element) || (0, import_utils30.isVariant)(param) || (0, import_utils30.isObject)(import_mixins.REGISTRY[param]))
|
|
23620
23610
|
continue;
|
|
23621
23611
|
const isElement = (0, import_applyParam.applyParam)(param, element, options);
|
|
23622
23612
|
if (isElement) {
|
|
@@ -23642,11 +23632,9 @@ var require_node3 = __commonJS({
|
|
|
23642
23632
|
var require_update2 = __commonJS({
|
|
23643
23633
|
"../../../domql/packages/element/dist/cjs/update.js"(exports, module2) {
|
|
23644
23634
|
"use strict";
|
|
23645
|
-
var __create2 = Object.create;
|
|
23646
23635
|
var __defProp2 = Object.defineProperty;
|
|
23647
23636
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
23648
23637
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
23649
|
-
var __getProtoOf2 = Object.getPrototypeOf;
|
|
23650
23638
|
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
|
|
23651
23639
|
var __export2 = (target, all) => {
|
|
23652
23640
|
for (var name in all)
|
|
@@ -23660,18 +23648,11 @@ var require_update2 = __commonJS({
|
|
|
23660
23648
|
}
|
|
23661
23649
|
return to;
|
|
23662
23650
|
};
|
|
23663
|
-
var __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
|
|
23664
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
23665
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23666
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23667
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
23668
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", { value: mod, enumerable: true }) : target,
|
|
23669
|
-
mod
|
|
23670
|
-
));
|
|
23671
23651
|
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
23672
23652
|
var update_exports = {};
|
|
23673
23653
|
__export2(update_exports, {
|
|
23674
|
-
default: () => update_default
|
|
23654
|
+
default: () => update_default,
|
|
23655
|
+
update: () => update
|
|
23675
23656
|
});
|
|
23676
23657
|
module2.exports = __toCommonJS2(update_exports);
|
|
23677
23658
|
var import_utils30 = require_cjs11();
|
|
@@ -23679,11 +23660,11 @@ var require_update2 = __commonJS({
|
|
|
23679
23660
|
var import_methods = require_methods3();
|
|
23680
23661
|
var import_props = require_props();
|
|
23681
23662
|
var import_state2 = require_cjs14();
|
|
23682
|
-
var import_create =
|
|
23663
|
+
var import_create = require_create5();
|
|
23683
23664
|
var import_iterate = require_iterate();
|
|
23684
23665
|
var import_mixins = require_mixins();
|
|
23685
23666
|
var import_applyParam = require_applyParam();
|
|
23686
|
-
var import_options3 =
|
|
23667
|
+
var import_options3 = require_options();
|
|
23687
23668
|
var import_utils210 = require_utils();
|
|
23688
23669
|
var snapshot = {
|
|
23689
23670
|
snapshotId: import_utils30.createSnapshotId
|
|
@@ -23776,7 +23757,7 @@ var require_update2 = __commonJS({
|
|
|
23776
23757
|
const isInPreventUpdate = (0, import_utils30.isArray)(preventUpdate) && preventUpdate.includes(param);
|
|
23777
23758
|
const isInPreventDefineUpdate = (0, import_utils30.isArray)(preventDefineUpdate) && preventDefineUpdate.includes(param);
|
|
23778
23759
|
const hasCollection = element.$collection || element.$stateCollection || element.$propsCollection;
|
|
23779
|
-
if ((0, import_utils30.isUndefined)(prop) || isInPreventUpdate || isInPreventDefineUpdate || preventDefineUpdate === true || preventDefineUpdate === param || preventContentUpdate && param === "content" && !hasCollection || (preventStateUpdate && param) === "state" || (0, import_methods.isMethod)(param, element) || (0, import_utils30.isObject)(import_mixins.
|
|
23760
|
+
if ((0, import_utils30.isUndefined)(prop) || isInPreventUpdate || isInPreventDefineUpdate || preventDefineUpdate === true || preventDefineUpdate === param || preventContentUpdate && param === "content" && !hasCollection || (preventStateUpdate && param) === "state" || (0, import_methods.isMethod)(param, element) || (0, import_utils30.isObject)(import_mixins.REGISTRY[param]) || (0, import_utils30.isVariant)(param))
|
|
23780
23761
|
continue;
|
|
23781
23762
|
if (preventStateUpdate === "once")
|
|
23782
23763
|
options.preventStateUpdate = false;
|
|
@@ -23858,7 +23839,7 @@ var require_update2 = __commonJS({
|
|
|
23858
23839
|
};
|
|
23859
23840
|
delete element.__ref;
|
|
23860
23841
|
delete element.parent;
|
|
23861
|
-
const createdElement = (0, import_create.
|
|
23842
|
+
const createdElement = (0, import_create.create)(element, parent, element.key, import_options3.OPTIONS.create, attachOptions);
|
|
23862
23843
|
if (options.preventUpdate !== true && element.on && (0, import_utils30.isFunction)(element.on.update)) {
|
|
23863
23844
|
(0, import_event.applyEvent)(element.on.update, createdElement, createdElement.state);
|
|
23864
23845
|
}
|
|
@@ -23918,11 +23899,9 @@ var require_update2 = __commonJS({
|
|
|
23918
23899
|
var require_set2 = __commonJS({
|
|
23919
23900
|
"../../../domql/packages/element/dist/cjs/methods/set.js"(exports, module2) {
|
|
23920
23901
|
"use strict";
|
|
23921
|
-
var __create2 = Object.create;
|
|
23922
23902
|
var __defProp2 = Object.defineProperty;
|
|
23923
23903
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
23924
23904
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
23925
|
-
var __getProtoOf2 = Object.getPrototypeOf;
|
|
23926
23905
|
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
|
|
23927
23906
|
var __export2 = (target, all) => {
|
|
23928
23907
|
for (var name in all)
|
|
@@ -23936,14 +23915,6 @@ var require_set2 = __commonJS({
|
|
|
23936
23915
|
}
|
|
23937
23916
|
return to;
|
|
23938
23917
|
};
|
|
23939
|
-
var __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
|
|
23940
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
23941
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23942
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23943
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
23944
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", { value: mod, enumerable: true }) : target,
|
|
23945
|
-
mod
|
|
23946
|
-
));
|
|
23947
23918
|
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
23948
23919
|
var set_exports = {};
|
|
23949
23920
|
__export2(set_exports, {
|
|
@@ -23951,15 +23922,15 @@ var require_set2 = __commonJS({
|
|
|
23951
23922
|
});
|
|
23952
23923
|
module2.exports = __toCommonJS2(set_exports);
|
|
23953
23924
|
var import_utils30 = require_cjs11();
|
|
23954
|
-
var import_set =
|
|
23955
|
-
var import_update =
|
|
23925
|
+
var import_set = require_set();
|
|
23926
|
+
var import_update = require_update2();
|
|
23956
23927
|
var import__ = require_methods3();
|
|
23957
23928
|
var import_content = require_content();
|
|
23958
23929
|
var addMethods = (element, parent, options = {}) => {
|
|
23959
23930
|
const proto = {
|
|
23960
|
-
set: import_set.
|
|
23931
|
+
set: import_set.set,
|
|
23961
23932
|
reset: import_set.reset,
|
|
23962
|
-
update: import_update.
|
|
23933
|
+
update: import_update.update,
|
|
23963
23934
|
variables: import__.variables,
|
|
23964
23935
|
remove: import__.remove,
|
|
23965
23936
|
updateContent: import_content.updateContent,
|
|
@@ -24022,6 +23993,7 @@ var require_create5 = __commonJS({
|
|
|
24022
23993
|
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
24023
23994
|
var create_exports = {};
|
|
24024
23995
|
__export2(create_exports, {
|
|
23996
|
+
create: () => create2,
|
|
24025
23997
|
default: () => create_default
|
|
24026
23998
|
});
|
|
24027
23999
|
module2.exports = __toCommonJS2(create_exports);
|
|
@@ -24038,10 +24010,10 @@ var require_create5 = __commonJS({
|
|
|
24038
24010
|
var import_set = require_set2();
|
|
24039
24011
|
var import_classList = require_classList();
|
|
24040
24012
|
var import_iterate = require_iterate();
|
|
24041
|
-
var import_options3 =
|
|
24013
|
+
var import_options3 = require_options();
|
|
24042
24014
|
var import_component = require_component3();
|
|
24043
24015
|
var ENV3 = "development";
|
|
24044
|
-
var create2 = (element, parent, key, options = import_options3.
|
|
24016
|
+
var create2 = (element, parent, key, options = import_options3.OPTIONS.create || {}, attachOptions) => {
|
|
24045
24017
|
cacheOptions(element, options);
|
|
24046
24018
|
if (checkIfPrimitive(element)) {
|
|
24047
24019
|
element = applyValueAsText(element, parent, key);
|
|
@@ -24135,9 +24107,9 @@ var require_create5 = __commonJS({
|
|
|
24135
24107
|
return parent;
|
|
24136
24108
|
};
|
|
24137
24109
|
var cacheOptions = (element, options) => {
|
|
24138
|
-
if (options && !import_options3.
|
|
24139
|
-
import_options3.
|
|
24140
|
-
import_options3.
|
|
24110
|
+
if (options && !import_options3.OPTIONS.create) {
|
|
24111
|
+
import_options3.OPTIONS.create = options;
|
|
24112
|
+
import_options3.OPTIONS.create.context = element.context || options.context;
|
|
24141
24113
|
}
|
|
24142
24114
|
};
|
|
24143
24115
|
var createKey = (element, parent, key) => {
|
|
@@ -24292,12 +24264,12 @@ var require_create5 = __commonJS({
|
|
|
24292
24264
|
(0, import_iterate.throughInitialDefine)(element);
|
|
24293
24265
|
(0, import_iterate.throughInitialExec)(element);
|
|
24294
24266
|
for (const k in element) {
|
|
24295
|
-
if ((0, import_utils30.isUndefined)(element[k]) || (0, import_methods.isMethod)(k, element) || (0, import_utils30.isObject)(import_mixins.registry[k]) || (0, import_utils30.isVariant)(k))
|
|
24267
|
+
if ((0, import_utils30.isUndefined)(element[k]) || (0, import_methods.isMethod)(k, element) || (0, import_utils30.isObject)((import_mixins.registry.default || import_mixins.registry)[k]) || (0, import_utils30.isVariant)(k))
|
|
24296
24268
|
continue;
|
|
24297
24269
|
const hasDefine = element.define && element.define[k];
|
|
24298
24270
|
const contextHasDefine = element.context && element.context.define && element.context.define[k];
|
|
24299
24271
|
const optionsHasDefine = options.define && options.define[k];
|
|
24300
|
-
if (!ref.__skipCreate && import_mixins.
|
|
24272
|
+
if (!ref.__skipCreate && import_mixins.REGISTRY[k] && !optionsHasDefine) {
|
|
24301
24273
|
continue;
|
|
24302
24274
|
} else if (element[k] && !hasDefine && !optionsHasDefine && !contextHasDefine) {
|
|
24303
24275
|
create2((0, import_utils30.exec)(element[k], element), element, k, options);
|
|
@@ -24368,10 +24340,10 @@ var require_define = __commonJS({
|
|
|
24368
24340
|
var define_default = (params, options = {}) => {
|
|
24369
24341
|
const { overwrite } = options;
|
|
24370
24342
|
for (const param in params) {
|
|
24371
|
-
if (import_mixins.
|
|
24343
|
+
if (import_mixins.REGISTRY[param] && !overwrite) {
|
|
24372
24344
|
(0, import_report.report)("OverwriteToBuiltin", param);
|
|
24373
24345
|
} else
|
|
24374
|
-
import_mixins.
|
|
24346
|
+
import_mixins.REGISTRY[param] = params[param];
|
|
24375
24347
|
}
|
|
24376
24348
|
};
|
|
24377
24349
|
}
|
|
@@ -29910,225 +29882,260 @@ var require_cjs18 = __commonJS({
|
|
|
29910
29882
|
}
|
|
29911
29883
|
});
|
|
29912
29884
|
|
|
29913
|
-
// ../icons/default/
|
|
29914
|
-
var
|
|
29915
|
-
"../icons/default/
|
|
29916
|
-
|
|
29917
|
-
|
|
29918
|
-
|
|
29919
|
-
|
|
29920
|
-
var
|
|
29921
|
-
|
|
29922
|
-
|
|
29923
|
-
}
|
|
29924
|
-
|
|
29925
|
-
|
|
29926
|
-
|
|
29927
|
-
|
|
29928
|
-
|
|
29929
|
-
|
|
29930
|
-
|
|
29931
|
-
|
|
29932
|
-
|
|
29933
|
-
|
|
29934
|
-
|
|
29935
|
-
}
|
|
29936
|
-
|
|
29937
|
-
|
|
29938
|
-
|
|
29939
|
-
|
|
29940
|
-
|
|
29941
|
-
});
|
|
29942
|
-
|
|
29943
|
-
|
|
29944
|
-
|
|
29945
|
-
|
|
29946
|
-
|
|
29947
|
-
|
|
29948
|
-
|
|
29949
|
-
|
|
29950
|
-
|
|
29951
|
-
|
|
29952
|
-
|
|
29953
|
-
|
|
29954
|
-
|
|
29955
|
-
|
|
29956
|
-
|
|
29957
|
-
|
|
29958
|
-
|
|
29959
|
-
|
|
29960
|
-
|
|
29961
|
-
|
|
29962
|
-
var
|
|
29963
|
-
|
|
29964
|
-
|
|
29965
|
-
}
|
|
29966
|
-
|
|
29967
|
-
|
|
29968
|
-
|
|
29969
|
-
|
|
29970
|
-
|
|
29971
|
-
});
|
|
29972
|
-
|
|
29973
|
-
|
|
29974
|
-
|
|
29975
|
-
|
|
29976
|
-
|
|
29977
|
-
|
|
29978
|
-
|
|
29979
|
-
|
|
29980
|
-
|
|
29981
|
-
|
|
29982
|
-
|
|
29983
|
-
|
|
29984
|
-
|
|
29985
|
-
|
|
29986
|
-
|
|
29987
|
-
|
|
29988
|
-
|
|
29989
|
-
|
|
29990
|
-
|
|
29991
|
-
|
|
29992
|
-
var
|
|
29993
|
-
|
|
29994
|
-
|
|
29995
|
-
}
|
|
29996
|
-
|
|
29997
|
-
|
|
29998
|
-
|
|
29999
|
-
|
|
30000
|
-
|
|
30001
|
-
});
|
|
30002
|
-
|
|
30003
|
-
|
|
30004
|
-
|
|
30005
|
-
|
|
30006
|
-
|
|
30007
|
-
|
|
30008
|
-
|
|
30009
|
-
|
|
30010
|
-
|
|
30011
|
-
|
|
30012
|
-
|
|
30013
|
-
|
|
30014
|
-
|
|
30015
|
-
|
|
30016
|
-
|
|
30017
|
-
|
|
30018
|
-
|
|
30019
|
-
|
|
30020
|
-
|
|
30021
|
-
|
|
30022
|
-
var
|
|
30023
|
-
|
|
30024
|
-
|
|
30025
|
-
}
|
|
30026
|
-
|
|
30027
|
-
|
|
30028
|
-
|
|
30029
|
-
|
|
30030
|
-
|
|
30031
|
-
});
|
|
30032
|
-
|
|
30033
|
-
|
|
30034
|
-
|
|
30035
|
-
|
|
30036
|
-
|
|
30037
|
-
|
|
30038
|
-
|
|
30039
|
-
|
|
30040
|
-
|
|
30041
|
-
|
|
30042
|
-
|
|
30043
|
-
|
|
30044
|
-
|
|
30045
|
-
|
|
30046
|
-
|
|
30047
|
-
|
|
30048
|
-
|
|
30049
|
-
|
|
30050
|
-
|
|
30051
|
-
|
|
30052
|
-
var require_lock =
|
|
30053
|
-
|
|
30054
|
-
|
|
30055
|
-
}
|
|
30056
|
-
|
|
30057
|
-
|
|
30058
|
-
|
|
30059
|
-
|
|
30060
|
-
|
|
30061
|
-
});
|
|
30062
|
-
|
|
30063
|
-
|
|
30064
|
-
|
|
30065
|
-
|
|
30066
|
-
|
|
30067
|
-
|
|
30068
|
-
|
|
30069
|
-
|
|
30070
|
-
|
|
30071
|
-
|
|
30072
|
-
|
|
30073
|
-
|
|
30074
|
-
|
|
30075
|
-
|
|
30076
|
-
|
|
30077
|
-
|
|
30078
|
-
|
|
30079
|
-
|
|
30080
|
-
|
|
30081
|
-
|
|
30082
|
-
var
|
|
30083
|
-
|
|
30084
|
-
|
|
30085
|
-
}
|
|
30086
|
-
|
|
30087
|
-
|
|
30088
|
-
|
|
30089
|
-
|
|
30090
|
-
|
|
30091
|
-
});
|
|
30092
|
-
|
|
30093
|
-
|
|
30094
|
-
|
|
30095
|
-
|
|
30096
|
-
|
|
30097
|
-
|
|
30098
|
-
|
|
30099
|
-
|
|
30100
|
-
|
|
30101
|
-
|
|
30102
|
-
|
|
30103
|
-
|
|
30104
|
-
|
|
30105
|
-
|
|
30106
|
-
|
|
30107
|
-
|
|
30108
|
-
|
|
30109
|
-
|
|
30110
|
-
|
|
30111
|
-
|
|
30112
|
-
var
|
|
30113
|
-
|
|
30114
|
-
|
|
30115
|
-
}
|
|
30116
|
-
|
|
30117
|
-
|
|
30118
|
-
|
|
30119
|
-
|
|
30120
|
-
|
|
30121
|
-
});
|
|
30122
|
-
|
|
30123
|
-
|
|
30124
|
-
|
|
30125
|
-
|
|
30126
|
-
|
|
30127
|
-
|
|
30128
|
-
|
|
30129
|
-
|
|
30130
|
-
|
|
30131
|
-
|
|
29885
|
+
// ../icons/default/dist/cjs/index.js
|
|
29886
|
+
var require_cjs19 = __commonJS({
|
|
29887
|
+
"../icons/default/dist/cjs/index.js"(exports, module2) {
|
|
29888
|
+
"use strict";
|
|
29889
|
+
var __defProp2 = Object.defineProperty;
|
|
29890
|
+
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
29891
|
+
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
29892
|
+
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
|
|
29893
|
+
var __commonJS2 = (cb, mod) => function __require() {
|
|
29894
|
+
return mod || (0, cb[__getOwnPropNames2(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
29895
|
+
};
|
|
29896
|
+
var __export2 = (target, all) => {
|
|
29897
|
+
for (var name in all)
|
|
29898
|
+
__defProp2(target, name, { get: all[name], enumerable: true });
|
|
29899
|
+
};
|
|
29900
|
+
var __copyProps2 = (to, from3, except, desc) => {
|
|
29901
|
+
if (from3 && typeof from3 === "object" || typeof from3 === "function") {
|
|
29902
|
+
for (let key of __getOwnPropNames2(from3))
|
|
29903
|
+
if (!__hasOwnProp2.call(to, key) && key !== except)
|
|
29904
|
+
__defProp2(to, key, { get: () => from3[key], enumerable: !(desc = __getOwnPropDesc2(from3, key)) || desc.enumerable });
|
|
29905
|
+
}
|
|
29906
|
+
return to;
|
|
29907
|
+
};
|
|
29908
|
+
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
|
29909
|
+
var require_logo = __commonJS2({
|
|
29910
|
+
"src/logo.svg"(exports2, module22) {
|
|
29911
|
+
module22.exports = '<svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="m13.8427634 2.7c5.2204416 0 9.1572366 3.66627273 9.1572366 8.5276136 0 3.7539026-2.862459 6.5845166-6.6584602 6.5845166-3.2869292 0-5.0067442-2.3185931-5.0067442-4.6090346 0-2.3950047 1.9232766-4.34360501 4.2871083-4.34360501.5660997 0 1.0233662.12043815 1.3087138.22246133.0964389.03439578.1509541.13140952.1377968.22869274l-.0162211.05790349-.5142943 1.18025155c-.0417785.0960965-.1426738.1488014-.2444046.1308098-.1382871-.0243417-.3160549-.046355-.506983-.046355-1.2447926 0-2.2577141 1.0263701-2.2577141 2.2874782 0 1.3311697 1.1647866 2.3734147 2.6514771 2.3734147 2.1944196 0 3.9131901-1.7771506 3.9131901-4.0460021 0-3.02365374-2.2946881-5.13544885-5.580364-5.13544885-4.0765443 0-7.3933453 3.3608382-7.3933453 7.49150685 0 2.4065323 1.12557141 4.5516755 2.87121445 5.9233019l-4.96035245 3.1812742c-1.88344607-2.1256033-3.0306173-4.9339804-3.0306173-8.0087794 0-6.61668989 5.31256341-12 11.8427634-12z" fill-rule="evenodd"/></svg>';
|
|
29912
|
+
}
|
|
29913
|
+
});
|
|
29914
|
+
var require_arrow_down_circle = __commonJS2({
|
|
29915
|
+
"src/arrow-down-circle.svg"(exports2, module22) {
|
|
29916
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-down-circle"><circle cx="12" cy="12" r="10"></circle><polyline points="8 12 12 16 16 12"></polyline><line x1="12" y1="8" x2="12" y2="16"></line></svg>';
|
|
29917
|
+
}
|
|
29918
|
+
});
|
|
29919
|
+
var require_arrow_down_left = __commonJS2({
|
|
29920
|
+
"src/arrow-down-left.svg"(exports2, module22) {
|
|
29921
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-down-left"><line x1="17" y1="7" x2="7" y2="17"></line><polyline points="17 17 7 17 7 7"></polyline></svg>';
|
|
29922
|
+
}
|
|
29923
|
+
});
|
|
29924
|
+
var require_arrow_down_right = __commonJS2({
|
|
29925
|
+
"src/arrow-down-right.svg"(exports2, module22) {
|
|
29926
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-down-right"><line x1="7" y1="7" x2="17" y2="17"></line><polyline points="17 7 17 17 7 17"></polyline></svg>';
|
|
29927
|
+
}
|
|
29928
|
+
});
|
|
29929
|
+
var require_arrow_down = __commonJS2({
|
|
29930
|
+
"src/arrow-down.svg"(exports2, module22) {
|
|
29931
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-down"><line x1="12" y1="5" x2="12" y2="19"></line><polyline points="19 12 12 19 5 12"></polyline></svg>';
|
|
29932
|
+
}
|
|
29933
|
+
});
|
|
29934
|
+
var require_arrow_left_circle = __commonJS2({
|
|
29935
|
+
"src/arrow-left-circle.svg"(exports2, module22) {
|
|
29936
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-left-circle"><circle cx="12" cy="12" r="10"></circle><polyline points="12 8 8 12 12 16"></polyline><line x1="16" y1="12" x2="8" y2="12"></line></svg>';
|
|
29937
|
+
}
|
|
29938
|
+
});
|
|
29939
|
+
var require_arrow_left = __commonJS2({
|
|
29940
|
+
"src/arrow-left.svg"(exports2, module22) {
|
|
29941
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-left"><line x1="19" y1="12" x2="5" y2="12"></line><polyline points="12 19 5 12 12 5"></polyline></svg>';
|
|
29942
|
+
}
|
|
29943
|
+
});
|
|
29944
|
+
var require_arrow_right = __commonJS2({
|
|
29945
|
+
"src/arrow-right.svg"(exports2, module22) {
|
|
29946
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-right"><line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline></svg>';
|
|
29947
|
+
}
|
|
29948
|
+
});
|
|
29949
|
+
var require_arrow_right_circle = __commonJS2({
|
|
29950
|
+
"src/arrow-right-circle.svg"(exports2, module22) {
|
|
29951
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-right-circle"><circle cx="12" cy="12" r="10"></circle><polyline points="12 16 16 12 12 8"></polyline><line x1="8" y1="12" x2="16" y2="12"></line></svg>';
|
|
29952
|
+
}
|
|
29953
|
+
});
|
|
29954
|
+
var require_arrow_up_circle = __commonJS2({
|
|
29955
|
+
"src/arrow-up-circle.svg"(exports2, module22) {
|
|
29956
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-up-circle"><circle cx="12" cy="12" r="10"></circle><polyline points="16 12 12 8 8 12"></polyline><line x1="12" y1="16" x2="12" y2="8"></line></svg>';
|
|
29957
|
+
}
|
|
29958
|
+
});
|
|
29959
|
+
var require_arrow_up_left = __commonJS2({
|
|
29960
|
+
"src/arrow-up-left.svg"(exports2, module22) {
|
|
29961
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-up-left"><line x1="17" y1="17" x2="7" y2="7"></line><polyline points="7 17 7 7 17 7"></polyline></svg>';
|
|
29962
|
+
}
|
|
29963
|
+
});
|
|
29964
|
+
var require_arrow_up_right = __commonJS2({
|
|
29965
|
+
"src/arrow-up-right.svg"(exports2, module22) {
|
|
29966
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-up-right"><line x1="7" y1="17" x2="17" y2="7"></line><polyline points="7 7 17 7 17 17"></polyline></svg>';
|
|
29967
|
+
}
|
|
29968
|
+
});
|
|
29969
|
+
var require_arrow_up = __commonJS2({
|
|
29970
|
+
"src/arrow-up.svg"(exports2, module22) {
|
|
29971
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-up"><line x1="12" y1="19" x2="12" y2="5"></line><polyline points="5 12 12 5 19 12"></polyline></svg>';
|
|
29972
|
+
}
|
|
29973
|
+
});
|
|
29974
|
+
var require_check_circle = __commonJS2({
|
|
29975
|
+
"src/check-circle.svg"(exports2, module22) {
|
|
29976
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-check-circle"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"></path><polyline points="22 4 12 14.01 9 11.01"></polyline></svg>';
|
|
29977
|
+
}
|
|
29978
|
+
});
|
|
29979
|
+
var require_check = __commonJS2({
|
|
29980
|
+
"src/check.svg"(exports2, module22) {
|
|
29981
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-check"><polyline points="20 6 9 17 4 12"></polyline></svg>';
|
|
29982
|
+
}
|
|
29983
|
+
});
|
|
29984
|
+
var require_chevron_down = __commonJS2({
|
|
29985
|
+
"src/chevron-down.svg"(exports2, module22) {
|
|
29986
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><polyline points="6 9 12 15 18 9"></polyline></svg>';
|
|
29987
|
+
}
|
|
29988
|
+
});
|
|
29989
|
+
var require_chevron_left = __commonJS2({
|
|
29990
|
+
"src/chevron-left.svg"(exports2, module22) {
|
|
29991
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-left"><polyline points="15 18 9 12 15 6"></polyline></svg>';
|
|
29992
|
+
}
|
|
29993
|
+
});
|
|
29994
|
+
var require_chevron_right = __commonJS2({
|
|
29995
|
+
"src/chevron-right.svg"(exports2, module22) {
|
|
29996
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg>';
|
|
29997
|
+
}
|
|
29998
|
+
});
|
|
29999
|
+
var require_chevron_up = __commonJS2({
|
|
30000
|
+
"src/chevron-up.svg"(exports2, module22) {
|
|
30001
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-up"><polyline points="18 15 12 9 6 15"></polyline></svg>';
|
|
30002
|
+
}
|
|
30003
|
+
});
|
|
30004
|
+
var require_copy = __commonJS2({
|
|
30005
|
+
"src/copy.svg"(exports2, module22) {
|
|
30006
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-copy"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></svg>';
|
|
30007
|
+
}
|
|
30008
|
+
});
|
|
30009
|
+
var require_eye_off = __commonJS2({
|
|
30010
|
+
"src/eye-off.svg"(exports2, module22) {
|
|
30011
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-eye-off"><path d="M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"></path><line x1="1" y1="1" x2="23" y2="23"></line></svg>';
|
|
30012
|
+
}
|
|
30013
|
+
});
|
|
30014
|
+
var require_eye = __commonJS2({
|
|
30015
|
+
"src/eye.svg"(exports2, module22) {
|
|
30016
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-eye"><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path><circle cx="12" cy="12" r="3"></circle></svg>';
|
|
30017
|
+
}
|
|
30018
|
+
});
|
|
30019
|
+
var require_info = __commonJS2({
|
|
30020
|
+
"src/info.svg"(exports2, module22) {
|
|
30021
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-info"><circle cx="12" cy="12" r="10"></circle><line x1="12" y1="16" x2="12" y2="12"></line><line x1="12" y1="8" x2="12.01" y2="8"></line></svg>';
|
|
30022
|
+
}
|
|
30023
|
+
});
|
|
30024
|
+
var require_lock = __commonJS2({
|
|
30025
|
+
"src/lock.svg"(exports2, module22) {
|
|
30026
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-lock"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect><path d="M7 11V7a5 5 0 0 1 10 0v4"></path></svg>';
|
|
30027
|
+
}
|
|
30028
|
+
});
|
|
30029
|
+
var require_minus = __commonJS2({
|
|
30030
|
+
"src/minus.svg"(exports2, module22) {
|
|
30031
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-minus"><line x1="5" y1="12" x2="19" y2="12"></line></svg>';
|
|
30032
|
+
}
|
|
30033
|
+
});
|
|
30034
|
+
var require_sun = __commonJS2({
|
|
30035
|
+
"src/sun.svg"(exports2, module22) {
|
|
30036
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-sun"><circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line></svg>';
|
|
30037
|
+
}
|
|
30038
|
+
});
|
|
30039
|
+
var require_moon = __commonJS2({
|
|
30040
|
+
"src/moon.svg"(exports2, module22) {
|
|
30041
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-moon"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg>';
|
|
30042
|
+
}
|
|
30043
|
+
});
|
|
30044
|
+
var require_more_horizontal = __commonJS2({
|
|
30045
|
+
"src/more-horizontal.svg"(exports2, module22) {
|
|
30046
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-more-horizontal"><circle cx="12" cy="12" r="1"></circle><circle cx="19" cy="12" r="1"></circle><circle cx="5" cy="12" r="1"></circle></svg>';
|
|
30047
|
+
}
|
|
30048
|
+
});
|
|
30049
|
+
var require_more_vertical = __commonJS2({
|
|
30050
|
+
"src/more-vertical.svg"(exports2, module22) {
|
|
30051
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-more-vertical"><circle cx="12" cy="12" r="1"></circle><circle cx="12" cy="5" r="1"></circle><circle cx="12" cy="19" r="1"></circle></svg>';
|
|
30052
|
+
}
|
|
30053
|
+
});
|
|
30054
|
+
var require_send = __commonJS2({
|
|
30055
|
+
"src/send.svg"(exports2, module22) {
|
|
30056
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-send"><line x1="22" y1="2" x2="11" y2="13"></line><polygon points="22 2 15 22 11 13 2 9 22 2"></polygon></svg>';
|
|
30057
|
+
}
|
|
30058
|
+
});
|
|
30059
|
+
var require_smile = __commonJS2({
|
|
30060
|
+
"src/smile.svg"(exports2, module22) {
|
|
30061
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-smile"><circle cx="12" cy="12" r="10"></circle><path d="M8 14s1.5 2 4 2 4-2 4-2"></path><line x1="9" y1="9" x2="9.01" y2="9"></line><line x1="15" y1="9" x2="15.01" y2="9"></line></svg>';
|
|
30062
|
+
}
|
|
30063
|
+
});
|
|
30064
|
+
var require_star = __commonJS2({
|
|
30065
|
+
"src/star.svg"(exports2, module22) {
|
|
30066
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-star"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"></polygon></svg>';
|
|
30067
|
+
}
|
|
30068
|
+
});
|
|
30069
|
+
var require_search = __commonJS2({
|
|
30070
|
+
"src/search.svg"(exports2, module22) {
|
|
30071
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-search"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>';
|
|
30072
|
+
}
|
|
30073
|
+
});
|
|
30074
|
+
var require_upload = __commonJS2({
|
|
30075
|
+
"src/upload.svg"(exports2, module22) {
|
|
30076
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-upload"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="17 8 12 3 7 8"></polyline><line x1="12" y1="3" x2="12" y2="15"></line></svg>';
|
|
30077
|
+
}
|
|
30078
|
+
});
|
|
30079
|
+
var require_video = __commonJS2({
|
|
30080
|
+
"src/video.svg"(exports2, module22) {
|
|
30081
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-video"><polygon points="23 7 16 12 23 17 23 7"></polygon><rect x="1" y="5" width="15" height="14" rx="2" ry="2"></rect></svg>';
|
|
30082
|
+
}
|
|
30083
|
+
});
|
|
30084
|
+
var require_x = __commonJS2({
|
|
30085
|
+
"src/x.svg"(exports2, module22) {
|
|
30086
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>';
|
|
30087
|
+
}
|
|
30088
|
+
});
|
|
30089
|
+
var require_plus = __commonJS2({
|
|
30090
|
+
"src/plus.svg"(exports2, module22) {
|
|
30091
|
+
module22.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-plus"><line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line></svg>';
|
|
30092
|
+
}
|
|
30093
|
+
});
|
|
30094
|
+
var default_exports = {};
|
|
30095
|
+
__export2(default_exports, {
|
|
30096
|
+
default: () => default_default
|
|
30097
|
+
});
|
|
30098
|
+
module2.exports = __toCommonJS2(default_exports);
|
|
30099
|
+
var default_default = {
|
|
30100
|
+
symbols: require_logo(),
|
|
30101
|
+
logo: require_logo(),
|
|
30102
|
+
arrowDownCircle: require_arrow_down_circle(),
|
|
30103
|
+
arrowDownLeft: require_arrow_down_left(),
|
|
30104
|
+
arrowDownRight: require_arrow_down_right(),
|
|
30105
|
+
arrowDown: require_arrow_down(),
|
|
30106
|
+
arrowLeftCircle: require_arrow_left_circle(),
|
|
30107
|
+
arrowLeft: require_arrow_left(),
|
|
30108
|
+
arrowRight: require_arrow_right(),
|
|
30109
|
+
arrowRightCircle: require_arrow_right_circle(),
|
|
30110
|
+
arrowUpCircle: require_arrow_up_circle(),
|
|
30111
|
+
arrowUpLeft: require_arrow_up_left(),
|
|
30112
|
+
arrowUpRight: require_arrow_up_right(),
|
|
30113
|
+
arrowUp: require_arrow_up(),
|
|
30114
|
+
checkCircle: require_check_circle(),
|
|
30115
|
+
check: require_check(),
|
|
30116
|
+
chevronDown: require_chevron_down(),
|
|
30117
|
+
chevronLeft: require_chevron_left(),
|
|
30118
|
+
chevronRight: require_chevron_right(),
|
|
30119
|
+
chevronUp: require_chevron_up(),
|
|
30120
|
+
copy: require_copy(),
|
|
30121
|
+
eyeOff: require_eye_off(),
|
|
30122
|
+
eye: require_eye(),
|
|
30123
|
+
info: require_info(),
|
|
30124
|
+
lock: require_lock(),
|
|
30125
|
+
minus: require_minus(),
|
|
30126
|
+
sun: require_sun(),
|
|
30127
|
+
moon: require_moon(),
|
|
30128
|
+
moreHorizontal: require_more_horizontal(),
|
|
30129
|
+
moreVertical: require_more_vertical(),
|
|
30130
|
+
send: require_send(),
|
|
30131
|
+
smile: require_smile(),
|
|
30132
|
+
star: require_star(),
|
|
30133
|
+
search: require_search(),
|
|
30134
|
+
upload: require_upload(),
|
|
30135
|
+
video: require_video(),
|
|
30136
|
+
x: require_x(),
|
|
30137
|
+
plus: require_plus()
|
|
30138
|
+
};
|
|
30132
30139
|
}
|
|
30133
30140
|
});
|
|
30134
30141
|
|
|
@@ -30139,7 +30146,7 @@ __export(src_exports, {
|
|
|
30139
30146
|
createAsync: () => createAsync,
|
|
30140
30147
|
createSkeleton: () => createSkeleton,
|
|
30141
30148
|
createSync: () => createSync,
|
|
30142
|
-
default: () =>
|
|
30149
|
+
default: () => src_default
|
|
30143
30150
|
});
|
|
30144
30151
|
module.exports = __toCommonJS(src_exports);
|
|
30145
30152
|
var import_utils29 = __toESM(require_cjs(), 1);
|
|
@@ -31786,47 +31793,8 @@ init_emotion();
|
|
|
31786
31793
|
init_init();
|
|
31787
31794
|
var import_utils26 = __toESM(require_cjs(), 1);
|
|
31788
31795
|
|
|
31789
|
-
// ../
|
|
31790
|
-
var
|
|
31791
|
-
symbols: require_logo(),
|
|
31792
|
-
logo: require_logo(),
|
|
31793
|
-
arrowDownCircle: require_arrow_down_circle(),
|
|
31794
|
-
arrowDownLeft: require_arrow_down_left(),
|
|
31795
|
-
arrowDownRight: require_arrow_down_right(),
|
|
31796
|
-
arrowDown: require_arrow_down(),
|
|
31797
|
-
arrowLeftCircle: require_arrow_left_circle(),
|
|
31798
|
-
arrowLeft: require_arrow_left(),
|
|
31799
|
-
arrowRight: require_arrow_right(),
|
|
31800
|
-
arrowRightCircle: require_arrow_right_circle(),
|
|
31801
|
-
arrowUpCircle: require_arrow_up_circle(),
|
|
31802
|
-
arrowUpLeft: require_arrow_up_left(),
|
|
31803
|
-
arrowUpRight: require_arrow_up_right(),
|
|
31804
|
-
arrowUp: require_arrow_up(),
|
|
31805
|
-
checkCircle: require_check_circle(),
|
|
31806
|
-
check: require_check(),
|
|
31807
|
-
chevronDown: require_chevron_down(),
|
|
31808
|
-
chevronLeft: require_chevron_left(),
|
|
31809
|
-
chevronRight: require_chevron_right(),
|
|
31810
|
-
chevronUp: require_chevron_up(),
|
|
31811
|
-
copy: require_copy(),
|
|
31812
|
-
eyeOff: require_eye_off(),
|
|
31813
|
-
eye: require_eye(),
|
|
31814
|
-
info: require_info(),
|
|
31815
|
-
lock: require_lock(),
|
|
31816
|
-
minus: require_minus(),
|
|
31817
|
-
sun: require_sun(),
|
|
31818
|
-
moon: require_moon(),
|
|
31819
|
-
moreHorizontal: require_more_horizontal(),
|
|
31820
|
-
moreVertical: require_more_vertical(),
|
|
31821
|
-
send: require_send(),
|
|
31822
|
-
smile: require_smile(),
|
|
31823
|
-
star: require_star(),
|
|
31824
|
-
search: require_search(),
|
|
31825
|
-
upload: require_upload(),
|
|
31826
|
-
video: require_video(),
|
|
31827
|
-
x: require_x(),
|
|
31828
|
-
plus: require_plus()
|
|
31829
|
-
};
|
|
31796
|
+
// ../default-config/src/index.js
|
|
31797
|
+
var import_default_icons = __toESM(require_cjs19());
|
|
31830
31798
|
|
|
31831
31799
|
// ../default-config/src/color.js
|
|
31832
31800
|
var COLOR = {
|
|
@@ -32186,7 +32154,7 @@ var DEFAULT_CONFIG = {
|
|
|
32186
32154
|
FONT,
|
|
32187
32155
|
FONT_FAMILY,
|
|
32188
32156
|
TIMING,
|
|
32189
|
-
ICONS:
|
|
32157
|
+
ICONS: import_default_icons.default,
|
|
32190
32158
|
MEDIA,
|
|
32191
32159
|
RESET: {
|
|
32192
32160
|
html: {},
|
|
@@ -32207,7 +32175,6 @@ var DEFAULT_CONFIG = {
|
|
|
32207
32175
|
SVG: {}
|
|
32208
32176
|
// TODO: Check with @nikoloza on this
|
|
32209
32177
|
};
|
|
32210
|
-
var src_default = DEFAULT_CONFIG;
|
|
32211
32178
|
|
|
32212
32179
|
// src/initEmotion.js
|
|
32213
32180
|
var initEmotion = (key, options = {}) => {
|
|
@@ -32218,7 +32185,7 @@ var initEmotion = (key, options = {}) => {
|
|
|
32218
32185
|
if (!initOptions.emotion)
|
|
32219
32186
|
initOptions.emotion = emotion;
|
|
32220
32187
|
const registry = options.registry || transformDOMQLEmotion(initOptions.emotion, options);
|
|
32221
|
-
const designSystem = initOptions.useDefaultConfig || ((_a = options.designSystem) == null ? void 0 : _a.useDefaultConfig) ? (0, import_utils26.deepMerge)(options.designSystem, (0, import_utils26.deepClone)(
|
|
32188
|
+
const designSystem = initOptions.useDefaultConfig || ((_a = options.designSystem) == null ? void 0 : _a.useDefaultConfig) ? (0, import_utils26.deepMerge)(options.designSystem, (0, import_utils26.deepClone)(DEFAULT_CONFIG)) : options.designSystem || (0, import_utils26.deepClone)(DEFAULT_CONFIG);
|
|
32222
32189
|
const scratchSystem2 = init(designSystem, {
|
|
32223
32190
|
key,
|
|
32224
32191
|
emotion: emotion2,
|
|
@@ -32496,4 +32463,4 @@ var createSkeleton = (App = {}, options = options_default, optionsExternalFile)
|
|
|
32496
32463
|
optionsExternalFile
|
|
32497
32464
|
);
|
|
32498
32465
|
};
|
|
32499
|
-
var
|
|
32466
|
+
var src_default = create;
|