@design.estate/dees-catalog 1.0.241 → 1.0.245
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 +354 -266
- package/dist_bundle/bundle.js.map +4 -4
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/00colors.d.ts +10 -0
- package/dist_ts_web/elements/00colors.js +11 -0
- package/dist_ts_web/elements/00plugins.d.ts +4 -0
- package/dist_ts_web/elements/00plugins.js +7 -0
- package/dist_ts_web/elements/dees-contextmenu.d.ts +1 -1
- package/dist_ts_web/elements/dees-contextmenu.demo.js +2 -2
- package/dist_ts_web/elements/dees-contextmenu.js +2 -2
- package/dist_ts_web/elements/dees-icon.d.ts +1 -0
- package/dist_ts_web/elements/dees-icon.js +3 -2
- package/dist_ts_web/elements/dees-input-multitoggle.demo.js +8 -2
- package/dist_ts_web/elements/dees-input-multitoggle.js +9 -3
- package/dist_ts_web/elements/dees-input-typelist.demo.js +12 -2
- package/dist_ts_web/elements/dees-input-typelist.js +27 -8
- package/dist_ts_web/elements/dees-mobilenavigation.d.ts +1 -1
- package/dist_ts_web/elements/dees-mobilenavigation.js +2 -2
- package/dist_ts_web/elements/dees-modal.d.ts +1 -1
- package/dist_ts_web/elements/dees-modal.js +2 -2
- package/dist_ts_web/elements/dees-pdf.js +4 -13
- package/dist_ts_web/elements/dees-progressbar.d.ts +10 -0
- package/dist_ts_web/elements/dees-progressbar.demo.d.ts +1 -0
- package/dist_ts_web/elements/dees-progressbar.demo.js +10 -0
- package/dist_ts_web/elements/dees-progressbar.js +94 -0
- package/dist_ts_web/elements/dees-table.demo.js +2 -2
- package/dist_ts_web/elements/dees-table.js +2 -2
- package/dist_ts_web/elements/dees-updater.d.ts +3 -1
- package/dist_ts_web/elements/dees-updater.demo.d.ts +1 -0
- package/dist_ts_web/elements/dees-updater.demo.js +9 -0
- package/dist_ts_web/elements/dees-updater.js +51 -37
- package/dist_ts_web/elements/index.d.ts +1 -0
- package/dist_ts_web/elements/index.js +2 -1
- package/dist_watch/bundle.js +321 -157
- package/dist_watch/bundle.js.map +4 -4
- package/package.json +1 -1
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/00colors.ts +11 -0
- package/ts_web/elements/dees-contextmenu.demo.ts +1 -1
- package/ts_web/elements/dees-contextmenu.ts +1 -1
- package/ts_web/elements/dees-icon.ts +2 -0
- package/ts_web/elements/dees-input-multitoggle.demo.ts +7 -1
- package/ts_web/elements/dees-input-multitoggle.ts +8 -2
- package/ts_web/elements/dees-input-typelist.demo.ts +11 -1
- package/ts_web/elements/dees-input-typelist.ts +26 -7
- package/ts_web/elements/dees-mobilenavigation.ts +1 -1
- package/ts_web/elements/dees-modal.ts +1 -1
- package/ts_web/elements/dees-pdf.ts +3 -12
- package/ts_web/elements/dees-progressbar.demo.ts +11 -0
- package/ts_web/elements/dees-progressbar.ts +95 -0
- package/ts_web/elements/dees-table.demo.ts +1 -1
- package/ts_web/elements/dees-table.ts +1 -1
- package/ts_web/elements/dees-updater.demo.ts +10 -0
- package/ts_web/elements/dees-updater.ts +58 -38
- package/ts_web/elements/index.ts +1 -0
- /package/ts_web/elements/{plugins.ts → 00plugins.ts} +0 -0
package/dist_watch/bundle.js
CHANGED
|
@@ -2060,7 +2060,7 @@ var init_Action = __esm({
|
|
|
2060
2060
|
function Action2(scheduler, work) {
|
|
2061
2061
|
return _super.call(this) || this;
|
|
2062
2062
|
}
|
|
2063
|
-
Action2.prototype.schedule = function(
|
|
2063
|
+
Action2.prototype.schedule = function(state10, delay) {
|
|
2064
2064
|
if (delay === void 0) {
|
|
2065
2065
|
delay = 0;
|
|
2066
2066
|
}
|
|
@@ -2114,7 +2114,7 @@ var init_AsyncAction = __esm({
|
|
|
2114
2114
|
_this.pending = false;
|
|
2115
2115
|
return _this;
|
|
2116
2116
|
}
|
|
2117
|
-
AsyncAction2.prototype.schedule = function(
|
|
2117
|
+
AsyncAction2.prototype.schedule = function(state10, delay) {
|
|
2118
2118
|
var _a;
|
|
2119
2119
|
if (delay === void 0) {
|
|
2120
2120
|
delay = 0;
|
|
@@ -2122,7 +2122,7 @@ var init_AsyncAction = __esm({
|
|
|
2122
2122
|
if (this.closed) {
|
|
2123
2123
|
return this;
|
|
2124
2124
|
}
|
|
2125
|
-
this.state =
|
|
2125
|
+
this.state = state10;
|
|
2126
2126
|
var id = this.id;
|
|
2127
2127
|
var scheduler = this.scheduler;
|
|
2128
2128
|
if (id != null) {
|
|
@@ -2151,23 +2151,23 @@ var init_AsyncAction = __esm({
|
|
|
2151
2151
|
}
|
|
2152
2152
|
return void 0;
|
|
2153
2153
|
};
|
|
2154
|
-
AsyncAction2.prototype.execute = function(
|
|
2154
|
+
AsyncAction2.prototype.execute = function(state10, delay) {
|
|
2155
2155
|
if (this.closed) {
|
|
2156
2156
|
return new Error("executing a cancelled action");
|
|
2157
2157
|
}
|
|
2158
2158
|
this.pending = false;
|
|
2159
|
-
var error = this._execute(
|
|
2159
|
+
var error = this._execute(state10, delay);
|
|
2160
2160
|
if (error) {
|
|
2161
2161
|
return error;
|
|
2162
2162
|
} else if (this.pending === false && this.id != null) {
|
|
2163
2163
|
this.id = this.recycleAsyncId(this.scheduler, this.id, null);
|
|
2164
2164
|
}
|
|
2165
2165
|
};
|
|
2166
|
-
AsyncAction2.prototype._execute = function(
|
|
2166
|
+
AsyncAction2.prototype._execute = function(state10, _delay) {
|
|
2167
2167
|
var errored = false;
|
|
2168
2168
|
var errorValue;
|
|
2169
2169
|
try {
|
|
2170
|
-
this.work(
|
|
2170
|
+
this.work(state10);
|
|
2171
2171
|
} catch (e8) {
|
|
2172
2172
|
errored = true;
|
|
2173
2173
|
errorValue = e8 ? e8 : new Error("Scheduled action threw falsy error");
|
|
@@ -2209,11 +2209,11 @@ var init_Scheduler = __esm({
|
|
|
2209
2209
|
this.schedulerActionCtor = schedulerActionCtor;
|
|
2210
2210
|
this.now = now2;
|
|
2211
2211
|
}
|
|
2212
|
-
Scheduler2.prototype.schedule = function(work, delay,
|
|
2212
|
+
Scheduler2.prototype.schedule = function(work, delay, state10) {
|
|
2213
2213
|
if (delay === void 0) {
|
|
2214
2214
|
delay = 0;
|
|
2215
2215
|
}
|
|
2216
|
-
return new this.schedulerActionCtor(this, work).schedule(
|
|
2216
|
+
return new this.schedulerActionCtor(this, work).schedule(state10, delay);
|
|
2217
2217
|
};
|
|
2218
2218
|
Scheduler2.now = dateTimestampProvider.now;
|
|
2219
2219
|
return Scheduler2;
|
|
@@ -14835,18 +14835,18 @@ var init_util = __esm({
|
|
|
14835
14835
|
|
|
14836
14836
|
// node_modules/.pnpm/broadcast-channel@3.7.0/node_modules/broadcast-channel/dist/es/methods/native.js
|
|
14837
14837
|
function create(channelName) {
|
|
14838
|
-
var
|
|
14838
|
+
var state10 = {
|
|
14839
14839
|
messagesCallback: null,
|
|
14840
14840
|
bc: new BroadcastChannel(channelName),
|
|
14841
14841
|
subFns: []
|
|
14842
14842
|
// subscriberFunctions
|
|
14843
14843
|
};
|
|
14844
|
-
|
|
14845
|
-
if (
|
|
14846
|
-
|
|
14844
|
+
state10.bc.onmessage = function(msg) {
|
|
14845
|
+
if (state10.messagesCallback) {
|
|
14846
|
+
state10.messagesCallback(msg.data);
|
|
14847
14847
|
}
|
|
14848
14848
|
};
|
|
14849
|
-
return
|
|
14849
|
+
return state10;
|
|
14850
14850
|
}
|
|
14851
14851
|
function close(channelState) {
|
|
14852
14852
|
channelState.bc.close();
|
|
@@ -15101,7 +15101,7 @@ function cleanOldMessages(db, ttl) {
|
|
|
15101
15101
|
function create2(channelName, options) {
|
|
15102
15102
|
options = fillOptionsWithDefaults(options);
|
|
15103
15103
|
return createDatabase(channelName).then(function(db) {
|
|
15104
|
-
var
|
|
15104
|
+
var state10 = {
|
|
15105
15105
|
closed: false,
|
|
15106
15106
|
lastCursorId: 0,
|
|
15107
15107
|
channelName,
|
|
@@ -15120,54 +15120,54 @@ function create2(channelName, options) {
|
|
|
15120
15120
|
db
|
|
15121
15121
|
};
|
|
15122
15122
|
db.onclose = function() {
|
|
15123
|
-
|
|
15123
|
+
state10.closed = true;
|
|
15124
15124
|
if (options.idb.onclose)
|
|
15125
15125
|
options.idb.onclose();
|
|
15126
15126
|
};
|
|
15127
|
-
_readLoop(
|
|
15128
|
-
return
|
|
15127
|
+
_readLoop(state10);
|
|
15128
|
+
return state10;
|
|
15129
15129
|
});
|
|
15130
15130
|
}
|
|
15131
|
-
function _readLoop(
|
|
15132
|
-
if (
|
|
15131
|
+
function _readLoop(state10) {
|
|
15132
|
+
if (state10.closed)
|
|
15133
15133
|
return;
|
|
15134
|
-
readNewMessages(
|
|
15135
|
-
return sleep(
|
|
15134
|
+
readNewMessages(state10).then(function() {
|
|
15135
|
+
return sleep(state10.options.idb.fallbackInterval);
|
|
15136
15136
|
}).then(function() {
|
|
15137
|
-
return _readLoop(
|
|
15137
|
+
return _readLoop(state10);
|
|
15138
15138
|
});
|
|
15139
15139
|
}
|
|
15140
|
-
function _filterMessage(msgObj,
|
|
15141
|
-
if (msgObj.uuid ===
|
|
15140
|
+
function _filterMessage(msgObj, state10) {
|
|
15141
|
+
if (msgObj.uuid === state10.uuid)
|
|
15142
15142
|
return false;
|
|
15143
|
-
if (
|
|
15143
|
+
if (state10.eMIs.has(msgObj.id))
|
|
15144
15144
|
return false;
|
|
15145
|
-
if (msgObj.data.time <
|
|
15145
|
+
if (msgObj.data.time < state10.messagesCallbackTime)
|
|
15146
15146
|
return false;
|
|
15147
15147
|
return true;
|
|
15148
15148
|
}
|
|
15149
|
-
function readNewMessages(
|
|
15150
|
-
if (
|
|
15149
|
+
function readNewMessages(state10) {
|
|
15150
|
+
if (state10.closed)
|
|
15151
15151
|
return Promise.resolve();
|
|
15152
|
-
if (!
|
|
15152
|
+
if (!state10.messagesCallback)
|
|
15153
15153
|
return Promise.resolve();
|
|
15154
|
-
return getMessagesHigherThan(
|
|
15154
|
+
return getMessagesHigherThan(state10.db, state10.lastCursorId).then(function(newerMessages) {
|
|
15155
15155
|
var useMessages = newerMessages.filter(function(msgObj) {
|
|
15156
15156
|
return !!msgObj;
|
|
15157
15157
|
}).map(function(msgObj) {
|
|
15158
|
-
if (msgObj.id >
|
|
15159
|
-
|
|
15158
|
+
if (msgObj.id > state10.lastCursorId) {
|
|
15159
|
+
state10.lastCursorId = msgObj.id;
|
|
15160
15160
|
}
|
|
15161
15161
|
return msgObj;
|
|
15162
15162
|
}).filter(function(msgObj) {
|
|
15163
|
-
return _filterMessage(msgObj,
|
|
15163
|
+
return _filterMessage(msgObj, state10);
|
|
15164
15164
|
}).sort(function(msgObjA, msgObjB) {
|
|
15165
15165
|
return msgObjA.time - msgObjB.time;
|
|
15166
15166
|
});
|
|
15167
15167
|
useMessages.forEach(function(msgObj) {
|
|
15168
|
-
if (
|
|
15169
|
-
|
|
15170
|
-
|
|
15168
|
+
if (state10.messagesCallback) {
|
|
15169
|
+
state10.eMIs.add(msgObj.id);
|
|
15170
|
+
state10.messagesCallback(msgObj.data);
|
|
15171
15171
|
}
|
|
15172
15172
|
});
|
|
15173
15173
|
return Promise.resolve();
|
|
@@ -15282,25 +15282,25 @@ function create3(channelName, options) {
|
|
|
15282
15282
|
}
|
|
15283
15283
|
var uuid = randomToken();
|
|
15284
15284
|
var eMIs = new ObliviousSet(options.localstorage.removeTimeout);
|
|
15285
|
-
var
|
|
15285
|
+
var state10 = {
|
|
15286
15286
|
channelName,
|
|
15287
15287
|
uuid,
|
|
15288
15288
|
eMIs
|
|
15289
15289
|
// emittedMessagesIds
|
|
15290
15290
|
};
|
|
15291
|
-
|
|
15292
|
-
if (!
|
|
15291
|
+
state10.listener = addStorageEventListener(channelName, function(msgObj) {
|
|
15292
|
+
if (!state10.messagesCallback)
|
|
15293
15293
|
return;
|
|
15294
15294
|
if (msgObj.uuid === uuid)
|
|
15295
15295
|
return;
|
|
15296
15296
|
if (!msgObj.token || eMIs.has(msgObj.token))
|
|
15297
15297
|
return;
|
|
15298
|
-
if (msgObj.data.time && msgObj.data.time <
|
|
15298
|
+
if (msgObj.data.time && msgObj.data.time < state10.messagesCallbackTime)
|
|
15299
15299
|
return;
|
|
15300
15300
|
eMIs.add(msgObj.token);
|
|
15301
|
-
|
|
15301
|
+
state10.messagesCallback(msgObj.data);
|
|
15302
15302
|
});
|
|
15303
|
-
return
|
|
15303
|
+
return state10;
|
|
15304
15304
|
}
|
|
15305
15305
|
function close3(channelState) {
|
|
15306
15306
|
removeStorageEventListener(channelState.listener);
|
|
@@ -15356,12 +15356,12 @@ var init_localstorage = __esm({
|
|
|
15356
15356
|
|
|
15357
15357
|
// node_modules/.pnpm/broadcast-channel@3.7.0/node_modules/broadcast-channel/dist/es/methods/simulate.js
|
|
15358
15358
|
function create4(channelName) {
|
|
15359
|
-
var
|
|
15359
|
+
var state10 = {
|
|
15360
15360
|
name: channelName,
|
|
15361
15361
|
messagesCallback: null
|
|
15362
15362
|
};
|
|
15363
|
-
SIMULATE_CHANNELS.add(
|
|
15364
|
-
return
|
|
15363
|
+
SIMULATE_CHANNELS.add(state10);
|
|
15364
|
+
return state10;
|
|
15365
15365
|
}
|
|
15366
15366
|
function close4(channelState) {
|
|
15367
15367
|
SIMULATE_CHANNELS["delete"](channelState);
|
|
@@ -16157,11 +16157,11 @@ var init_smartrouter_classes_smartrouter = __esm({
|
|
|
16157
16157
|
/**
|
|
16158
16158
|
* Push route state to history stack
|
|
16159
16159
|
*/
|
|
16160
|
-
async pushUrl(url2 = "/",
|
|
16160
|
+
async pushUrl(url2 = "/", state10 = {}) {
|
|
16161
16161
|
if (url2 !== window.location.pathname) {
|
|
16162
|
-
window.history.pushState(
|
|
16162
|
+
window.history.pushState(state10, window.document.title, url2);
|
|
16163
16163
|
} else {
|
|
16164
|
-
window.history.replaceState(
|
|
16164
|
+
window.history.replaceState(state10, window.document.title, url2);
|
|
16165
16165
|
}
|
|
16166
16166
|
await this._handleRouteState();
|
|
16167
16167
|
}
|
|
@@ -16592,7 +16592,7 @@ var init_smartstate_classes_statepart = __esm({
|
|
|
16592
16592
|
*/
|
|
16593
16593
|
select(selectorFn) {
|
|
16594
16594
|
if (!selectorFn) {
|
|
16595
|
-
selectorFn = (
|
|
16595
|
+
selectorFn = (state10) => state10;
|
|
16596
16596
|
}
|
|
16597
16597
|
const mapped = this.state.pipe(dist_ts_exports2.rxjs.ops.startWith(this.getState()), dist_ts_exports2.rxjs.ops.map((stateArg) => {
|
|
16598
16598
|
try {
|
|
@@ -19599,8 +19599,8 @@ var init_dees_element_classes_dees_element = __esm({
|
|
|
19599
19599
|
}
|
|
19600
19600
|
async connectedCallback() {
|
|
19601
19601
|
super.connectedCallback();
|
|
19602
|
-
const
|
|
19603
|
-
this.themeSubscription =
|
|
19602
|
+
const domtools10 = await this.domtoolsPromise;
|
|
19603
|
+
this.themeSubscription = domtools10.themeManager.themeObservable.subscribe((goBrightArg) => {
|
|
19604
19604
|
this.goBright = goBrightArg;
|
|
19605
19605
|
});
|
|
19606
19606
|
this.rxSubscriptions.push(this.themeSubscription);
|
|
@@ -20676,10 +20676,10 @@ var require_core = __commonJS({
|
|
|
20676
20676
|
}
|
|
20677
20677
|
var version2 = "11.9.0";
|
|
20678
20678
|
var HTMLInjectionError = class extends Error {
|
|
20679
|
-
constructor(reason,
|
|
20679
|
+
constructor(reason, html2) {
|
|
20680
20680
|
super(reason);
|
|
20681
20681
|
this.name = "HTMLInjectionError";
|
|
20682
|
-
this.html =
|
|
20682
|
+
this.html = html2;
|
|
20683
20683
|
}
|
|
20684
20684
|
};
|
|
20685
20685
|
var escape2 = escapeHTML;
|
|
@@ -20689,7 +20689,7 @@ var require_core = __commonJS({
|
|
|
20689
20689
|
var HLJS = function(hljs) {
|
|
20690
20690
|
const languages = /* @__PURE__ */ Object.create(null);
|
|
20691
20691
|
const aliases = /* @__PURE__ */ Object.create(null);
|
|
20692
|
-
const
|
|
20692
|
+
const plugins9 = [];
|
|
20693
20693
|
let SAFE_MODE = true;
|
|
20694
20694
|
const LANGUAGE_NOT_FOUND = "Could not find the language '{}', did you forget to load/include a language module?";
|
|
20695
20695
|
const PLAINTEXT_LANGUAGE = { disableAutodetect: true, name: "Plain text", contains: [] };
|
|
@@ -21263,17 +21263,17 @@ var require_core = __commonJS({
|
|
|
21263
21263
|
}
|
|
21264
21264
|
function addPlugin(plugin) {
|
|
21265
21265
|
upgradePluginAPI(plugin);
|
|
21266
|
-
|
|
21266
|
+
plugins9.push(plugin);
|
|
21267
21267
|
}
|
|
21268
21268
|
function removePlugin(plugin) {
|
|
21269
|
-
const index =
|
|
21269
|
+
const index = plugins9.indexOf(plugin);
|
|
21270
21270
|
if (index !== -1) {
|
|
21271
|
-
|
|
21271
|
+
plugins9.splice(index, 1);
|
|
21272
21272
|
}
|
|
21273
21273
|
}
|
|
21274
21274
|
function fire(event, args) {
|
|
21275
21275
|
const cb = event;
|
|
21276
|
-
|
|
21276
|
+
plugins9.forEach(function(plugin) {
|
|
21277
21277
|
if (plugin[cb]) {
|
|
21278
21278
|
plugin[cb](args);
|
|
21279
21279
|
}
|
|
@@ -69634,7 +69634,17 @@ var init_dees_input_typelist_demo = __esm({
|
|
|
69634
69634
|
"ts_web/elements/dees-input-typelist.demo.ts"() {
|
|
69635
69635
|
init_dist_ts26();
|
|
69636
69636
|
demoFunc12 = () => x`
|
|
69637
|
-
<
|
|
69637
|
+
<style>
|
|
69638
|
+
.demoContainer {
|
|
69639
|
+
max-width: 600px;
|
|
69640
|
+
margin: auto;
|
|
69641
|
+
padding: 40px;
|
|
69642
|
+
background: #000;
|
|
69643
|
+
}
|
|
69644
|
+
</style>
|
|
69645
|
+
<div class="demoContainer">
|
|
69646
|
+
<dees-input-typelist></dees-input-typelist>
|
|
69647
|
+
</div>
|
|
69638
69648
|
`;
|
|
69639
69649
|
}
|
|
69640
69650
|
});
|
|
@@ -69642,17 +69652,23 @@ var init_dees_input_typelist_demo = __esm({
|
|
|
69642
69652
|
// ts_web/elements/dees-input-multitoggle.demo.ts
|
|
69643
69653
|
var dees_input_multitoggle_demo_exports = {};
|
|
69644
69654
|
__export(dees_input_multitoggle_demo_exports, {
|
|
69645
|
-
demoFunc: () =>
|
|
69655
|
+
demoFunc: () => demoFunc17
|
|
69646
69656
|
});
|
|
69647
|
-
var
|
|
69657
|
+
var demoFunc17;
|
|
69648
69658
|
var init_dees_input_multitoggle_demo = __esm({
|
|
69649
69659
|
"ts_web/elements/dees-input-multitoggle.demo.ts"() {
|
|
69650
69660
|
init_dist_ts26();
|
|
69651
|
-
|
|
69661
|
+
demoFunc17 = () => x`
|
|
69652
69662
|
<dees-input-multitoggle
|
|
69653
|
-
.options=${["option 1", "option 2", "option
|
|
69663
|
+
.options=${["option 1", "option 2", "a longer option with multiple words"]}
|
|
69654
69664
|
.selectedOption=${"option 2"}
|
|
69655
69665
|
></dees-input-multitoggle>
|
|
69666
|
+
<dees-input-multitoggle
|
|
69667
|
+
.type=${"boolean"}
|
|
69668
|
+
.booleanTrueName=${"enabled"}
|
|
69669
|
+
.booleanFalseName=${"disabled"}
|
|
69670
|
+
.selectedOption=${"true"}
|
|
69671
|
+
></dees-input-multitoggle>
|
|
69656
69672
|
`;
|
|
69657
69673
|
}
|
|
69658
69674
|
});
|
|
@@ -69885,7 +69901,7 @@ var WccSidebar = class WccSidebar2 extends DeesElement {
|
|
|
69885
69901
|
<div
|
|
69886
69902
|
class="selectOption ${this.selectedItem === item ? "selected" : null}"
|
|
69887
69903
|
@click=${async () => {
|
|
69888
|
-
const
|
|
69904
|
+
const domtools10 = await dist_ts_exports25.DomTools.setupDomTools();
|
|
69889
69905
|
this.selectItem("page", pageName, item);
|
|
69890
69906
|
}}
|
|
69891
69907
|
>
|
|
@@ -69904,7 +69920,7 @@ var WccSidebar = class WccSidebar2 extends DeesElement {
|
|
|
69904
69920
|
<div
|
|
69905
69921
|
class="selectOption ${this.selectedItem === item ? "selected" : null}"
|
|
69906
69922
|
@click=${async () => {
|
|
69907
|
-
const
|
|
69923
|
+
const domtools10 = await dist_ts_exports25.DomTools.setupDomTools();
|
|
69908
69924
|
this.selectItem("element", elementName, item);
|
|
69909
69925
|
}}
|
|
69910
69926
|
>
|
|
@@ -70568,6 +70584,7 @@ __export(elements_exports, {
|
|
|
70568
70584
|
DeesMobilenavigation: () => DeesMobilenavigation,
|
|
70569
70585
|
DeesModal: () => DeesModal,
|
|
70570
70586
|
DeesPdf: () => DeesPdf,
|
|
70587
|
+
DeesProgressbar: () => DeesProgressbar2,
|
|
70571
70588
|
DeesSimpleAppDash: () => DeesSimpleAppDash,
|
|
70572
70589
|
DeesSimpleLogin: () => DeesSimpleLogin,
|
|
70573
70590
|
DeesSpeechbubble: () => DeesSpeechbubble,
|
|
@@ -71042,7 +71059,7 @@ DeesChips = __decorateClass([
|
|
|
71042
71059
|
// ts_web/elements/dees-contextmenu.demo.ts
|
|
71043
71060
|
init_dist_ts26();
|
|
71044
71061
|
|
|
71045
|
-
// ts_web/elements/
|
|
71062
|
+
// ts_web/elements/00plugins.ts
|
|
71046
71063
|
init_dist_ts();
|
|
71047
71064
|
init_dist_ts23();
|
|
71048
71065
|
|
|
@@ -71187,19 +71204,19 @@ var DeesWindowLayer = class extends DeesElement {
|
|
|
71187
71204
|
this.visible = !this.visible;
|
|
71188
71205
|
}
|
|
71189
71206
|
async show() {
|
|
71190
|
-
const
|
|
71191
|
-
await
|
|
71207
|
+
const domtools10 = await this.domtoolsPromise;
|
|
71208
|
+
await domtools10.convenience.smartdelay.delayFor(0);
|
|
71192
71209
|
this.visible = true;
|
|
71193
71210
|
}
|
|
71194
71211
|
async hide() {
|
|
71195
|
-
const
|
|
71196
|
-
await
|
|
71212
|
+
const domtools10 = await this.domtoolsPromise;
|
|
71213
|
+
await domtools10.convenience.smartdelay.delayFor(0);
|
|
71197
71214
|
this.visible = false;
|
|
71198
71215
|
}
|
|
71199
71216
|
async destroy() {
|
|
71200
|
-
const
|
|
71217
|
+
const domtools10 = await this.domtoolsPromise;
|
|
71201
71218
|
await this.hide();
|
|
71202
|
-
await
|
|
71219
|
+
await domtools10.convenience.smartdelay.delayFor(300);
|
|
71203
71220
|
this.remove();
|
|
71204
71221
|
}
|
|
71205
71222
|
};
|
|
@@ -71583,11 +71600,11 @@ var DeesDataviewCodebox = class extends DeesElement {
|
|
|
71583
71600
|
}
|
|
71584
71601
|
await plugins.smartdelay.delayFor(0);
|
|
71585
71602
|
const localCodeNode = this.shadowRoot.querySelector("code");
|
|
71586
|
-
const
|
|
71603
|
+
const html2 = es_default.highlight(this.codeToDisplayStore, {
|
|
71587
71604
|
language: this.progLang,
|
|
71588
71605
|
ignoreIllegals: true
|
|
71589
71606
|
});
|
|
71590
|
-
localCodeNode.innerHTML =
|
|
71607
|
+
localCodeNode.innerHTML = html2.value;
|
|
71591
71608
|
}
|
|
71592
71609
|
};
|
|
71593
71610
|
DeesDataviewCodebox.demo = demoFunc4;
|
|
@@ -72022,7 +72039,7 @@ var DeesInputText = class extends DeesElement {
|
|
|
72022
72039
|
this.disabled = false;
|
|
72023
72040
|
}
|
|
72024
72041
|
async togglePasswordView() {
|
|
72025
|
-
const
|
|
72042
|
+
const domtools10 = await this.domtoolsPromise;
|
|
72026
72043
|
this.showPasswordBool = !this.showPasswordBool;
|
|
72027
72044
|
console.log(`this.showPasswordBool is: ${this.showPasswordBool}`);
|
|
72028
72045
|
}
|
|
@@ -72802,8 +72819,8 @@ var DeesTable = class extends DeesElement {
|
|
|
72802
72819
|
this.determineColumnWidths();
|
|
72803
72820
|
}
|
|
72804
72821
|
async determineColumnWidths() {
|
|
72805
|
-
const
|
|
72806
|
-
await
|
|
72822
|
+
const domtools10 = await this.domtoolsPromise;
|
|
72823
|
+
await domtools10.convenience.smartdelay.delayFor(0);
|
|
72807
72824
|
const table = this.shadowRoot.querySelector("table");
|
|
72808
72825
|
if (!table)
|
|
72809
72826
|
return;
|
|
@@ -72846,7 +72863,7 @@ var DeesTable = class extends DeesElement {
|
|
|
72846
72863
|
return actions;
|
|
72847
72864
|
}
|
|
72848
72865
|
async handleCellEditing(event, itemArg, key) {
|
|
72849
|
-
const
|
|
72866
|
+
const domtools10 = await this.domtoolsPromise;
|
|
72850
72867
|
const target = event.target;
|
|
72851
72868
|
const originalColor = target.style.color;
|
|
72852
72869
|
target.style.color = "transparent";
|
|
@@ -74725,9 +74742,9 @@ var DeesFormSubmit = class extends DeesElement {
|
|
|
74725
74742
|
parentElement.gatherAndDispatch();
|
|
74726
74743
|
}
|
|
74727
74744
|
async focus() {
|
|
74728
|
-
const
|
|
74745
|
+
const domtools10 = await this.domtoolsPromise;
|
|
74729
74746
|
if (!this.disabled) {
|
|
74730
|
-
|
|
74747
|
+
domtools10.convenience.smartdelay.delayFor(0);
|
|
74731
74748
|
this.submit();
|
|
74732
74749
|
}
|
|
74733
74750
|
}
|
|
@@ -77449,6 +77466,11 @@ var faMinus = {
|
|
|
77449
77466
|
iconName: "minus",
|
|
77450
77467
|
icon: [448, 512, [8211, 8722, 10134, "subtract"], "f068", "M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z"]
|
|
77451
77468
|
};
|
|
77469
|
+
var faGear = {
|
|
77470
|
+
prefix: "fas",
|
|
77471
|
+
iconName: "gear",
|
|
77472
|
+
icon: [512, 512, [9881, "cog"], "f013", "M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"]
|
|
77473
|
+
};
|
|
77452
77474
|
var faSun2 = {
|
|
77453
77475
|
prefix: "fas",
|
|
77454
77476
|
iconName: "sun",
|
|
@@ -77608,6 +77630,7 @@ var faIcons = {
|
|
|
77608
77630
|
eyeSlash: faEyeSlash,
|
|
77609
77631
|
fileInvoice: faFileInvoice,
|
|
77610
77632
|
fileInvoiceDoller: faFileInvoiceDollar,
|
|
77633
|
+
gear: faGear,
|
|
77611
77634
|
grip: faGrip,
|
|
77612
77635
|
message: faMessage,
|
|
77613
77636
|
messageSolid: faMessage2,
|
|
@@ -78276,12 +78299,14 @@ var DeesInputTypelist = class extends DeesElement {
|
|
|
78276
78299
|
}
|
|
78277
78300
|
render() {
|
|
78278
78301
|
return x`
|
|
78279
|
-
<div class="label">
|
|
78302
|
+
<div class="label">Type List</div>
|
|
78280
78303
|
<div class="mainbox">
|
|
78281
|
-
<div class="
|
|
78282
|
-
|
|
78304
|
+
<div class="tags" @click=${() => {
|
|
78305
|
+
this.shadowRoot.querySelector("input").focus();
|
|
78306
|
+
}}>
|
|
78307
|
+
<div class="notags">No tags yet</div>
|
|
78283
78308
|
</div>
|
|
78284
|
-
<input type="text" placeholder="Type to
|
|
78309
|
+
<input type="text" placeholder="Type, press Enter to add it..." />
|
|
78285
78310
|
</div>
|
|
78286
78311
|
`;
|
|
78287
78312
|
}
|
|
@@ -78307,17 +78332,34 @@ DeesInputTypelist.styles = [
|
|
|
78307
78332
|
border-left: ${cssManager.bdTheme("1px solid #CCC", "none")};
|
|
78308
78333
|
}
|
|
78309
78334
|
|
|
78310
|
-
.
|
|
78311
|
-
padding:
|
|
78335
|
+
.tags {
|
|
78336
|
+
padding: 16px;
|
|
78337
|
+
cursor: default;
|
|
78338
|
+
}
|
|
78339
|
+
|
|
78340
|
+
.notags {
|
|
78341
|
+
text-align: center;
|
|
78342
|
+
opacity: 0.5;
|
|
78343
|
+
font-size: 12px;
|
|
78312
78344
|
}
|
|
78313
78345
|
|
|
78314
78346
|
input {
|
|
78347
|
+
display: block;
|
|
78348
|
+
box-sizing: border-box;
|
|
78315
78349
|
background: #181818;
|
|
78316
78350
|
width: 100%;
|
|
78317
78351
|
outline: none;
|
|
78318
78352
|
border: none;
|
|
78319
78353
|
color: inherit;
|
|
78320
|
-
padding:
|
|
78354
|
+
padding: 0px 16px;
|
|
78355
|
+
overflow: hidden;
|
|
78356
|
+
line-height: 32px;
|
|
78357
|
+
height: 0px;
|
|
78358
|
+
transition: height 0.2s;
|
|
78359
|
+
}
|
|
78360
|
+
|
|
78361
|
+
input:focus {
|
|
78362
|
+
height: 32px;
|
|
78321
78363
|
}
|
|
78322
78364
|
`
|
|
78323
78365
|
];
|
|
@@ -78345,6 +78387,108 @@ DeesInputPhone = __decorateClass([
|
|
|
78345
78387
|
t4("dees-input-phone")
|
|
78346
78388
|
], DeesInputPhone);
|
|
78347
78389
|
|
|
78390
|
+
// ts_web/elements/00colors.ts
|
|
78391
|
+
var dark = {
|
|
78392
|
+
blue: "#0050b9",
|
|
78393
|
+
blueActive: "#0069f2",
|
|
78394
|
+
text: "#ffffff"
|
|
78395
|
+
};
|
|
78396
|
+
var bright = {
|
|
78397
|
+
blue: "#0050b9",
|
|
78398
|
+
blueActive: "#0069f2",
|
|
78399
|
+
text: "#333333"
|
|
78400
|
+
};
|
|
78401
|
+
|
|
78402
|
+
// ts_web/elements/dees-progressbar.demo.ts
|
|
78403
|
+
init_dist_ts26();
|
|
78404
|
+
var demoFunc15 = () => {
|
|
78405
|
+
return x`
|
|
78406
|
+
<dees-progressbar
|
|
78407
|
+
.percentage=${50}
|
|
78408
|
+
></dees-progressbar>
|
|
78409
|
+
`;
|
|
78410
|
+
};
|
|
78411
|
+
|
|
78412
|
+
// ts_web/elements/dees-progressbar.ts
|
|
78413
|
+
init_dist_ts26();
|
|
78414
|
+
init_dist_ts25();
|
|
78415
|
+
var DeesProgressbar2 = class extends DeesElement {
|
|
78416
|
+
constructor() {
|
|
78417
|
+
super(...arguments);
|
|
78418
|
+
this.percentage = 0;
|
|
78419
|
+
}
|
|
78420
|
+
render() {
|
|
78421
|
+
return x`
|
|
78422
|
+
<div class="progressBarContainer">
|
|
78423
|
+
<div class="progressBar">
|
|
78424
|
+
<div class="progressBarFill"></div>
|
|
78425
|
+
<div class="progressText">
|
|
78426
|
+
${this.percentage}%
|
|
78427
|
+
<div>
|
|
78428
|
+
</div>
|
|
78429
|
+
</div>
|
|
78430
|
+
`;
|
|
78431
|
+
}
|
|
78432
|
+
firstUpdated(_changedProperties) {
|
|
78433
|
+
super.firstUpdated(_changedProperties);
|
|
78434
|
+
this.updateComplete.then(() => {
|
|
78435
|
+
this.updatePercentage();
|
|
78436
|
+
});
|
|
78437
|
+
}
|
|
78438
|
+
async updatePercentage() {
|
|
78439
|
+
const progressBarFill = this.shadowRoot.querySelector(".progressBarFill");
|
|
78440
|
+
progressBarFill.style.width = `${this.percentage}%`;
|
|
78441
|
+
}
|
|
78442
|
+
updated() {
|
|
78443
|
+
this.updatePercentage();
|
|
78444
|
+
}
|
|
78445
|
+
};
|
|
78446
|
+
// STATIC
|
|
78447
|
+
DeesProgressbar2.demo = demoFunc15;
|
|
78448
|
+
DeesProgressbar2.styles = [
|
|
78449
|
+
cssManager.defaultStyles,
|
|
78450
|
+
i`
|
|
78451
|
+
:host {
|
|
78452
|
+
color: ${cssManager.bdTheme(bright.text, dark.text)};
|
|
78453
|
+
}
|
|
78454
|
+
.progressBarContainer {
|
|
78455
|
+
padding: 8px;
|
|
78456
|
+
min-width: 200px;
|
|
78457
|
+
}
|
|
78458
|
+
|
|
78459
|
+
.progressBar {
|
|
78460
|
+
background: ${cssManager.bdTheme("#eeeeeb", "#444")};
|
|
78461
|
+
height: 8px;
|
|
78462
|
+
width: 100%;
|
|
78463
|
+
border-radius: 4px;
|
|
78464
|
+
border-top: 0.5px solid ${cssManager.bdTheme("none", "#555")};
|
|
78465
|
+
}
|
|
78466
|
+
|
|
78467
|
+
.progressBarFill {
|
|
78468
|
+
background: ${cssManager.bdTheme(dark.blueActive, bright.blueActive)};
|
|
78469
|
+
height: 8px;
|
|
78470
|
+
margin-top: -0.5px;
|
|
78471
|
+
transition: 0.2s width;
|
|
78472
|
+
border-radius: 4px;
|
|
78473
|
+
width: 0px;
|
|
78474
|
+
border-top: 0.5 solid ${cssManager.bdTheme("none", "#398fff")};
|
|
78475
|
+
}
|
|
78476
|
+
|
|
78477
|
+
.progressText {
|
|
78478
|
+
padding: 8px;
|
|
78479
|
+
text-align: center;
|
|
78480
|
+
}
|
|
78481
|
+
`
|
|
78482
|
+
];
|
|
78483
|
+
__decorateClass([
|
|
78484
|
+
n4({
|
|
78485
|
+
type: Number
|
|
78486
|
+
})
|
|
78487
|
+
], DeesProgressbar2.prototype, "percentage", 2);
|
|
78488
|
+
DeesProgressbar2 = __decorateClass([
|
|
78489
|
+
t4("dees-progressbar")
|
|
78490
|
+
], DeesProgressbar2);
|
|
78491
|
+
|
|
78348
78492
|
// ts_web/elements/dees-mobilenavigation.ts
|
|
78349
78493
|
init_dist_ts26();
|
|
78350
78494
|
var DeesMobilenavigation = class extends DeesElement {
|
|
@@ -78396,7 +78540,7 @@ var DeesMobilenavigation = class extends DeesElement {
|
|
|
78396
78540
|
* inits the show
|
|
78397
78541
|
*/
|
|
78398
78542
|
async show() {
|
|
78399
|
-
const
|
|
78543
|
+
const domtools10 = await this.domtoolsPromise;
|
|
78400
78544
|
const main = this.shadowRoot.querySelector(".main");
|
|
78401
78545
|
if (!this.windowLayer) {
|
|
78402
78546
|
this.windowLayer = new DeesWindowLayer();
|
|
@@ -78406,16 +78550,16 @@ var DeesMobilenavigation = class extends DeesElement {
|
|
|
78406
78550
|
});
|
|
78407
78551
|
}
|
|
78408
78552
|
document.body.append(this.windowLayer);
|
|
78409
|
-
await
|
|
78553
|
+
await domtools10.convenience.smartdelay.delayFor(0);
|
|
78410
78554
|
this.windowLayer.show();
|
|
78411
|
-
await
|
|
78555
|
+
await domtools10.convenience.smartdelay.delayFor(0);
|
|
78412
78556
|
main.classList.add("show");
|
|
78413
78557
|
}
|
|
78414
78558
|
/**
|
|
78415
78559
|
* inits the hide function
|
|
78416
78560
|
*/
|
|
78417
78561
|
async hide() {
|
|
78418
|
-
const
|
|
78562
|
+
const domtools10 = await this.domtoolsPromise;
|
|
78419
78563
|
const main = this.shadowRoot.querySelector(".main");
|
|
78420
78564
|
main.classList.remove("show");
|
|
78421
78565
|
this.windowLayer.hide();
|
|
@@ -78508,7 +78652,7 @@ DeesMobilenavigation = __decorateClass([
|
|
|
78508
78652
|
|
|
78509
78653
|
// ts_web/elements/dees-modal.demo.ts
|
|
78510
78654
|
init_dist_ts26();
|
|
78511
|
-
var
|
|
78655
|
+
var demoFunc16 = () => x`
|
|
78512
78656
|
<dees-button @click=${() => {
|
|
78513
78657
|
DeesModal.createAndShow({
|
|
78514
78658
|
heading: "This is a heading",
|
|
@@ -78593,8 +78737,8 @@ var DeesModal = class extends DeesElement {
|
|
|
78593
78737
|
}
|
|
78594
78738
|
async firstUpdated(_changedProperties) {
|
|
78595
78739
|
super.firstUpdated(_changedProperties);
|
|
78596
|
-
const
|
|
78597
|
-
await
|
|
78740
|
+
const domtools10 = await this.domtoolsPromise;
|
|
78741
|
+
await domtools10.convenience.smartdelay.delayFor(30);
|
|
78598
78742
|
const modal = this.shadowRoot.querySelector(".modal");
|
|
78599
78743
|
modal.classList.add("show");
|
|
78600
78744
|
}
|
|
@@ -78606,16 +78750,16 @@ var DeesModal = class extends DeesElement {
|
|
|
78606
78750
|
}
|
|
78607
78751
|
}
|
|
78608
78752
|
async destroy() {
|
|
78609
|
-
const
|
|
78753
|
+
const domtools10 = await this.domtoolsPromise;
|
|
78610
78754
|
const modal = this.shadowRoot.querySelector(".modal");
|
|
78611
78755
|
modal.classList.add("predestroy");
|
|
78612
|
-
await
|
|
78756
|
+
await domtools10.convenience.smartdelay.delayFor(200);
|
|
78613
78757
|
document.body.removeChild(this);
|
|
78614
78758
|
await this.windowLayer.destroy();
|
|
78615
78759
|
}
|
|
78616
78760
|
};
|
|
78617
78761
|
// STATIC
|
|
78618
|
-
DeesModal.demo =
|
|
78762
|
+
DeesModal.demo = demoFunc16;
|
|
78619
78763
|
DeesModal.styles = [
|
|
78620
78764
|
cssManager.defaultStyles,
|
|
78621
78765
|
i`
|
|
@@ -78710,7 +78854,7 @@ DeesModal = __decorateClass([
|
|
|
78710
78854
|
|
|
78711
78855
|
// ts_web/elements/dees-input-multitoggle.ts
|
|
78712
78856
|
init_dist_ts26();
|
|
78713
|
-
var { demoFunc:
|
|
78857
|
+
var { demoFunc: demoFunc18 } = await Promise.resolve().then(() => (init_dees_input_multitoggle_demo(), dees_input_multitoggle_demo_exports));
|
|
78714
78858
|
var DeesInputMultitoggle = class extends DeesElement {
|
|
78715
78859
|
constructor() {
|
|
78716
78860
|
super(...arguments);
|
|
@@ -78734,7 +78878,7 @@ var DeesInputMultitoggle = class extends DeesElement {
|
|
|
78734
78878
|
}
|
|
78735
78879
|
async firstUpdated() {
|
|
78736
78880
|
if (this.type === "boolean") {
|
|
78737
|
-
this.options = [this.booleanTrueName || "true", this.booleanFalseName];
|
|
78881
|
+
this.options = [this.booleanTrueName || "true", this.booleanFalseName || "false"];
|
|
78738
78882
|
}
|
|
78739
78883
|
this.setIndicator();
|
|
78740
78884
|
}
|
|
@@ -78755,7 +78899,7 @@ var DeesInputMultitoggle = class extends DeesElement {
|
|
|
78755
78899
|
}, 100);
|
|
78756
78900
|
}
|
|
78757
78901
|
};
|
|
78758
|
-
DeesInputMultitoggle.demo =
|
|
78902
|
+
DeesInputMultitoggle.demo = demoFunc18;
|
|
78759
78903
|
DeesInputMultitoggle.styles = [
|
|
78760
78904
|
cssManager.defaultStyles,
|
|
78761
78905
|
i`
|
|
@@ -78775,12 +78919,18 @@ DeesInputMultitoggle.styles = [
|
|
|
78775
78919
|
}
|
|
78776
78920
|
|
|
78777
78921
|
.option {
|
|
78922
|
+
color: #CCC;
|
|
78778
78923
|
position: relative;
|
|
78779
78924
|
padding: 0px 16px;
|
|
78780
78925
|
line-height: 40px;
|
|
78781
|
-
cursor:
|
|
78926
|
+
cursor: default;
|
|
78782
78927
|
width: min-content; /* Make the width as per the content */
|
|
78783
78928
|
white-space: nowrap; /* Prevent text wrapping */
|
|
78929
|
+
transition: all 0.1s;
|
|
78930
|
+
}
|
|
78931
|
+
|
|
78932
|
+
.option:hover {
|
|
78933
|
+
color: #fff;
|
|
78784
78934
|
}
|
|
78785
78935
|
|
|
78786
78936
|
.indicator {
|
|
@@ -78854,17 +79004,8 @@ var DeesPdf = class extends DeesElement {
|
|
|
78854
79004
|
if (!DeesPdf.pdfJsReady) {
|
|
78855
79005
|
const pdfJsReadyDeferred = dist_ts_exports25.plugins.smartpromise.defer();
|
|
78856
79006
|
DeesPdf.pdfJsReady = pdfJsReadyDeferred.promise;
|
|
78857
|
-
|
|
78858
|
-
|
|
78859
|
-
script.addEventListener("load", () => {
|
|
78860
|
-
console.log("pdf.js loaded!");
|
|
78861
|
-
loadDeferred.resolve();
|
|
78862
|
-
});
|
|
78863
|
-
script.src = "https:////mozilla.github.io/pdf.js/build/pdf.js";
|
|
78864
|
-
document.getElementsByTagName("head")[0].appendChild(script);
|
|
78865
|
-
await loadDeferred.promise;
|
|
78866
|
-
DeesPdf.pdfjsLib = window["pdfjs-dist/build/pdf"];
|
|
78867
|
-
DeesPdf.pdfjsLib.GlobalWorkerOptions.workerSrc = "//mozilla.github.io/pdf.js/build/pdf.worker.js";
|
|
79007
|
+
DeesPdf.pdfjsLib = await import("https://cdn.jsdelivr.net/npm/pdfjs-dist@4.0.379/+esm");
|
|
79008
|
+
DeesPdf.pdfjsLib.GlobalWorkerOptions.workerSrc = "https://cdn.jsdelivr.net/npm/pdfjs-dist@4.0.379/build/pdf.worker.mjs";
|
|
78868
79009
|
pdfJsReadyDeferred.resolve();
|
|
78869
79010
|
}
|
|
78870
79011
|
await DeesPdf.pdfJsReady;
|
|
@@ -78912,7 +79053,7 @@ DeesPdf = __decorateClass([
|
|
|
78912
79053
|
|
|
78913
79054
|
// ts_web/elements/dees-simple-appdash.demo.ts
|
|
78914
79055
|
init_dist_ts26();
|
|
78915
|
-
var
|
|
79056
|
+
var demoFunc19 = () => x`
|
|
78916
79057
|
<dees-simple-appdash>Hello there</dees-simple-appdash>
|
|
78917
79058
|
`;
|
|
78918
79059
|
|
|
@@ -78934,12 +79075,12 @@ var DeesSimpleAppDash = class extends DeesElement {
|
|
|
78934
79075
|
`;
|
|
78935
79076
|
}
|
|
78936
79077
|
async firstUpdated(_changedProperties) {
|
|
78937
|
-
const
|
|
79078
|
+
const domtools10 = await this.domtoolsPromise;
|
|
78938
79079
|
super.firstUpdated(_changedProperties);
|
|
78939
79080
|
}
|
|
78940
79081
|
};
|
|
78941
79082
|
// STATIC
|
|
78942
|
-
DeesSimpleAppDash.demo =
|
|
79083
|
+
DeesSimpleAppDash.demo = demoFunc19;
|
|
78943
79084
|
DeesSimpleAppDash.styles = [
|
|
78944
79085
|
cssManager.defaultStyles,
|
|
78945
79086
|
i`
|
|
@@ -78977,7 +79118,7 @@ DeesSimpleAppDash = __decorateClass([
|
|
|
78977
79118
|
|
|
78978
79119
|
// ts_web/elements/dees-simple-login.demo.ts
|
|
78979
79120
|
init_dist_ts26();
|
|
78980
|
-
var
|
|
79121
|
+
var demoFunc20 = () => x` <dees-simple-login name="someapp"> Hello there </dees-simple-login> `;
|
|
78981
79122
|
|
|
78982
79123
|
// ts_web/elements/dees-simple-login.ts
|
|
78983
79124
|
init_dist_ts26();
|
|
@@ -79004,7 +79145,7 @@ var DeesSimpleLogin = class extends DeesElement {
|
|
|
79004
79145
|
`;
|
|
79005
79146
|
}
|
|
79006
79147
|
async firstUpdated(_changedProperties) {
|
|
79007
|
-
const
|
|
79148
|
+
const domtools10 = await this.domtoolsPromise;
|
|
79008
79149
|
super.firstUpdated(_changedProperties);
|
|
79009
79150
|
const form = this.shadowRoot.querySelector("dees-form");
|
|
79010
79151
|
await form.readyDeferred.promise;
|
|
@@ -79019,7 +79160,7 @@ var DeesSimpleLogin = class extends DeesElement {
|
|
|
79019
79160
|
* allows switching to slotted content
|
|
79020
79161
|
*/
|
|
79021
79162
|
async switchToSlottedContent() {
|
|
79022
|
-
const
|
|
79163
|
+
const domtools10 = await this.domtoolsPromise;
|
|
79023
79164
|
const loginDiv = this.shadowRoot.querySelector(".login");
|
|
79024
79165
|
const loginContainerDiv = this.shadowRoot.querySelector(".loginContainer");
|
|
79025
79166
|
const slotContainerDiv = this.shadowRoot.querySelector(".slotContainer");
|
|
@@ -79027,15 +79168,15 @@ var DeesSimpleLogin = class extends DeesElement {
|
|
|
79027
79168
|
loginDiv.style.transform = "translateY(20px)";
|
|
79028
79169
|
loginContainerDiv.style.pointerEvents = "none";
|
|
79029
79170
|
slotContainerDiv.style.transform = "translateY(20px)";
|
|
79030
|
-
await
|
|
79171
|
+
await domtools10.convenience.smartdelay.delayFor(300);
|
|
79031
79172
|
slotContainerDiv.style.opacity = "1";
|
|
79032
79173
|
slotContainerDiv.style.transform = "translateY(0px)";
|
|
79033
|
-
await
|
|
79174
|
+
await domtools10.convenience.smartdelay.delayFor(300);
|
|
79034
79175
|
slotContainerDiv.style.pointerEvents = "all";
|
|
79035
79176
|
}
|
|
79036
79177
|
};
|
|
79037
79178
|
// STATIC
|
|
79038
|
-
DeesSimpleLogin.demo =
|
|
79179
|
+
DeesSimpleLogin.demo = demoFunc20;
|
|
79039
79180
|
DeesSimpleLogin.styles = [
|
|
79040
79181
|
cssManager.defaultStyles,
|
|
79041
79182
|
i`
|
|
@@ -79559,7 +79700,7 @@ init_dist_ts25();
|
|
|
79559
79700
|
|
|
79560
79701
|
// ts_web/elements/dees-toast.demo.ts
|
|
79561
79702
|
init_dist_ts26();
|
|
79562
|
-
var
|
|
79703
|
+
var demoFunc21 = async () => {
|
|
79563
79704
|
return x`<dees-toast></dees-toast>`;
|
|
79564
79705
|
};
|
|
79565
79706
|
|
|
@@ -79577,74 +79718,97 @@ var DeesToast = class extends DeesElement {
|
|
|
79577
79718
|
`;
|
|
79578
79719
|
}
|
|
79579
79720
|
};
|
|
79580
|
-
DeesToast.demo =
|
|
79721
|
+
DeesToast.demo = demoFunc21;
|
|
79581
79722
|
DeesToast = __decorateClass([
|
|
79582
79723
|
t4("dees-toast")
|
|
79583
79724
|
], DeesToast);
|
|
79584
79725
|
|
|
79585
79726
|
// ts_web/elements/dees-updater.ts
|
|
79586
79727
|
init_dist_ts26();
|
|
79587
|
-
|
|
79728
|
+
|
|
79729
|
+
// ts_web/elements/dees-updater.demo.ts
|
|
79730
|
+
init_dist_ts26();
|
|
79731
|
+
var demoFunc22 = async () => {
|
|
79732
|
+
const updater = await DeesUpdater.createAndShow();
|
|
79733
|
+
setTimeout(async () => {
|
|
79734
|
+
await updater.destroy();
|
|
79735
|
+
}, 1e4);
|
|
79736
|
+
};
|
|
79737
|
+
|
|
79738
|
+
// ts_web/elements/dees-updater.ts
|
|
79588
79739
|
init_dist_ts26();
|
|
79589
79740
|
var DeesUpdater = class extends DeesElement {
|
|
79741
|
+
static async createAndShow() {
|
|
79742
|
+
const updater = new DeesUpdater();
|
|
79743
|
+
document.body.appendChild(updater);
|
|
79744
|
+
return updater;
|
|
79745
|
+
}
|
|
79590
79746
|
constructor() {
|
|
79591
79747
|
super();
|
|
79592
|
-
|
|
79748
|
+
dist_ts_exports25.elementBasic.setup();
|
|
79593
79749
|
}
|
|
79594
79750
|
render() {
|
|
79595
79751
|
return x`
|
|
79596
|
-
<dees-windowlayer
|
|
79752
|
+
<dees-windowlayer
|
|
79753
|
+
@clicked="${this.windowLayerClicked}"
|
|
79754
|
+
.options=${{
|
|
79755
|
+
blur: true
|
|
79756
|
+
}}
|
|
79757
|
+
>
|
|
79597
79758
|
<div class="modalContainer">
|
|
79598
79759
|
<div class="headingContainer">
|
|
79599
79760
|
<dees-spinner .size=${60}></dees-spinner>
|
|
79600
79761
|
<h1>Updating the application...</h1>
|
|
79601
79762
|
</div>
|
|
79763
|
+
<div class="progress">
|
|
79764
|
+
<dees-progressbar .progress=${0.5}></dees-progressbar>
|
|
79765
|
+
</div>
|
|
79602
79766
|
<div class="buttonContainer">
|
|
79603
79767
|
<dees-button>More info</dees-button>
|
|
79604
79768
|
<dees-button>Changelog</dees-button>
|
|
79605
79769
|
</div>
|
|
79606
|
-
</div>
|
|
79607
|
-
|
|
79770
|
+
</div> </dees-windowlayer
|
|
79771
|
+
>>
|
|
79608
79772
|
`;
|
|
79609
79773
|
}
|
|
79774
|
+
async destroy() {
|
|
79775
|
+
this.parentElement.removeChild(this);
|
|
79776
|
+
}
|
|
79610
79777
|
windowLayerClicked() {
|
|
79611
|
-
const windowLayer = this.shadowRoot.querySelector("dees-windowlayer");
|
|
79612
|
-
windowLayer.toggleVisibility();
|
|
79613
79778
|
}
|
|
79614
79779
|
};
|
|
79615
|
-
DeesUpdater.demo =
|
|
79780
|
+
DeesUpdater.demo = demoFunc22;
|
|
79616
79781
|
DeesUpdater.styles = [
|
|
79617
79782
|
cssManager.defaultStyles,
|
|
79618
79783
|
i`
|
|
79619
79784
|
.modalContainer {
|
|
79620
|
-
|
|
79621
|
-
|
|
79622
|
-
|
|
79623
|
-
|
|
79624
|
-
|
|
79625
|
-
|
|
79626
|
-
|
|
79627
|
-
}
|
|
79785
|
+
will-change: transform;
|
|
79786
|
+
position: relative;
|
|
79787
|
+
background: ${cssManager.bdTheme("#eeeeeb", "#222")};
|
|
79788
|
+
max-width: 800px;
|
|
79789
|
+
border-radius: 8px;
|
|
79790
|
+
border-top: 1px solid ${cssManager.bdTheme("#eeeeeb", "#333")};
|
|
79791
|
+
}
|
|
79628
79792
|
|
|
79629
|
-
|
|
79630
|
-
|
|
79631
|
-
|
|
79632
|
-
|
|
79633
|
-
|
|
79634
|
-
|
|
79793
|
+
.headingContainer {
|
|
79794
|
+
display: flex;
|
|
79795
|
+
justify-content: center;
|
|
79796
|
+
align-items: center;
|
|
79797
|
+
padding: 40px 40px;
|
|
79798
|
+
}
|
|
79635
79799
|
|
|
79636
|
-
|
|
79637
|
-
|
|
79638
|
-
|
|
79639
|
-
|
|
79640
|
-
|
|
79641
|
-
|
|
79642
|
-
|
|
79800
|
+
h1 {
|
|
79801
|
+
margin: none;
|
|
79802
|
+
font-size: 20px;
|
|
79803
|
+
color: ${cssManager.bdTheme("#333", "#fff")};
|
|
79804
|
+
margin-left: 20px;
|
|
79805
|
+
font-weight: normal;
|
|
79806
|
+
}
|
|
79643
79807
|
|
|
79644
|
-
|
|
79645
|
-
|
|
79646
|
-
|
|
79647
|
-
|
|
79808
|
+
.buttonContainer {
|
|
79809
|
+
display: grid;
|
|
79810
|
+
grid-template-columns: 50% 50%;
|
|
79811
|
+
}
|
|
79648
79812
|
`
|
|
79649
79813
|
];
|
|
79650
79814
|
__decorateClass([
|