@seamly/web-ui 25.4.0 → 25.4.1-beta

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.
@@ -430,7 +430,7 @@ var $TypeError = TypeError;
430
430
  var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
431
431
 
432
432
  module.exports = function (it) {
433
- if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
433
+ if (it > MAX_SAFE_INTEGER) throw new $TypeError('Maximum allowed index exceeded');
434
434
  return it;
435
435
  };
436
436
 
@@ -628,7 +628,7 @@ var fails = __webpack_require__(9039);
628
628
 
629
629
  module.exports = !fails(function () {
630
630
  // eslint-disable-next-line es/no-function-prototype-bind -- safe
631
- var test = (function () { /* empty */ }).bind();
631
+ var test = function () { /* empty */ }.bind();
632
632
  // eslint-disable-next-line no-prototype-builtins -- safe
633
633
  return typeof test != 'function' || test.hasOwnProperty('prototype');
634
634
  });
@@ -664,7 +664,7 @@ var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
664
664
 
665
665
  var EXISTS = hasOwn(FunctionPrototype, 'name');
666
666
  // additional protection from minified / mangled / dropped function names
667
- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
667
+ var PROPER = EXISTS && function something() { /* empty */ }.name === 'something';
668
668
  var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
669
669
 
670
670
  module.exports = {
@@ -1184,7 +1184,9 @@ module.exports = function (iterable, unboundFunction, options) {
1184
1184
  var iterator, iterFn, index, length, result, next, step;
1185
1185
 
1186
1186
  var stop = function (condition) {
1187
- if (iterator) iteratorClose(iterator, 'normal');
1187
+ var $iterator = iterator;
1188
+ iterator = undefined;
1189
+ if ($iterator) iteratorClose($iterator, 'normal');
1188
1190
  return new Result(true, condition);
1189
1191
  };
1190
1192
 
@@ -1214,10 +1216,13 @@ module.exports = function (iterable, unboundFunction, options) {
1214
1216
 
1215
1217
  next = IS_RECORD ? iterable.next : iterator.next;
1216
1218
  while (!(step = call(next, iterator)).done) {
1219
+ // `IteratorValue` errors should propagate without closing the iterator
1220
+ var value = step.value;
1217
1221
  try {
1218
- result = callFn(step.value);
1222
+ result = callFn(value);
1219
1223
  } catch (error) {
1220
- iteratorClose(iterator, 'throw', error);
1224
+ if (iterator) iteratorClose(iterator, 'throw', error);
1225
+ else throw error;
1221
1226
  }
1222
1227
  if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
1223
1228
  } return new Result(false);
@@ -1325,11 +1330,13 @@ var createIteratorProxyPrototype = function (IS_ITERATOR) {
1325
1330
  'return': function () {
1326
1331
  var state = getInternalState(this);
1327
1332
  var iterator = state.iterator;
1333
+ var done = state.done;
1328
1334
  state.done = true;
1329
1335
  if (IS_ITERATOR) {
1330
1336
  var returnMethod = getMethod(iterator, 'return');
1331
1337
  return returnMethod ? call(returnMethod, iterator) : createIterResultObject(undefined, true);
1332
1338
  }
1339
+ if (done) return createIterResultObject(undefined, true);
1333
1340
  if (state.inner) try {
1334
1341
  iteratorClose(state.inner.iterator, NORMAL);
1335
1342
  } catch (error) {
@@ -1338,7 +1345,8 @@ var createIteratorProxyPrototype = function (IS_ITERATOR) {
1338
1345
  if (state.openIters) try {
1339
1346
  iteratorCloseAll(state.openIters, NORMAL);
1340
1347
  } catch (error) {
1341
- return iteratorClose(iterator, THROW, error);
1348
+ if (iterator) return iteratorClose(iterator, THROW, error);
1349
+ throw error;
1342
1350
  }
1343
1351
  if (iterator) iteratorClose(iterator, NORMAL);
1344
1352
  return createIterResultObject(undefined, true);
@@ -2009,10 +2017,10 @@ var SHARED = '__core-js_shared__';
2009
2017
  var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
2010
2018
 
2011
2019
  (store.versions || (store.versions = [])).push({
2012
- version: '3.48.0',
2020
+ version: '3.49.0',
2013
2021
  mode: IS_PURE ? 'pure' : 'global',
2014
2022
  copyright: '© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.',
2015
- license: 'https://github.com/zloirock/core-js/blob/v3.48.0/LICENSE',
2023
+ license: 'https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE',
2016
2024
  source: 'https://github.com/zloirock/core-js'
2017
2025
  });
2018
2026
 
@@ -2209,22 +2217,6 @@ test[TO_STRING_TAG] = 'z';
2209
2217
  module.exports = String(test) === '[object z]';
2210
2218
 
2211
2219
 
2212
- /***/ },
2213
-
2214
- /***/ 655
2215
- (module, __unused_webpack_exports, __webpack_require__) {
2216
-
2217
-
2218
- var classof = __webpack_require__(6955);
2219
-
2220
- var $String = String;
2221
-
2222
- module.exports = function (argument) {
2223
- if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
2224
- return $String(argument);
2225
- };
2226
-
2227
-
2228
2220
  /***/ },
2229
2221
 
2230
2222
  /***/ 6823
@@ -2293,20 +2285,6 @@ module.exports = DESCRIPTORS && fails(function () {
2293
2285
  });
2294
2286
 
2295
2287
 
2296
- /***/ },
2297
-
2298
- /***/ 2812
2299
- (module) {
2300
-
2301
-
2302
- var $TypeError = TypeError;
2303
-
2304
- module.exports = function (passed, required) {
2305
- if (passed < required) throw new $TypeError('Not enough arguments');
2306
- return passed;
2307
- };
2308
-
2309
-
2310
2288
  /***/ },
2311
2289
 
2312
2290
  /***/ 8622
@@ -2774,125 +2752,6 @@ __webpack_require__(1701);
2774
2752
  __webpack_require__(8237);
2775
2753
 
2776
2754
 
2777
- /***/ },
2778
-
2779
- /***/ 4603
2780
- (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
2781
-
2782
-
2783
- var defineBuiltIn = __webpack_require__(6840);
2784
- var uncurryThis = __webpack_require__(9504);
2785
- var toString = __webpack_require__(655);
2786
- var validateArgumentsLength = __webpack_require__(2812);
2787
-
2788
- var $URLSearchParams = URLSearchParams;
2789
- var URLSearchParamsPrototype = $URLSearchParams.prototype;
2790
- var append = uncurryThis(URLSearchParamsPrototype.append);
2791
- var $delete = uncurryThis(URLSearchParamsPrototype['delete']);
2792
- var forEach = uncurryThis(URLSearchParamsPrototype.forEach);
2793
- var push = uncurryThis([].push);
2794
- var params = new $URLSearchParams('a=1&a=2&b=3');
2795
-
2796
- params['delete']('a', 1);
2797
- // `undefined` case is a Chromium 117 bug
2798
- // https://bugs.chromium.org/p/v8/issues/detail?id=14222
2799
- params['delete']('b', undefined);
2800
-
2801
- if (params + '' !== 'a=2') {
2802
- defineBuiltIn(URLSearchParamsPrototype, 'delete', function (name /* , value */) {
2803
- var length = arguments.length;
2804
- var $value = length < 2 ? undefined : arguments[1];
2805
- if (length && $value === undefined) return $delete(this, name);
2806
- var entries = [];
2807
- forEach(this, function (v, k) { // also validates `this`
2808
- push(entries, { key: k, value: v });
2809
- });
2810
- validateArgumentsLength(length, 1);
2811
- var key = toString(name);
2812
- var value = toString($value);
2813
- var index = 0;
2814
- var dindex = 0;
2815
- var found = false;
2816
- var entriesLength = entries.length;
2817
- var entry;
2818
- while (index < entriesLength) {
2819
- entry = entries[index++];
2820
- if (found || entry.key === key) {
2821
- found = true;
2822
- $delete(this, entry.key);
2823
- } else dindex++;
2824
- }
2825
- while (dindex < entriesLength) {
2826
- entry = entries[dindex++];
2827
- if (!(entry.key === key && entry.value === value)) append(this, entry.key, entry.value);
2828
- }
2829
- }, { enumerable: true, unsafe: true });
2830
- }
2831
-
2832
-
2833
- /***/ },
2834
-
2835
- /***/ 7566
2836
- (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
2837
-
2838
-
2839
- var defineBuiltIn = __webpack_require__(6840);
2840
- var uncurryThis = __webpack_require__(9504);
2841
- var toString = __webpack_require__(655);
2842
- var validateArgumentsLength = __webpack_require__(2812);
2843
-
2844
- var $URLSearchParams = URLSearchParams;
2845
- var URLSearchParamsPrototype = $URLSearchParams.prototype;
2846
- var getAll = uncurryThis(URLSearchParamsPrototype.getAll);
2847
- var $has = uncurryThis(URLSearchParamsPrototype.has);
2848
- var params = new $URLSearchParams('a=1');
2849
-
2850
- // `undefined` case is a Chromium 117 bug
2851
- // https://bugs.chromium.org/p/v8/issues/detail?id=14222
2852
- if (params.has('a', 2) || !params.has('a', undefined)) {
2853
- defineBuiltIn(URLSearchParamsPrototype, 'has', function has(name /* , value */) {
2854
- var length = arguments.length;
2855
- var $value = length < 2 ? undefined : arguments[1];
2856
- if (length && $value === undefined) return $has(this, name);
2857
- var values = getAll(this, name); // also validates `this`
2858
- validateArgumentsLength(length, 1);
2859
- var value = toString($value);
2860
- var index = 0;
2861
- while (index < values.length) {
2862
- if (values[index++] === value) return true;
2863
- } return false;
2864
- }, { enumerable: true, unsafe: true });
2865
- }
2866
-
2867
-
2868
- /***/ },
2869
-
2870
- /***/ 8721
2871
- (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
2872
-
2873
-
2874
- var DESCRIPTORS = __webpack_require__(3724);
2875
- var uncurryThis = __webpack_require__(9504);
2876
- var defineBuiltInAccessor = __webpack_require__(2106);
2877
-
2878
- var URLSearchParamsPrototype = URLSearchParams.prototype;
2879
- var forEach = uncurryThis(URLSearchParamsPrototype.forEach);
2880
-
2881
- // `URLSearchParams.prototype.size` getter
2882
- // https://github.com/whatwg/url/pull/734
2883
- if (DESCRIPTORS && !('size' in URLSearchParamsPrototype)) {
2884
- defineBuiltInAccessor(URLSearchParamsPrototype, 'size', {
2885
- get: function size() {
2886
- var count = 0;
2887
- forEach(this, function () { count++; });
2888
- return count;
2889
- },
2890
- configurable: true,
2891
- enumerable: true
2892
- });
2893
- }
2894
-
2895
-
2896
2755
  /***/ }
2897
2756
 
2898
2757
  /******/ });
@@ -2985,12 +2844,6 @@ var esnext_iterator_constructor = __webpack_require__(8992);
2985
2844
  var esnext_iterator_find = __webpack_require__(2577);
2986
2845
  // EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.reduce.js
2987
2846
  var esnext_iterator_reduce = __webpack_require__(8872);
2988
- // EXTERNAL MODULE: ./node_modules/core-js/modules/web.url-search-params.delete.js
2989
- var web_url_search_params_delete = __webpack_require__(4603);
2990
- // EXTERNAL MODULE: ./node_modules/core-js/modules/web.url-search-params.has.js
2991
- var web_url_search_params_has = __webpack_require__(7566);
2992
- // EXTERNAL MODULE: ./node_modules/core-js/modules/web.url-search-params.size.js
2993
- var web_url_search_params_size = __webpack_require__(8721);
2994
2847
  ;// external "preact/hooks"
2995
2848
  const hooks_namespaceObject = require("preact/hooks");
2996
2849
  // EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.map.js
@@ -3061,6 +2914,7 @@ const baseState = {
3061
2914
  hideOnNoUserResponse: false,
3062
2915
  showDisclaimer: false,
3063
2916
  showSuggestions: true,
2917
+ useMultilineUserInput: false,
3064
2918
  preChat: true
3065
2919
  },
3066
2920
  context: {},
@@ -8248,9 +8102,6 @@ const StyleGuideView = ({
8248
8102
 
8249
8103
 
8250
8104
 
8251
-
8252
-
8253
-
8254
8105
  const H = ({
8255
8106
  tag,
8256
8107
  id,
@@ -8318,6 +8169,7 @@ const StyleGuideApp = ({
8318
8169
  ...bareState.config,
8319
8170
  ...config,
8320
8171
  showDisclaimer: bareState.config.showDisclaimer || config.showDisclaimer,
8172
+ useMultilineUserInput: bareState.config.useMultilineUserInput ?? config.useMultilineUserInput,
8321
8173
  context: {
8322
8174
  ...config.context,
8323
8175
  ...bareState.config?.context