@symbo.ls/uikit 2.11.211 → 2.11.214

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.cjs.js CHANGED
@@ -568,7 +568,7 @@ var require_cjs = __commonJS({
568
568
  const elementProp = element[e];
569
569
  const extendProp = extend[e];
570
570
  if ((0, import_types.isObjectLike)(elementProp) && (0, import_types.isObjectLike)(extendProp)) {
571
- deepMerge3(elementProp, extendProp);
571
+ deepMerge3(elementProp, extendProp, excludeFrom);
572
572
  } else if (elementProp === void 0) {
573
573
  element[e] = extendProp;
574
574
  }
@@ -658,8 +658,8 @@ var require_cjs = __commonJS({
658
658
  const spaces = " ".repeat(indent);
659
659
  let str = "{\n";
660
660
  for (const [key, value] of Object.entries(obj)) {
661
- const keyAllowdChars = (0, import_string.stringIncludesAny)(key, ["-", ":", "@", ".", "!"]);
662
- const stringedKey = keyAllowdChars ? `'${key}'` : key;
661
+ const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["-", ":", "@", ".", "/", "!"]);
662
+ const stringedKey = keyNotAllowdChars ? `'${key}'` : key;
663
663
  str += `${spaces} ${stringedKey}: `;
664
664
  if ((0, import_types.isArray)(value)) {
665
665
  str += "[\n";
@@ -714,7 +714,7 @@ var require_cjs = __commonJS({
714
714
  }
715
715
  return detached;
716
716
  };
717
- var deepDestringify = (obj, stringified = {}) => {
717
+ var deepDestringify = (obj, destringified = {}) => {
718
718
  for (const prop in obj) {
719
719
  const hasOwnProperty = Object.prototype.hasOwnProperty.call(obj, prop);
720
720
  if (!hasOwnProperty)
@@ -724,52 +724,50 @@ var require_cjs = __commonJS({
724
724
  if (objProp.includes("=>") || objProp.includes("function") || objProp.startsWith("(")) {
725
725
  try {
726
726
  const evalProp = import_globals3.window.eval(`(${objProp})`);
727
- stringified[prop] = evalProp;
727
+ destringified[prop] = evalProp;
728
728
  } catch (e) {
729
729
  if (e)
730
- stringified[prop] = objProp;
730
+ destringified[prop] = objProp;
731
731
  }
732
732
  } else {
733
- stringified[prop] = objProp;
733
+ destringified[prop] = objProp;
734
734
  }
735
735
  } else if ((0, import_types.isArray)(objProp)) {
736
- stringified[prop] = [];
736
+ destringified[prop] = [];
737
737
  objProp.forEach((arrProp) => {
738
738
  if ((0, import_types.isString)(arrProp)) {
739
739
  if (arrProp.includes("=>") || arrProp.includes("function") || arrProp.startsWith("(")) {
740
740
  try {
741
741
  const evalProp = import_globals3.window.eval(`(${arrProp})`);
742
- stringified[prop].push(evalProp);
742
+ destringified[prop].push(evalProp);
743
743
  } catch (e) {
744
744
  if (e)
745
- stringified[prop].push(arrProp);
745
+ destringified[prop].push(arrProp);
746
746
  }
747
747
  } else {
748
- stringified[prop].push(arrProp);
748
+ destringified[prop].push(arrProp);
749
749
  }
750
750
  } else if ((0, import_types.isObject)(arrProp)) {
751
- stringified[prop].push(deepDestringify(arrProp));
751
+ destringified[prop].push(deepDestringify(arrProp));
752
752
  } else {
753
- stringified[prop].push(arrProp);
753
+ destringified[prop].push(arrProp);
754
754
  }
755
755
  });
756
756
  } else if ((0, import_types.isObject)(objProp)) {
757
- stringified[prop] = deepDestringify(objProp, stringified[prop]);
757
+ destringified[prop] = deepDestringify(objProp, destringified[prop]);
758
758
  } else {
759
- stringified[prop] = objProp;
759
+ destringified[prop] = objProp;
760
760
  }
761
761
  }
762
- return stringified;
762
+ return destringified;
763
763
  };
764
- var stringToObject = (str) => {
765
- let obj;
764
+ var stringToObject = (str, verbose) => {
766
765
  try {
767
- obj = import_globals3.window.eval("(" + str + ")");
766
+ return import_globals3.window.eval("(" + str + ")");
768
767
  } catch (e) {
769
- console.warn(e);
768
+ if (verbose)
769
+ console.warn(e);
770
770
  }
771
- if (obj)
772
- return obj;
773
771
  };
774
772
  var diffObjects = (original, objToDiff, cache) => {
775
773
  for (const e in objToDiff) {
@@ -955,11 +953,29 @@ var require_cjs = __commonJS({
955
953
  var function_exports = {};
956
954
  __export22(function_exports, {
957
955
  debounce: () => debounce,
956
+ debounceOnContext: () => debounceOnContext,
958
957
  isStringFunction: () => isStringFunction,
959
958
  memoize: () => memoize2
960
959
  });
961
960
  module22.exports = __toCommonJS22(function_exports);
962
- var debounce = (element, func, timeout = 300) => {
961
+ function debounce(func, wait, immediate) {
962
+ let timeout;
963
+ return function() {
964
+ const context = this;
965
+ const args = arguments;
966
+ const later = function() {
967
+ timeout = null;
968
+ if (!immediate)
969
+ func.apply(context, args);
970
+ };
971
+ const callNow = immediate && !timeout;
972
+ clearTimeout(timeout);
973
+ timeout = setTimeout(later, wait);
974
+ if (callNow)
975
+ func.apply(context, args);
976
+ };
977
+ }
978
+ var debounceOnContext = (element, func, timeout = 300) => {
963
979
  let timer;
964
980
  return (...args) => {
965
981
  clearTimeout(timer);
@@ -1426,7 +1442,7 @@ var require_cjs = __commonJS({
1426
1442
  setVariables: () => setVariables
1427
1443
  });
1428
1444
  var import_globals = __toESM2(require_cjs7(), 1);
1429
- var import_utils13 = __toESM2(require_cjs22(), 1);
1445
+ var import_utils15 = __toESM2(require_cjs22(), 1);
1430
1446
  var ENV = "development";
1431
1447
  var colorStringToRgbaArray = (color) => {
1432
1448
  if (color === "")
@@ -1554,9 +1570,9 @@ var require_cjs = __commonJS({
1554
1570
  return `rgba(${arr})`;
1555
1571
  };
1556
1572
  var getRgbTone = (rgb, tone) => {
1557
- if ((0, import_utils13.isString)(rgb))
1573
+ if ((0, import_utils15.isString)(rgb))
1558
1574
  rgb = rgb.split(", ").map((v) => parseFloat(v));
1559
- if ((0, import_utils13.isNumber)(tone))
1575
+ if ((0, import_utils15.isNumber)(tone))
1560
1576
  tone += "";
1561
1577
  const toHex = rgbArrayToHex(rgb);
1562
1578
  const abs2 = tone.slice(0, 1);
@@ -1947,19 +1963,21 @@ var require_cjs = __commonJS({
1947
1963
  const isNegative = letterVal.slice(0, 1) === "-" ? "-" : "";
1948
1964
  let absValue = isNegative ? letterVal.slice(1) : letterVal;
1949
1965
  let mediaName = "";
1950
- if (absValue.includes("-")) {
1951
- mediaName = "-" + absValue.split("-")[1].toLowerCase();
1952
- absValue = absValue.split("-")[0];
1966
+ if (absValue.includes("_")) {
1967
+ mediaName = "_" + absValue.split("_")[1].toLowerCase();
1968
+ absValue = absValue.split("_")[0];
1953
1969
  }
1954
- const varValue = (v) => `var(${prefix2}${v}${mediaName})`;
1970
+ const varValue = (v) => startsWithDashOrLetterRegex.test(v) ? `var(${prefix2}${v}${mediaName})` : v;
1955
1971
  if (absValue.includes("+")) {
1956
- const args = absValue.split("+");
1957
- const [first, second] = args;
1972
+ const [first, second] = absValue.split("+");
1958
1973
  const joint = `${varValue(first)} + ${varValue(second)}`;
1959
1974
  return isNegative ? `calc((${joint}) * -1)` : `calc(${joint})`;
1975
+ } else if (absValue.includes("*")) {
1976
+ const [first, second] = absValue.split("*");
1977
+ const joint = `${varValue(first)} * ${varValue(second)}`;
1978
+ return isNegative ? `calc((${joint}) * -1)` : `calc(${joint})`;
1960
1979
  } else if (absValue.includes("-")) {
1961
- const args = absValue.split("-");
1962
- const [first, second] = args;
1980
+ const [first, second] = absValue.split("-");
1963
1981
  const joint = `${varValue(first)} - ${varValue(second)}`;
1964
1982
  return isNegative ? `calc((${joint}) * -1)` : `calc(${joint})`;
1965
1983
  }
@@ -2023,14 +2041,14 @@ var require_cjs = __commonJS({
2023
2041
  let underMediaQuery = CSS_VARS2[`@media ${query}`];
2024
2042
  if (!underMediaQuery)
2025
2043
  underMediaQuery = CSS_VARS2[`@media ${query}`] = {};
2026
- underMediaQuery[item.variable] = `var(${item.variable + "-" + mediaName})`;
2027
- CSS_VARS2[item.variable + "-" + mediaName] = value;
2044
+ underMediaQuery[item.variable] = `var(${item.variable + "_" + mediaName})`;
2045
+ CSS_VARS2[item.variable + "_" + mediaName] = value;
2028
2046
  } else {
2029
2047
  if (options.useDefault === false) {
2030
2048
  CSS_VARS2[item.variable] = value;
2031
2049
  } else {
2032
- CSS_VARS2[item.variable + "-default"] = value;
2033
- CSS_VARS2[item.variable] = `var(${item.variable + "-default"})`;
2050
+ CSS_VARS2[item.variable + "_default"] = value;
2051
+ CSS_VARS2[item.variable] = `var(${item.variable + "_default"})`;
2034
2052
  }
2035
2053
  }
2036
2054
  }
@@ -2490,7 +2508,7 @@ var require_cjs = __commonJS({
2490
2508
  const str = `${value.join(", ")}, ${FONT_FAMILY_TYPES2[type]}`;
2491
2509
  return { var: CSSvar, value: str, arr: value, type };
2492
2510
  };
2493
- var import_utils15 = __toESM2(require_cjs22(), 1);
2511
+ var import_utils152 = __toESM2(require_cjs22(), 1);
2494
2512
  var runThroughMedia = (props4) => {
2495
2513
  const CONFIG22 = getActiveConfig3();
2496
2514
  const { TYPOGRAPHY: TYPOGRAPHY2, MEDIA: MEDIA2 } = CONFIG22;
@@ -2498,7 +2516,7 @@ var require_cjs = __commonJS({
2498
2516
  const mediaProps = props4[prop];
2499
2517
  if (prop.slice(0, 1) === "@") {
2500
2518
  const { type, base, ratio, range, subSequence, h1Matches, unit } = props4;
2501
- (0, import_utils15.merge)(mediaProps, {
2519
+ (0, import_utils152.merge)(mediaProps, {
2502
2520
  type,
2503
2521
  base,
2504
2522
  ratio,
@@ -3016,9 +3034,9 @@ var require_cjs = __commonJS({
3016
3034
  }
3017
3035
  });
3018
3036
 
3019
- // ../../../domql/packages/utils/dist/cjs/key.js
3037
+ // ../../node_modules/@domql/utils/dist/cjs/key.js
3020
3038
  var require_key = __commonJS({
3021
- "../../../domql/packages/utils/dist/cjs/key.js"(exports, module2) {
3039
+ "../../node_modules/@domql/utils/dist/cjs/key.js"(exports, module2) {
3022
3040
  "use strict";
3023
3041
  var __defProp2 = Object.defineProperty;
3024
3042
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
@@ -3055,9 +3073,9 @@ var require_key = __commonJS({
3055
3073
  }
3056
3074
  });
3057
3075
 
3058
- // ../../../domql/packages/utils/dist/cjs/env.js
3076
+ // ../../node_modules/@domql/utils/dist/cjs/env.js
3059
3077
  var require_env = __commonJS({
3060
- "../../../domql/packages/utils/dist/cjs/env.js"(exports, module2) {
3078
+ "../../node_modules/@domql/utils/dist/cjs/env.js"(exports, module2) {
3061
3079
  "use strict";
3062
3080
  var __defProp2 = Object.defineProperty;
3063
3081
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
@@ -3093,9 +3111,9 @@ var require_env = __commonJS({
3093
3111
  }
3094
3112
  });
3095
3113
 
3096
- // ../../../domql/packages/utils/dist/cjs/globals.js
3114
+ // ../../node_modules/@domql/utils/dist/cjs/globals.js
3097
3115
  var require_globals = __commonJS({
3098
- "../../../domql/packages/utils/dist/cjs/globals.js"(exports, module2) {
3116
+ "../../node_modules/@domql/utils/dist/cjs/globals.js"(exports, module2) {
3099
3117
  "use strict";
3100
3118
  var __defProp2 = Object.defineProperty;
3101
3119
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
@@ -3129,9 +3147,9 @@ var require_globals = __commonJS({
3129
3147
  }
3130
3148
  });
3131
3149
 
3132
- // ../../../domql/packages/utils/dist/cjs/node.js
3150
+ // ../../node_modules/@domql/utils/dist/cjs/node.js
3133
3151
  var require_node = __commonJS({
3134
- "../../../domql/packages/utils/dist/cjs/node.js"(exports, module2) {
3152
+ "../../node_modules/@domql/utils/dist/cjs/node.js"(exports, module2) {
3135
3153
  "use strict";
3136
3154
  var __defProp2 = Object.defineProperty;
3137
3155
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
@@ -3166,9 +3184,9 @@ var require_node = __commonJS({
3166
3184
  }
3167
3185
  });
3168
3186
 
3169
- // ../../../domql/packages/utils/dist/cjs/types.js
3187
+ // ../../node_modules/@domql/utils/dist/cjs/types.js
3170
3188
  var require_types = __commonJS({
3171
- "../../../domql/packages/utils/dist/cjs/types.js"(exports, module2) {
3189
+ "../../node_modules/@domql/utils/dist/cjs/types.js"(exports, module2) {
3172
3190
  "use strict";
3173
3191
  var __defProp2 = Object.defineProperty;
3174
3192
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
@@ -3200,7 +3218,7 @@ var require_types = __commonJS({
3200
3218
  isNumber: () => isNumber,
3201
3219
  isObject: () => isObject4,
3202
3220
  isObjectLike: () => isObjectLike2,
3203
- isString: () => isString6,
3221
+ isString: () => isString8,
3204
3222
  isUndefined: () => isUndefined2
3205
3223
  });
3206
3224
  module2.exports = __toCommonJS2(types_exports);
@@ -3210,7 +3228,7 @@ var require_types = __commonJS({
3210
3228
  return false;
3211
3229
  return typeof arg === "object" && arg.constructor === Object;
3212
3230
  };
3213
- var isString6 = (arg) => typeof arg === "string";
3231
+ var isString8 = (arg) => typeof arg === "string";
3214
3232
  var isNumber = (arg) => typeof arg === "number";
3215
3233
  var isFunction3 = (arg) => typeof arg === "function";
3216
3234
  var isBoolean = (arg) => arg === true || arg === false;
@@ -3222,7 +3240,7 @@ var require_types = __commonJS({
3222
3240
  return typeof arg === "object";
3223
3241
  };
3224
3242
  var isDefined = (arg) => {
3225
- return isObject4(arg) || isObjectLike2(arg) || isString6(arg) || isNumber(arg) || isFunction3(arg) || isArray3(arg) || isObjectLike2(arg) || isBoolean(arg) || isNull(arg);
3243
+ return isObject4(arg) || isObjectLike2(arg) || isString8(arg) || isNumber(arg) || isFunction3(arg) || isArray3(arg) || isObjectLike2(arg) || isBoolean(arg) || isNull(arg);
3226
3244
  };
3227
3245
  var isUndefined2 = (arg) => {
3228
3246
  return arg === void 0;
@@ -3231,7 +3249,7 @@ var require_types = __commonJS({
3231
3249
  boolean: isBoolean,
3232
3250
  array: isArray3,
3233
3251
  object: isObject4,
3234
- string: isString6,
3252
+ string: isString8,
3235
3253
  number: isNumber,
3236
3254
  null: isNull,
3237
3255
  function: isFunction3,
@@ -3253,9 +3271,9 @@ var require_types = __commonJS({
3253
3271
  }
3254
3272
  });
3255
3273
 
3256
- // ../../../domql/packages/utils/dist/cjs/array.js
3274
+ // ../../node_modules/@domql/utils/dist/cjs/array.js
3257
3275
  var require_array = __commonJS({
3258
- "../../../domql/packages/utils/dist/cjs/array.js"(exports, module2) {
3276
+ "../../node_modules/@domql/utils/dist/cjs/array.js"(exports, module2) {
3259
3277
  "use strict";
3260
3278
  var __defProp2 = Object.defineProperty;
3261
3279
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
@@ -3352,9 +3370,9 @@ var require_array = __commonJS({
3352
3370
  }
3353
3371
  });
3354
3372
 
3355
- // ../../../domql/packages/utils/dist/cjs/string.js
3373
+ // ../../node_modules/@domql/utils/dist/cjs/string.js
3356
3374
  var require_string = __commonJS({
3357
- "../../../domql/packages/utils/dist/cjs/string.js"(exports, module2) {
3375
+ "../../node_modules/@domql/utils/dist/cjs/string.js"(exports, module2) {
3358
3376
  "use strict";
3359
3377
  var __defProp2 = Object.defineProperty;
3360
3378
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
@@ -3412,9 +3430,9 @@ var require_string = __commonJS({
3412
3430
  }
3413
3431
  });
3414
3432
 
3415
- // ../../../domql/packages/utils/dist/cjs/object.js
3433
+ // ../../node_modules/@domql/utils/dist/cjs/object.js
3416
3434
  var require_object = __commonJS({
3417
- "../../../domql/packages/utils/dist/cjs/object.js"(exports, module2) {
3435
+ "../../node_modules/@domql/utils/dist/cjs/object.js"(exports, module2) {
3418
3436
  "use strict";
3419
3437
  var __defProp2 = Object.defineProperty;
3420
3438
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
@@ -3864,9 +3882,9 @@ var require_object = __commonJS({
3864
3882
  }
3865
3883
  });
3866
3884
 
3867
- // ../../../domql/packages/utils/dist/cjs/function.js
3885
+ // ../../node_modules/@domql/utils/dist/cjs/function.js
3868
3886
  var require_function = __commonJS({
3869
- "../../../domql/packages/utils/dist/cjs/function.js"(exports, module2) {
3887
+ "../../node_modules/@domql/utils/dist/cjs/function.js"(exports, module2) {
3870
3888
  "use strict";
3871
3889
  var __defProp2 = Object.defineProperty;
3872
3890
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
@@ -3939,9 +3957,9 @@ var require_function = __commonJS({
3939
3957
  }
3940
3958
  });
3941
3959
 
3942
- // ../../../domql/packages/utils/dist/cjs/log.js
3960
+ // ../../node_modules/@domql/utils/dist/cjs/log.js
3943
3961
  var require_log = __commonJS({
3944
- "../../../domql/packages/utils/dist/cjs/log.js"(exports, module2) {
3962
+ "../../node_modules/@domql/utils/dist/cjs/log.js"(exports, module2) {
3945
3963
  "use strict";
3946
3964
  var __defProp2 = Object.defineProperty;
3947
3965
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
@@ -3980,9 +3998,9 @@ var require_log = __commonJS({
3980
3998
  }
3981
3999
  });
3982
4000
 
3983
- // ../../../domql/packages/utils/dist/cjs/cookie.js
4001
+ // ../../node_modules/@domql/utils/dist/cjs/cookie.js
3984
4002
  var require_cookie = __commonJS({
3985
- "../../../domql/packages/utils/dist/cjs/cookie.js"(exports, module2) {
4003
+ "../../node_modules/@domql/utils/dist/cjs/cookie.js"(exports, module2) {
3986
4004
  "use strict";
3987
4005
  var __defProp2 = Object.defineProperty;
3988
4006
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
@@ -4036,9 +4054,9 @@ var require_cookie = __commonJS({
4036
4054
  }
4037
4055
  });
4038
4056
 
4039
- // ../../../domql/packages/utils/dist/cjs/tags.js
4057
+ // ../../node_modules/@domql/utils/dist/cjs/tags.js
4040
4058
  var require_tags = __commonJS({
4041
- "../../../domql/packages/utils/dist/cjs/tags.js"(exports, module2) {
4059
+ "../../node_modules/@domql/utils/dist/cjs/tags.js"(exports, module2) {
4042
4060
  "use strict";
4043
4061
  var __defProp2 = Object.defineProperty;
4044
4062
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
@@ -4201,9 +4219,9 @@ var require_tags = __commonJS({
4201
4219
  }
4202
4220
  });
4203
4221
 
4204
- // ../../../domql/packages/utils/dist/cjs/index.js
4222
+ // ../../node_modules/@domql/utils/dist/cjs/index.js
4205
4223
  var require_cjs2 = __commonJS({
4206
- "../../../domql/packages/utils/dist/cjs/index.js"(exports, module2) {
4224
+ "../../node_modules/@domql/utils/dist/cjs/index.js"(exports, module2) {
4207
4225
  "use strict";
4208
4226
  var __defProp2 = Object.defineProperty;
4209
4227
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
@@ -4236,9 +4254,9 @@ var require_cjs2 = __commonJS({
4236
4254
  }
4237
4255
  });
4238
4256
 
4239
- // ../../../domql/packages/state/dist/cjs/ignore.js
4257
+ // ../../node_modules/@domql/state/dist/cjs/ignore.js
4240
4258
  var require_ignore = __commonJS({
4241
- "../../../domql/packages/state/dist/cjs/ignore.js"(exports, module2) {
4259
+ "../../node_modules/@domql/state/dist/cjs/ignore.js"(exports, module2) {
4242
4260
  "use strict";
4243
4261
  var __defProp2 = Object.defineProperty;
4244
4262
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
@@ -4285,9 +4303,9 @@ var require_ignore = __commonJS({
4285
4303
  }
4286
4304
  });
4287
4305
 
4288
- // ../../../domql/packages/event/dist/cjs/on.js
4306
+ // ../../node_modules/@domql/event/dist/cjs/on.js
4289
4307
  var require_on = __commonJS({
4290
- "../../../domql/packages/event/dist/cjs/on.js"(exports, module2) {
4308
+ "../../node_modules/@domql/event/dist/cjs/on.js"(exports, module2) {
4291
4309
  "use strict";
4292
4310
  var __defProp2 = Object.defineProperty;
4293
4311
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
@@ -4315,12 +4333,12 @@ var require_on = __commonJS({
4315
4333
  triggerEventOnUpdate: () => triggerEventOnUpdate
4316
4334
  });
4317
4335
  module2.exports = __toCommonJS2(on_exports);
4318
- var import_utils13 = require_cjs2();
4336
+ var import_utils15 = require_cjs2();
4319
4337
  var applyEvent = (param, element, state, context, options) => {
4320
4338
  return param(element, state || element.state, context || element.context, options);
4321
4339
  };
4322
4340
  var triggerEventOn = (param, element, options) => {
4323
- if (element.on && (0, import_utils13.isFunction)(element.on[param])) {
4341
+ if (element.on && (0, import_utils15.isFunction)(element.on[param])) {
4324
4342
  const { state, context } = element;
4325
4343
  return applyEvent(element.on[param], element, state, context, options);
4326
4344
  }
@@ -4329,7 +4347,7 @@ var require_on = __commonJS({
4329
4347
  return param(updatedObj, element, state || element.state, context || element.context, options);
4330
4348
  };
4331
4349
  var triggerEventOnUpdate = (param, updatedObj, element, options) => {
4332
- if (element.on && (0, import_utils13.isFunction)(element.on[param])) {
4350
+ if (element.on && (0, import_utils15.isFunction)(element.on[param])) {
4333
4351
  const { state, context } = element;
4334
4352
  return applyEventUpdate(element.on[param], updatedObj, element, state, context, options);
4335
4353
  }
@@ -4340,7 +4358,7 @@ var require_on = __commonJS({
4340
4358
  if (param === "init" || param === "beforeClassAssign" || param === "render" || param === "renderRouter" || param === "attachNode" || param === "stateInit" || param === "stateCreated" || param === "initStateUpdated" || param === "stateUpdated" || param === "initUpdate" || param === "update")
4341
4359
  continue;
4342
4360
  const appliedFunction = element.on[param];
4343
- if ((0, import_utils13.isFunction)(appliedFunction)) {
4361
+ if ((0, import_utils15.isFunction)(appliedFunction)) {
4344
4362
  const { state, context } = element;
4345
4363
  node2.addEventListener(param, (event) => appliedFunction(event, element, state, context));
4346
4364
  }
@@ -4349,9 +4367,9 @@ var require_on = __commonJS({
4349
4367
  }
4350
4368
  });
4351
4369
 
4352
- // ../../../domql/plugins/report/dist/cjs/index.js
4370
+ // ../../node_modules/@domql/report/dist/cjs/index.js
4353
4371
  var require_cjs3 = __commonJS({
4354
- "../../../domql/plugins/report/dist/cjs/index.js"(exports, module2) {
4372
+ "../../node_modules/@domql/report/dist/cjs/index.js"(exports, module2) {
4355
4373
  "use strict";
4356
4374
  var __defProp2 = Object.defineProperty;
4357
4375
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
@@ -4446,9 +4464,9 @@ ${element}` : ""
4446
4464
  }
4447
4465
  });
4448
4466
 
4449
- // ../../../domql/packages/event/dist/cjs/can.js
4467
+ // ../../node_modules/@domql/event/dist/cjs/can.js
4450
4468
  var require_can = __commonJS({
4451
- "../../../domql/packages/event/dist/cjs/can.js"(exports, module2) {
4469
+ "../../node_modules/@domql/event/dist/cjs/can.js"(exports, module2) {
4452
4470
  "use strict";
4453
4471
  var __defProp2 = Object.defineProperty;
4454
4472
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
@@ -4473,17 +4491,17 @@ var require_can = __commonJS({
4473
4491
  });
4474
4492
  module2.exports = __toCommonJS2(can_exports);
4475
4493
  var import_report = require_cjs3();
4476
- var import_utils13 = require_cjs2();
4494
+ var import_utils15 = require_cjs2();
4477
4495
  var canRender = (element) => {
4478
4496
  const tag = element.tag || "div";
4479
- return (0, import_utils13.isValidHtmlTag)(tag) || (0, import_report.report)("HTMLInvalidTag");
4497
+ return (0, import_utils15.isValidHtmlTag)(tag) || (0, import_report.report)("HTMLInvalidTag");
4480
4498
  };
4481
4499
  }
4482
4500
  });
4483
4501
 
4484
- // ../../../domql/packages/event/dist/cjs/index.js
4502
+ // ../../node_modules/@domql/event/dist/cjs/index.js
4485
4503
  var require_cjs4 = __commonJS({
4486
- "../../../domql/packages/event/dist/cjs/index.js"(exports, module2) {
4504
+ "../../node_modules/@domql/event/dist/cjs/index.js"(exports, module2) {
4487
4505
  "use strict";
4488
4506
  var __defProp2 = Object.defineProperty;
4489
4507
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
@@ -4506,9 +4524,9 @@ var require_cjs4 = __commonJS({
4506
4524
  }
4507
4525
  });
4508
4526
 
4509
- // ../../../domql/packages/state/dist/cjs/methods.js
4527
+ // ../../node_modules/@domql/state/dist/cjs/methods.js
4510
4528
  var require_methods = __commonJS({
4511
- "../../../domql/packages/state/dist/cjs/methods.js"(exports, module2) {
4529
+ "../../node_modules/@domql/state/dist/cjs/methods.js"(exports, module2) {
4512
4530
  "use strict";
4513
4531
  var __defProp2 = Object.defineProperty;
4514
4532
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
@@ -4541,11 +4559,11 @@ var require_methods = __commonJS({
4541
4559
  toggle: () => toggle
4542
4560
  });
4543
4561
  module2.exports = __toCommonJS2(methods_exports);
4544
- var import_utils13 = require_cjs2();
4562
+ var import_utils15 = require_cjs2();
4545
4563
  var import_ignore = require_ignore();
4546
4564
  var parse2 = function() {
4547
4565
  const state = this;
4548
- if ((0, import_utils13.isObject)(state)) {
4566
+ if ((0, import_utils15.isObject)(state)) {
4549
4567
  const obj = {};
4550
4568
  for (const param in state) {
4551
4569
  if (!import_ignore.IGNORE_STATE_PARAMS.includes(param)) {
@@ -4553,7 +4571,7 @@ var require_methods = __commonJS({
4553
4571
  }
4554
4572
  }
4555
4573
  return obj;
4556
- } else if ((0, import_utils13.isArray)(state)) {
4574
+ } else if ((0, import_utils15.isArray)(state)) {
4557
4575
  return state.filter((item) => !import_ignore.IGNORE_STATE_PARAMS.includes(item));
4558
4576
  }
4559
4577
  };
@@ -4573,7 +4591,7 @@ var require_methods = __commonJS({
4573
4591
  const state = this;
4574
4592
  const element = state.__element;
4575
4593
  const stateKey = element.__ref.__state;
4576
- if ((0, import_utils13.isString)(stateKey)) {
4594
+ if ((0, import_utils15.isString)(stateKey)) {
4577
4595
  element.parent.state.remove(stateKey, { isHoisted: true, ...options });
4578
4596
  return element.state;
4579
4597
  }
@@ -4608,10 +4626,10 @@ var require_methods = __commonJS({
4608
4626
  };
4609
4627
  var add = function(value, options = {}) {
4610
4628
  const state = this;
4611
- if ((0, import_utils13.isArray)(state)) {
4629
+ if ((0, import_utils15.isArray)(state)) {
4612
4630
  state.push(value);
4613
4631
  state.update(state.parse(), { overwrite: "replace", ...options });
4614
- } else if ((0, import_utils13.isObject)(state)) {
4632
+ } else if ((0, import_utils15.isObject)(state)) {
4615
4633
  const key = Object.keys(state).length;
4616
4634
  state.update({ [key]: value }, options);
4617
4635
  }
@@ -4622,10 +4640,10 @@ var require_methods = __commonJS({
4622
4640
  };
4623
4641
  var remove = function(key, options = {}) {
4624
4642
  const state = this;
4625
- if ((0, import_utils13.isArray)(state))
4626
- (0, import_utils13.removeFromArray)(state, key);
4627
- if ((0, import_utils13.isObject)(state))
4628
- (0, import_utils13.removeFromObject)(state, key);
4643
+ if ((0, import_utils15.isArray)(state))
4644
+ (0, import_utils15.removeFromArray)(state, key);
4645
+ if ((0, import_utils15.isObject)(state))
4646
+ (0, import_utils15.removeFromObject)(state, key);
4629
4647
  return state.update(state.parse(), { replace: true, ...options });
4630
4648
  };
4631
4649
  var set3 = function(value, options = {}) {
@@ -4634,7 +4652,7 @@ var require_methods = __commonJS({
4634
4652
  };
4635
4653
  var apply = function(func, options = {}) {
4636
4654
  const state = this;
4637
- if ((0, import_utils13.isFunction)(func)) {
4655
+ if ((0, import_utils15.isFunction)(func)) {
4638
4656
  func(state);
4639
4657
  return state.update(state, { replace: true, ...options });
4640
4658
  }
@@ -4642,9 +4660,9 @@ var require_methods = __commonJS({
4642
4660
  }
4643
4661
  });
4644
4662
 
4645
- // ../../../domql/packages/state/dist/cjs/inherit.js
4663
+ // ../../node_modules/@domql/state/dist/cjs/inherit.js
4646
4664
  var require_inherit = __commonJS({
4647
- "../../../domql/packages/state/dist/cjs/inherit.js"(exports, module2) {
4665
+ "../../node_modules/@domql/state/dist/cjs/inherit.js"(exports, module2) {
4648
4666
  "use strict";
4649
4667
  var __defProp2 = Object.defineProperty;
4650
4668
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
@@ -4674,7 +4692,7 @@ var require_inherit = __commonJS({
4674
4692
  isState: () => isState2
4675
4693
  });
4676
4694
  module2.exports = __toCommonJS2(inherit_exports);
4677
- var import_utils13 = require_cjs2();
4695
+ var import_utils15 = require_cjs2();
4678
4696
  var import_ignore = require_ignore();
4679
4697
  var getParentStateInKey = (stateKey, parentState) => {
4680
4698
  if (!stateKey.includes("../"))
@@ -4726,11 +4744,11 @@ var require_inherit = __commonJS({
4726
4744
  var createInheritedState = (element, parent) => {
4727
4745
  const ref = element.__ref;
4728
4746
  const inheritedState = findInheritedState(element, parent);
4729
- if ((0, import_utils13.isUndefined)(inheritedState))
4747
+ if ((0, import_utils15.isUndefined)(inheritedState))
4730
4748
  return element.state;
4731
- if ((0, import_utils13.is)(inheritedState)("object", "array")) {
4732
- return (0, import_utils13.deepClone)(inheritedState, import_ignore.IGNORE_STATE_PARAMS);
4733
- } else if ((0, import_utils13.is)(inheritedState)("string", "number", "boolean")) {
4749
+ if ((0, import_utils15.is)(inheritedState)("object", "array")) {
4750
+ return (0, import_utils15.deepClone)(inheritedState, import_ignore.IGNORE_STATE_PARAMS);
4751
+ } else if ((0, import_utils15.is)(inheritedState)("string", "number", "boolean")) {
4734
4752
  ref.__stateType = typeof inheritedState;
4735
4753
  return { value: inheritedState };
4736
4754
  }
@@ -4739,12 +4757,12 @@ var require_inherit = __commonJS({
4739
4757
  var checkIfInherits = (element) => {
4740
4758
  const ref = element.__ref;
4741
4759
  const stateKey = ref.__state;
4742
- if (stateKey && (0, import_utils13.is)(stateKey)("number", "string", "boolean"))
4760
+ if (stateKey && (0, import_utils15.is)(stateKey)("number", "string", "boolean"))
4743
4761
  return true;
4744
4762
  return false;
4745
4763
  };
4746
4764
  var isState2 = function(state) {
4747
- if (!(0, import_utils13.isObjectLike)(state))
4765
+ if (!(0, import_utils15.isObjectLike)(state))
4748
4766
  return false;
4749
4767
  return state.update && state.parse && state.clean && state.create && state.parent && state.destroy && state.rootUpdate && state.parentUpdate && state.toggle && state.add && state.apply && state.__element && state.__children;
4750
4768
  };
@@ -4764,9 +4782,9 @@ var require_inherit = __commonJS({
4764
4782
  }
4765
4783
  });
4766
4784
 
4767
- // ../../../domql/packages/state/dist/cjs/updateState.js
4785
+ // ../../node_modules/@domql/state/dist/cjs/updateState.js
4768
4786
  var require_updateState = __commonJS({
4769
- "../../../domql/packages/state/dist/cjs/updateState.js"(exports, module2) {
4787
+ "../../node_modules/@domql/state/dist/cjs/updateState.js"(exports, module2) {
4770
4788
  "use strict";
4771
4789
  var __defProp2 = Object.defineProperty;
4772
4790
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
@@ -4793,7 +4811,7 @@ var require_updateState = __commonJS({
4793
4811
  var import_report = require_cjs3();
4794
4812
  var import_event = require_cjs4();
4795
4813
  var import_ignore = require_ignore();
4796
- var import_utils13 = require_cjs2();
4814
+ var import_utils15 = require_cjs2();
4797
4815
  var import_inherit = require_inherit();
4798
4816
  var STATE_UPDATE_OPTIONS = {
4799
4817
  overwrite: true,
@@ -4807,7 +4825,7 @@ var require_updateState = __commonJS({
4807
4825
  const state = this;
4808
4826
  const element = state.__element;
4809
4827
  if (!options.updateByState)
4810
- (0, import_utils13.merge)(options, STATE_UPDATE_OPTIONS);
4828
+ (0, import_utils15.merge)(options, STATE_UPDATE_OPTIONS);
4811
4829
  if (!state.__element)
4812
4830
  (0, import_report.report)("ElementOnStateIsNotDefined");
4813
4831
  if (options.preventInheritAtCurrentState === true) {
@@ -4837,10 +4855,10 @@ var require_updateState = __commonJS({
4837
4855
  const shallow = overwrite === "shallow";
4838
4856
  const merge22 = overwrite === "merge";
4839
4857
  if (merge22) {
4840
- (0, import_utils13.deepMerge)(state, obj, import_ignore.IGNORE_STATE_PARAMS);
4858
+ (0, import_utils15.deepMerge)(state, obj, import_ignore.IGNORE_STATE_PARAMS);
4841
4859
  return;
4842
4860
  }
4843
- const overwriteFunc = shallow ? import_utils13.overwriteShallow : import_utils13.overwriteDeep;
4861
+ const overwriteFunc = shallow ? import_utils15.overwriteShallow : import_utils15.overwriteDeep;
4844
4862
  overwriteFunc(state, obj, import_ignore.IGNORE_STATE_PARAMS);
4845
4863
  };
4846
4864
  var hoistStateUpdate = (state, obj, options) => {
@@ -4904,9 +4922,9 @@ var require_updateState = __commonJS({
4904
4922
  }
4905
4923
  });
4906
4924
 
4907
- // ../../../domql/packages/state/dist/cjs/create.js
4925
+ // ../../node_modules/@domql/state/dist/cjs/create.js
4908
4926
  var require_create = __commonJS({
4909
- "../../../domql/packages/state/dist/cjs/create.js"(exports, module2) {
4927
+ "../../node_modules/@domql/state/dist/cjs/create.js"(exports, module2) {
4910
4928
  "use strict";
4911
4929
  var __defProp2 = Object.defineProperty;
4912
4930
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
@@ -4932,7 +4950,7 @@ var require_create = __commonJS({
4932
4950
  });
4933
4951
  module2.exports = __toCommonJS2(create_exports);
4934
4952
  var import_event = require_cjs4();
4935
- var import_utils13 = require_cjs2();
4953
+ var import_utils15 = require_cjs2();
4936
4954
  var import_ignore = require_ignore();
4937
4955
  var import_methods = require_methods();
4938
4956
  var import_updateState = require_updateState();
@@ -4946,13 +4964,13 @@ var require_create = __commonJS({
4946
4964
  if (objectizeState === false)
4947
4965
  return parent.state || {};
4948
4966
  else
4949
- element.state = (0, import_utils13.deepClone)(objectizeState, import_ignore.IGNORE_STATE_PARAMS);
4967
+ element.state = (0, import_utils15.deepClone)(objectizeState, import_ignore.IGNORE_STATE_PARAMS);
4950
4968
  const whatInitReturns = (0, import_event.triggerEventOn)("stateInit", element, options);
4951
4969
  if (whatInitReturns === false)
4952
4970
  return element.state;
4953
4971
  if ((0, import_inherit.checkIfInherits)(element)) {
4954
4972
  const inheritedState = (0, import_inherit.createInheritedState)(element, parent);
4955
- element.state = (0, import_utils13.isUndefined)(inheritedState) ? {} : inheritedState;
4973
+ element.state = (0, import_utils15.isUndefined)(inheritedState) ? {} : inheritedState;
4956
4974
  }
4957
4975
  const dependentState = applyDependentState(element, element.state);
4958
4976
  if (dependentState)
@@ -4965,17 +4983,17 @@ var require_create = __commonJS({
4965
4983
  const { __ref: ref } = state;
4966
4984
  if (!ref)
4967
4985
  return;
4968
- const dependentState = (0, import_utils13.deepClone)(ref, import_ignore.IGNORE_STATE_PARAMS);
4986
+ const dependentState = (0, import_utils15.deepClone)(ref, import_ignore.IGNORE_STATE_PARAMS);
4969
4987
  const newDepends = { [element.key]: dependentState };
4970
- ref.__depends = (0, import_utils13.isObject)(ref.__depends) ? { ...ref.__depends, ...newDepends } : newDepends;
4988
+ ref.__depends = (0, import_utils15.isObject)(ref.__depends) ? { ...ref.__depends, ...newDepends } : newDepends;
4971
4989
  return dependentState;
4972
4990
  };
4973
4991
  var checkForTypes = (element) => {
4974
4992
  const { state, __ref: ref } = element;
4975
- if ((0, import_utils13.isFunction)(state)) {
4993
+ if ((0, import_utils15.isFunction)(state)) {
4976
4994
  ref.__state = state;
4977
- return (0, import_utils13.exec)(state, element);
4978
- } else if ((0, import_utils13.is)(state)("string", "number")) {
4995
+ return (0, import_utils15.exec)(state, element);
4996
+ } else if ((0, import_utils15.is)(state)("string", "number")) {
4979
4997
  ref.__state = state;
4980
4998
  return {};
4981
4999
  } else if (state === true) {
@@ -5022,7 +5040,7 @@ var require_create = __commonJS({
5022
5040
  __children: {},
5023
5041
  __root: ref.__root ? ref.__root.state : state
5024
5042
  };
5025
- if ((0, import_utils13.isArray)(state)) {
5043
+ if ((0, import_utils15.isArray)(state)) {
5026
5044
  addProtoToArray(state, proto);
5027
5045
  } else {
5028
5046
  Object.setPrototypeOf(state, proto);
@@ -5034,9 +5052,9 @@ var require_create = __commonJS({
5034
5052
  }
5035
5053
  });
5036
5054
 
5037
- // ../../../domql/packages/state/dist/cjs/index.js
5055
+ // ../../node_modules/@domql/state/dist/cjs/index.js
5038
5056
  var require_cjs5 = __commonJS({
5039
- "../../../domql/packages/state/dist/cjs/index.js"(exports, module2) {
5057
+ "../../node_modules/@domql/state/dist/cjs/index.js"(exports, module2) {
5040
5058
  "use strict";
5041
5059
  var __defProp2 = Object.defineProperty;
5042
5060
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
@@ -5092,8 +5110,8 @@ var require_cjs6 = __commonJS({
5092
5110
  router: () => router
5093
5111
  });
5094
5112
  module2.exports = __toCommonJS2(router_exports);
5095
- var import_utils13 = require_cjs2();
5096
- var getActiveRoute = (level = 0, route = import_utils13.window.location.pathname) => {
5113
+ var import_utils15 = require_cjs2();
5114
+ var getActiveRoute = (level = 0, route = import_utils15.window.location.pathname) => {
5097
5115
  const routeArray = route.split("/");
5098
5116
  const activeRoute = routeArray[level + 1];
5099
5117
  if (activeRoute)
@@ -5107,7 +5125,7 @@ var require_cjs6 = __commonJS({
5107
5125
  initialRender: false,
5108
5126
  scrollToTop: true,
5109
5127
  scrollToNode: false,
5110
- scrollNode: import_utils13.document && import_utils13.document.documentElement,
5128
+ scrollNode: import_utils15.document && import_utils15.document.documentElement,
5111
5129
  scrollBody: false,
5112
5130
  useFragment: false,
5113
5131
  updateState: true,
@@ -5122,13 +5140,13 @@ var require_cjs6 = __commonJS({
5122
5140
  const route = getActiveRoute(options.level, pathname);
5123
5141
  const content = element.routes[route || "/"] || element.routes["/*"];
5124
5142
  const scrollNode = options.scrollToNode ? rootNode : options.scrollNode;
5125
- const hashChanged = hash2 && hash2 !== import_utils13.window.location.hash.slice(1);
5143
+ const hashChanged = hash2 && hash2 !== import_utils15.window.location.hash.slice(1);
5126
5144
  const pathChanged = pathname !== lastPathname;
5127
5145
  lastPathname = pathname;
5128
5146
  if (!content)
5129
5147
  return;
5130
5148
  if (options.pushState) {
5131
- import_utils13.window.history.pushState(state, null, pathname + (hash2 ? `#${hash2}` : ""));
5149
+ import_utils15.window.history.pushState(state, null, pathname + (hash2 ? `#${hash2}` : ""));
5132
5150
  }
5133
5151
  if (pathChanged || !hashChanged) {
5134
5152
  if (options.updateState) {
@@ -5154,7 +5172,7 @@ var require_cjs6 = __commonJS({
5154
5172
  });
5155
5173
  }
5156
5174
  if (hash2) {
5157
- const activeNode = import_utils13.document.getElementById(hash2);
5175
+ const activeNode = import_utils15.document.getElementById(hash2);
5158
5176
  if (activeNode) {
5159
5177
  const top = activeNode.getBoundingClientRect().top + rootNode.scrollTop - options.scrollToOffset || 0;
5160
5178
  scrollNode.scrollTo({
@@ -5846,7 +5864,7 @@ var SHAPES = {
5846
5864
  var import_utils = __toESM(require_cjs2());
5847
5865
  var getSystemTheme = ({ context, state }) => {
5848
5866
  const rootState = state && state.__root;
5849
- return rootState ? rootState.globalTheme : context.designSystem && context.designSystem.globalTheme;
5867
+ return rootState && rootState.globalTheme ? rootState.globalTheme : context.designSystem && context.designSystem.globalTheme;
5850
5868
  };
5851
5869
  var Theme = {
5852
5870
  deps: {
@@ -8144,11 +8162,14 @@ var StatusIndicator = {
8144
8162
 
8145
8163
  // Indicator/CheckIndicator.js
8146
8164
  var CheckIndicator = {
8165
+ extend: Flex,
8147
8166
  props: {
8167
+ align: "center center",
8148
8168
  padding: "X",
8149
8169
  boxSize: "fit-content fit-content",
8150
8170
  round: "100%",
8151
8171
  theme: "primary",
8172
+ aspectRatio: "1 / 1",
8152
8173
  fontSize: "X"
8153
8174
  },
8154
8175
  Icon: {
@@ -8482,8 +8503,8 @@ var Input = {
8482
8503
  autocomplete: ({ props: props4 }) => props4.autocomplete,
8483
8504
  placeholder: ({ props: props4 }) => props4.placeholder,
8484
8505
  value: ({ props: props4, state, deps }) => {
8485
- const { isString: isString6, replaceLiteralsWithObjectFields: replaceLiteralsWithObjectFields2 } = deps;
8486
- if (isString6(props4.value) && props4.value.includes("{{")) {
8506
+ const { isString: isString8, replaceLiteralsWithObjectFields: replaceLiteralsWithObjectFields2 } = deps;
8507
+ if (isString8(props4.value) && props4.value.includes("{{")) {
8487
8508
  return replaceLiteralsWithObjectFields2(props4.value, state);
8488
8509
  }
8489
8510
  return props4.value;
@@ -8907,7 +8928,7 @@ var SearchWithDropDownButton = {
8907
8928
 
8908
8929
  // Button/index.js
8909
8930
  var Button = {
8910
- extend: [FocusableComponent, IconText],
8931
+ extend: [IconText, FocusableComponent],
8911
8932
  tag: "button",
8912
8933
  props: {
8913
8934
  fontSize: "A",
@@ -9447,7 +9468,7 @@ var Avatar = {
9447
9468
  avatarType: "initials",
9448
9469
  borderRadius: "100%",
9449
9470
  boxSize: "C+X C+X",
9450
- src: `https://api.dicebear.com/7.x/${props4.avatarType || "initials"}/svg?seed=${props4.key || key}`
9471
+ src: `https://api.dicebear.com/7.x/${props4.avatarType || "initials"}/svg?seed=${props4.key || key || "no-avatar"}`
9451
9472
  })
9452
9473
  };
9453
9474
 
@@ -9482,7 +9503,8 @@ var AvatarBundle = {
9482
9503
  }
9483
9504
  }
9484
9505
  },
9485
- childExtend: Avatar
9506
+ childExtend: Avatar,
9507
+ $setPropsCollection: ({ props: props4 }) => props4.options
9486
9508
  };
9487
9509
 
9488
9510
  // Avatar/AvatarChooser.js
@@ -10074,6 +10096,91 @@ var Modal = {
10074
10096
  Footer: { extend: Flex }
10075
10097
  };
10076
10098
 
10099
+ // Modal/node_modules/@symbo.ls/icon/index.js
10100
+ var import_utils13 = __toESM(require_cjs2());
10101
+ var IconText2 = {
10102
+ extend: Flex,
10103
+ props: {
10104
+ align: "center center",
10105
+ lineHeight: 1
10106
+ },
10107
+ Icon: {
10108
+ props: ({ parent, props: props4 }) => ({ icon: parent.props.icon || props4.name || props4.icon }),
10109
+ if: ({ parent, props: props4 }) => parent.props.icon || parent.props.Icon || props4.name || props4.icon
10110
+ },
10111
+ text: ({ props: props4 }) => props4.text,
10112
+ ".reversed": {
10113
+ props: { flow: "row-reverse" }
10114
+ },
10115
+ ".vertical": {
10116
+ props: { flow: "column" }
10117
+ }
10118
+ };
10119
+
10120
+ // Modal/node_modules/@symbo.ls/button/index.js
10121
+ var Button2 = {
10122
+ extend: [FocusableComponent, IconText2],
10123
+ tag: "button",
10124
+ props: {
10125
+ fontSize: "A",
10126
+ type: "button",
10127
+ border: "none",
10128
+ display: "inline-flex",
10129
+ align: "center center",
10130
+ textDecoration: "none",
10131
+ lineHeight: "1",
10132
+ whiteSpace: "nowrap",
10133
+ padding: "Z A1",
10134
+ fontFamily: "inherit",
10135
+ round: "C2"
10136
+ },
10137
+ attr: {
10138
+ type: ({ props: props4 }) => props4.type
10139
+ }
10140
+ };
10141
+ var CommonButton2 = {
10142
+ extend: Button2,
10143
+ props: {
10144
+ theme: "primary",
10145
+ boxSize: "fit-content",
10146
+ padding: "A A2",
10147
+ round: "Z2",
10148
+ gap: "Y2",
10149
+ position: "relative"
10150
+ },
10151
+ Icon: {
10152
+ props: { fontSize: "C" }
10153
+ },
10154
+ Caption: {
10155
+ props: {
10156
+ text: "Button",
10157
+ line_height: "1em"
10158
+ }
10159
+ }
10160
+ };
10161
+ var CancelConfirmButtons2 = {
10162
+ extend: Flex,
10163
+ childExtend: {
10164
+ extend: CommonButton2,
10165
+ props: {
10166
+ minWidth: "D2",
10167
+ ":first-child": {
10168
+ background: "transparent",
10169
+ border: "1px solid #20202B"
10170
+ },
10171
+ ":last-child": {}
10172
+ }
10173
+ },
10174
+ ...[
10175
+ { Caption: { text: "No" } },
10176
+ { Caption: { text: "Yes" } }
10177
+ ],
10178
+ props: {
10179
+ gap: "Z",
10180
+ maxWidth: "fit-content"
10181
+ }
10182
+ };
10183
+
10077
10184
  // Modal/CompleteProcess.js
10078
10185
  var CompleteProcess = {
10079
10186
  extend: Modal,
@@ -10126,7 +10233,7 @@ var CompleteProcess = {
10126
10233
  }
10127
10234
  },
10128
10235
  Footer: {
10129
- extend: CommonButton,
10236
+ extend: CommonButton2,
10130
10237
  props: {
10131
10238
  minWidth: "100%",
10132
10239
  fontWeight: "500"
@@ -10298,7 +10405,7 @@ var VerificationCode = {
10298
10405
  padding: "Y2 - - -"
10299
10406
  },
10300
10407
  Buttons: {
10301
- extend: CancelConfirmButtons,
10408
+ extend: CancelConfirmButtons2,
10302
10409
  props: { childProps: { ":first-child": { border: "none" } } },
10303
10410
  ...[
10304
10411
  { Caption: { text: "Cancel" } },
@@ -10704,6 +10811,91 @@ var TimePickerItem = {
10704
10811
  Button_minus: { icon: "minus" }
10705
10812
  };
10706
10813
 
10814
+ // TimePicker/node_modules/@symbo.ls/icon/index.js
10815
+ var import_utils14 = __toESM(require_cjs2());
10816
+ var IconText3 = {
10817
+ extend: Flex,
10818
+ props: {
10819
+ align: "center center",
10820
+ lineHeight: 1
10821
+ },
10822
+ Icon: {
10823
+ props: ({ parent, props: props4 }) => ({ icon: parent.props.icon || props4.name || props4.icon }),
10824
+ if: ({ parent, props: props4 }) => parent.props.icon || parent.props.Icon || props4.name || props4.icon
10825
+ },
10826
+ text: ({ props: props4 }) => props4.text,
10827
+ ".reversed": {
10828
+ props: { flow: "row-reverse" }
10829
+ },
10830
+ ".vertical": {
10831
+ props: { flow: "column" }
10832
+ }
10833
+ };
10834
+
10835
+ // TimePicker/node_modules/@symbo.ls/button/index.js
10836
+ var Button3 = {
10837
+ extend: [FocusableComponent, IconText3],
10838
+ tag: "button",
10839
+ props: {
10840
+ fontSize: "A",
10841
+ type: "button",
10842
+ border: "none",
10843
+ display: "inline-flex",
10844
+ align: "center center",
10845
+ textDecoration: "none",
10846
+ lineHeight: "1",
10847
+ whiteSpace: "nowrap",
10848
+ padding: "Z A1",
10849
+ fontFamily: "inherit",
10850
+ round: "C2"
10851
+ },
10852
+ attr: {
10853
+ type: ({ props: props4 }) => props4.type
10854
+ }
10855
+ };
10856
+ var CommonButton3 = {
10857
+ extend: Button3,
10858
+ props: {
10859
+ theme: "primary",
10860
+ boxSize: "fit-content",
10861
+ padding: "A A2",
10862
+ round: "Z2",
10863
+ gap: "Y2",
10864
+ position: "relative"
10865
+ },
10866
+ Icon: {
10867
+ props: { fontSize: "C" }
10868
+ },
10869
+ Caption: {
10870
+ props: {
10871
+ text: "Button",
10872
+ line_height: "1em"
10873
+ }
10874
+ }
10875
+ };
10876
+ var CancelConfirmButtons3 = {
10877
+ extend: Flex,
10878
+ childExtend: {
10879
+ extend: CommonButton3,
10880
+ props: {
10881
+ minWidth: "D2",
10882
+ ":first-child": {
10883
+ background: "transparent",
10884
+ border: "1px solid #20202B"
10885
+ },
10886
+ ":last-child": {}
10887
+ }
10888
+ },
10889
+ ...[
10890
+ { Caption: { text: "No" } },
10891
+ { Caption: { text: "Yes" } }
10892
+ ],
10893
+ props: {
10894
+ gap: "Z",
10895
+ maxWidth: "fit-content"
10896
+ }
10897
+ };
10898
+
10707
10899
  // TimePicker/TimeSwitcher.js
10708
10900
  var props3 = {
10709
10901
  boxSize: "C B2",
@@ -10716,7 +10908,7 @@ var TimeSwitcher = {
10716
10908
  props: props3,
10717
10909
  extend: Flex,
10718
10910
  childExtend: {
10719
- extend: Button,
10911
+ extend: Button3,
10720
10912
  props: ({ state, key }) => ({
10721
10913
  active: state.activeShift === key,
10722
10914
  padding: "0",
@@ -10848,7 +11040,8 @@ var DropdownList = {
10848
11040
  borderWidth: "1px 0 0"
10849
11041
  }
10850
11042
  })
10851
- }
11043
+ },
11044
+ $setPropsCollection: ({ props: props4 }) => props4.options
10852
11045
  };
10853
11046
  var DropdownParent = {
10854
11047
  props: {
@@ -11665,9 +11858,8 @@ var User = {
11665
11858
  align: "center flex-start",
11666
11859
  gap: "Z2"
11667
11860
  },
11668
- Avatar: {
11669
- extend: AvatarIndicator,
11670
- props: { margin: "0 - - -" }
11861
+ AvatarIndicator: {
11862
+ margin: "0 - - -"
11671
11863
  },
11672
11864
  Notes: {
11673
11865
  extend: TitleParagraph,
@@ -11704,7 +11896,7 @@ var ChatUser = {
11704
11896
  padding: "A",
11705
11897
  round: "Z"
11706
11898
  },
11707
- Avatar: { props: { margin: "0" } },
11899
+ AvatarIndicator: { margin: "0" },
11708
11900
  Notes: {
11709
11901
  props: { flex: "1" },
11710
11902
  Title: {
@@ -11754,7 +11946,7 @@ var UserButtonSet = {
11754
11946
  round: "Z2"
11755
11947
  },
11756
11948
  User: {
11757
- Avatar: { fontSize: "A2" },
11949
+ AvatarIndicator: { fontSize: "A2" },
11758
11950
  Notes: {
11759
11951
  Title: {
11760
11952
  h5: {
@@ -11785,8 +11977,8 @@ var UserButtonSet = {
11785
11977
  var UserMessage = {
11786
11978
  extend: User,
11787
11979
  props: { gap: "Z" },
11788
- Avatar: {
11789
- props: { fontSize: "Z" }
11980
+ AvatarIndicator: {
11981
+ fontSize: "Z"
11790
11982
  },
11791
11983
  Notes: {
11792
11984
  Title: null,
@@ -11807,7 +11999,7 @@ var UserMessage = {
11807
11999
  // User/UserWithLabel.js
11808
12000
  var UserWithLabel = {
11809
12001
  extend: User,
11810
- Avatar: {
12002
+ AvatarIndicator: {
11811
12003
  StatusIndicator: null,
11812
12004
  Avatar: { boxSize: "B" }
11813
12005
  },
@@ -11848,7 +12040,7 @@ var UserWithButton = {
11848
12040
  border: "1px, solid, gray3",
11849
12041
  gap: "Y2"
11850
12042
  },
11851
- Avatar: {
12043
+ AvatarIndicator: {
11852
12044
  Avatar: {
11853
12045
  round: "Y"
11854
12046
  },