@appkit/dek-lib 0.17.0 → 0.18.0

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/index.umd.js CHANGED
@@ -1182,7 +1182,7 @@ Check the top-level render call using <` + b + ">.");
1182
1182
  }
1183
1183
  `, $4 = (t2, r4 = false) => t2 === "center" ? "center" : t2 === "left" ? r4 ? "flex-end" : "flex-start" : t2 === "stretch" ? "stretch" : r4 ? "flex-start" : "flex-end", q4 = (t2, r4 = false) => t2 === "center" ? "center" : t2 === "top" ? r4 ? "flex-end" : "flex-start" : r4 ? "flex-start" : "flex-end", E8 = styled.div`
1184
1184
  background-color: ${(t2) => t2.$active ? t2.$backColorActive : t2.$backColor};
1185
- filter: ${(t2) => t2.$disabled ? `brightness(${b1.button.brightnessDisabled})` : t2.$pressed ? `brightness(${b1.button.brightnessPressed})` : "none"};
1185
+ filter: ${(t2) => t2.$disabled ? `brightness(${I1.button.brightnessDisabled})` : t2.$pressed ? `brightness(${I1.button.brightnessPressed})` : "none"};
1186
1186
  border-radius: ${({ $borderRadius: t2 }) => typeof t2 == "number" ? `${t2}px` : t2};
1187
1187
  width: ${({ $width: t2 }) => typeof t2 == "number" ? `${t2}px` : t2};
1188
1188
  height: ${({ $height: t2 }) => typeof t2 == "number" ? `${t2}px` : t2};
@@ -1233,7 +1233,7 @@ Check the top-level render call using <` + b + ">.");
1233
1233
  }, P = () => {
1234
1234
  r4 || v1();
1235
1235
  };
1236
- return l2 || (l2 = (K = b1.button[t2]) == null ? void 0 : K.backColor), o10 || (o10 = (l1 = b1.button[t2]) == null ? void 0 : l1.backColorActive), /* @__PURE__ */ C1.jsx(
1236
+ return l2 || (l2 = (K = I1.button[t2]) == null ? void 0 : K.backColor), o10 || (o10 = (l1 = I1.button[t2]) == null ? void 0 : l1.backColorActive), /* @__PURE__ */ C1.jsx(
1237
1237
  E8,
1238
1238
  {
1239
1239
  $pressed: r4 ? false : $,
@@ -24062,7 +24062,7 @@ Check the top-level render call using <` + b + ">.");
24062
24062
  iconPadding: o10 = 2,
24063
24063
  iconBackColor: g = ""
24064
24064
  }) => {
24065
- const V = r4 ? n4 : h2 || b1.button.normal.color, y2 = g ? l2 - 4 : l2, m = o10, k = g ? 2 : 0;
24065
+ const V = r4 ? n4 : h2 || I1.button.normal.color, y2 = g ? l2 - 4 : l2, m = o10, k = g ? 2 : 0;
24066
24066
  return /* @__PURE__ */ C1.jsxs(
24067
24067
  XD1,
24068
24068
  {
@@ -24085,7 +24085,7 @@ Check the top-level render call using <` + b + ">.");
24085
24085
  ]
24086
24086
  }
24087
24087
  );
