@design.estate/dees-catalog 1.0.235 → 1.0.236

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.
@@ -3871,11 +3871,11 @@ var require_define_data_property = __commonJS({
3871
3871
  var $SyntaxError = GetIntrinsic("%SyntaxError%");
3872
3872
  var $TypeError = GetIntrinsic("%TypeError%");
3873
3873
  var gopd = require_gopd();
3874
- module.exports = function defineDataProperty(obj, property2, value) {
3874
+ module.exports = function defineDataProperty(obj, property3, value) {
3875
3875
  if (!obj || typeof obj !== "object" && typeof obj !== "function") {
3876
3876
  throw new $TypeError("`obj` must be an object or a function`");
3877
3877
  }
3878
- if (typeof property2 !== "string" && typeof property2 !== "symbol") {
3878
+ if (typeof property3 !== "string" && typeof property3 !== "symbol") {
3879
3879
  throw new $TypeError("`property` must be a string or a symbol`");
3880
3880
  }
3881
3881
  if (arguments.length > 3 && typeof arguments[3] !== "boolean" && arguments[3] !== null) {
@@ -3894,16 +3894,16 @@ var require_define_data_property = __commonJS({
3894
3894
  var nonWritable = arguments.length > 4 ? arguments[4] : null;
3895
3895
  var nonConfigurable = arguments.length > 5 ? arguments[5] : null;
3896
3896
  var loose = arguments.length > 6 ? arguments[6] : false;
3897
- var desc = !!gopd && gopd(obj, property2);
3897
+ var desc = !!gopd && gopd(obj, property3);
3898
3898
  if ($defineProperty) {
3899
- $defineProperty(obj, property2, {
3899
+ $defineProperty(obj, property3, {
3900
3900
  configurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,
3901
3901
  enumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,
3902
3902
  value,
3903
3903
  writable: nonWritable === null && desc ? desc.writable : !nonWritable
3904
3904
  });
3905
3905
  } else if (loose || !nonEnumerable && !nonWritable && !nonConfigurable) {
3906
- obj[property2] = value;
3906
+ obj[property3] = value;
3907
3907
  } else {
3908
3908
  throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
3909
3909
  }
@@ -59301,7 +59301,7 @@ var Action = function(_super) {
59301
59301
  function Action2(scheduler, work) {
59302
59302
  return _super.call(this) || this;
59303
59303
  }
59304
- Action2.prototype.schedule = function(state6, delay) {
59304
+ Action2.prototype.schedule = function(state7, delay) {
59305
59305
  if (delay === void 0) {
59306
59306
  delay = 0;
59307
59307
  }
@@ -59340,7 +59340,7 @@ var AsyncAction = function(_super) {
59340
59340
  _this.pending = false;
59341
59341
  return _this;
59342
59342
  }
59343
- AsyncAction2.prototype.schedule = function(state6, delay) {
59343
+ AsyncAction2.prototype.schedule = function(state7, delay) {
59344
59344
  var _a;
59345
59345
  if (delay === void 0) {
59346
59346
  delay = 0;
@@ -59348,7 +59348,7 @@ var AsyncAction = function(_super) {
59348
59348
  if (this.closed) {
59349
59349
  return this;
59350
59350
  }
59351
- this.state = state6;
59351
+ this.state = state7;
59352
59352
  var id = this.id;
59353
59353
  var scheduler = this.scheduler;
59354
59354
  if (id != null) {
@@ -59377,23 +59377,23 @@ var AsyncAction = function(_super) {
59377
59377
  }
59378
59378
  return void 0;
59379
59379
  };
59380
- AsyncAction2.prototype.execute = function(state6, delay) {
59380
+ AsyncAction2.prototype.execute = function(state7, delay) {
59381
59381
  if (this.closed) {
59382
59382
  return new Error("executing a cancelled action");
59383
59383
  }
59384
59384
  this.pending = false;
59385
- var error = this._execute(state6, delay);
59385
+ var error = this._execute(state7, delay);
59386
59386
  if (error) {
59387
59387
  return error;
59388
59388
  } else if (this.pending === false && this.id != null) {
59389
59389
  this.id = this.recycleAsyncId(this.scheduler, this.id, null);
59390
59390
  }
59391
59391
  };
59392
- AsyncAction2.prototype._execute = function(state6, _delay) {
59392
+ AsyncAction2.prototype._execute = function(state7, _delay) {
59393
59393
  var errored = false;
59394
59394
  var errorValue;
59395
59395
  try {
59396
- this.work(state6);
59396
+ this.work(state7);
59397
59397
  } catch (e11) {
59398
59398
  errored = true;
59399
59399
  errorValue = e11 ? e11 : new Error("Scheduled action threw falsy error");
@@ -59429,11 +59429,11 @@ var Scheduler = function() {
59429
59429
  this.schedulerActionCtor = schedulerActionCtor;
59430
59430
  this.now = now2;
59431
59431
  }
59432
- Scheduler2.prototype.schedule = function(work, delay, state6) {
59432
+ Scheduler2.prototype.schedule = function(work, delay, state7) {
59433
59433
  if (delay === void 0) {
59434
59434
  delay = 0;
59435
59435
  }
59436
- return new this.schedulerActionCtor(this, work).schedule(state6, delay);
59436
+ return new this.schedulerActionCtor(this, work).schedule(state7, delay);
59437
59437
  };
59438
59438
  Scheduler2.now = dateTimestampProvider.now;
59439
59439
  return Scheduler2;
@@ -64371,18 +64371,18 @@ var isNode = Object.prototype.toString.call(typeof process !== "undefined" ? pro
64371
64371
  var microSeconds2 = microSeconds;
64372
64372
  var type = "native";
64373
64373
  function create(channelName) {
64374
- var state6 = {
64374
+ var state7 = {
64375
64375
  messagesCallback: null,
64376
64376
  bc: new BroadcastChannel(channelName),
64377
64377
  subFns: []
64378
64378
  // subscriberFunctions
64379
64379
  };
64380
- state6.bc.onmessage = function(msg) {
64381
- if (state6.messagesCallback) {
64382
- state6.messagesCallback(msg.data);
64380
+ state7.bc.onmessage = function(msg) {
64381
+ if (state7.messagesCallback) {
64382
+ state7.messagesCallback(msg.data);
64383
64383
  }
64384
64384
  };
64385
- return state6;
64385
+ return state7;
64386
64386
  }
64387
64387
  function close(channelState) {
64388
64388
  channelState.bc.close();
@@ -64626,7 +64626,7 @@ function cleanOldMessages(db, ttl) {
64626
64626
  function create2(channelName, options) {
64627
64627
  options = fillOptionsWithDefaults(options);
64628
64628
  return createDatabase(channelName).then(function(db) {
64629
- var state6 = {
64629
+ var state7 = {
64630
64630
  closed: false,
64631
64631
  lastCursorId: 0,
64632
64632
  channelName,
@@ -64645,54 +64645,54 @@ function create2(channelName, options) {
64645
64645
  db
64646
64646
  };
64647
64647
  db.onclose = function() {
64648
- state6.closed = true;
64648
+ state7.closed = true;
64649
64649
  if (options.idb.onclose)
64650
64650
  options.idb.onclose();
64651
64651
  };
64652
- _readLoop(state6);
64653
- return state6;
64652
+ _readLoop(state7);
64653
+ return state7;
64654
64654
  });
64655
64655
  }
64656
- function _readLoop(state6) {
64657
- if (state6.closed)
64656
+ function _readLoop(state7) {
64657
+ if (state7.closed)
64658
64658
  return;
64659
- readNewMessages(state6).then(function() {
64660
- return sleep(state6.options.idb.fallbackInterval);
64659
+ readNewMessages(state7).then(function() {
64660
+ return sleep(state7.options.idb.fallbackInterval);
64661
64661
  }).then(function() {
64662
- return _readLoop(state6);
64662
+ return _readLoop(state7);
64663
64663
  });
64664
64664
  }
64665
- function _filterMessage(msgObj, state6) {
64666
- if (msgObj.uuid === state6.uuid)
64665
+ function _filterMessage(msgObj, state7) {
64666
+ if (msgObj.uuid === state7.uuid)
64667
64667
  return false;
64668
- if (state6.eMIs.has(msgObj.id))
64668
+ if (state7.eMIs.has(msgObj.id))
64669
64669
  return false;
64670
- if (msgObj.data.time < state6.messagesCallbackTime)
64670
+ if (msgObj.data.time < state7.messagesCallbackTime)
64671
64671
  return false;
64672
64672
  return true;
64673
64673
  }
64674
- function readNewMessages(state6) {
64675
- if (state6.closed)
64674
+ function readNewMessages(state7) {
64675
+ if (state7.closed)
64676
64676
  return Promise.resolve();
64677
- if (!state6.messagesCallback)
64677
+ if (!state7.messagesCallback)
64678
64678
  return Promise.resolve();
64679
- return getMessagesHigherThan(state6.db, state6.lastCursorId).then(function(newerMessages) {
64679
+ return getMessagesHigherThan(state7.db, state7.lastCursorId).then(function(newerMessages) {
64680
64680
  var useMessages = newerMessages.filter(function(msgObj) {
64681
64681
  return !!msgObj;
64682
64682
  }).map(function(msgObj) {
64683
- if (msgObj.id > state6.lastCursorId) {
64684
- state6.lastCursorId = msgObj.id;
64683
+ if (msgObj.id > state7.lastCursorId) {
64684
+ state7.lastCursorId = msgObj.id;
64685
64685
  }
64686
64686
  return msgObj;
64687
64687
  }).filter(function(msgObj) {
64688
- return _filterMessage(msgObj, state6);
64688
+ return _filterMessage(msgObj, state7);
64689
64689
  }).sort(function(msgObjA, msgObjB) {
64690
64690
  return msgObjA.time - msgObjB.time;
64691
64691
  });
64692
64692
  useMessages.forEach(function(msgObj) {
64693
- if (state6.messagesCallback) {
64694
- state6.eMIs.add(msgObj.id);
64695
- state6.messagesCallback(msgObj.data);
64693
+ if (state7.messagesCallback) {
64694
+ state7.eMIs.add(msgObj.id);
64695
+ state7.messagesCallback(msgObj.data);
64696
64696
  }
64697
64697
  });
64698
64698
  return Promise.resolve();
@@ -64798,25 +64798,25 @@ function create3(channelName, options) {
64798
64798
  }
64799
64799
  var uuid = randomToken();
64800
64800
  var eMIs = new ObliviousSet(options.localstorage.removeTimeout);
64801
- var state6 = {
64801
+ var state7 = {
64802
64802
  channelName,
64803
64803
  uuid,
64804
64804
  eMIs
64805
64805
  // emittedMessagesIds
64806
64806
  };
64807
- state6.listener = addStorageEventListener(channelName, function(msgObj) {
64808
- if (!state6.messagesCallback)
64807
+ state7.listener = addStorageEventListener(channelName, function(msgObj) {
64808
+ if (!state7.messagesCallback)
64809
64809
  return;
64810
64810
  if (msgObj.uuid === uuid)
64811
64811
  return;
64812
64812
  if (!msgObj.token || eMIs.has(msgObj.token))
64813
64813
  return;
64814
- if (msgObj.data.time && msgObj.data.time < state6.messagesCallbackTime)
64814
+ if (msgObj.data.time && msgObj.data.time < state7.messagesCallbackTime)
64815
64815
  return;
64816
64816
  eMIs.add(msgObj.token);
64817
- state6.messagesCallback(msgObj.data);
64817
+ state7.messagesCallback(msgObj.data);
64818
64818
  });
64819
- return state6;
64819
+ return state7;
64820
64820
  }
64821
64821
  function close3(channelState) {
64822
64822
  removeStorageEventListener(channelState.listener);
@@ -64864,12 +64864,12 @@ var microSeconds5 = microSeconds;
64864
64864
  var type4 = "simulate";
64865
64865
  var SIMULATE_CHANNELS = /* @__PURE__ */ new Set();
64866
64866
  function create4(channelName) {
64867
- var state6 = {
64867
+ var state7 = {
64868
64868
  name: channelName,
64869
64869
  messagesCallback: null
64870
64870
  };
64871
- SIMULATE_CHANNELS.add(state6);
64872
- return state6;
64871
+ SIMULATE_CHANNELS.add(state7);
64872
+ return state7;
64873
64873
  }
64874
64874
  function close4(channelState) {
64875
64875
  SIMULATE_CHANNELS["delete"](channelState);
@@ -65584,11 +65584,11 @@ var SmartRouter = class {
65584
65584
  /**
65585
65585
  * Push route state to history stack
65586
65586
  */
65587
- async pushUrl(url2 = "/", state6 = {}) {
65587
+ async pushUrl(url2 = "/", state7 = {}) {
65588
65588
  if (url2 !== window.location.pathname) {
65589
- window.history.pushState(state6, window.document.title, url2);
65589
+ window.history.pushState(state7, window.document.title, url2);
65590
65590
  } else {
65591
- window.history.replaceState(state6, window.document.title, url2);
65591
+ window.history.replaceState(state7, window.document.title, url2);
65592
65592
  }
65593
65593
  await this._handleRouteState();
65594
65594
  }
@@ -65871,7 +65871,7 @@ var StatePart = class {
65871
65871
  */
65872
65872
  select(selectorFn) {
65873
65873
  if (!selectorFn) {
65874
- selectorFn = (state6) => state6;
65874
+ selectorFn = (state7) => state7;
65875
65875
  }
65876
65876
  const mapped = this.state.pipe(dist_ts_exports2.rxjs.ops.startWith(this.getState()), dist_ts_exports2.rxjs.ops.map((stateArg) => {
65877
65877
  try {
@@ -67455,8 +67455,8 @@ var DeesElement = class extends lit.LitElement {
67455
67455
  }
67456
67456
  async connectedCallback() {
67457
67457
  super.connectedCallback();
67458
- const domtools6 = await this.domtoolsPromise;
67459
- this.themeSubscription = domtools6.themeManager.themeObservable.subscribe((goBrightArg) => {
67458
+ const domtools7 = await this.domtoolsPromise;
67459
+ this.themeSubscription = domtools7.themeManager.themeObservable.subscribe((goBrightArg) => {
67460
67460
  this.goBright = goBrightArg;
67461
67461
  });
67462
67462
  this.rxSubscriptions.push(this.themeSubscription);
@@ -67785,7 +67785,7 @@ var WccSidebar = class WccSidebar2 extends DeesElement {
67785
67785
  <div
67786
67786
  class="selectOption ${this.selectedItem === item ? "selected" : null}"
67787
67787
  @click=${async () => {
67788
- const domtools6 = await dist_ts_exports25.DomTools.setupDomTools();
67788
+ const domtools7 = await dist_ts_exports25.DomTools.setupDomTools();
67789
67789
  this.selectItem("page", pageName, item);
67790
67790
  }}
67791
67791
  >
@@ -67804,7 +67804,7 @@ var WccSidebar = class WccSidebar2 extends DeesElement {
67804
67804
  <div
67805
67805
  class="selectOption ${this.selectedItem === item ? "selected" : null}"
67806
67806
  @click=${async () => {
67807
- const domtools6 = await dist_ts_exports25.DomTools.setupDomTools();
67807
+ const domtools7 = await dist_ts_exports25.DomTools.setupDomTools();
67808
67808
  this.selectItem("element", elementName, item);
67809
67809
  }}
67810
67810
  >
@@ -68136,8 +68136,8 @@ var WccProperties = class WccProperties2 extends DeesElement {
68136
68136
  if (key === "goBright" || key === "domtools") {
68137
68137
  continue;
68138
68138
  }
68139
- const property2 = classProperties.get(key);
68140
- const propertyTypeString = await determinePropertyType(property2);
68139
+ const property3 = classProperties.get(key);
68140
+ const propertyTypeString = await determinePropertyType(property3);
68141
68141
  propertyArray.push(x`
68142
68142
  <div class="property">
68143
68143
  ${key} / ${propertyTypeString}<br />
@@ -68168,7 +68168,7 @@ var WccProperties = class WccProperties2 extends DeesElement {
68168
68168
  }}"
68169
68169
  />`;
68170
68170
  case "Enum":
68171
- const enumValues = getEnumValues(property2);
68171
+ const enumValues = getEnumValues(property3);
68172
68172
  return x`<select
68173
68173
  @change="${(eventArg) => {
68174
68174
  firstFoundInstantiatedElement[key] = eventArg.target.value;
@@ -69048,6 +69048,7 @@ __export(elements_exports, {
69048
69048
  DeesTable: () => DeesTable,
69049
69049
  DeesToast: () => DeesToast,
69050
69050
  DeesUpdater: () => DeesUpdater,
69051
+ DeesWindowControls: () => DeesWindowControls,
69051
69052
  DeesWindowLayer: () => DeesWindowLayer,
69052
69053
  faIcons: () => faIcons
69053
69054
  });
@@ -69570,10 +69571,10 @@ var DeesWindowLayer = class extends DeesElement {
69570
69571
  blur: false
69571
69572
  };
69572
69573
  this.visible = false;
69573
- domtools_elementbasic_exports.setup();
69574
+ dist_ts_exports25.elementBasic.setup();
69574
69575
  }
69575
69576
  static async createAndShow(optionsArg) {
69576
- const domtoolsInstance = DomTools.getGlobalDomToolsSync();
69577
+ const domtoolsInstance = dist_ts_exports25.DomTools.getGlobalDomToolsSync();
69577
69578
  const windowLayer = new DeesWindowLayer();
69578
69579
  windowLayer.options = {
69579
69580
  ...windowLayer.options,
@@ -69586,7 +69587,7 @@ var DeesWindowLayer = class extends DeesElement {
69586
69587
  }
69587
69588
  render() {
69588
69589
  return x`
69589
- ${domtools_elementbasic_exports.styles}
69590
+ ${dist_ts_exports25.elementBasic.styles}
69590
69591
  <style>
69591
69592
  .windowOverlay {
69592
69593
  transition: all 0.2s;
@@ -69639,19 +69640,19 @@ var DeesWindowLayer = class extends DeesElement {
69639
69640
  this.visible = !this.visible;
69640
69641
  }
69641
69642
  async show() {
69642
- const domtools6 = await this.domtoolsPromise;
69643
- await domtools6.convenience.smartdelay.delayFor(0);
69643
+ const domtools7 = await this.domtoolsPromise;
69644
+ await domtools7.convenience.smartdelay.delayFor(0);
69644
69645
  this.visible = true;
69645
69646
  }
69646
69647
  async hide() {
69647
- const domtools6 = await this.domtoolsPromise;
69648
- await domtools6.convenience.smartdelay.delayFor(0);
69648
+ const domtools7 = await this.domtoolsPromise;
69649
+ await domtools7.convenience.smartdelay.delayFor(0);
69649
69650
  this.visible = false;
69650
69651
  }
69651
69652
  async destroy() {
69652
- const domtools6 = await this.domtoolsPromise;
69653
+ const domtools7 = await this.domtoolsPromise;
69653
69654
  await this.hide();
69654
- await domtools6.convenience.smartdelay.delayFor(300);
69655
+ await domtools7.convenience.smartdelay.delayFor(300);
69655
69656
  this.remove();
69656
69657
  }
69657
69658
  };
@@ -69878,41 +69879,7 @@ var DeesDataviewCodebox = class extends DeesElement {
69878
69879
  line-height: 24px;
69879
69880
  }
69880
69881
 
69881
- .appbar .macControls {
69882
- position: absolute;
69883
- top: 6px;
69884
- left: 20px;
69885
- width: 200px;
69886
- display: grid;
69887
- grid-template-columns: 24px 24px 24px;
69888
- }
69889
-
69890
- .appbar .macControls div {
69891
- width: 12px;
69892
- height: 12px;
69893
- display: inline-block;
69894
- border-radius: 50%;
69895
- margin: 0px;
69896
- padding: 0px;
69897
- cursor: pointer;
69898
- background: #222222;
69899
- }
69900
-
69901
- .appbar .macControls div.close {
69902
- background: #ff5f57;
69903
- }
69904
-
69905
- .appbar .macControls div.toDock {
69906
- background: #ffbd2e;
69907
- }
69908
-
69909
- .appbar .macControls div.minMax {
69910
- background: #27c93f;
69911
- }
69912
-
69913
- .appbar .macControls div:hover {
69914
- background: #333333;
69915
- }
69882
+
69916
69883
 
69917
69884
  .appbar .fileName {
69918
69885
  text-align: center;
@@ -70018,11 +69985,7 @@ var DeesDataviewCodebox = class extends DeesElement {
70018
69985
  }}"
70019
69986
  >
70020
69987
  <div class="appbar">
70021
- <div class="macControls">
70022
- <div class="close"></div>
70023
- <div class="toDock"></div>
70024
- <div class="minMax"></div>
70025
- </div>
69988
+ <dees-windowcontrols></dees-windowcontrols>
70026
69989
  <div class="fileName">index.ts</div>
70027
69990
  </div>
70028
69991
  <div class="codegrid">
@@ -70485,7 +70448,7 @@ var DeesInputText = class extends DeesElement {
70485
70448
  this.disabled = false;
70486
70449
  }
70487
70450
  async togglePasswordView() {
70488
- const domtools6 = await this.domtoolsPromise;
70451
+ const domtools7 = await this.domtoolsPromise;
70489
70452
  this.showPasswordBool = !this.showPasswordBool;
70490
70453
  console.log(`this.showPasswordBool is: ${this.showPasswordBool}`);
70491
70454
  }
@@ -71256,8 +71219,8 @@ var DeesTable = class extends DeesElement {
71256
71219
  this.determineColumnWidths();
71257
71220
  }
71258
71221
  async determineColumnWidths() {
71259
- const domtools6 = await this.domtoolsPromise;
71260
- await domtools6.convenience.smartdelay.delayFor(0);
71222
+ const domtools7 = await this.domtoolsPromise;
71223
+ await domtools7.convenience.smartdelay.delayFor(0);
71261
71224
  const table = this.shadowRoot.querySelector("table");
71262
71225
  if (!table)
71263
71226
  return;
@@ -71300,7 +71263,7 @@ var DeesTable = class extends DeesElement {
71300
71263
  return actions;
71301
71264
  }
71302
71265
  async handleCellEditing(event, itemArg, key) {
71303
- const domtools6 = await this.domtoolsPromise;
71266
+ const domtools7 = await this.domtoolsPromise;
71304
71267
  const target = event.target;
71305
71268
  const originalColor = target.style.color;
71306
71269
  target.style.color = "transparent";
@@ -73143,9 +73106,9 @@ var DeesFormSubmit = class extends DeesElement {
73143
73106
  parentElement.gatherAndDispatch();
73144
73107
  }
73145
73108
  async focus() {
73146
- const domtools6 = await this.domtoolsPromise;
73109
+ const domtools7 = await this.domtoolsPromise;
73147
73110
  if (!this.disabled) {
73148
- domtools6.convenience.smartdelay.delayFor(0);
73111
+ domtools7.convenience.smartdelay.delayFor(0);
73149
73112
  this.submit();
73150
73113
  }
73151
73114
  }
@@ -76667,7 +76630,7 @@ var DeesMobilenavigation = class extends DeesElement {
76667
76630
  * inits the show
76668
76631
  */
76669
76632
  async show() {
76670
- const domtools6 = await this.domtoolsPromise;
76633
+ const domtools7 = await this.domtoolsPromise;
76671
76634
  const main = this.shadowRoot.querySelector(".main");
76672
76635
  if (!this.windowLayer) {
76673
76636
  this.windowLayer = new DeesWindowLayer();
@@ -76677,16 +76640,16 @@ var DeesMobilenavigation = class extends DeesElement {
76677
76640
  });
76678
76641
  }
76679
76642
  document.body.append(this.windowLayer);
76680
- await domtools6.convenience.smartdelay.delayFor(0);
76643
+ await domtools7.convenience.smartdelay.delayFor(0);
76681
76644
  this.windowLayer.show();
76682
- await domtools6.convenience.smartdelay.delayFor(0);
76645
+ await domtools7.convenience.smartdelay.delayFor(0);
76683
76646
  main.classList.add("show");
76684
76647
  }
76685
76648
  /**
76686
76649
  * inits the hide function
76687
76650
  */
76688
76651
  async hide() {
76689
- const domtools6 = await this.domtoolsPromise;
76652
+ const domtools7 = await this.domtoolsPromise;
76690
76653
  const main = this.shadowRoot.querySelector(".main");
76691
76654
  main.classList.remove("show");
76692
76655
  this.windowLayer.hide();
@@ -76862,8 +76825,8 @@ var DeesModal = class extends DeesElement {
76862
76825
  }
76863
76826
  async firstUpdated(_changedProperties) {
76864
76827
  super.firstUpdated(_changedProperties);
76865
- const domtools6 = await this.domtoolsPromise;
76866
- await domtools6.convenience.smartdelay.delayFor(30);
76828
+ const domtools7 = await this.domtoolsPromise;
76829
+ await domtools7.convenience.smartdelay.delayFor(30);
76867
76830
  const modal = this.shadowRoot.querySelector(".modal");
76868
76831
  modal.classList.add("show");
76869
76832
  }
@@ -76875,10 +76838,10 @@ var DeesModal = class extends DeesElement {
76875
76838
  }
76876
76839
  }
76877
76840
  async destroy() {
76878
- const domtools6 = await this.domtoolsPromise;
76841
+ const domtools7 = await this.domtoolsPromise;
76879
76842
  const modal = this.shadowRoot.querySelector(".modal");
76880
76843
  modal.classList.add("predestroy");
76881
- await domtools6.convenience.smartdelay.delayFor(200);
76844
+ await domtools7.convenience.smartdelay.delayFor(200);
76882
76845
  document.body.removeChild(this);
76883
76846
  await this.windowLayer.destroy();
76884
76847
  }
@@ -77089,7 +77052,7 @@ var DeesSimpleAppDash = class extends DeesElement {
77089
77052
  `;
77090
77053
  }
77091
77054
  async firstUpdated(_changedProperties) {
77092
- const domtools6 = await this.domtoolsPromise;
77055
+ const domtools7 = await this.domtoolsPromise;
77093
77056
  super.firstUpdated(_changedProperties);
77094
77057
  }
77095
77058
  };
@@ -77157,7 +77120,7 @@ var DeesSimpleLogin = class extends DeesElement {
77157
77120
  `;
77158
77121
  }
77159
77122
  async firstUpdated(_changedProperties) {
77160
- const domtools6 = await this.domtoolsPromise;
77123
+ const domtools7 = await this.domtoolsPromise;
77161
77124
  super.firstUpdated(_changedProperties);
77162
77125
  const form = this.shadowRoot.querySelector("dees-form");
77163
77126
  await form.readyDeferred.promise;
@@ -77172,7 +77135,7 @@ var DeesSimpleLogin = class extends DeesElement {
77172
77135
  * allows switching to slotted content
77173
77136
  */
77174
77137
  async switchToSlottedContent() {
77175
- const domtools6 = await this.domtoolsPromise;
77138
+ const domtools7 = await this.domtoolsPromise;
77176
77139
  const loginDiv = this.shadowRoot.querySelector(".login");
77177
77140
  const loginContainerDiv = this.shadowRoot.querySelector(".loginContainer");
77178
77141
  const slotContainerDiv = this.shadowRoot.querySelector(".slotContainer");
@@ -77180,10 +77143,10 @@ var DeesSimpleLogin = class extends DeesElement {
77180
77143
  loginDiv.style.transform = "translateY(20px)";
77181
77144
  loginContainerDiv.style.pointerEvents = "none";
77182
77145
  slotContainerDiv.style.transform = "translateY(20px)";
77183
- await domtools6.convenience.smartdelay.delayFor(300);
77146
+ await domtools7.convenience.smartdelay.delayFor(300);
77184
77147
  slotContainerDiv.style.opacity = "1";
77185
77148
  slotContainerDiv.style.transform = "translateY(0px)";
77186
- await domtools6.convenience.smartdelay.delayFor(300);
77149
+ await domtools7.convenience.smartdelay.delayFor(300);
77187
77150
  slotContainerDiv.style.pointerEvents = "all";
77188
77151
  }
77189
77152
  };
@@ -77799,6 +77762,63 @@ DeesUpdater = __decorateClass([
77799
77762
  t4("dees-updater")
77800
77763
  ], DeesUpdater);
77801
77764
 
77765
+ // ts_web/elements/dees-windowcontrols.ts
77766
+ var DeesWindowControls = class extends DeesElement {
77767
+ render() {
77768
+ return x`
77769
+ <div class="windowControls">
77770
+ <div class="close"></div>
77771
+ <div class="toDock"></div>
77772
+ <div class="minMax"></div>
77773
+ </div>
77774
+ `;
77775
+ }
77776
+ };
77777
+ DeesWindowControls.demo = () => x`<dees-windowcontrols></dees-windowcontrols>`;
77778
+ DeesWindowControls.styles = [
77779
+ cssManager.defaultStyles,
77780
+ i`
77781
+ .windowControls {
77782
+ position: absolute;
77783
+ top: 6px;
77784
+ left: 20px;
77785
+ width: 200px;
77786
+ display: grid;
77787
+ grid-template-columns: 24px 24px 24px;
77788
+ }
77789
+
77790
+ .windowControls div {
77791
+ width: 12px;
77792
+ height: 12px;
77793
+ display: inline-block;
77794
+ border-radius: 50%;
77795
+ margin: 0px;
77796
+ padding: 0px;
77797
+ cursor: pointer;
77798
+ background: #222222;
77799
+ }
77800
+
77801
+ .windowControls div.close {
77802
+ background: #ff5f57;
77803
+ }
77804
+
77805
+ .windowControls div.toDock {
77806
+ background: #ffbd2e;
77807
+ }
77808
+
77809
+ .windowControls div.minMax {
77810
+ background: #27c93f;
77811
+ }
77812
+
77813
+ .windowControls div:hover {
77814
+ background: #333333;
77815
+ }
77816
+ `
77817
+ ];
77818
+ DeesWindowControls = __decorateClass([
77819
+ t4("dees-windowcontrols")
77820
+ ], DeesWindowControls);
77821
+
77802
77822
  // ts_web/pages/index.ts
77803
77823
  var pages_exports = {};
77804
77824
  __export(pages_exports, {