@design.estate/dees-wcctools 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist_bundle/bundle.js
CHANGED
|
@@ -9209,7 +9209,7 @@ function n5(t8) {
|
|
|
9209
9209
|
})(t8, e10, o12);
|
|
9210
9210
|
}
|
|
9211
9211
|
|
|
9212
|
-
// node_modules/.pnpm/@design.estate+dees-domtools@2.3.
|
|
9212
|
+
// node_modules/.pnpm/@design.estate+dees-domtools@2.3.6/node_modules/@design.estate/dees-domtools/dist_ts/index.js
|
|
9213
9213
|
var dist_ts_exports25 = {};
|
|
9214
9214
|
__export(dist_ts_exports25, {
|
|
9215
9215
|
DomTools: () => DomTools,
|
|
@@ -9220,7 +9220,7 @@ __export(dist_ts_exports25, {
|
|
|
9220
9220
|
plugins: () => domtools_pluginexports_exports
|
|
9221
9221
|
});
|
|
9222
9222
|
|
|
9223
|
-
// node_modules/.pnpm/@design.estate+dees-domtools@2.3.
|
|
9223
|
+
// node_modules/.pnpm/@design.estate+dees-domtools@2.3.6/node_modules/@design.estate/dees-domtools/dist_ts/domtools.elementbasic.js
|
|
9224
9224
|
var domtools_elementbasic_exports = {};
|
|
9225
9225
|
__export(domtools_elementbasic_exports, {
|
|
9226
9226
|
setup: () => setup,
|
|
@@ -22742,11 +22742,13 @@ function regexCheck(regex) {
|
|
|
22742
22742
|
}
|
|
22743
22743
|
}
|
|
22744
22744
|
|
|
22745
|
-
// node_modules/.pnpm/unist-util-is@6.0.
|
|
22745
|
+
// node_modules/.pnpm/unist-util-is@6.0.1/node_modules/unist-util-is/lib/index.js
|
|
22746
22746
|
var is = (
|
|
22747
22747
|
// Note: overloads in JSDoc can’t yet use different `@template`s.
|
|
22748
22748
|
/**
|
|
22749
22749
|
* @type {(
|
|
22750
|
+
* (<Condition extends ReadonlyArray<string>>(node: unknown, test: Condition, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node & {type: Condition[number]}) &
|
|
22751
|
+
* (<Condition extends Array<string>>(node: unknown, test: Condition, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node & {type: Condition[number]}) &
|
|
22750
22752
|
* (<Condition extends string>(node: unknown, test: Condition, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node & {type: Condition}) &
|
|
22751
22753
|
* (<Condition extends Props>(node: unknown, test: Condition, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node & Condition) &
|
|
22752
22754
|
* (<Condition extends TestFunction>(node: unknown, test: Condition, index?: number | null | undefined, parent?: Parent | null | undefined, context?: unknown) => node is Node & Predicate<Condition, Node>) &
|
|
@@ -22801,7 +22803,14 @@ var convert = (
|
|
|
22801
22803
|
return castFactory(test);
|
|
22802
22804
|
}
|
|
22803
22805
|
if (typeof test === "object") {
|
|
22804
|
-
return Array.isArray(test) ? anyFactory(test) :
|
|
22806
|
+
return Array.isArray(test) ? anyFactory(test) : (
|
|
22807
|
+
// Cast because `ReadonlyArray` goes into the above but `isArray`
|
|
22808
|
+
// narrows to `Array`.
|
|
22809
|
+
propertiesFactory(
|
|
22810
|
+
/** @type {Props} */
|
|
22811
|
+
test
|
|
22812
|
+
)
|
|
22813
|
+
);
|
|
22805
22814
|
}
|
|
22806
22815
|
if (typeof test === "string") {
|
|
22807
22816
|
return typeFactory(test);
|
|
@@ -22824,7 +22833,7 @@ function anyFactory(tests) {
|
|
|
22824
22833
|
return false;
|
|
22825
22834
|
}
|
|
22826
22835
|
}
|
|
22827
|
-
function
|
|
22836
|
+
function propertiesFactory(check) {
|
|
22828
22837
|
const checkAsRecord = (
|
|
22829
22838
|
/** @type {Record<string, unknown>} */
|
|
22830
22839
|
check
|
|
@@ -22869,12 +22878,12 @@ function looksLikeANode(value2) {
|
|
|
22869
22878
|
return value2 !== null && typeof value2 === "object" && "type" in value2;
|
|
22870
22879
|
}
|
|
22871
22880
|
|
|
22872
|
-
// node_modules/.pnpm/unist-util-visit-parents@6.0.
|
|
22881
|
+
// node_modules/.pnpm/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents/lib/color.js
|
|
22873
22882
|
function color(d5) {
|
|
22874
22883
|
return d5;
|
|
22875
22884
|
}
|
|
22876
22885
|
|
|
22877
|
-
// node_modules/.pnpm/unist-util-visit-parents@6.0.
|
|
22886
|
+
// node_modules/.pnpm/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents/lib/index.js
|
|
22878
22887
|
var empty2 = [];
|
|
22879
22888
|
var CONTINUE = true;
|
|
22880
22889
|
var EXIT = false;
|
|
@@ -36369,7 +36378,7 @@ function remarkStringify(options) {
|
|
|
36369
36378
|
}
|
|
36370
36379
|
}
|
|
36371
36380
|
|
|
36372
|
-
// node_modules/.pnpm/turndown@7.2.
|
|
36381
|
+
// node_modules/.pnpm/turndown@7.2.2/node_modules/turndown/lib/turndown.browser.es.js
|
|
36373
36382
|
function extend2(destination) {
|
|
36374
36383
|
for (var i9 = 1; i9 < arguments.length; i9++) {
|
|
36375
36384
|
var source = arguments[i9];
|
|
@@ -36390,6 +36399,9 @@ function trimTrailingNewlines(string3) {
|
|
|
36390
36399
|
while (indexEnd > 0 && string3[indexEnd - 1] === "\n") indexEnd--;
|
|
36391
36400
|
return string3.substring(0, indexEnd);
|
|
36392
36401
|
}
|
|
36402
|
+
function trimNewlines(string3) {
|
|
36403
|
+
return trimTrailingNewlines(trimLeadingNewlines(string3));
|
|
36404
|
+
}
|
|
36393
36405
|
var blockElements = [
|
|
36394
36406
|
"ADDRESS",
|
|
36395
36407
|
"ARTICLE",
|
|
@@ -36523,8 +36535,7 @@ rules.heading = {
|
|
|
36523
36535
|
rules.blockquote = {
|
|
36524
36536
|
filter: "blockquote",
|
|
36525
36537
|
replacement: function(content3) {
|
|
36526
|
-
content3 = content3.replace(
|
|
36527
|
-
content3 = content3.replace(/^/gm, "> ");
|
|
36538
|
+
content3 = trimNewlines(content3).replace(/^/gm, "> ");
|
|
36528
36539
|
return "\n\n" + content3 + "\n\n";
|
|
36529
36540
|
}
|
|
36530
36541
|
};
|
|
@@ -36549,8 +36560,10 @@ rules.listItem = {
|
|
|
36549
36560
|
var index2 = Array.prototype.indexOf.call(parent.children, node2);
|
|
36550
36561
|
prefix = (start ? Number(start) + index2 : index2 + 1) + ". ";
|
|
36551
36562
|
}
|
|
36552
|
-
|
|
36553
|
-
|
|
36563
|
+
var isParagraph = /\n$/.test(content3);
|
|
36564
|
+
content3 = trimNewlines(content3) + (isParagraph ? "\n" : "");
|
|
36565
|
+
content3 = content3.replace(/\n/gm, "\n" + " ".repeat(prefix.length));
|
|
36566
|
+
return prefix + content3 + (node2.nextSibling ? "\n" : "");
|
|
36554
36567
|
}
|
|
36555
36568
|
};
|
|
36556
36569
|
rules.indentedCodeBlock = {
|
|
@@ -38896,8 +38909,8 @@ var Stringmap2 = class {
|
|
|
38896
38909
|
}
|
|
38897
38910
|
};
|
|
38898
38911
|
|
|
38899
|
-
// node_modules/.pnpm/lenis@1.3.
|
|
38900
|
-
var version = "1.3.
|
|
38912
|
+
// node_modules/.pnpm/lenis@1.3.15/node_modules/lenis/dist/lenis.mjs
|
|
38913
|
+
var version = "1.3.15";
|
|
38901
38914
|
function clamp2(min3, input, max3) {
|
|
38902
38915
|
return Math.max(min3, Math.min(input, max3));
|
|
38903
38916
|
}
|
|
@@ -39447,16 +39460,13 @@ var Lenis = class {
|
|
|
39447
39460
|
onClick = (event) => {
|
|
39448
39461
|
const path2 = event.composedPath();
|
|
39449
39462
|
const anchor = path2.find(
|
|
39450
|
-
(node2) => node2 instanceof HTMLAnchorElement &&
|
|
39463
|
+
(node2) => node2 instanceof HTMLAnchorElement && node2.getAttribute("href")?.includes("#")
|
|
39451
39464
|
);
|
|
39452
39465
|
if (anchor) {
|
|
39453
|
-
const
|
|
39454
|
-
if (
|
|
39466
|
+
const href = anchor.getAttribute("href");
|
|
39467
|
+
if (href) {
|
|
39455
39468
|
const options = typeof this.options.anchors === "object" && this.options.anchors ? this.options.anchors : void 0;
|
|
39456
|
-
|
|
39457
|
-
if (["#", "/#", "./#", "#top", "/#top", "./#top"].includes(id)) {
|
|
39458
|
-
target = 0;
|
|
39459
|
-
}
|
|
39469
|
+
const target = `#${href.split("#")[1]}`;
|
|
39460
39470
|
this.scrollTo(target, options);
|
|
39461
39471
|
}
|
|
39462
39472
|
}
|
|
@@ -39668,7 +39678,7 @@ var Lenis = class {
|
|
|
39668
39678
|
userData
|
|
39669
39679
|
} = {}) {
|
|
39670
39680
|
if ((this.isStopped || this.isLocked) && !force) return;
|
|
39671
|
-
if (typeof target === "string" && ["top", "left", "start"].includes(target)) {
|
|
39681
|
+
if (typeof target === "string" && ["top", "left", "start", "#"].includes(target)) {
|
|
39672
39682
|
target = 0;
|
|
39673
39683
|
} else if (typeof target === "string" && ["bottom", "right", "end"].includes(target)) {
|
|
39674
39684
|
target = this.limit;
|
|
@@ -39676,6 +39686,13 @@ var Lenis = class {
|
|
|
39676
39686
|
let node2;
|
|
39677
39687
|
if (typeof target === "string") {
|
|
39678
39688
|
node2 = document.querySelector(target);
|
|
39689
|
+
if (!node2) {
|
|
39690
|
+
if (target === "#top") {
|
|
39691
|
+
target = 0;
|
|
39692
|
+
} else {
|
|
39693
|
+
console.warn("Lenis: Target not found", target);
|
|
39694
|
+
}
|
|
39695
|
+
}
|
|
39679
39696
|
} else if (target instanceof HTMLElement && target?.nodeType) {
|
|
39680
39697
|
node2 = target;
|
|
39681
39698
|
}
|
|
@@ -39960,7 +39977,7 @@ var Lenis = class {
|
|
|
39960
39977
|
}
|
|
39961
39978
|
};
|
|
39962
39979
|
|
|
39963
|
-
// node_modules/.pnpm/@design.estate+dees-domtools@2.3.
|
|
39980
|
+
// node_modules/.pnpm/@design.estate+dees-domtools@2.3.6/node_modules/@design.estate/dees-domtools/dist_ts/domtools.plugins.js
|
|
39964
39981
|
var import_sweet_scroll = __toESM(require_sweet_scroll(), 1);
|
|
39965
39982
|
var lik = {
|
|
39966
39983
|
ObjectMap: ObjectMap2,
|
|
@@ -39968,7 +39985,7 @@ var lik = {
|
|
|
39968
39985
|
FastMap: FastMap2
|
|
39969
39986
|
};
|
|
39970
39987
|
|
|
39971
|
-
// node_modules/.pnpm/@design.estate+dees-domtools@2.3.
|
|
39988
|
+
// node_modules/.pnpm/@design.estate+dees-domtools@2.3.6/node_modules/@design.estate/dees-domtools/dist_ts/domtools.css.breakpoints.js
|
|
39972
39989
|
var domtools_css_breakpoints_exports = {};
|
|
39973
39990
|
__export(domtools_css_breakpoints_exports, {
|
|
39974
39991
|
cssForDesktop: () => cssForDesktop,
|
|
@@ -40038,7 +40055,7 @@ var cssForPhone = (cssArg) => {
|
|
|
40038
40055
|
`);
|
|
40039
40056
|
};
|
|
40040
40057
|
|
|
40041
|
-
// node_modules/.pnpm/@design.estate+dees-domtools@2.3.
|
|
40058
|
+
// node_modules/.pnpm/@design.estate+dees-domtools@2.3.6/node_modules/@design.estate/dees-domtools/dist_ts/domtools.classes.scroller.js
|
|
40042
40059
|
var Scroller = class {
|
|
40043
40060
|
constructor(domtoolsInstanceArg) {
|
|
40044
40061
|
this.scrollCallbacks = [];
|
|
@@ -40172,7 +40189,7 @@ var Scroller = class {
|
|
|
40172
40189
|
}
|
|
40173
40190
|
};
|
|
40174
40191
|
|
|
40175
|
-
// node_modules/.pnpm/@design.estate+dees-domtools@2.3.
|
|
40192
|
+
// node_modules/.pnpm/@design.estate+dees-domtools@2.3.6/node_modules/@design.estate/dees-domtools/dist_ts/domtools.classes.thememanager.js
|
|
40176
40193
|
var ThemeManager = class {
|
|
40177
40194
|
constructor(domtoolsRefArg) {
|
|
40178
40195
|
this.goBrightBoolean = false;
|
|
@@ -40221,7 +40238,7 @@ var ThemeManager = class {
|
|
|
40221
40238
|
}
|
|
40222
40239
|
};
|
|
40223
40240
|
|
|
40224
|
-
// node_modules/.pnpm/@design.estate+dees-domtools@2.3.
|
|
40241
|
+
// node_modules/.pnpm/@design.estate+dees-domtools@2.3.6/node_modules/@design.estate/dees-domtools/dist_ts/domtools.classes.keyboard.js
|
|
40225
40242
|
var Key;
|
|
40226
40243
|
(function(Key2) {
|
|
40227
40244
|
Key2[Key2["Backspace"] = 8] = "Backspace";
|
|
@@ -40407,35 +40424,49 @@ var Keyboard = class {
|
|
|
40407
40424
|
}
|
|
40408
40425
|
};
|
|
40409
40426
|
|
|
40410
|
-
// node_modules/.pnpm/@design.estate+dees-domtools@2.3.
|
|
40427
|
+
// node_modules/.pnpm/@design.estate+dees-domtools@2.3.6/node_modules/@design.estate/dees-domtools/dist_ts/domtools.classes.domtools.js
|
|
40411
40428
|
var DomTools = class _DomTools {
|
|
40412
|
-
|
|
40413
|
-
|
|
40414
|
-
|
|
40429
|
+
static {
|
|
40430
|
+
this.initializationPromise = null;
|
|
40431
|
+
}
|
|
40415
40432
|
/**
|
|
40416
40433
|
* setups domtools
|
|
40417
40434
|
*/
|
|
40418
40435
|
static async setupDomTools(optionsArg = {}) {
|
|
40419
|
-
|
|
40420
|
-
|
|
40421
|
-
|
|
40422
|
-
|
|
40423
|
-
|
|
40424
|
-
|
|
40425
|
-
|
|
40426
|
-
|
|
40427
|
-
domToolsInstance.
|
|
40436
|
+
if (!optionsArg.ignoreGlobal && _DomTools.initializationPromise) {
|
|
40437
|
+
return await _DomTools.initializationPromise;
|
|
40438
|
+
}
|
|
40439
|
+
if (!optionsArg.ignoreGlobal) {
|
|
40440
|
+
_DomTools.initializationPromise = (async () => {
|
|
40441
|
+
let domToolsInstance;
|
|
40442
|
+
if (!globalThis.deesDomTools) {
|
|
40443
|
+
globalThis.deesDomTools = new _DomTools(optionsArg);
|
|
40444
|
+
domToolsInstance = globalThis.deesDomTools;
|
|
40445
|
+
const readyStateChangedFunc = () => {
|
|
40446
|
+
if (document.readyState === "interactive" || document.readyState === "complete") {
|
|
40447
|
+
domToolsInstance.elements.headElement = document.querySelector("head");
|
|
40448
|
+
domToolsInstance.elements.bodyElement = document.querySelector("body");
|
|
40449
|
+
domToolsInstance.keyboard = new Keyboard(document.body);
|
|
40450
|
+
domToolsInstance.domReady.resolve();
|
|
40451
|
+
}
|
|
40452
|
+
};
|
|
40453
|
+
if (document.readyState === "interactive" || document.readyState === "complete") {
|
|
40454
|
+
readyStateChangedFunc();
|
|
40455
|
+
} else {
|
|
40456
|
+
document.addEventListener("readystatechange", readyStateChangedFunc);
|
|
40457
|
+
}
|
|
40458
|
+
domToolsInstance.domToolsReady.resolve();
|
|
40459
|
+
} else {
|
|
40460
|
+
domToolsInstance = globalThis.deesDomTools;
|
|
40428
40461
|
}
|
|
40429
|
-
|
|
40430
|
-
|
|
40431
|
-
|
|
40432
|
-
|
|
40433
|
-
domToolsInstance = new _DomTools(optionsArg);
|
|
40462
|
+
await domToolsInstance.domToolsReady.promise;
|
|
40463
|
+
return domToolsInstance;
|
|
40464
|
+
})();
|
|
40465
|
+
return await _DomTools.initializationPromise;
|
|
40434
40466
|
} else {
|
|
40435
|
-
domToolsInstance =
|
|
40467
|
+
const domToolsInstance = new _DomTools(optionsArg);
|
|
40468
|
+
return domToolsInstance;
|
|
40436
40469
|
}
|
|
40437
|
-
await domToolsInstance.domToolsReady.promise;
|
|
40438
|
-
return domToolsInstance;
|
|
40439
40470
|
}
|
|
40440
40471
|
/**
|
|
40441
40472
|
* if you can, use the static asysnc .setupDomTools() function instead since it is safer to use.
|
|
@@ -40474,12 +40505,13 @@ var DomTools = class _DomTools {
|
|
|
40474
40505
|
this.deesComms = new dist_ts_exports16.DeesComms();
|
|
40475
40506
|
this.scroller = new Scroller(this);
|
|
40476
40507
|
this.themeManager = new ThemeManager(this);
|
|
40477
|
-
this.keyboard =
|
|
40508
|
+
this.keyboard = null;
|
|
40478
40509
|
this.domToolsReady = dist_ts_exports.defer();
|
|
40479
40510
|
this.domReady = dist_ts_exports.defer();
|
|
40480
40511
|
this.globalStylesReady = dist_ts_exports.defer();
|
|
40481
40512
|
this.runOnceTrackerStringMap = new lik.Stringmap();
|
|
40482
40513
|
this.runOnceResultMap = new lik.FastMap();
|
|
40514
|
+
this.runOnceErrorMap = new lik.FastMap();
|
|
40483
40515
|
}
|
|
40484
40516
|
/**
|
|
40485
40517
|
* run a function once and always get the Promise of the first execution
|
|
@@ -40491,13 +40523,22 @@ var DomTools = class _DomTools {
|
|
|
40491
40523
|
if (!this.runOnceTrackerStringMap.checkString(identifierArg)) {
|
|
40492
40524
|
this.runOnceTrackerStringMap.addString(identifierArg);
|
|
40493
40525
|
this.runOnceTrackerStringMap.addString(runningId);
|
|
40494
|
-
|
|
40495
|
-
|
|
40496
|
-
|
|
40526
|
+
try {
|
|
40527
|
+
const result = await funcArg();
|
|
40528
|
+
this.runOnceResultMap.addToMap(identifierArg, result);
|
|
40529
|
+
} catch (error) {
|
|
40530
|
+
this.runOnceErrorMap.addToMap(identifierArg, error);
|
|
40531
|
+
} finally {
|
|
40532
|
+
this.runOnceTrackerStringMap.removeString(runningId);
|
|
40533
|
+
}
|
|
40497
40534
|
}
|
|
40498
40535
|
return await this.runOnceTrackerStringMap.registerUntilTrue((stringMap) => {
|
|
40499
40536
|
return !stringMap.includes(runningId);
|
|
40500
40537
|
}, () => {
|
|
40538
|
+
const error = this.runOnceErrorMap.getByKey(identifierArg);
|
|
40539
|
+
if (error) {
|
|
40540
|
+
throw error;
|
|
40541
|
+
}
|
|
40501
40542
|
return this.runOnceResultMap.getByKey(identifierArg);
|
|
40502
40543
|
});
|
|
40503
40544
|
}
|
|
@@ -40550,7 +40591,7 @@ var DomTools = class _DomTools {
|
|
|
40550
40591
|
}
|
|
40551
40592
|
};
|
|
40552
40593
|
|
|
40553
|
-
// node_modules/.pnpm/@design.estate+dees-domtools@2.3.
|
|
40594
|
+
// node_modules/.pnpm/@design.estate+dees-domtools@2.3.6/node_modules/@design.estate/dees-domtools/dist_ts/domtools.css.basestyles.js
|
|
40554
40595
|
var scrollBarStyles = (() => {
|
|
40555
40596
|
const returnStylesOld = navigator.userAgent.indexOf("Mac OS X") === -1 ? i``.cssText : ``;
|
|
40556
40597
|
const returnStyles = i`
|
|
@@ -40585,7 +40626,7 @@ var globalBaseStyles = i`
|
|
|
40585
40626
|
${r(scrollBarStyles)}
|
|
40586
40627
|
`.cssText;
|
|
40587
40628
|
|
|
40588
|
-
// node_modules/.pnpm/@design.estate+dees-domtools@2.3.
|
|
40629
|
+
// node_modules/.pnpm/@design.estate+dees-domtools@2.3.6/node_modules/@design.estate/dees-domtools/dist_ts/domtools.elementbasic.js
|
|
40589
40630
|
var staticStyles = i`
|
|
40590
40631
|
* {
|
|
40591
40632
|
transition: background 0.1s, color 0.1s;
|
|
@@ -40623,7 +40664,7 @@ var setup = async (elementArg, optionsArg = {}) => {
|
|
|
40623
40664
|
return domTools;
|
|
40624
40665
|
};
|
|
40625
40666
|
|
|
40626
|
-
// node_modules/.pnpm/@design.estate+dees-domtools@2.3.
|
|
40667
|
+
// node_modules/.pnpm/@design.estate+dees-domtools@2.3.6/node_modules/@design.estate/dees-domtools/dist_ts/domtools.css.js
|
|
40627
40668
|
var domtools_css_exports = {};
|
|
40628
40669
|
__export(domtools_css_exports, {
|
|
40629
40670
|
cssGridColumns: () => cssGridColumns
|
|
@@ -40636,7 +40677,7 @@ var cssGridColumns = (amountOfColumnsArg, gapSizeArg) => {
|
|
|
40636
40677
|
return returnString;
|
|
40637
40678
|
};
|
|
40638
40679
|
|
|
40639
|
-
// node_modules/.pnpm/@design.estate+dees-domtools@2.3.
|
|
40680
|
+
// node_modules/.pnpm/@design.estate+dees-domtools@2.3.6/node_modules/@design.estate/dees-domtools/dist_ts/domtools.pluginexports.js
|
|
40640
40681
|
var domtools_pluginexports_exports = {};
|
|
40641
40682
|
__export(domtools_pluginexports_exports, {
|
|
40642
40683
|
SweetScroll: () => import_sweet_scroll2.default,
|
|
@@ -40652,7 +40693,7 @@ __export(domtools_pluginexports_exports, {
|
|
|
40652
40693
|
});
|
|
40653
40694
|
var import_sweet_scroll2 = __toESM(require_sweet_scroll(), 1);
|
|
40654
40695
|
|
|
40655
|
-
// node_modules/.pnpm/@design.estate+dees-element@2.1.
|
|
40696
|
+
// node_modules/.pnpm/@design.estate+dees-element@2.1.3/node_modules/@design.estate/dees-element/dist_ts/plugins.js
|
|
40656
40697
|
var isounique3 = __toESM(require_dist_ts(), 1);
|
|
40657
40698
|
var lit = {
|
|
40658
40699
|
css: i,
|
|
@@ -40661,8 +40702,20 @@ var lit = {
|
|
|
40661
40702
|
property: n5
|
|
40662
40703
|
};
|
|
40663
40704
|
|
|
40664
|
-
// node_modules/.pnpm/@design.estate+dees-element@2.1.
|
|
40665
|
-
var CssManager = class {
|
|
40705
|
+
// node_modules/.pnpm/@design.estate+dees-element@2.1.3/node_modules/@design.estate/dees-element/dist_ts/classes.cssmanager.js
|
|
40706
|
+
var CssManager = class _CssManager {
|
|
40707
|
+
static {
|
|
40708
|
+
this.instance = null;
|
|
40709
|
+
}
|
|
40710
|
+
/**
|
|
40711
|
+
* Returns the singleton instance of CssManager
|
|
40712
|
+
*/
|
|
40713
|
+
static getSingleton() {
|
|
40714
|
+
if (!_CssManager.instance) {
|
|
40715
|
+
_CssManager.instance = new _CssManager();
|
|
40716
|
+
}
|
|
40717
|
+
return _CssManager.instance;
|
|
40718
|
+
}
|
|
40666
40719
|
constructor() {
|
|
40667
40720
|
this.domtoolsPromise = DomTools.setupDomTools();
|
|
40668
40721
|
this.goBright = false;
|
|
@@ -40874,7 +40927,7 @@ function n8(n12) {
|
|
|
40874
40927
|
};
|
|
40875
40928
|
}
|
|
40876
40929
|
|
|
40877
|
-
// node_modules/.pnpm/@design.estate+dees-element@2.1.
|
|
40930
|
+
// node_modules/.pnpm/@design.estate+dees-element@2.1.3/node_modules/@design.estate/dees-element/dist_ts/classes.dees-element.js
|
|
40878
40931
|
var __decorate2 = function(decorators, target, key2, desc) {
|
|
40879
40932
|
var c9 = arguments.length, r10 = c9 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key2) : desc, d5;
|
|
40880
40933
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r10 = Reflect.decorate(decorators, target, key2, desc);
|
|
@@ -40944,7 +40997,7 @@ __decorate2([
|
|
|
40944
40997
|
__metadata2("design:type", dist_ts_exports25.DomTools)
|
|
40945
40998
|
], DeesElement.prototype, "domtools", void 0);
|
|
40946
40999
|
|
|
40947
|
-
// node_modules/.pnpm/@design.estate+dees-element@2.1.
|
|
41000
|
+
// node_modules/.pnpm/@design.estate+dees-element@2.1.3/node_modules/@design.estate/dees-element/dist_ts/directives/index.js
|
|
40948
41001
|
var directives_exports = {};
|
|
40949
41002
|
__export(directives_exports, {
|
|
40950
41003
|
asyncAppend: () => c8,
|
|
@@ -41037,7 +41090,7 @@ var f5 = class extends i6 {
|
|
|
41037
41090
|
}
|
|
41038
41091
|
};
|
|
41039
41092
|
|
|
41040
|
-
// node_modules/.pnpm/@design.estate+dees-element@2.1.
|
|
41093
|
+
// node_modules/.pnpm/@design.estate+dees-element@2.1.3/node_modules/@design.estate/dees-element/dist_ts/directives/classes.resolvedirective.js
|
|
41041
41094
|
var ResolveDirective = class extends f5 {
|
|
41042
41095
|
constructor() {
|
|
41043
41096
|
super(...arguments);
|
|
@@ -41080,7 +41133,7 @@ var resolveExec = (funcArg) => {
|
|
|
41080
41133
|
return resolve(funcArg());
|
|
41081
41134
|
};
|
|
41082
41135
|
|
|
41083
|
-
// node_modules/.pnpm/@design.estate+dees-element@2.1.
|
|
41136
|
+
// node_modules/.pnpm/@design.estate+dees-element@2.1.3/node_modules/@design.estate/dees-element/dist_ts/directives/classes.subscribedirective.js
|
|
41084
41137
|
var SubscribeDirective = class extends f5 {
|
|
41085
41138
|
constructor() {
|
|
41086
41139
|
super(...arguments);
|
|
@@ -41110,7 +41163,7 @@ var SubscribeDirective = class extends f5 {
|
|
|
41110
41163
|
};
|
|
41111
41164
|
var subscribe = e4(SubscribeDirective);
|
|
41112
41165
|
|
|
41113
|
-
// node_modules/.pnpm/@design.estate+dees-element@2.1.
|
|
41166
|
+
// node_modules/.pnpm/@design.estate+dees-element@2.1.3/node_modules/@design.estate/dees-element/dist_ts/directives/classes.subscribewithtemplate.js
|
|
41114
41167
|
var SubscribeWithTemplateDirective = class extends f5 {
|
|
41115
41168
|
constructor() {
|
|
41116
41169
|
super(...arguments);
|
|
@@ -41264,8 +41317,8 @@ var c8 = e4(class extends o11 {
|
|
|
41264
41317
|
}
|
|
41265
41318
|
});
|
|
41266
41319
|
|
|
41267
|
-
// node_modules/.pnpm/@design.estate+dees-element@2.1.
|
|
41268
|
-
var cssManager =
|
|
41320
|
+
// node_modules/.pnpm/@design.estate+dees-element@2.1.3/node_modules/@design.estate/dees-element/dist_ts/index.js
|
|
41321
|
+
var cssManager = CssManager.getSingleton();
|
|
41269
41322
|
|
|
41270
41323
|
// ts_web/elements/wcctools.helpers.ts
|
|
41271
41324
|
var resolveTemplateFactory = async (factoryArg) => {
|