24088
- }, b1 = {
24088
+ }, I1 = {
24089
24089
  text: {
24090
24090
  size: {
24091
24091
  xxsmall: 10,
@@ -24175,15 +24175,15 @@ Check the top-level render call using <` + b + ">.");
24175
24175
  function vt(t2) {
24176
24176
  switch (t2) {
24177
24177
  case "xxsubtle":
24178
- return b1.text.color.xxsubtle;
24178
+ return I1.text.color.xxsubtle;
24179
24179
  case "xsubtle":
24180
- return b1.text.color.xsubtle;
24180
+ return I1.text.color.xsubtle;
24181
24181
  case "subtle":
24182
- return b1.text.color.subtle;
24182
+ return I1.text.color.subtle;
24183
24183
  case "tint":
24184
- return b1.text.color.tint;
24184
+ return I1.text.color.tint;
24185
24185
  case "normal":
24186
- return b1.text.color.normal;
24186
+ return I1.text.color.normal;
24187
24187
  default:
24188
24188
  return t2;
24189
24189
  }
@@ -24191,97 +24191,97 @@ Check the top-level render call using <` + b + ">.");
24191
24191
  function Et(t2) {
24192
24192
  switch (t2) {
24193
24193
  case "normal":
24194
- return b1.text.family.normal;
24194
+ return I1.text.family.normal;
24195
24195
  case "condensed":
24196
- return b1.text.family.condensed;
24196
+ return I1.text.family.condensed;
24197
24197
  case "mono":
24198
- return b1.text.family.mono;
24198
+ return I1.text.family.mono;
24199
24199
  case "slab":
24200
- return b1.text.family.slab;
24200
+ return I1.text.family.slab;
24201
24201
  case "flex":
24202
- return b1.text.family.flex;
24202
+ return I1.text.family.flex;
24203
24203
  case "heading":
24204
- return b1.text.family.heading;
24204
+ return I1.text.family.heading;
24205
24205
  default:
24206
24206
  return t2;
24207
24207
  }
24208
24208
  }
24209
24209
  function Y4(t2) {
24210
24210
  if (t2 === void 0)
24211
- return b1.text.size.normal;
24211
+ return I1.text.size.normal;
24212
24212
  if (typeof t2 == "number")
24213
24213
  return t2;
24214
24214
  switch (t2) {
24215
24215
  case "xxsmall":
24216
- return b1.text.size.xxsmall;
24216
+ return I1.text.size.xxsmall;
24217
24217
  case "xsmall":
24218
- return b1.text.size.xsmall;
24218
+ return I1.text.size.xsmall;
24219
24219
  case "small":
24220
- return b1.text.size.small;
24220
+ return I1.text.size.small;
24221
24221
  case "normal":
24222
- return b1.text.size.normal;
24222
+ return I1.text.size.normal;
24223
24223
  case "large":
24224
- return b1.text.size.large;
24224
+ return I1.text.size.large;
24225
24225
  case "xlarge":
24226
- return b1.text.size.xlarge;
24226
+ return I1.text.size.xlarge;
24227
24227
  case "xxlarge":
24228
- return b1.text.size.xxlarge;
24228
+ return I1.text.size.xxlarge;
24229
24229
  case "heading":
24230
- return b1.text.size.heading;
24230
+ return I1.text.size.heading;
24231
24231
  }
24232
24232
  }
24233
24233
  function aa(t2) {
24234
24234
  if (t2 === void 0)
24235
- return b1.text.height.normal;
24235
+ return I1.text.height.normal;
24236
24236
  if (typeof t2 == "number")
24237
24237
  return t2 + 5;
24238
24238
  switch (t2) {
24239
24239
  case "xxsmall":
24240
- return b1.text.height.xxsmall;
24240
+ return I1.text.height.xxsmall;
24241
24241
  case "xsmall":
24242
- return b1.text.height.xsmall;
24242
+ return I1.text.height.xsmall;
24243
24243
  case "small":
24244
- return b1.text.height.small;
24244
+ return I1.text.height.small;
24245
24245
  case "normal":
24246
- return b1.text.height.normal;
24246
+ return I1.text.height.normal;
24247
24247
  case "large":
24248
- return b1.text.height.large;
24248
+ return I1.text.height.large;
24249
24249
  case "xlarge":
24250
- return b1.text.height.xlarge;
24250
+ return I1.text.height.xlarge;
24251
24251
  case "xxlarge":
24252
- return b1.text.height.xxlarge;
24252
+ return I1.text.height.xxlarge;
24253
24253
  case "heading":
24254
- return b1.text.height.heading;
24254
+ return I1.text.height.heading;
24255
24255
  }
24256
24256
  }
24257
24257
  function ot(t2) {
24258
24258
  if (t2 === void 0)
24259
- return b1.text.weight.normal;
24259
+ return I1.text.weight.normal;
24260
24260
  if (typeof t2 == "number")
24261
24261
  return t2;
24262
24262
  switch (t2) {
24263
24263
  case "xxthin":
24264
- return b1.text.weight.xxthin;
24264
+ return I1.text.weight.xxthin;
24265
24265
  case "xthin":
24266
- return b1.text.weight.xthin;
24266
+ return I1.text.weight.xthin;
24267
24267
  case "thin":
24268
- return b1.text.weight.thin;
24268
+ return I1.text.weight.thin;
24269
24269
  case "normal":
24270
- return b1.text.weight.normal;
24270
+ return I1.text.weight.normal;
24271
24271
  case "bold":
24272
- return b1.text.weight.bold;
24272
+ return I1.text.weight.bold;
24273
24273
  case "xbold":
24274
- return b1.text.weight.xbold;
24274
+ return I1.text.weight.xbold;
24275
24275
  case "xxbold":
24276
- return b1.text.weight.xxbold;
24276
+ return I1.text.weight.xxbold;
24277
24277
  case "heavy":
24278
- return b1.text.weight.heavy;
24278
+ return I1.text.weight.heavy;
24279
24279
  case "xheavy":
24280
- return b1.text.weight.xheavy;
24280
+ return I1.text.weight.xheavy;
24281
24281
  case "xxheavy":
24282
- return b1.text.weight.xxheavy;
24282
+ return I1.text.weight.xxheavy;
24283
24283
  case "heading":
24284
- return b1.text.weight.heading;
24284
+ return I1.text.weight.heading;
24285
24285
  }
24286
24286
  }
24287
24287
  const aF1 = styled.div`
@@ -24399,22 +24399,22 @@ Check the top-level render call using <` + b + ">.");
24399
24399
  }, i1 = t2.variant === "clear" || t2.variant === "toggle" ? t2.variant : "normal", v1 = {
24400
24400
  ...t2,
24401
24401
  pressed: r4,
24402
- color: T || ((c1 = b1.button[i1]) == null ? void 0 : c1.color),
24403
- colorActive: U || ((o1 = b1.button[i1]) == null ? void 0 : o1.colorActive),
24402
+ color: T || ((c1 = I1.button[i1]) == null ? void 0 : c1.color),
24403
+ colorActive: U || ((o1 = I1.button[i1]) == null ? void 0 : o1.colorActive),
24404
24404
  textStyle: {},
24405
24405
  label: "button-text"
24406
24406
  }, P1 = {
24407
24407
  ...t2,
24408
24408
  pressed: r4,
24409
- iconColor: l2 || T || ((P = b1.button[i1]) == null ? void 0 : P.color),
24410
- iconColorActive: q || U || ((K = b1.button[i1]) == null ? void 0 : K.colorActive),
24409
+ iconColor: l2 || T || ((P = I1.button[i1]) == null ? void 0 : P.color),
24410
+ iconColorActive: q || U || ((K = I1.button[i1]) == null ? void 0 : K.colorActive),
24411
24411
  label: "button-icon"
24412
24412
  }, r1 = {
24413
24413
  ...t2,
24414
24414
  variant: i1,
24415
24415
  paddingVert: k === void 0 && y2 === void 0 && m === void 0 && V === void 0 ? 12 : V,
24416
24416
  // if only backColor is set, use it for backColorActive (except for toggle variants)
24417
- backColorActive: g || (i1 !== "toggle" ? o10 || ((l1 = b1.button[i1]) == null ? void 0 : l1.backColor) : void 0)
24417
+ backColorActive: g || (i1 !== "toggle" ? o10 || ((l1 = I1.button[i1]) == null ? void 0 : l1.backColor) : void 0)
24418
24418
  };
