@design.estate/dees-catalog 1.0.208 → 1.0.209
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 +101 -58
- package/dist_bundle/bundle.js.map +4 -4
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/dees-dataview-codebox.js +46 -3
- package/dist_ts_web/elements/dees-table.d.ts +4 -1
- package/dist_ts_web/elements/dees-table.js +28 -7
- package/dist_watch/bundle.js +122 -58
- package/dist_watch/bundle.js.map +3 -3
- package/package.json +4 -4
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/dees-dataview-codebox.ts +45 -2
- package/ts_web/elements/dees-table.ts +32 -14
package/dist_watch/bundle.js
CHANGED
|
@@ -57841,7 +57841,7 @@ var n4 = globalThis.litElementPolyfillSupport;
|
|
|
57841
57841
|
null == n4 || n4({ LitElement: s4 });
|
|
57842
57842
|
(null !== (o4 = globalThis.litElementVersions) && void 0 !== o4 ? o4 : globalThis.litElementVersions = []).push("3.3.3");
|
|
57843
57843
|
|
|
57844
|
-
// node_modules/.pnpm/@design.estate+dees-element@2.0.
|
|
57844
|
+
// node_modules/.pnpm/@design.estate+dees-element@2.0.29/node_modules/@design.estate/dees-element/dist_ts/dees-element.plugins.js
|
|
57845
57845
|
var isounique3 = __toESM(require_dist_ts(), 1);
|
|
57846
57846
|
|
|
57847
57847
|
// node_modules/.pnpm/@push.rocks+smartrx@3.0.6/node_modules/@push.rocks/smartrx/dist_ts/index.js
|
|
@@ -60199,7 +60199,7 @@ function n5(n9) {
|
|
|
60199
60199
|
return (t6, o9) => void 0 !== o9 ? e4(n9, t6, o9) : i3(n9, t6);
|
|
60200
60200
|
}
|
|
60201
60201
|
|
|
60202
|
-
// node_modules/.pnpm/@design.estate+dees-domtools@2.0.
|
|
60202
|
+
// node_modules/.pnpm/@design.estate+dees-domtools@2.0.41/node_modules/@design.estate/dees-domtools/dist_ts/index.js
|
|
60203
60203
|
var dist_ts_exports25 = {};
|
|
60204
60204
|
__export(dist_ts_exports25, {
|
|
60205
60205
|
DomTools: () => DomTools,
|
|
@@ -60211,7 +60211,7 @@ __export(dist_ts_exports25, {
|
|
|
60211
60211
|
rxjs: () => smartrx_plugins_rxjs_exports
|
|
60212
60212
|
});
|
|
60213
60213
|
|
|
60214
|
-
// node_modules/.pnpm/@design.estate+dees-domtools@2.0.
|
|
60214
|
+
// node_modules/.pnpm/@design.estate+dees-domtools@2.0.41/node_modules/@design.estate/dees-domtools/dist_ts/domtools.elementbasic.js
|
|
60215
60215
|
var domtools_elementbasic_exports = {};
|
|
60216
60216
|
__export(domtools_elementbasic_exports, {
|
|
60217
60217
|
setup: () => setup,
|
|
@@ -66072,7 +66072,7 @@ var WebSetup = class {
|
|
|
66072
66072
|
}
|
|
66073
66073
|
};
|
|
66074
66074
|
|
|
66075
|
-
// node_modules/.pnpm/@design.estate+dees-domtools@2.0.
|
|
66075
|
+
// node_modules/.pnpm/@design.estate+dees-domtools@2.0.41/node_modules/@design.estate/dees-domtools/dist_ts/domtools.plugins.js
|
|
66076
66076
|
var import_sweet_scroll = __toESM(require_sweet_scroll(), 1);
|
|
66077
66077
|
var lik = {
|
|
66078
66078
|
ObjectMap,
|
|
@@ -66080,7 +66080,7 @@ var lik = {
|
|
|
66080
66080
|
FastMap
|
|
66081
66081
|
};
|
|
66082
66082
|
|
|
66083
|
-
// node_modules/.pnpm/@design.estate+dees-domtools@2.0.
|
|
66083
|
+
// node_modules/.pnpm/@design.estate+dees-domtools@2.0.41/node_modules/@design.estate/dees-domtools/dist_ts/domtools.css.breakpoints.js
|
|
66084
66084
|
var domtools_css_breakpoints_exports = {};
|
|
66085
66085
|
__export(domtools_css_breakpoints_exports, {
|
|
66086
66086
|
cssForDesktop: () => cssForDesktop,
|
|
@@ -66150,7 +66150,7 @@ var cssForPhone = (cssArg) => {
|
|
|
66150
66150
|
`);
|
|
66151
66151
|
};
|
|
66152
66152
|
|
|
66153
|
-
// node_modules/.pnpm/@design.estate+dees-domtools@2.0.
|
|
66153
|
+
// node_modules/.pnpm/@design.estate+dees-domtools@2.0.41/node_modules/@design.estate/dees-domtools/dist_ts/domtools.classes.thememanager.js
|
|
66154
66154
|
var ThemeManager = class {
|
|
66155
66155
|
constructor(domtoolsRefArg) {
|
|
66156
66156
|
this.goBrightBoolean = false;
|
|
@@ -66193,7 +66193,7 @@ var ThemeManager = class {
|
|
|
66193
66193
|
}
|
|
66194
66194
|
};
|
|
66195
66195
|
|
|
66196
|
-
// node_modules/.pnpm/@design.estate+dees-domtools@2.0.
|
|
66196
|
+
// node_modules/.pnpm/@design.estate+dees-domtools@2.0.41/node_modules/@design.estate/dees-domtools/dist_ts/domtools.classes.keyboard.js
|
|
66197
66197
|
var Key;
|
|
66198
66198
|
(function(Key2) {
|
|
66199
66199
|
Key2[Key2["Backspace"] = 8] = "Backspace";
|
|
@@ -66379,7 +66379,7 @@ var Keyboard = class {
|
|
|
66379
66379
|
}
|
|
66380
66380
|
};
|
|
66381
66381
|
|
|
66382
|
-
// node_modules/.pnpm/@design.estate+dees-domtools@2.0.
|
|
66382
|
+
// node_modules/.pnpm/@design.estate+dees-domtools@2.0.41/node_modules/@design.estate/dees-domtools/dist_ts/domtools.classes.domtools.js
|
|
66383
66383
|
var DomTools = class {
|
|
66384
66384
|
// ======
|
|
66385
66385
|
// STATIC
|
|
@@ -66524,7 +66524,7 @@ var DomTools = class {
|
|
|
66524
66524
|
}
|
|
66525
66525
|
};
|
|
66526
66526
|
|
|
66527
|
-
// node_modules/.pnpm/@design.estate+dees-domtools@2.0.
|
|
66527
|
+
// node_modules/.pnpm/@design.estate+dees-domtools@2.0.41/node_modules/@design.estate/dees-domtools/dist_ts/domtools.css.basestyles.js
|
|
66528
66528
|
var scrollBarStyles = (() => {
|
|
66529
66529
|
const returnStylesOld = navigator.userAgent.indexOf("Mac OS X") === -1 ? i``.cssText : ``;
|
|
66530
66530
|
const returnStyles = i`
|
|
@@ -66559,7 +66559,7 @@ var globalBaseStyles = i`
|
|
|
66559
66559
|
${r(scrollBarStyles)}
|
|
66560
66560
|
`.cssText;
|
|
66561
66561
|
|
|
66562
|
-
// node_modules/.pnpm/@design.estate+dees-domtools@2.0.
|
|
66562
|
+
// node_modules/.pnpm/@design.estate+dees-domtools@2.0.41/node_modules/@design.estate/dees-domtools/dist_ts/domtools.elementbasic.js
|
|
66563
66563
|
var staticStyles = i`
|
|
66564
66564
|
* {
|
|
66565
66565
|
transition: background 0.1s, color 0.1s;
|
|
@@ -66597,7 +66597,7 @@ var setup = async (elementArg, optionsArg = {}) => {
|
|
|
66597
66597
|
return domTools;
|
|
66598
66598
|
};
|
|
66599
66599
|
|
|
66600
|
-
// node_modules/.pnpm/@design.estate+dees-domtools@2.0.
|
|
66600
|
+
// node_modules/.pnpm/@design.estate+dees-domtools@2.0.41/node_modules/@design.estate/dees-domtools/dist_ts/domtools.css.js
|
|
66601
66601
|
var domtools_css_exports = {};
|
|
66602
66602
|
__export(domtools_css_exports, {
|
|
66603
66603
|
cssGridColumns: () => cssGridColumns
|
|
@@ -66610,15 +66610,17 @@ var cssGridColumns = (amountOfColumnsArg, gapSizeArg) => {
|
|
|
66610
66610
|
return returnString;
|
|
66611
66611
|
};
|
|
66612
66612
|
|
|
66613
|
-
// node_modules/.pnpm/@design.estate+dees-domtools@2.0.
|
|
66613
|
+
// node_modules/.pnpm/@design.estate+dees-domtools@2.0.41/node_modules/@design.estate/dees-domtools/dist_ts/index.js
|
|
66614
66614
|
var plugins = {
|
|
66615
66615
|
smartdelay: dist_ts_exports3,
|
|
66616
66616
|
smartpromise: dist_ts_exports,
|
|
66617
66617
|
SweetScroll: import_sweet_scroll.default,
|
|
66618
|
-
smartstate: dist_ts_exports19
|
|
66618
|
+
smartstate: dist_ts_exports19,
|
|
66619
|
+
smartrx: dist_ts_exports2,
|
|
66620
|
+
smarturl: dist_ts_exports20
|
|
66619
66621
|
};
|
|
66620
66622
|
|
|
66621
|
-
// node_modules/.pnpm/@design.estate+dees-element@2.0.
|
|
66623
|
+
// node_modules/.pnpm/@design.estate+dees-element@2.0.29/node_modules/@design.estate/dees-element/dist_ts/dees-element.plugins.js
|
|
66622
66624
|
var lit = {
|
|
66623
66625
|
css: i,
|
|
66624
66626
|
unsafeCSS: r,
|
|
@@ -66626,7 +66628,7 @@ var lit = {
|
|
|
66626
66628
|
property: n5
|
|
66627
66629
|
};
|
|
66628
66630
|
|
|
66629
|
-
// node_modules/.pnpm/@design.estate+dees-element@2.0.
|
|
66631
|
+
// node_modules/.pnpm/@design.estate+dees-element@2.0.29/node_modules/@design.estate/dees-element/dist_ts/dees-element.classes.cssmanager.js
|
|
66630
66632
|
var CssManager = class {
|
|
66631
66633
|
constructor() {
|
|
66632
66634
|
this.domtoolsPromise = DomTools.setupDomTools();
|
|
@@ -67015,7 +67017,7 @@ var c6 = e5(class extends o8 {
|
|
|
67015
67017
|
}
|
|
67016
67018
|
});
|
|
67017
67019
|
|
|
67018
|
-
// node_modules/.pnpm/@design.estate+dees-element@2.0.
|
|
67020
|
+
// node_modules/.pnpm/@design.estate+dees-element@2.0.29/node_modules/@design.estate/dees-element/dist_ts/dees-element.classes.dees-element.js
|
|
67019
67021
|
var __decorate = function(decorators, target, key, desc) {
|
|
67020
67022
|
var c7 = arguments.length, r6 = c7 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d4;
|
|
67021
67023
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
@@ -67044,8 +67046,8 @@ var DeesElement = class extends lit.LitElement {
|
|
|
67044
67046
|
}
|
|
67045
67047
|
async connectedCallback() {
|
|
67046
67048
|
super.connectedCallback();
|
|
67047
|
-
const
|
|
67048
|
-
this.themeSubscription =
|
|
67049
|
+
const domtools6 = await this.domtoolsPromise;
|
|
67050
|
+
this.themeSubscription = domtools6.themeManager.themeObservable.subscribe((goBrightArg) => {
|
|
67049
67051
|
this.goBright = goBrightArg;
|
|
67050
67052
|
});
|
|
67051
67053
|
this.rxSubscriptions.push(this.themeSubscription);
|
|
@@ -67073,7 +67075,7 @@ __decorate([
|
|
|
67073
67075
|
__metadata("design:type", dist_ts_exports25.DomTools)
|
|
67074
67076
|
], DeesElement.prototype, "domtools", void 0);
|
|
67075
67077
|
|
|
67076
|
-
// node_modules/.pnpm/@design.estate+dees-element@2.0.
|
|
67078
|
+
// node_modules/.pnpm/@design.estate+dees-element@2.0.29/node_modules/@design.estate/dees-element/dist_ts/dees-element.classes.subscribedirective.js
|
|
67077
67079
|
var SubscribeDirective = class extends c4 {
|
|
67078
67080
|
constructor() {
|
|
67079
67081
|
super(...arguments);
|
|
@@ -67103,7 +67105,7 @@ var SubscribeDirective = class extends c4 {
|
|
|
67103
67105
|
};
|
|
67104
67106
|
var subscribe = e5(SubscribeDirective);
|
|
67105
67107
|
|
|
67106
|
-
// node_modules/.pnpm/@design.estate+dees-element@2.0.
|
|
67108
|
+
// node_modules/.pnpm/@design.estate+dees-element@2.0.29/node_modules/@design.estate/dees-element/dist_ts/dees-element.classes.resolvedirective.js
|
|
67107
67109
|
var ResolveDirective = class extends c4 {
|
|
67108
67110
|
constructor() {
|
|
67109
67111
|
super(...arguments);
|
|
@@ -67146,10 +67148,10 @@ var resolveExec = (funcArg) => {
|
|
|
67146
67148
|
return resolve(funcArg());
|
|
67147
67149
|
};
|
|
67148
67150
|
|
|
67149
|
-
// node_modules/.pnpm/@design.estate+dees-element@2.0.
|
|
67151
|
+
// node_modules/.pnpm/@design.estate+dees-element@2.0.29/node_modules/@design.estate/dees-element/dist_ts/index.js
|
|
67150
67152
|
var cssManager = new CssManager();
|
|
67151
67153
|
|
|
67152
|
-
// node_modules/.pnpm/@design.estate+dees-wcctools@1.0.78_@types+node@20.6.
|
|
67154
|
+
// node_modules/.pnpm/@design.estate+dees-wcctools@1.0.78_@types+node@20.6.2/node_modules/@design.estate/dees-wcctools/dist_ts_web/elements/wcc-frame.js
|
|
67153
67155
|
var __decorate2 = function(decorators, target, key, desc) {
|
|
67154
67156
|
var c7 = arguments.length, r6 = c7 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d4;
|
|
67155
67157
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
@@ -67261,7 +67263,7 @@ WccFrame = __decorate2([
|
|
|
67261
67263
|
e7("wcc-frame")
|
|
67262
67264
|
], WccFrame);
|
|
67263
67265
|
|
|
67264
|
-
// node_modules/.pnpm/@design.estate+dees-wcctools@1.0.78_@types+node@20.6.
|
|
67266
|
+
// node_modules/.pnpm/@design.estate+dees-wcctools@1.0.78_@types+node@20.6.2/node_modules/@design.estate/dees-wcctools/dist_ts_web/elements/wcc-sidebar.js
|
|
67265
67267
|
var __decorate3 = function(decorators, target, key, desc) {
|
|
67266
67268
|
var c7 = arguments.length, r6 = c7 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d4;
|
|
67267
67269
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
@@ -67395,7 +67397,7 @@ var WccSidebar = class WccSidebar2 extends DeesElement {
|
|
|
67395
67397
|
<div
|
|
67396
67398
|
class="selectOption ${this.selectedItem === item ? "selected" : null}"
|
|
67397
67399
|
@click=${async () => {
|
|
67398
|
-
const
|
|
67400
|
+
const domtools6 = await dist_ts_exports25.DomTools.setupDomTools();
|
|
67399
67401
|
this.selectItem("page", pageName, item);
|
|
67400
67402
|
}}
|
|
67401
67403
|
>
|
|
@@ -67414,7 +67416,7 @@ var WccSidebar = class WccSidebar2 extends DeesElement {
|
|
|
67414
67416
|
<div
|
|
67415
67417
|
class="selectOption ${this.selectedItem === item ? "selected" : null}"
|
|
67416
67418
|
@click=${async () => {
|
|
67417
|
-
const
|
|
67419
|
+
const domtools6 = await dist_ts_exports25.DomTools.setupDomTools();
|
|
67418
67420
|
this.selectItem("element", elementName, item);
|
|
67419
67421
|
}}
|
|
67420
67422
|
>
|
|
@@ -67465,7 +67467,7 @@ WccSidebar = __decorate3([
|
|
|
67465
67467
|
e7("wcc-sidebar")
|
|
67466
67468
|
], WccSidebar);
|
|
67467
67469
|
|
|
67468
|
-
// node_modules/.pnpm/@design.estate+dees-wcctools@1.0.78_@types+node@20.6.
|
|
67470
|
+
// node_modules/.pnpm/@design.estate+dees-wcctools@1.0.78_@types+node@20.6.2/node_modules/@design.estate/dees-wcctools/dist_ts_web/elements/wcc-properties.js
|
|
67469
67471
|
var __decorate4 = function(decorators, target, key, desc) {
|
|
67470
67472
|
var c7 = arguments.length, r6 = c7 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d4;
|
|
67471
67473
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
@@ -67862,7 +67864,7 @@ WccProperties = __decorate4([
|
|
|
67862
67864
|
e7("wcc-properties")
|
|
67863
67865
|
], WccProperties);
|
|
67864
67866
|
|
|
67865
|
-
// node_modules/.pnpm/@design.estate+dees-wcctools@1.0.78_@types+node@20.6.
|
|
67867
|
+
// node_modules/.pnpm/@design.estate+dees-wcctools@1.0.78_@types+node@20.6.2/node_modules/@design.estate/dees-wcctools/dist_ts_web/elements/wcc-dashboard.js
|
|
67866
67868
|
var __decorate5 = function(decorators, target, key, desc) {
|
|
67867
67869
|
var c7 = arguments.length, r6 = c7 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d4;
|
|
67868
67870
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
@@ -68040,7 +68042,7 @@ WccDashboard = __decorate5([
|
|
|
68040
68042
|
__metadata5("design:paramtypes", [Object, Object])
|
|
68041
68043
|
], WccDashboard);
|
|
68042
68044
|
|
|
68043
|
-
// node_modules/.pnpm/@design.estate+dees-wcctools@1.0.78_@types+node@20.6.
|
|
68045
|
+
// node_modules/.pnpm/@design.estate+dees-wcctools@1.0.78_@types+node@20.6.2/node_modules/@design.estate/dees-wcctools/dist_ts_web/index.js
|
|
68044
68046
|
var setupWccTools = (elementsArg, pagesArg) => {
|
|
68045
68047
|
let hasRun = false;
|
|
68046
68048
|
const runWccToolsSetup = async () => {
|
|
@@ -68562,19 +68564,19 @@ var DeesWindowLayer = class extends DeesElement {
|
|
|
68562
68564
|
this.visible = !this.visible;
|
|
68563
68565
|
}
|
|
68564
68566
|
async show() {
|
|
68565
|
-
const
|
|
68566
|
-
await
|
|
68567
|
+
const domtools6 = await this.domtoolsPromise;
|
|
68568
|
+
await domtools6.convenience.smartdelay.delayFor(0);
|
|
68567
68569
|
this.visible = true;
|
|
68568
68570
|
}
|
|
68569
68571
|
async hide() {
|
|
68570
|
-
const
|
|
68571
|
-
await
|
|
68572
|
+
const domtools6 = await this.domtoolsPromise;
|
|
68573
|
+
await domtools6.convenience.smartdelay.delayFor(0);
|
|
68572
68574
|
this.visible = false;
|
|
68573
68575
|
}
|
|
68574
68576
|
async destroy() {
|
|
68575
|
-
const
|
|
68577
|
+
const domtools6 = await this.domtoolsPromise;
|
|
68576
68578
|
await this.hide();
|
|
68577
|
-
await
|
|
68579
|
+
await domtools6.convenience.smartdelay.delayFor(300);
|
|
68578
68580
|
this.remove();
|
|
68579
68581
|
}
|
|
68580
68582
|
};
|
|
@@ -68771,6 +68773,42 @@ var DeesDataviewCodebox = class extends DeesElement {
|
|
|
68771
68773
|
line-height: 24px;
|
|
68772
68774
|
}
|
|
68773
68775
|
|
|
68776
|
+
.appbar .macControls {
|
|
68777
|
+
position: absolute;
|
|
68778
|
+
top: 6px;
|
|
68779
|
+
left: 20px;
|
|
68780
|
+
width: 200px;
|
|
68781
|
+
display: grid;
|
|
68782
|
+
grid-template-columns: 24px 24px 24px;
|
|
68783
|
+
}
|
|
68784
|
+
|
|
68785
|
+
.appbar .macControls div {
|
|
68786
|
+
width: 12px;
|
|
68787
|
+
height: 12px;
|
|
68788
|
+
display: inline-block;
|
|
68789
|
+
border-radius: 50%;
|
|
68790
|
+
margin: 0px;
|
|
68791
|
+
padding: 0px;
|
|
68792
|
+
cursor: pointer;
|
|
68793
|
+
background: #222222;
|
|
68794
|
+
}
|
|
68795
|
+
|
|
68796
|
+
.appbar .macControls div.close {
|
|
68797
|
+
background: #FF5F57;
|
|
68798
|
+
}
|
|
68799
|
+
|
|
68800
|
+
.appbar .macControls div.toDock {
|
|
68801
|
+
background: #FFBD2E;
|
|
68802
|
+
}
|
|
68803
|
+
|
|
68804
|
+
.appbar .macControls div.minMax {
|
|
68805
|
+
background: #27C93F;
|
|
68806
|
+
}
|
|
68807
|
+
|
|
68808
|
+
.appbar .macControls div:hover {
|
|
68809
|
+
background: #333333;
|
|
68810
|
+
}
|
|
68811
|
+
|
|
68774
68812
|
.appbar .fileName {
|
|
68775
68813
|
text-align: center;
|
|
68776
68814
|
}
|
|
@@ -68780,13 +68818,15 @@ var DeesDataviewCodebox = class extends DeesElement {
|
|
|
68780
68818
|
background: #161616;
|
|
68781
68819
|
border-top: 1px solid #222222;
|
|
68782
68820
|
font-size: 12px;
|
|
68783
|
-
color: #
|
|
68821
|
+
color: #888;
|
|
68784
68822
|
font-family: 'Hubot Sans', 'monospace';
|
|
68785
68823
|
line-height: 24px;
|
|
68824
|
+
text-align: right;
|
|
68825
|
+
padding-right: 100px;
|
|
68786
68826
|
}
|
|
68787
68827
|
|
|
68788
68828
|
.languageLabel {
|
|
68789
|
-
color: #
|
|
68829
|
+
color: #ccc;
|
|
68790
68830
|
font-size: 12px;
|
|
68791
68831
|
line-height: 24px;
|
|
68792
68832
|
z-index: 10;
|
|
@@ -68862,6 +68902,11 @@ var DeesDataviewCodebox = class extends DeesElement {
|
|
|
68862
68902
|
</style>
|
|
68863
68903
|
<div class="mainbox">
|
|
68864
68904
|
<div class="appbar">
|
|
68905
|
+
<div class="macControls">
|
|
68906
|
+
<div class="close"></div>
|
|
68907
|
+
<div class="toDock"></div>
|
|
68908
|
+
<div class="minMax"></div>
|
|
68909
|
+
</div>
|
|
68865
68910
|
<div class="fileName">index.ts</div>
|
|
68866
68911
|
</div>
|
|
68867
68912
|
<div class="codegrid">
|
|
@@ -69361,7 +69406,7 @@ var DeesInputText = class extends DeesElement {
|
|
|
69361
69406
|
this.disabled = false;
|
|
69362
69407
|
}
|
|
69363
69408
|
async togglePasswordView() {
|
|
69364
|
-
const
|
|
69409
|
+
const domtools6 = await this.domtoolsPromise;
|
|
69365
69410
|
this.showPasswordBool = !this.showPasswordBool;
|
|
69366
69411
|
console.log(`this.showPasswordBool is: ${this.showPasswordBool}`);
|
|
69367
69412
|
}
|
|
@@ -69853,9 +69898,9 @@ var DeesFormSubmit = class extends DeesElement {
|
|
|
69853
69898
|
parentElement.gatherAndDispatch();
|
|
69854
69899
|
}
|
|
69855
69900
|
async focus() {
|
|
69856
|
-
const
|
|
69901
|
+
const domtools6 = await this.domtoolsPromise;
|
|
69857
69902
|
if (!this.disabled) {
|
|
69858
|
-
|
|
69903
|
+
domtools6.convenience.smartdelay.delayFor(0);
|
|
69859
69904
|
this.submit();
|
|
69860
69905
|
}
|
|
69861
69906
|
}
|
|
@@ -73124,7 +73169,7 @@ var DeesMobilenavigation = class extends DeesElement {
|
|
|
73124
73169
|
* inits the show
|
|
73125
73170
|
*/
|
|
73126
73171
|
async show() {
|
|
73127
|
-
const
|
|
73172
|
+
const domtools6 = await this.domtoolsPromise;
|
|
73128
73173
|
const main = this.shadowRoot.querySelector(".main");
|
|
73129
73174
|
if (!this.windowLayer) {
|
|
73130
73175
|
this.windowLayer = new DeesWindowLayer();
|
|
@@ -73133,16 +73178,16 @@ var DeesMobilenavigation = class extends DeesElement {
|
|
|
73133
73178
|
});
|
|
73134
73179
|
}
|
|
73135
73180
|
document.body.append(this.windowLayer);
|
|
73136
|
-
await
|
|
73181
|
+
await domtools6.convenience.smartdelay.delayFor(0);
|
|
73137
73182
|
this.windowLayer.show();
|
|
73138
|
-
await
|
|
73183
|
+
await domtools6.convenience.smartdelay.delayFor(0);
|
|
73139
73184
|
main.classList.add("show");
|
|
73140
73185
|
}
|
|
73141
73186
|
/**
|
|
73142
73187
|
* inits the hide function
|
|
73143
73188
|
*/
|
|
73144
73189
|
async hide() {
|
|
73145
|
-
const
|
|
73190
|
+
const domtools6 = await this.domtoolsPromise;
|
|
73146
73191
|
const main = this.shadowRoot.querySelector(".main");
|
|
73147
73192
|
main.classList.remove("show");
|
|
73148
73193
|
this.windowLayer.hide();
|
|
@@ -73318,8 +73363,8 @@ var DeesModal = class extends DeesElement {
|
|
|
73318
73363
|
}
|
|
73319
73364
|
async firstUpdated(_changedProperties) {
|
|
73320
73365
|
super.firstUpdated(_changedProperties);
|
|
73321
|
-
const
|
|
73322
|
-
await
|
|
73366
|
+
const domtools6 = await this.domtoolsPromise;
|
|
73367
|
+
await domtools6.convenience.smartdelay.delayFor(30);
|
|
73323
73368
|
const modal = this.shadowRoot.querySelector(".modal");
|
|
73324
73369
|
modal.classList.add("show");
|
|
73325
73370
|
}
|
|
@@ -73331,10 +73376,10 @@ var DeesModal = class extends DeesElement {
|
|
|
73331
73376
|
}
|
|
73332
73377
|
}
|
|
73333
73378
|
async destroy() {
|
|
73334
|
-
const
|
|
73379
|
+
const domtools6 = await this.domtoolsPromise;
|
|
73335
73380
|
const modal = this.shadowRoot.querySelector(".modal");
|
|
73336
73381
|
modal.classList.add("predestroy");
|
|
73337
|
-
await
|
|
73382
|
+
await domtools6.convenience.smartdelay.delayFor(200);
|
|
73338
73383
|
document.body.removeChild(this);
|
|
73339
73384
|
await this.windowLayer.destroy();
|
|
73340
73385
|
}
|
|
@@ -73544,7 +73589,7 @@ var DeesSimpleAppDash = class extends DeesElement {
|
|
|
73544
73589
|
`;
|
|
73545
73590
|
}
|
|
73546
73591
|
async firstUpdated(_changedProperties) {
|
|
73547
|
-
const
|
|
73592
|
+
const domtools6 = await this.domtoolsPromise;
|
|
73548
73593
|
super.firstUpdated(_changedProperties);
|
|
73549
73594
|
}
|
|
73550
73595
|
};
|
|
@@ -73612,7 +73657,7 @@ var DeesSimpleLogin = class extends DeesElement {
|
|
|
73612
73657
|
`;
|
|
73613
73658
|
}
|
|
73614
73659
|
async firstUpdated(_changedProperties) {
|
|
73615
|
-
const
|
|
73660
|
+
const domtools6 = await this.domtoolsPromise;
|
|
73616
73661
|
super.firstUpdated(_changedProperties);
|
|
73617
73662
|
const form = this.shadowRoot.querySelector("dees-form");
|
|
73618
73663
|
await form.readyDeferred.promise;
|
|
@@ -73627,7 +73672,7 @@ var DeesSimpleLogin = class extends DeesElement {
|
|
|
73627
73672
|
* allows switching to slotted content
|
|
73628
73673
|
*/
|
|
73629
73674
|
async switchToSlottedContent() {
|
|
73630
|
-
const
|
|
73675
|
+
const domtools6 = await this.domtoolsPromise;
|
|
73631
73676
|
const loginDiv = this.shadowRoot.querySelector(".login");
|
|
73632
73677
|
const loginContainerDiv = this.shadowRoot.querySelector(".loginContainer");
|
|
73633
73678
|
const slotContainerDiv = this.shadowRoot.querySelector(".slotContainer");
|
|
@@ -73635,10 +73680,10 @@ var DeesSimpleLogin = class extends DeesElement {
|
|
|
73635
73680
|
loginDiv.style.transform = "translateY(20px)";
|
|
73636
73681
|
loginContainerDiv.style.pointerEvents = "none";
|
|
73637
73682
|
slotContainerDiv.style.transform = "translateY(20px)";
|
|
73638
|
-
await
|
|
73683
|
+
await domtools6.convenience.smartdelay.delayFor(300);
|
|
73639
73684
|
slotContainerDiv.style.opacity = "1";
|
|
73640
73685
|
slotContainerDiv.style.transform = "translateY(0px)";
|
|
73641
|
-
await
|
|
73686
|
+
await domtools6.convenience.smartdelay.delayFor(300);
|
|
73642
73687
|
slotContainerDiv.style.pointerEvents = "all";
|
|
73643
73688
|
}
|
|
73644
73689
|
};
|
|
@@ -74287,9 +74332,11 @@ var DeesTable = class extends DeesElement {
|
|
|
74287
74332
|
this.data = [];
|
|
74288
74333
|
this.dataActions = [];
|
|
74289
74334
|
this.displayFunction = (itemArg) => itemArg;
|
|
74335
|
+
this.reverseDisplayFunction = (itemArg) => itemArg;
|
|
74290
74336
|
this.editableFields = [];
|
|
74291
74337
|
this.files = [];
|
|
74292
74338
|
this.fileWeakMap = /* @__PURE__ */ new WeakMap();
|
|
74339
|
+
this.itemChangeSubject = new plugins.smartrx.rxjs.Subject();
|
|
74293
74340
|
}
|
|
74294
74341
|
render() {
|
|
74295
74342
|
return x`
|
|
@@ -74528,18 +74575,30 @@ var DeesTable = class extends DeesElement {
|
|
|
74528
74575
|
}
|
|
74529
74576
|
return actions;
|
|
74530
74577
|
}
|
|
74531
|
-
handleCellEditing(event,
|
|
74578
|
+
handleCellEditing(event, itemArg, key) {
|
|
74532
74579
|
const target = event.target;
|
|
74580
|
+
const transformedItem = this.displayFunction(itemArg);
|
|
74581
|
+
const initialValue = transformedItem[key] || "";
|
|
74533
74582
|
const input = document.createElement("input");
|
|
74534
74583
|
input.type = "text";
|
|
74535
|
-
input.value =
|
|
74584
|
+
input.value = initialValue;
|
|
74585
|
+
const blurInput = (blurArg = true, saveArg = false) => {
|
|
74586
|
+
if (blurArg) {
|
|
74587
|
+
input.blur();
|
|
74588
|
+
}
|
|
74589
|
+
if (saveArg) {
|
|
74590
|
+
itemArg[key] = input.value;
|
|
74591
|
+
target.innerHTML = input.value;
|
|
74592
|
+
} else {
|
|
74593
|
+
target.innerHTML = initialValue;
|
|
74594
|
+
}
|
|
74595
|
+
};
|
|
74536
74596
|
input.addEventListener("blur", () => {
|
|
74537
|
-
|
|
74538
|
-
target.innerHTML = input.value;
|
|
74597
|
+
blurInput(false, false);
|
|
74539
74598
|
});
|
|
74540
74599
|
input.addEventListener("keydown", (e12) => {
|
|
74541
74600
|
if (e12.key === "Enter") {
|
|
74542
|
-
|
|
74601
|
+
blurInput(true, true);
|
|
74543
74602
|
}
|
|
74544
74603
|
});
|
|
74545
74604
|
target.innerHTML = "";
|
|
@@ -74691,7 +74750,7 @@ DeesTable.styles = [
|
|
|
74691
74750
|
font-family: inherit;
|
|
74692
74751
|
font-size: inherit;
|
|
74693
74752
|
font-weight: inherit;
|
|
74694
|
-
padding: 0px 6px
|
|
74753
|
+
padding: 0px 6px;
|
|
74695
74754
|
}
|
|
74696
74755
|
|
|
74697
74756
|
.action {
|
|
@@ -74776,6 +74835,11 @@ __decorateClass([
|
|
|
74776
74835
|
attribute: false
|
|
74777
74836
|
})
|
|
74778
74837
|
], DeesTable.prototype, "displayFunction", 2);
|
|
74838
|
+
__decorateClass([
|
|
74839
|
+
n5({
|
|
74840
|
+
attribute: false
|
|
74841
|
+
})
|
|
74842
|
+
], DeesTable.prototype, "reverseDisplayFunction", 2);
|
|
74779
74843
|
__decorateClass([
|
|
74780
74844
|
n5({
|
|
74781
74845
|
type: Object
|