24419
24419
  let $ = null;
24420
24420
  return D ? $ = D : n4 === "none" ? (v1.textStyle.margin = "4px 4px 0 4px", $ = /* @__PURE__ */ C1.jsx(h6, { ...v1 })) : (n4 === "top" ? (r1.direction = "vert", v1.textStyle.margin = "0 4px") : n4 === "right" ? (r1.direction = "horz-reverse", v1.textStyle.margin = "4px 4px 0 4px") : n4 === "bottom" ? (r1.direction = "vert-reverse", v1.textStyle.margin = "0 4px") : n4 === "left" && (r1.direction = "horz", v1.textStyle.margin = "4px 4px 0 4px"), $ = /* @__PURE__ */ C1.jsxs(C1.Fragment, { children: [
@@ -24476,21 +24476,21 @@ Check the top-level render call using <` + b + ">.");
24476
24476
  function qt(t2) {
24477
24477
  switch (t2) {
24478
24478
  case "subtle":
24479
- return console.error("subtle view backColor is deprecated"), b1.text.color.subtle;
24479
+ return console.error("subtle view backColor is deprecated"), I1.text.color.subtle;
24480
24480
  case "tile":
24481
- return b1.view.backColor.tile;
24481
+ return I1.view.backColor.tile;
24482
24482
  case "light":
24483
- return b1.view.backColor.light;
24483
+ return I1.view.backColor.light;
24484
24484
  case "lighter":
24485
- return b1.view.backColor.lighter;
24485
+ return I1.view.backColor.lighter;
24486
24486
  case "lightest":
24487
- return b1.view.backColor.lightest;
24487
+ return I1.view.backColor.lightest;
24488
24488
  case "dark":
24489
- return b1.view.backColor.dark;
24489
+ return I1.view.backColor.dark;
24490
24490
  case "darker":
24491
- return b1.view.backColor.darker;
24491
+ return I1.view.backColor.darker;
24492
24492
  case "darkest":
24493
- return b1.view.backColor.darkest;
24493
+ return I1.view.backColor.darkest;
24494
24494
  case "none":
24495
24495
  return "transparent";
24496
24496
  default:
@@ -24508,7 +24508,7 @@ Check the top-level render call using <` + b + ">.");
24508
24508
  }};
24509
24509
  ${({ $fixed: t2 }) => t2 === "none" ? "" : t2 === "top" ? "position: absolute; top: 0; left: 0; right: 0;" : "position: absolute; bottom: 0; left: 0; right: 0;"}
24510
24510
  width: ${({ $width: t2 }) => typeof t2 == "number" ? `${t2}px` : t2};
24511
- color: ${() => b1.text.color.normal};
24511
+ color: ${() => I1.text.color.normal};
24512
24512
  border-radius: ${(t2) => t2.$borderRadius}px;
24513
24513
  overflow-y: ${({ $vscroll: t2 }) => Yt(t2)};
24514
24514
  overflow-x: ${({ $hscroll: t2 }) => Yt(t2)};
@@ -24642,7 +24642,7 @@ Check the top-level render call using <` + b + ">.");
24642
24642
  iconPadding: l2 = 2,
24643
24643
  iconBackColor: o10 = "transparent"
24644
24644
  }) => {
24645
- const g = r4 ? "#888" : h2 === void 0 ? b1.text.color.normal : h2;
24645
+ const g = r4 ? "#888" : h2 === void 0 ? I1.text.color.normal : h2;
24646
24646
  return /* @__PURE__ */ C1.jsxs(
24647
24647
  iF1,
24648
24648
  {
@@ -34554,7 +34554,7 @@ Valid keys: ` + JSON.stringify(Object.keys(F), null, " ")
34554
34554
  ) });
34555
34555
  }, cU1 = styled.div`
34556
34556
  position: relative;
34557
- background-color: ${(t2) => t2.$pressed ? b1.view.backColor.lighter : qt(t2.$backColor)};
34557
+ background-color: ${(t2) => t2.$pressed ? I1.view.backColor.lighter : qt(t2.$backColor)};
34558
34558
  border-radius: 10px;
34559
34559
  padding: 16px;
34560
34560
  padding-top: 8px;
@@ -34564,19 +34564,19 @@ Valid keys: ` + JSON.stringify(Object.keys(F), null, " ")
34564
34564
 
34565
34565
  ${X6};
34566
34566
  `, lU1 = styled.div`
34567
- font-size: ${() => b1.text.size.xsmall}px;
34568
- color: ${() => b1.text.color.tint};
34567
+ font-size: ${() => I1.text.size.xsmall}px;
34568
+ color: ${() => I1.text.color.tint};
34569
34569
  padding: 0;
34570
34570
  padding-top: 8px;
34571
34571
  margin-left: 4px;
34572
34572
  margin-bottom: -4px;
34573
34573
  text-transform: uppercase;
34574
34574
  `, vU1 = styled.div`
34575
- font-family: ${() => b1.text.family.heading};
34576
- font-size: ${() => b1.text.size.heading}px;
34577
- line-height: ${() => b1.text.height.heading}px;
34578
- font-weight: ${() => b1.text.weight.heading};
34579
- color: ${() => b1.text.color.normal};
34575
+ font-family: ${() => I1.text.family.heading};
34576
+ font-size: ${() => I1.text.size.heading}px;
34577
+ line-height: ${() => I1.text.height.heading}px;
34578
+ font-weight: ${() => I1.text.weight.heading};
34579
+ color: ${() => I1.text.color.normal};
34580
34580
  margin: 4px;
34581
34581
  margin-bottom: 1px;
34582
34582
  `, oU1 = styled.div`
@@ -34585,8 +34585,8 @@ Valid keys: ` + JSON.stringify(Object.keys(F), null, " ")
34585
34585
  padding: 6px 6px 6px 4px;
34586
34586
  padding-top: 4px;
34587
34587
  `, dU1 = styled.div`
34588
- font-size: ${() => b1.text.size.normal}px;
34589
- color: ${() => b1.text.color.xsubtle};
34588
+ font-size: ${() => I1.text.size.normal}px;
34589
+ color: ${() => I1.text.color.xsubtle};
34590
34590
  margin-top: -1px;
34591
34591
  padding-left: ${(t2) => t2.$hasIcon ? "6px" : "0px"};
34592
34592
  `, gU1 = styled.div`
@@ -34631,7 +34631,7 @@ Valid keys: ` + JSON.stringify(Object.keys(F), null, " ")
34631
34631
  {
34632
34632
  name: n4,
34633
34633
  size: 18,
34634
- color: b1.text.color.xsubtle
34634
+ color: I1.text.color.xsubtle
34635
34635
  }
34636
34636
  ) }),
34637
34637
  /* @__PURE__ */ C1.jsx(dU1, { $hasIcon: !!n4, children: e4 })
@@ -34706,7 +34706,7 @@ Valid keys: ` + JSON.stringify(Object.keys(F), null, " ")
34706
34706
  //! license : MIT
34707
34707
  //! momentjs.com
34708
34708
  var Na;
34709
- function I1() {
34709
+ function b1() {
34710
34710
  return Na.apply(null, arguments);
34711
34711
  }
34712
34712
  function uU1(t2) {
@@ -34800,7 +34800,7 @@ Valid keys: ` + JSON.stringify(Object.keys(F), null, " ")
34800
34800
  var r4 = Q0(NaN);
34801
34801
  return t2 != null ? p4(K1(r4), t2) : K1(r4).userInvalidated = true, r4;
34802
34802
  }
34803
- var $6 = I1.momentProperties = [], G5 = false;
34803
+ var $6 = b1.momentProperties = [], G5 = false;
34804
34804
  function T3(t2, r4) {
34805
34805
  var e4, h2, n4, l2 = $6.length;
34806
34806
  if (n0(r4._isAMomentObject) || (t2._isAMomentObject = r4._isAMomentObject), n0(r4._i) || (t2._i = r4._i), n0(r4._f) || (t2._f = r4._f), n0(r4._l) || (t2._l = r4._l), n0(r4._strict) || (t2._strict = r4._strict), n0(r4._tzm) || (t2._tzm = r4._tzm), n0(r4._isUTC) || (t2._isUTC = r4._isUTC), n0(r4._offset) || (t2._offset = r4._offset), n0(r4._pf) || (t2._pf = K1(r4)), n0(r4._locale) || (t2._locale = r4._locale), l2 > 0)
@@ -34809,18 +34809,18 @@ Valid keys: ` + JSON.stringify(Object.keys(F), null, " ")
34809
34809
  return t2;
34810
34810
  }
34811
34811
  function xt(t2) {
34812
- T3(this, t2), this._d = new Date(t2._d != null ? t2._d.getTime() : NaN), this.isValid() || (this._d = /* @__PURE__ */ new Date(NaN)), G5 === false && (G5 = true, I1.updateOffset(this), G5 = false);
34812
+ T3(this, t2), this._d = new Date(t2._d != null ? t2._d.getTime() : NaN), this.isValid() || (this._d = /* @__PURE__ */ new Date(NaN)), G5 === false && (G5 = true, b1.updateOffset(this), G5 = false);
34813
34813
  }
34814
34814
  function F0(t2) {
34815
34815
  return t2 instanceof xt || t2 != null && t2._isAMomentObject != null;
34816
34816
  }
34817
34817
  function $a(t2) {
34818
- I1.suppressDeprecationWarnings === false && typeof console < "u" && console.warn && console.warn("Deprecation warning: " + t2);
34818
+ b1.suppressDeprecationWarnings === false && typeof console < "u" && console.warn && console.warn("Deprecation warning: " + t2);
34819
34819
  }
34820
34820
  function k0(t2, r4) {
34821
34821
  var e4 = true;
34822
34822
  return p4(function() {
34823
- if (I1.deprecationHandler != null && I1.deprecationHandler(null, t2), e4) {
34823
+ if (b1.deprecationHandler != null && b1.deprecationHandler(null, t2), e4) {
34824
34824
  var h2 = [], n4, l2, o10, g = arguments.length;
34825
34825
  for (l2 = 0; l2 < g; l2++) {
34826
34826
  if (n4 = "", typeof arguments[l2] == "object") {
@@ -34844,10 +34844,10 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
34844
34844
  }
34845
34845
  var q6 = {};
34846
34846
  function qa(t2, r4) {
34847
- I1.deprecationHandler != null && I1.deprecationHandler(t2, r4), q6[t2] || ($a(r4), q6[t2] = true);
34847
+ b1.deprecationHandler != null && b1.deprecationHandler(t2, r4), q6[t2] || ($a(r4), q6[t2] = true);
34848
34848
  }
34849
- I1.suppressDeprecationWarnings = false;
34850
- I1.deprecationHandler = null;
34849
+ b1.suppressDeprecationWarnings = false;
34850
+ b1.deprecationHandler = null;
34851
34851
  function J0(t2) {
34852
34852
  return typeof Function < "u" && t2 instanceof Function || Object.prototype.toString.call(t2) === "[object Function]";
34853
34853
  }
@@ -35022,7 +35022,7 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
35022
35022
  }
35023
35023
  function et(t2, r4) {
35024
35024
  return function(e4) {
35025
- return e4 != null ? (Ka(this, t2, e4), I1.updateOffset(this, r4), this) : Qt(this, t2);
35025
+ return e4 != null ? (Ka(this, t2, e4), b1.updateOffset(this, r4), this) : Qt(this, t2);
35026
35026
  };
35027
35027
  }
35028
35028
  function Qt(t2, r4) {
@@ -35182,7 +35182,7 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
35182
35182
  return e4 = Math.min(t2.date(), z5(t2.year(), r4)), t2._d["set" + (t2._isUTC ? "UTC" : "") + "Month"](r4, e4), t2;
35183
35183
  }
35184
35184
  function e8(t2) {
35185
- return t2 != null ? (r8(this, t2), I1.updateOffset(this, true), this) : Qt(this, "Month");
35185
+ return t2 != null ? (r8(this, t2), b1.updateOffset(this, true), this) : Qt(this, "Month");
35186
35186
  }
35187
35187
  function KU1() {
35188
35188
  return z5(this.year(), this.month());
@@ -35231,10 +35231,10 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
35231
35231
  T1("YYYYYY", g5, o5);
35232
35232
  u2(["YYYYY", "YYYYYY"], G2);
35233
35233
  u2("YYYY", function(t2, r4) {
35234
- r4[G2] = t2.length === 2 ? I1.parseTwoDigitYear(t2) : Z1(t2);
35234
+ r4[G2] = t2.length === 2 ? b1.parseTwoDigitYear(t2) : Z1(t2);
35235
35235
  });
35236
35236
  u2("YY", function(t2, r4) {
35237
- r4[G2] = I1.parseTwoDigitYear(t2);
35237
+ r4[G2] = b1.parseTwoDigitYear(t2);
35238
35238
  });
35239
35239
  u2("Y", function(t2, r4) {
35240
35240
  r4[G2] = parseInt(t2, 10);
@@ -35242,7 +35242,7 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
35242
35242
  function st(t2) {
35243
35243
  return v5(t2) ? 366 : 365;
35244
35244
  }
35245
- I1.parseTwoDigitYear = function(t2) {
35245
+ b1.parseTwoDigitYear = function(t2) {
35246
35246
  return Z1(t2) + (Z1(t2) > 68 ? 1900 : 2e3);
35247
35247
  };
35248
35248
  var n8 = et("FullYear", true);
@@ -35791,9 +35791,9 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
35791
35791
  delete t2._isValid;
35792
35792
  else
35793
35793
  return;
35794
- t2._strict ? t2._isValid = false : I1.createFromInputFallback(t2);
35794
+ t2._strict ? t2._isValid = false : b1.createFromInputFallback(t2);
35795
35795
  }
35796
- I1.createFromInputFallback = k0(
35796
+ b1.createFromInputFallback = k0(
35797
35797
  "value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",
35798
35798
  function(t2) {
35799
35799
  t2._d = /* @__PURE__ */ new Date(t2._i + (t2._useUTC ? " UTC" : ""));
@@ -35803,7 +35803,7 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
35803
35803
  return t2 ?? r4 ?? e4;
35804
35804
  }
35805
35805
  function q$1(t2) {
35806
- var r4 = new Date(I1.now());
35806
+ var r4 = new Date(b1.now());
35807
35807
  return t2._useUTC ? [
35808
35808
  r4.getUTCFullYear(),
35809
35809
  r4.getUTCMonth(),
@@ -35831,16 +35831,16 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
35831
35831
  ft(V2(), 1, 4).year
35832
35832
  ), h2 = U4(r4.W, 1), n4 = U4(r4.E, 1), (n4 < 1 || n4 > 7) && (V = true)) : (l2 = t2._locale._week.dow, o10 = t2._locale._week.doy, y2 = ft(V2(), l2, o10), e4 = U4(r4.gg, t2._a[G2], y2.year), h2 = U4(r4.w, y2.week), r4.d != null ? (n4 = r4.d, (n4 < 0 || n4 > 6) && (V = true)) : r4.e != null ? (n4 = r4.e + l2, (r4.e < 0 || r4.e > 6) && (V = true)) : n4 = l2), h2 < 1 || h2 > g4(e4, l2, o10) ? K1(t2)._overflowWeeks = true : V != null ? K1(t2)._overflowWeekday = true : (g = i8(e4, h2, n4, l2, o10), t2._a[G2] = g.year, t2._dayOfYear = g.dayOfYear);
35833
35833
  }
35834
- I1.ISO_8601 = function() {
35834
+ b1.ISO_8601 = function() {
35835
35835
  };
35836
- I1.RFC_2822 = function() {
35836
+ b1.RFC_2822 = function() {
35837
35837
  };
35838
35838
  function Q3(t2) {
35839
- if (t2._f === I1.ISO_8601) {
35839
+ if (t2._f === b1.ISO_8601) {
35840
35840
  d8(t2);
35841
35841
  return;
35842
35842
  }
35843
- if (t2._f === I1.RFC_2822) {
35843
+ if (t2._f === b1.RFC_2822) {
35844
35844
  g8(t2);
35845
35845
  return;
35846
35846
  }
@@ -35891,9 +35891,9 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
35891
35891
  }
35892
35892
  function X$1(t2) {
35893
35893
  var r4 = t2._i;
35894
- n0(r4) ? t2._d = new Date(I1.now()) : Lt(r4) ? t2._d = new Date(r4.valueOf()) : typeof r4 == "string" ? $$1(t2) : D0(r4) ? (t2._a = Ua(r4.slice(0), function(e4) {
35894
+ n0(r4) ? t2._d = new Date(b1.now()) : Lt(r4) ? t2._d = new Date(r4.valueOf()) : typeof r4 == "string" ? $$1(t2) : D0(r4) ? (t2._a = Ua(r4.slice(0), function(e4) {
35895
35895
  return parseInt(e4, 10);
35896
- }), K3(t2)) : E4(r4) ? Q$1(t2) : s4(r4) ? t2._d = new Date(r4) : I1.createFromInputFallback(t2);
35896
+ }), K3(t2)) : E4(r4) ? Q$1(t2) : s4(r4) ? t2._d = new Date(r4) : b1.createFromInputFallback(t2);
35897
35897
  }
35898
35898
  function u8(t2, r4, e4, h2, n4) {
35899
35899
  var l2 = {};
@@ -36001,12 +36001,12 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
36001
36001
  }
36002
36002
  function X3(t2, r4) {
36003
36003
  var e4, h2;
36004
- return r4._isUTC ? (e4 = r4.clone(), h2 = (F0(t2) || Lt(t2) ? t2.valueOf() : V2(t2).valueOf()) - e4.valueOf(), e4._d.setTime(e4._d.valueOf() + h2), I1.updateOffset(e4, false), e4) : V2(t2).local();
36004
+ return r4._isUTC ? (e4 = r4.clone(), h2 = (F0(t2) || Lt(t2) ? t2.valueOf() : V2(t2).valueOf()) - e4.valueOf(), e4._d.setTime(e4._d.valueOf() + h2), b1.updateOffset(e4, false), e4) : V2(t2).local();
36005
36005
  }
36006
36006
  function H3(t2) {
36007
36007
  return -Math.round(t2._d.getTimezoneOffset());
36008
36008
  }
36009
- I1.updateOffset = function() {
36009
+ b1.updateOffset = function() {
36010
36010
  };
36011
36011
  function vq1(t2, r4, e4) {
36012
36012
  var h2 = this._offset || 0, n4;
@@ -36023,7 +36023,7 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
36023
36023
  j0(t2 - h2, "m"),
36024
36024
  1,
36025
36025
  false
36026
- ) : this._changeInProgress || (this._changeInProgress = true, I1.updateOffset(this, true), this._changeInProgress = null)), this;
36026
+ ) : this._changeInProgress || (this._changeInProgress = true, b1.updateOffset(this, true), this._changeInProgress = null)), this;
36027
36027
  } else
36028
36028
  return this._isUTC ? h2 : H3(this);
36029
36029
  }
@@ -36119,7 +36119,7 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
36119
36119
  }
36120
36120
  function H8(t2, r4, e4, h2) {
36121
36121
  var n4 = r4._milliseconds, l2 = p3(r4._days), o10 = p3(r4._months);
36122
- t2.isValid() && (h2 = h2 ?? true, o10 && r8(t2, Qt(t2, "Month") + o10 * e4), l2 && Ka(t2, "Date", Qt(t2, "Date") + l2 * e4), n4 && t2._d.setTime(t2._d.valueOf() + n4 * e4), h2 && I1.updateOffset(t2, l2 || o10));
36122
+ t2.isValid() && (h2 = h2 ?? true, o10 && r8(t2, Qt(t2, "Month") + o10 * e4), l2 && Ka(t2, "Date", Qt(t2, "Date") + l2 * e4), n4 && t2._d.setTime(t2._d.valueOf() + n4 * e4), h2 && b1.updateOffset(t2, l2 || o10));
36123
36123
  }
36124
36124
  var Lq1 = p8(1, "add"), xq1 = p8(-1, "subtract");
36125
36125
  function m8(t2) {
@@ -36184,7 +36184,7 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
36184
36184
  }
36185
36185
  function Oq1(t2, r4) {
36186
36186
  arguments.length === 1 && (arguments[0] ? wq1(arguments[0]) ? (t2 = arguments[0], r4 = void 0) : yq1(arguments[0]) && (r4 = arguments[0], t2 = void 0) : (t2 = void 0, r4 = void 0));
36187
- var e4 = t2 || V2(), h2 = X3(e4, this).startOf("day"), n4 = I1.calendarFormat(this, h2) || "sameElse", l2 = r4 && (J0(r4[n4]) ? r4[n4].call(this, e4) : r4[n4]);
36187
+ var e4 = t2 || V2(), h2 = X3(e4, this).startOf("day"), n4 = b1.calendarFormat(this, h2) || "sameElse", l2 = r4 && (J0(r4[n4]) ? r4[n4].call(this, e4) : r4[n4]);
36188
36188
  return this.format(
36189
36189
  l2 || this.localeData().calendar(n4, this, V2(e4))
36190
36190
  );
@@ -36256,8 +36256,8 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
36256
36256
  var e4 = (r4.year() - t2.year()) * 12 + (r4.month() - t2.month()), h2 = t2.clone().add(e4, "months"), n4, l2;
36257
36257
  return r4 - h2 < 0 ? (n4 = t2.clone().add(e4 - 1, "months"), l2 = (r4 - h2) / (h2 - n4)) : (n4 = t2.clone().add(e4 + 1, "months"), l2 = (r4 - h2) / (n4 - h2)), -(e4 + l2) || 0;
36258
36258
  }
36259
- I1.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ";
36260
- I1.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
36259
+ b1.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ";
36260
+ b1.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
36261
36261
  function Tq1() {
36262
36262
  return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ");
36263
36263
  }
@@ -36280,7 +36280,7 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
36280
36280
  return this.isLocal() || (t2 = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone", r4 = "Z"), e4 = "[" + t2 + '("]', h2 = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY", n4 = "-MM-DD[T]HH:mm:ss.SSS", l2 = r4 + '[")]', this.format(e4 + h2 + n4 + l2);
36281
36281
  }
36282
36282
  function Fq1(t2) {
36283
- t2 || (t2 = this.isUtc() ? I1.defaultFormatUtc : I1.defaultFormat);
36283
+ t2 || (t2 = this.isUtc() ? b1.defaultFormatUtc : b1.defaultFormat);
36284
36284
  var r4 = Nt(this, t2);
36285
36285
  return this.localeData().postformat(r4);
36286
36286
  }
@@ -36368,7 +36368,7 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
36368
36368
  r4 = this._d.valueOf(), r4 -= J4(r4, Zt);
36369
36369
  break;
36370
36370
  }
36371
- return this._d.setTime(r4), I1.updateOffset(this, true), this;
36371
+ return this._d.setTime(r4), b1.updateOffset(this, true), this;
36372
36372
  }
36373
36373
  function Yq1(t2) {
36374
36374
  var r4, e4;
@@ -36419,7 +36419,7 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
36419
36419
  r4 = this._d.valueOf(), r4 += Zt - J4(r4, Zt) - 1;
36420
36420
  break;
36421
36421
  }
36422
- return this._d.setTime(r4), I1.updateOffset(this, true), this;
36422
+ return this._d.setTime(r4), b1.updateOffset(this, true), this;
36423
36423
  }
36424
36424
  function Gq1() {
36425
36425
  return this._d.valueOf() - (this._offset || 0) * 6e4;
@@ -36511,7 +36511,7 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
36511
36511
  for (e4 = 0, h2 = l2.length; e4 < h2; ++e4) {
36512
36512
  switch (typeof l2[e4].since) {
36513
36513
  case "string":
36514
- n4 = I1(l2[e4].since).startOf("day"), l2[e4].since = n4.valueOf();
36514
+ n4 = b1(l2[e4].since).startOf("day"), l2[e4].since = n4.valueOf();
36515
36515
  break;
36516
36516
  }
36517
36517
  switch (typeof l2[e4].until) {
@@ -36519,7 +36519,7 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
36519
36519
  l2[e4].until = 1 / 0;
36520
36520
  break;
36521
36521
  case "string":
36522
- n4 = I1(l2[e4].until).startOf("day").valueOf(), l2[e4].until = n4.valueOf();
36522
+ n4 = b1(l2[e4].until).startOf("day").valueOf(), l2[e4].until = n4.valueOf();
36523
36523
  break;
36524
36524
  }
36525
36525
  }
@@ -36550,7 +36550,7 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
36550
36550
  }
36551
36551
  function iY1(t2, r4) {
36552
36552
  var e4 = t2.since <= t2.until ? 1 : -1;
36553
- return r4 === void 0 ? I1(t2.since).year() : I1(t2.since).year() + (r4 - t2.offset) * e4;
36553
+ return r4 === void 0 ? b1(t2.since).year() : b1(t2.since).year() + (r4 - t2.offset) * e4;
36554
36554
  }
36555
36555
  function cY1() {
36556
36556
  var t2, r4, e4, h2 = this.localeData().eras();
@@ -36577,7 +36577,7 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
36577
36577
  var t2, r4, e4, h2, n4 = this.localeData().eras();
36578
36578
  for (t2 = 0, r4 = n4.length; t2 < r4; ++t2)
36579
36579
  if (e4 = n4[t2].since <= n4[t2].until ? 1 : -1, h2 = this.clone().startOf("day").valueOf(), n4[t2].since <= h2 && h2 <= n4[t2].until || n4[t2].until <= h2 && h2 <= n4[t2].since)
36580
- return (this.year() - I1(n4[t2].since).year()) * e4 + n4[t2].offset;
36580
+ return (this.year() - b1(n4[t2].since).year()) * e4 + n4[t2].offset;
36581
36581
  return this.year();
36582
36582
  }
36583
36583
  function dY1(t2) {
@@ -36642,7 +36642,7 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
36642
36642
  }
36643
36643
  );
36644
36644
  Bt(["gg", "GG"], function(t2, r4, e4, h2) {
36645
- r4[h2] = I1.parseTwoDigitYear(t2);
36645
+ r4[h2] = b1.parseTwoDigitYear(t2);
36646
36646
  });
36647
36647
  function fY1(t2) {
36648
36648
  return y8.call(
@@ -36987,11 +36987,11 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
36987
36987
  return t2 + e4;
36988
36988
  }
36989
36989
  });
36990
- I1.lang = k0(
36990
+ b1.lang = k0(
36991
36991
  "moment.lang is deprecated. Use moment.locale instead.",
36992
36992
  V4
36993
36993
  );
36994
- I1.langData = k0(
36994
+ b1.langData = k0(
36995
36995
  "moment.langData is deprecated. Use moment.localeData instead.",
36996
36996
  z4
36997
36997
  );
@@ -37172,36 +37172,36 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
37172
37172
  e4._d = new Date(Z1(t2));
37173
37173
  });
37174
37174
  //! moment.js
37175
- I1.version = "2.29.4";
37175
+ b1.version = "2.29.4";
37176
37176
  uU1(V2);
37177
- I1.fn = m1;
37178
- I1.min = aq1;
37179
- I1.max = rq1;
37180
- I1.now = eq1;
37181
- I1.utc = Q0;
37182
- I1.unix = AY1;
37183
- I1.months = IY1;
37184
- I1.isDate = Lt;
37185
- I1.locale = V4;
37186
- I1.invalid = l5;
37187
- I1.duration = j0;
37188
- I1.isMoment = F0;
37189
- I1.weekdays = PY1;
37190
- I1.parseZone = bY1;
37191
- I1.localeData = z4;
37192
- I1.isDuration = Ut;
37193
- I1.monthsShort = _Y1;
37194
- I1.weekdaysMin = RY1;
37195
- I1.defineLocale = Y3;
37196
- I1.updateLocale = b$1;
37197
- I1.locales = I$1;
37198
- I1.weekdaysShort = WY1;
37199
- I1.normalizeUnits = O0;
37200
- I1.relativeTimeRounding = dG1;
37201
- I1.relativeTimeThreshold = gG1;
37202
- I1.calendarFormat = kq1;
37203
- I1.prototype = m1;
37204
- I1.HTML5_FMT = {
37177
+ b1.fn = m1;
37178
+ b1.min = aq1;
37179
+ b1.max = rq1;
37180
+ b1.now = eq1;
37181
+ b1.utc = Q0;
37182
+ b1.unix = AY1;
37183
+ b1.months = IY1;
37184
+ b1.isDate = Lt;
37185
+ b1.locale = V4;
37186
+ b1.invalid = l5;
37187
+ b1.duration = j0;
37188
+ b1.isMoment = F0;
37189
+ b1.weekdays = PY1;
37190
+ b1.parseZone = bY1;
37191
+ b1.localeData = z4;
37192
+ b1.isDuration = Ut;
37193
+ b1.monthsShort = _Y1;
37194
+ b1.weekdaysMin = RY1;
37195
+ b1.defineLocale = Y3;
37196
+ b1.updateLocale = b$1;
37197
+ b1.locales = I$1;
37198
+ b1.weekdaysShort = WY1;
37199
+ b1.normalizeUnits = O0;
37200
+ b1.relativeTimeRounding = dG1;
37201
+ b1.relativeTimeThreshold = gG1;
37202
+ b1.calendarFormat = kq1;
37203
+ b1.prototype = m1;
37204
+ b1.HTML5_FMT = {
37205
37205
  DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
37206
37206
  // <input type="datetime-local" />
37207
37207
  DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss",
@@ -37222,7 +37222,10 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
37222
37222
  // <input type="month" />
37223
37223
  };
37224
37224
  function TG1(t2 = "ddd, MMM D h:mma", r4 = /* @__PURE__ */ new Date()) {
37225
- return I1(r4).format(t2);
37225
+ return b1(r4).format(t2);
37226
+ }
37227
+ function EG1(t2 = /* @__PURE__ */ new Date()) {
37228
+ return b1(t2).fromNow();
37226
37229
  }
37227
37230
  const dekUiModule = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
37228
37231
  __proto__: null,
@@ -37253,7 +37256,8 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
37253
37256
  TitleBar: PG1,
37254
37257
  View: x0,
37255
37258
  formatDateTime: TG1,
37256
- theme: b1,
37259
+ formatFromNow: EG1,
37260
+ theme: I1,
37257
37261
  useDateTime: RG1,
37258
37262
  useInterval: WG1
37259
37263
  }, Symbol.toStringTag, { value: "Module" }));
@@ -58344,7 +58348,7 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
58344
58348
  result.integrations.push({
58345
58349
  key: "base",
58346
58350
  pluginName: "base",
58347
- pluginVersion: "0.17.0",
58351
+ pluginVersion: "0.18.0",
58348
58352
  pluginConfig: []
58349
58353
  });
58350
58354
  return result;
@@ -58519,7 +58523,7 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
58519
58523
  };
58520
58524
  const About = () => {
58521
58525
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(x0, { padding: 20, direction: "vert", children: [
58522
- /* @__PURE__ */ jsxRuntimeExports.jsx(hF1, { children: `Dek ${"0.17.0"}` }),
58526
+ /* @__PURE__ */ jsxRuntimeExports.jsx(hF1, { children: `Dek ${"0.18.0"}` }),
58523
58527
  /* @__PURE__ */ jsxRuntimeExports.jsx(X4, { children: "From Appkit" })
58524
58528
  ] });
58525
58529
  };
@@ -58738,7 +58742,7 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
58738
58742
  width: "100%",
58739
58743
  maxWidth: 400,
58740
58744
  height: 150,
58741
- color: themeState["tile-bg"] || b1.view.backColor.tile,
58745
+ color: themeState["tile-bg"] || I1.view.backColor.tile,
58742
58746
  onChange: (color) => {
58743
58747
  themeState["tile-bg"] = color;
58744
58748
  setThemeState(themeState);
@@ -95242,7 +95246,7 @@ body {
95242
95246
  const BoardProvider = ({ email, password, plugin, pluginConfig }) => {
95243
95247
  const config2 = useUserConfig(email, password, plugin, pluginConfig);
95244
95248
  console.log("### LOADED", config2);
95245
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(styled.ThemeProvider, { theme: b1, children: [
95249
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(styled.ThemeProvider, { theme: I1, children: [
95246
95250
  /* @__PURE__ */ jsxRuntimeExports.jsx(BoardStyles, { transitionDelay }),
95247
95251
  /* @__PURE__ */ jsxRuntimeExports.jsx(Background, {}),
95248
95252
  /* @__PURE__ */ jsxRuntimeExports.jsx(Router, { userConfig: config2, transitionDelay }),