@wix/cli-app 1.1.56 → 1.1.58

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.
Files changed (61) hide show
  1. package/build/{CreateVersionCommand-LU6LUBNT.js → CreateVersionCommand-NNN5WEDG.js} +14 -14
  2. package/build/{DevCommand-G2BIT4FY.js → DevCommand-DTV4QLZX.js} +12 -12
  3. package/build/{GenerateCommand-XKWJ2FEG.js → GenerateCommand-3EILY6GU.js} +29 -21
  4. package/build/{GenerateCommand-XKWJ2FEG.js.map → GenerateCommand-3EILY6GU.js.map} +1 -1
  5. package/build/{LogsCommand-HYGDI5KW.js → LogsCommand-GBLWWXA4.js} +4 -4
  6. package/build/PreviewCommand-A2C52TVM.js +23 -0
  7. package/build/{ServeCommand-YJ5RHQZ4.js → ServeCommand-HBKGVBCD.js} +13 -13
  8. package/build/{build-Q5P6MZLW.js → build-NYCCEFPM.js} +7 -7
  9. package/build/{chunk-XU5JBKO6.js → chunk-2ROHQF53.js} +81 -62
  10. package/build/chunk-2ROHQF53.js.map +1 -0
  11. package/build/{chunk-IMNXLCE5.js → chunk-CDB46GX7.js} +2 -2
  12. package/build/{chunk-GIUEJUXG.js → chunk-DKKXEKW7.js} +3 -3
  13. package/build/{chunk-TTW4MEC3.js → chunk-FQ554CIC.js} +3 -3
  14. package/build/{chunk-SP37PQ3I.js → chunk-IWJPJJEU.js} +4 -4
  15. package/build/{chunk-NUUM6HPA.js → chunk-JSDDG7MC.js} +2 -2
  16. package/build/{chunk-NDFUPX6I.js → chunk-MVNY3M6D.js} +5 -5
  17. package/build/{chunk-QICLTOEP.js → chunk-NTTJJSCK.js} +3 -3
  18. package/build/{chunk-TSFNDZPX.js → chunk-P5P6YINI.js} +28 -40
  19. package/build/{chunk-TSFNDZPX.js.map → chunk-P5P6YINI.js.map} +1 -1
  20. package/build/{chunk-QLZPVGJV.js → chunk-PUIMS4NQ.js} +3 -3
  21. package/build/{chunk-KCMEJP7H.js → chunk-QVLKHYBX.js} +3 -3
  22. package/build/{chunk-IWDISZ2R.js → chunk-RFDDKVTR.js} +5 -5
  23. package/build/{chunk-IJVKSYIY.js → chunk-SE6QML7T.js} +3 -2
  24. package/build/{chunk-IJVKSYIY.js.map → chunk-SE6QML7T.js.map} +1 -1
  25. package/build/{chunk-U4QPSXJP.js → chunk-TQB6XTPS.js} +3 -3
  26. package/build/{chunk-JOVPQ7BW.js → chunk-UGZFZOEU.js} +8 -8
  27. package/build/{chunk-3KMSVIRS.js → chunk-XIKZ45R2.js} +7 -7
  28. package/build/{chunk-WG365AHZ.js → chunk-XRPBC4UX.js} +3 -3
  29. package/build/{chunk-JKI4MP27.js → chunk-ZDKKDXHS.js} +3 -3
  30. package/build/index.js +18 -18
  31. package/build/platform-sdk/editor.js +5 -5
  32. package/build/platform-sdk/editor.js.map +1 -1
  33. package/build/{preview-HPJCC5SU.js → preview-CCEFGOHW.js} +12 -12
  34. package/build/{render-command-BJTVLIM5.js → render-command-T2HCJX3F.js} +6 -6
  35. package/package.json +2 -2
  36. package/schemas/site-plugin.json +1 -0
  37. package/build/PreviewCommand-6EMIKGQN.js +0 -23
  38. package/build/chunk-XU5JBKO6.js.map +0 -1
  39. /package/build/{CreateVersionCommand-LU6LUBNT.js.map → CreateVersionCommand-NNN5WEDG.js.map} +0 -0
  40. /package/build/{DevCommand-G2BIT4FY.js.map → DevCommand-DTV4QLZX.js.map} +0 -0
  41. /package/build/{LogsCommand-HYGDI5KW.js.map → LogsCommand-GBLWWXA4.js.map} +0 -0
  42. /package/build/{PreviewCommand-6EMIKGQN.js.map → PreviewCommand-A2C52TVM.js.map} +0 -0
  43. /package/build/{ServeCommand-YJ5RHQZ4.js.map → ServeCommand-HBKGVBCD.js.map} +0 -0
  44. /package/build/{build-Q5P6MZLW.js.map → build-NYCCEFPM.js.map} +0 -0
  45. /package/build/{chunk-IMNXLCE5.js.map → chunk-CDB46GX7.js.map} +0 -0
  46. /package/build/{chunk-GIUEJUXG.js.map → chunk-DKKXEKW7.js.map} +0 -0
  47. /package/build/{chunk-TTW4MEC3.js.map → chunk-FQ554CIC.js.map} +0 -0
  48. /package/build/{chunk-SP37PQ3I.js.map → chunk-IWJPJJEU.js.map} +0 -0
  49. /package/build/{chunk-NUUM6HPA.js.map → chunk-JSDDG7MC.js.map} +0 -0
  50. /package/build/{chunk-NDFUPX6I.js.map → chunk-MVNY3M6D.js.map} +0 -0
  51. /package/build/{chunk-QICLTOEP.js.map → chunk-NTTJJSCK.js.map} +0 -0
  52. /package/build/{chunk-QLZPVGJV.js.map → chunk-PUIMS4NQ.js.map} +0 -0
  53. /package/build/{chunk-KCMEJP7H.js.map → chunk-QVLKHYBX.js.map} +0 -0
  54. /package/build/{chunk-IWDISZ2R.js.map → chunk-RFDDKVTR.js.map} +0 -0
  55. /package/build/{chunk-U4QPSXJP.js.map → chunk-TQB6XTPS.js.map} +0 -0
  56. /package/build/{chunk-JOVPQ7BW.js.map → chunk-UGZFZOEU.js.map} +0 -0
  57. /package/build/{chunk-3KMSVIRS.js.map → chunk-XIKZ45R2.js.map} +0 -0
  58. /package/build/{chunk-WG365AHZ.js.map → chunk-XRPBC4UX.js.map} +0 -0
  59. /package/build/{chunk-JKI4MP27.js.map → chunk-ZDKKDXHS.js.map} +0 -0
  60. /package/build/{preview-HPJCC5SU.js.map → preview-CCEFGOHW.js.map} +0 -0
  61. /package/build/{render-command-BJTVLIM5.js.map → render-command-T2HCJX3F.js.map} +0 -0
@@ -2,7 +2,7 @@ import { createRequire as _createRequire } from 'node:module';
2
2
  const require = _createRequire(import.meta.url);
3
3
  import {
4
4
  useTunnel
5
- } from "./chunk-KCMEJP7H.js";
5
+ } from "./chunk-QVLKHYBX.js";
6
6
  import "./chunk-QZOQAFHK.js";
7
7
  import {
8
8
  ComponentType2 as ComponentType,
@@ -12,7 +12,7 @@ import {
12
12
  useErrorReporter,
13
13
  useHttpClient,
14
14
  useProjectModel
15
- } from "./chunk-TSFNDZPX.js";
15
+ } from "./chunk-P5P6YINI.js";
16
16
  import {
17
17
  Box_default,
18
18
  CliError,
@@ -25,7 +25,7 @@ import {
25
25
  useAsync,
26
26
  useTranslation,
27
27
  z
28
- } from "./chunk-XU5JBKO6.js";
28
+ } from "./chunk-2ROHQF53.js";
29
29
  import {
30
30
  __toESM,
31
31
  init_esm_shims
@@ -281,4 +281,4 @@ var LogsCommand = ({ version }) => {
281
281
  export {
282
282
  LogsCommand
283
283
  };
284
- //# sourceMappingURL=LogsCommand-HYGDI5KW.js.map
284
+ //# sourceMappingURL=LogsCommand-GBLWWXA4.js.map
@@ -0,0 +1,23 @@
1
+ import { createRequire as _createRequire } from 'node:module';
2
+ const require = _createRequire(import.meta.url);
3
+ import {
4
+ PreviewCommand
5
+ } from "./chunk-UGZFZOEU.js";
6
+ import "./chunk-RFDDKVTR.js";
7
+ import "./chunk-MVNY3M6D.js";
8
+ import "./chunk-NTTJJSCK.js";
9
+ import "./chunk-ZDKKDXHS.js";
10
+ import "./chunk-XIKZ45R2.js";
11
+ import "./chunk-TQB6XTPS.js";
12
+ import "./chunk-QVLKHYBX.js";
13
+ import "./chunk-QZOQAFHK.js";
14
+ import "./chunk-FQ554CIC.js";
15
+ import "./chunk-IWJPJJEU.js";
16
+ import "./chunk-JSDDG7MC.js";
17
+ import "./chunk-P5P6YINI.js";
18
+ import "./chunk-2ROHQF53.js";
19
+ import "./chunk-PYIAC2GK.js";
20
+ export {
21
+ PreviewCommand
22
+ };
23
+ //# sourceMappingURL=PreviewCommand-A2C52TVM.js.map
@@ -3,16 +3,16 @@ const require = _createRequire(import.meta.url);
3
3
  import {
4
4
  PlatformViewer,
5
5
  assertBuildOutputExists
6
- } from "./chunk-IWDISZ2R.js";
6
+ } from "./chunk-RFDDKVTR.js";
7
7
  import {
8
8
  SiteProvider
9
- } from "./chunk-NDFUPX6I.js";
9
+ } from "./chunk-MVNY3M6D.js";
10
10
  import {
11
11
  createLogger
12
- } from "./chunk-IMNXLCE5.js";
12
+ } from "./chunk-CDB46GX7.js";
13
13
  import {
14
14
  readAppManifestFile
15
- } from "./chunk-JKI4MP27.js";
15
+ } from "./chunk-ZDKKDXHS.js";
16
16
  import {
17
17
  ArmTagProvider,
18
18
  SiteOverrideProvider,
@@ -20,20 +20,20 @@ import {
20
20
  useARMClient,
21
21
  useSite,
22
22
  useSiteOverrideClient
23
- } from "./chunk-3KMSVIRS.js";
24
- import "./chunk-U4QPSXJP.js";
25
- import "./chunk-KCMEJP7H.js";
23
+ } from "./chunk-XIKZ45R2.js";
24
+ import "./chunk-TQB6XTPS.js";
25
+ import "./chunk-QVLKHYBX.js";
26
26
  import "./chunk-QZOQAFHK.js";
27
- import "./chunk-TTW4MEC3.js";
27
+ import "./chunk-FQ554CIC.js";
28
28
  import {
29
29
  getViteConfig,
30
30
  getViteServerUrl,
31
31
  updateAppManifestWithBaseUrl
32
- } from "./chunk-SP37PQ3I.js";
33
- import "./chunk-NUUM6HPA.js";
32
+ } from "./chunk-IWJPJJEU.js";
33
+ import "./chunk-JSDDG7MC.js";
34
34
  import {
35
35
  useProjectModel
36
- } from "./chunk-TSFNDZPX.js";
36
+ } from "./chunk-P5P6YINI.js";
37
37
  import {
38
38
  Box_default,
39
39
  InfoIcon,
@@ -47,7 +47,7 @@ import {
47
47
  require_react,
48
48
  useAsync,
49
49
  useTranslation
50
- } from "./chunk-XU5JBKO6.js";
50
+ } from "./chunk-2ROHQF53.js";
51
51
  import {
52
52
  __toESM,
53
53
  init_esm_shims
@@ -162,4 +162,4 @@ export {
162
162
  ServeEnvironmentProvider,
163
163
  useServeEnvironment
164
164
  };
165
- //# sourceMappingURL=ServeCommand-YJ5RHQZ4.js.map
165
+ //# sourceMappingURL=ServeCommand-HBKGVBCD.js.map
@@ -2,27 +2,27 @@ import { createRequire as _createRequire } from 'node:module';
2
2
  const require = _createRequire(import.meta.url);
3
3
  import {
4
4
  createLogger
5
- } from "./chunk-IMNXLCE5.js";
5
+ } from "./chunk-CDB46GX7.js";
6
6
  import {
7
7
  writeAppManifestFile
8
- } from "./chunk-JKI4MP27.js";
8
+ } from "./chunk-ZDKKDXHS.js";
9
9
  import {
10
10
  createAppManifest,
11
11
  getComponentSourceBuilder,
12
12
  getViteConfig,
13
13
  getViteConfig2,
14
14
  validateComponents
15
- } from "./chunk-SP37PQ3I.js";
16
- import "./chunk-NUUM6HPA.js";
15
+ } from "./chunk-IWJPJJEU.js";
16
+ import "./chunk-JSDDG7MC.js";
17
17
  import {
18
18
  API_BASEURL_PLACEHOLDER,
19
19
  DevCenterComponent
20
- } from "./chunk-TSFNDZPX.js";
20
+ } from "./chunk-P5P6YINI.js";
21
21
  import {
22
22
  CliError,
23
23
  CliErrorCode,
24
24
  require_lib
25
- } from "./chunk-XU5JBKO6.js";
25
+ } from "./chunk-2ROHQF53.js";
26
26
  import {
27
27
  __toESM,
28
28
  init_esm_shims
@@ -94,4 +94,4 @@ async function build(projectModel) {
94
94
  export {
95
95
  build
96
96
  };
97
- //# sourceMappingURL=build-Q5P6MZLW.js.map
97
+ //# sourceMappingURL=build-NYCCEFPM.js.map
@@ -11518,7 +11518,7 @@ var init_tslib_es6 = __esm({
11518
11518
  });
11519
11519
 
11520
11520
  // package.json
11521
- var version = "1.1.56";
11521
+ var version = "1.1.58";
11522
11522
 
11523
11523
  // ../cli-error/src/cli-error.ts
11524
11524
  init_esm_shims();
@@ -15199,11 +15199,11 @@ var renderer_default = renderer;
15199
15199
  // ../../node_modules/ink/build/log-update.js
15200
15200
  init_esm_shims();
15201
15201
 
15202
- // ../../node_modules/cli-cursor/index.js
15202
+ // ../../node_modules/ink/node_modules/cli-cursor/index.js
15203
15203
  init_esm_shims();
15204
15204
  import process6 from "node:process";
15205
15205
 
15206
- // ../../node_modules/cli-cursor/node_modules/restore-cursor/index.js
15206
+ // ../../node_modules/ink/node_modules/restore-cursor/index.js
15207
15207
  init_esm_shims();
15208
15208
  var import_onetime = __toESM(require_onetime(), 1);
15209
15209
  var import_signal_exit = __toESM(require_signal_exit(), 1);
@@ -15215,7 +15215,7 @@ var restoreCursor = (0, import_onetime.default)(() => {
15215
15215
  });
15216
15216
  var restore_cursor_default = restoreCursor;
15217
15217
 
15218
- // ../../node_modules/cli-cursor/index.js
15218
+ // ../../node_modules/ink/node_modules/cli-cursor/index.js
15219
15219
  var isHidden = false;
15220
15220
  var cliCursor = {};
15221
15221
  cliCursor.show = (writableStream = process6.stderr) => {
@@ -20504,6 +20504,7 @@ var testOverridesSchema = z.object({
20504
20504
  devEditorBaseUrl: z.string().url().optional(),
20505
20505
  inkDebug: z.boolean().optional(),
20506
20506
  minRetryTimeout: z.number().optional(),
20507
+ debounceQueueWait: z.number().optional(),
20507
20508
  sentryDsn: z.string().optional(),
20508
20509
  userBrowserTestEndpoint: z.string().url().optional(),
20509
20510
  dataDir: z.string().optional(),
@@ -22208,13 +22209,30 @@ var ErrorDetails = ({
22208
22209
  hint
22209
22210
  }) => /* @__PURE__ */ import_react58.default.createElement(Box_default, { flexDirection: "column" }, /* @__PURE__ */ import_react58.default.createElement(Alert, { type: "error" }, message), explanation && /* @__PURE__ */ import_react58.default.createElement(Alert, { type: "warning" }, explanation), hint && /* @__PURE__ */ import_react58.default.createElement(Box_default, { paddingTop: 1 }, /* @__PURE__ */ import_react58.default.createElement(Alert, { type: "insight" }, hint)));
22210
22211
 
22212
+ // ../cli-ui-kit/src/components/Notification.tsx
22213
+ init_esm_shims();
22214
+ var import_react59 = __toESM(require_react(), 1);
22215
+ var Notification = ({ children }) => {
22216
+ return /* @__PURE__ */ import_react59.default.createElement(Box_default, null, /* @__PURE__ */ import_react59.default.createElement(
22217
+ Box_default,
22218
+ {
22219
+ padding: 1,
22220
+ alignItems: "center",
22221
+ flexDirection: "column",
22222
+ borderColor: "yellowBright",
22223
+ borderStyle: "round"
22224
+ },
22225
+ children
22226
+ ));
22227
+ };
22228
+
22211
22229
  // ../cli-ui-kit/src/hooks/use-async.ts
22212
22230
  init_esm_shims();
22213
22231
  var import_variant14 = __toESM(require_lib(), 1);
22214
22232
 
22215
22233
  // ../../node_modules/react-async-hook/dist/react-async-hook.esm.js
22216
22234
  init_esm_shims();
22217
- var import_react59 = __toESM(require_react());
22235
+ var import_react60 = __toESM(require_react());
22218
22236
  function _extends() {
22219
22237
  _extends = Object.assign || function(target) {
22220
22238
  for (var i2 = 1; i2 < arguments.length; i2++) {
@@ -22231,13 +22249,13 @@ function _extends() {
22231
22249
  }
22232
22250
  var _iteratorSymbol = typeof Symbol !== "undefined" ? Symbol.iterator || (Symbol.iterator = Symbol("Symbol.iterator")) : "@@iterator";
22233
22251
  var _asyncIteratorSymbol = typeof Symbol !== "undefined" ? Symbol.asyncIterator || (Symbol.asyncIterator = Symbol("Symbol.asyncIterator")) : "@@asyncIterator";
22234
- var useIsomorphicLayoutEffect = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined" ? import_react59.useLayoutEffect : import_react59.useEffect;
22252
+ var useIsomorphicLayoutEffect = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined" ? import_react60.useLayoutEffect : import_react60.useEffect;
22235
22253
  var useGetter = function useGetter2(t3) {
22236
- var ref = (0, import_react59.useRef)(t3);
22254
+ var ref = (0, import_react60.useRef)(t3);
22237
22255
  useIsomorphicLayoutEffect(function() {
22238
22256
  ref.current = t3;
22239
22257
  });
22240
- return (0, import_react59.useCallback)(function() {
22258
+ return (0, import_react60.useCallback)(function() {
22241
22259
  return ref.current;
22242
22260
  }, [ref]);
22243
22261
  };
@@ -22290,22 +22308,22 @@ var normalizeOptions = function normalizeOptions2(options) {
22290
22308
  return _extends({}, DefaultOptions, {}, options);
22291
22309
  };
22292
22310
  var useAsyncState = function useAsyncState2(options) {
22293
- var _useState = (0, import_react59.useState)(function() {
22311
+ var _useState = (0, import_react60.useState)(function() {
22294
22312
  return options.initialState(options);
22295
22313
  }), value2 = _useState[0], setValue = _useState[1];
22296
- var reset = (0, import_react59.useCallback)(function() {
22314
+ var reset = (0, import_react60.useCallback)(function() {
22297
22315
  return setValue(options.initialState(options));
22298
22316
  }, [setValue, options]);
22299
- var setLoading = (0, import_react59.useCallback)(function() {
22317
+ var setLoading = (0, import_react60.useCallback)(function() {
22300
22318
  return setValue(options.setLoading(value2));
22301
22319
  }, [value2, setValue]);
22302
- var setResult = (0, import_react59.useCallback)(function(result) {
22320
+ var setResult = (0, import_react60.useCallback)(function(result) {
22303
22321
  return setValue(options.setResult(result, value2));
22304
22322
  }, [value2, setValue]);
22305
- var setError = (0, import_react59.useCallback)(function(error) {
22323
+ var setError = (0, import_react60.useCallback)(function(error) {
22306
22324
  return setValue(options.setError(error, value2));
22307
22325
  }, [value2, setValue]);
22308
- var merge = (0, import_react59.useCallback)(function(state) {
22326
+ var merge = (0, import_react60.useCallback)(function(state) {
22309
22327
  return setValue(_extends({}, value2, {}, state));
22310
22328
  }, [value2, setValue]);
22311
22329
  return {
@@ -22319,8 +22337,8 @@ var useAsyncState = function useAsyncState2(options) {
22319
22337
  };
22320
22338
  };
22321
22339
  var useIsMounted = function useIsMounted2() {
22322
- var ref = (0, import_react59.useRef)(false);
22323
- (0, import_react59.useEffect)(function() {
22340
+ var ref = (0, import_react60.useRef)(false);
22341
+ (0, import_react60.useEffect)(function() {
22324
22342
  ref.current = true;
22325
22343
  return function() {
22326
22344
  ref.current = false;
@@ -22331,7 +22349,7 @@ var useIsMounted = function useIsMounted2() {
22331
22349
  };
22332
22350
  };
22333
22351
  var useCurrentPromise = function useCurrentPromise2() {
22334
- var ref = (0, import_react59.useRef)(null);
22352
+ var ref = (0, import_react60.useRef)(null);
22335
22353
  return {
22336
22354
  set: function set(promise) {
22337
22355
  return ref.current = promise;
@@ -22347,7 +22365,7 @@ var useCurrentPromise = function useCurrentPromise2() {
22347
22365
  var useAsyncInternal = function useAsyncInternal2(asyncFunction, params, options) {
22348
22366
  !params && (params = []);
22349
22367
  var normalizedOptions = normalizeOptions(options);
22350
- var _useState2 = (0, import_react59.useState)(null), currentParams = _useState2[0], setCurrentParams = _useState2[1];
22368
+ var _useState2 = (0, import_react60.useState)(null), currentParams = _useState2[0], setCurrentParams = _useState2[1];
22351
22369
  var AsyncState = useAsyncState(normalizedOptions);
22352
22370
  var isMounted = useIsMounted();
22353
22371
  var CurrentPromise = useCurrentPromise();
@@ -22390,11 +22408,11 @@ var useAsyncInternal = function useAsyncInternal2(asyncFunction, params, options
22390
22408
  return promise;
22391
22409
  };
22392
22410
  var getLatestExecuteAsyncOperation = useGetter(executeAsyncOperation);
22393
- var executeAsyncOperationMemo = (0, import_react59.useCallback)(function() {
22411
+ var executeAsyncOperationMemo = (0, import_react60.useCallback)(function() {
22394
22412
  return getLatestExecuteAsyncOperation().apply(void 0, arguments);
22395
22413
  }, [getLatestExecuteAsyncOperation]);
22396
22414
  var isMounting = !isMounted();
22397
- (0, import_react59.useEffect)(function() {
22415
+ (0, import_react60.useEffect)(function() {
22398
22416
  var execute = function execute2() {
22399
22417
  return getLatestExecuteAsyncOperation().apply(void 0, params);
22400
22418
  };
@@ -22427,7 +22445,7 @@ var useAsyncCallback = function useAsyncCallback2(asyncFunction, options) {
22427
22445
  };
22428
22446
 
22429
22447
  // ../cli-ui-kit/src/hooks/use-async.ts
22430
- var import_react60 = __toESM(require_react(), 1);
22448
+ var import_react61 = __toESM(require_react(), 1);
22431
22449
  var AsyncStatus = (0, import_variant14.variant)(
22432
22450
  (0, import_variant14.onTerms)(({ T: _T }) => ({
22433
22451
  Error: (error) => ({ error }),
@@ -22445,7 +22463,7 @@ var AsyncCallbackStatus = (0, import_variant14.variant)(
22445
22463
  );
22446
22464
  var useAsync2 = (fn, args, options) => {
22447
22465
  const exit = useExit();
22448
- const abortController = (0, import_react60.useMemo)(() => new AbortController(), []);
22466
+ const abortController = (0, import_react61.useMemo)(() => new AbortController(), []);
22449
22467
  const { result, error, status, merge } = useAsync(
22450
22468
  fn.bind(null, { signal: abortController.signal }),
22451
22469
  args,
@@ -22454,7 +22472,7 @@ var useAsync2 = (fn, args, options) => {
22454
22472
  ...options ?? {}
22455
22473
  }
22456
22474
  );
22457
- (0, import_react60.useEffect)(() => {
22475
+ (0, import_react61.useEffect)(() => {
22458
22476
  return () => {
22459
22477
  abortController.abort();
22460
22478
  };
@@ -22474,7 +22492,7 @@ var useAsync2 = (fn, args, options) => {
22474
22492
  };
22475
22493
  var useAsyncCallback3 = (fn, options) => {
22476
22494
  const exit = useExit();
22477
- const abortController = (0, import_react60.useMemo)(() => new AbortController(), []);
22495
+ const abortController = (0, import_react61.useMemo)(() => new AbortController(), []);
22478
22496
  const { result, error, status, merge, execute } = useAsyncCallback(
22479
22497
  fn.bind(null, { signal: abortController.signal }),
22480
22498
  {
@@ -22482,7 +22500,7 @@ var useAsyncCallback3 = (fn, options) => {
22482
22500
  ...options ?? {}
22483
22501
  }
22484
22502
  );
22485
- (0, import_react60.useEffect)(() => {
22503
+ (0, import_react61.useEffect)(() => {
22486
22504
  return () => {
22487
22505
  abortController.abort();
22488
22506
  };
@@ -22512,18 +22530,18 @@ var useAsyncCallback3 = (fn, options) => {
22512
22530
 
22513
22531
  // ../cli-i18n/src/I18nProvider.tsx
22514
22532
  init_esm_shims();
22515
- var import_react69 = __toESM(require_react(), 1);
22533
+ var import_react70 = __toESM(require_react(), 1);
22516
22534
 
22517
22535
  // ../../node_modules/react-i18next/dist/es/index.js
22518
22536
  init_esm_shims();
22519
22537
 
22520
22538
  // ../../node_modules/react-i18next/dist/es/Trans.js
22521
22539
  init_esm_shims();
22522
- var import_react63 = __toESM(require_react(), 1);
22540
+ var import_react64 = __toESM(require_react(), 1);
22523
22541
 
22524
22542
  // ../../node_modules/react-i18next/dist/es/TransWithoutContext.js
22525
22543
  init_esm_shims();
22526
- var import_react61 = __toESM(require_react(), 1);
22544
+ var import_react62 = __toESM(require_react(), 1);
22527
22545
 
22528
22546
  // ../../node_modules/html-parse-stringify/dist/html-parse-stringify.module.js
22529
22547
  init_esm_shims();
@@ -22738,7 +22756,7 @@ var getChildren = (node) => {
22738
22756
  const children = node.props ? node.props.children : node.children;
22739
22757
  return node.props && node.props.i18nIsDynamicList ? getAsArray(children) : children;
22740
22758
  };
22741
- var hasValidReactChildren = (children) => Array.isArray(children) && children.every(import_react61.isValidElement);
22759
+ var hasValidReactChildren = (children) => Array.isArray(children) && children.every(import_react62.isValidElement);
22742
22760
  var getAsArray = (data) => Array.isArray(data) ? data : [data];
22743
22761
  var mergeProps = (source, target) => {
22744
22762
  const newTarget = {
@@ -22755,7 +22773,7 @@ var nodesToString = (children, i18nOptions) => {
22755
22773
  childrenArray.forEach((child, childIndex) => {
22756
22774
  if (isString(child)) {
22757
22775
  stringNode += `${child}`;
22758
- } else if ((0, import_react61.isValidElement)(child)) {
22776
+ } else if ((0, import_react62.isValidElement)(child)) {
22759
22777
  const {
22760
22778
  props,
22761
22779
  type
@@ -22804,7 +22822,7 @@ var renderNodes = (children, targetString, i18n, i18nOptions, combinedTOpts, sho
22804
22822
  childrenArray.forEach((child) => {
22805
22823
  if (isString(child)) return;
22806
22824
  if (hasChildren(child)) getData(getChildren(child));
22807
- else if (isObject(child) && !(0, import_react61.isValidElement)(child)) Object.assign(data, child);
22825
+ else if (isObject(child) && !(0, import_react62.isValidElement)(child)) Object.assign(data, child);
22808
22826
  });
22809
22827
  };
22810
22828
  getData(children);
@@ -22821,16 +22839,16 @@ var renderNodes = (children, targetString, i18n, i18nOptions, combinedTOpts, sho
22821
22839
  const pushTranslatedJSX = (child, inner, mem, i2, isVoid) => {
22822
22840
  if (child.dummy) {
22823
22841
  child.children = inner;
22824
- mem.push((0, import_react61.cloneElement)(child, {
22842
+ mem.push((0, import_react62.cloneElement)(child, {
22825
22843
  key: i2
22826
22844
  }, isVoid ? void 0 : inner));
22827
22845
  } else {
22828
- mem.push(...import_react61.Children.map([child], (c2) => {
22846
+ mem.push(...import_react62.Children.map([child], (c2) => {
22829
22847
  const props = {
22830
22848
  ...c2.props
22831
22849
  };
22832
22850
  delete props.i18nIsDynamicList;
22833
- return (0, import_react61.createElement)(c2.type, {
22851
+ return (0, import_react62.createElement)(c2.type, {
22834
22852
  ...props,
22835
22853
  key: i2,
22836
22854
  ref: c2.ref
@@ -22850,7 +22868,7 @@ var renderNodes = (children, targetString, i18n, i18nOptions, combinedTOpts, sho
22850
22868
  const child = Object.keys(node.attrs).length !== 0 ? mergeProps({
22851
22869
  props: node.attrs
22852
22870
  }, tmp) : tmp;
22853
- const isElement = (0, import_react61.isValidElement)(child);
22871
+ const isElement = (0, import_react62.isValidElement)(child);
22854
22872
  const isValidTranslationWithChildren = isElement && hasChildren(node, true) && !node.voidElement;
22855
22873
  const isEmptyTransWithHTML = emptyChildrenButNeedsHandling && isObject(child) && child.dummy && !isElement;
22856
22874
  const isKnownComponent = isObject(children) && Object.hasOwnProperty.call(children, node.name);
@@ -22869,12 +22887,12 @@ var renderNodes = (children, targetString, i18n, i18nOptions, combinedTOpts, sho
22869
22887
  pushTranslatedJSX(child, inner, mem, i2, node.voidElement);
22870
22888
  } else if (i18nOptions.transSupportBasicHtmlNodes && keepArray.indexOf(node.name) > -1) {
22871
22889
  if (node.voidElement) {
22872
- mem.push((0, import_react61.createElement)(node.name, {
22890
+ mem.push((0, import_react62.createElement)(node.name, {
22873
22891
  key: `${node.name}-${i2}`
22874
22892
  }));
22875
22893
  } else {
22876
22894
  const inner = mapAST(reactNodes, node.children, rootReactNode);
22877
- mem.push((0, import_react61.createElement)(node.name, {
22895
+ mem.push((0, import_react62.createElement)(node.name, {
22878
22896
  key: `${node.name}-${i2}`
22879
22897
  }, inner));
22880
22898
  }
@@ -22894,7 +22912,7 @@ var renderNodes = (children, targetString, i18n, i18nOptions, combinedTOpts, sho
22894
22912
  const wrapTextNodes = i18nOptions.transWrapTextNodes;
22895
22913
  const content = shouldUnescape ? i18nOptions.unescape(i18n.services.interpolator.interpolate(node.content, opts, i18n.language)) : i18n.services.interpolator.interpolate(node.content, opts, i18n.language);
22896
22914
  if (wrapTextNodes) {
22897
- mem.push((0, import_react61.createElement)(wrapTextNodes, {
22915
+ mem.push((0, import_react62.createElement)(wrapTextNodes, {
22898
22916
  key: `${node.name}-${i2}`
22899
22917
  }, content));
22900
22918
  } else {
@@ -22975,19 +22993,19 @@ function Trans(_ref) {
22975
22993
  const comp = components[c2];
22976
22994
  if (typeof comp.type === "function" || !comp.props || !comp.props.children || translation.indexOf(`${c2}/>`) < 0 && translation.indexOf(`${c2} />`) < 0) return;
22977
22995
  function Componentized() {
22978
- return (0, import_react61.createElement)(import_react61.Fragment, null, comp);
22996
+ return (0, import_react62.createElement)(import_react62.Fragment, null, comp);
22979
22997
  }
22980
- components[c2] = (0, import_react61.createElement)(Componentized);
22998
+ components[c2] = (0, import_react62.createElement)(Componentized);
22981
22999
  });
22982
23000
  }
22983
23001
  const content = renderNodes(components || children, translation, i18n, reactI18nextOptions, combinedTOpts, shouldUnescape);
22984
23002
  const useAsParent = parent !== void 0 ? parent : reactI18nextOptions.defaultTransParent;
22985
- return useAsParent ? (0, import_react61.createElement)(useAsParent, additionalProps, content) : content;
23003
+ return useAsParent ? (0, import_react62.createElement)(useAsParent, additionalProps, content) : content;
22986
23004
  }
22987
23005
 
22988
23006
  // ../../node_modules/react-i18next/dist/es/context.js
22989
23007
  init_esm_shims();
22990
- var import_react62 = __toESM(require_react(), 1);
23008
+ var import_react63 = __toESM(require_react(), 1);
22991
23009
 
22992
23010
  // ../../node_modules/react-i18next/dist/es/initReactI18next.js
22993
23011
  init_esm_shims();
@@ -23000,7 +23018,7 @@ var initReactI18next = {
23000
23018
  };
23001
23019
 
23002
23020
  // ../../node_modules/react-i18next/dist/es/context.js
23003
- var I18nContext = (0, import_react62.createContext)();
23021
+ var I18nContext = (0, import_react63.createContext)();
23004
23022
  var ReportNamespaces = class {
23005
23023
  constructor() {
23006
23024
  this.usedNamespaces = {};
@@ -23034,7 +23052,7 @@ function Trans2(_ref) {
23034
23052
  const {
23035
23053
  i18n: i18nFromContext,
23036
23054
  defaultNS: defaultNSFromContext
23037
- } = (0, import_react63.useContext)(I18nContext) || {};
23055
+ } = (0, import_react64.useContext)(I18nContext) || {};
23038
23056
  const i18n = i18nFromProps || i18nFromContext || getI18n();
23039
23057
  const t3 = tFromProps || i18n && i18n.t.bind(i18n);
23040
23058
  return Trans({
@@ -23057,16 +23075,16 @@ function Trans2(_ref) {
23057
23075
 
23058
23076
  // ../../node_modules/react-i18next/dist/es/useTranslation.js
23059
23077
  init_esm_shims();
23060
- var import_react64 = __toESM(require_react(), 1);
23078
+ var import_react65 = __toESM(require_react(), 1);
23061
23079
  var usePrevious = (value2, ignore) => {
23062
- const ref = (0, import_react64.useRef)();
23063
- (0, import_react64.useEffect)(() => {
23080
+ const ref = (0, import_react65.useRef)();
23081
+ (0, import_react65.useEffect)(() => {
23064
23082
  ref.current = ignore ? ref.current : value2;
23065
23083
  }, [value2, ignore]);
23066
23084
  return ref.current;
23067
23085
  };
23068
23086
  var alwaysNewT = (i18n, language, namespace, keyPrefix) => i18n.getFixedT(language, namespace, keyPrefix);
23069
- var useMemoizedT = (i18n, language, namespace, keyPrefix) => (0, import_react64.useCallback)(alwaysNewT(i18n, language, namespace, keyPrefix), [i18n, language, namespace, keyPrefix]);
23087
+ var useMemoizedT = (i18n, language, namespace, keyPrefix) => (0, import_react65.useCallback)(alwaysNewT(i18n, language, namespace, keyPrefix), [i18n, language, namespace, keyPrefix]);
23070
23088
  var useTranslation = function(ns) {
23071
23089
  let props = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
23072
23090
  const {
@@ -23075,7 +23093,7 @@ var useTranslation = function(ns) {
23075
23093
  const {
23076
23094
  i18n: i18nFromContext,
23077
23095
  defaultNS: defaultNSFromContext
23078
- } = (0, import_react64.useContext)(I18nContext) || {};
23096
+ } = (0, import_react65.useContext)(I18nContext) || {};
23079
23097
  const i18n = i18nFromProps || i18nFromContext || getI18n();
23080
23098
  if (i18n && !i18n.reportNamespaces) i18n.reportNamespaces = new ReportNamespaces();
23081
23099
  if (!i18n) {
@@ -23108,12 +23126,12 @@ var useTranslation = function(ns) {
23108
23126
  const memoGetT = useMemoizedT(i18n, props.lng || null, i18nOptions.nsMode === "fallback" ? namespaces : namespaces[0], keyPrefix);
23109
23127
  const getT = () => memoGetT;
23110
23128
  const getNewT = () => alwaysNewT(i18n, props.lng || null, i18nOptions.nsMode === "fallback" ? namespaces : namespaces[0], keyPrefix);
23111
- const [t3, setT] = (0, import_react64.useState)(getT);
23129
+ const [t3, setT] = (0, import_react65.useState)(getT);
23112
23130
  let joinedNS = namespaces.join();
23113
23131
  if (props.lng) joinedNS = `${props.lng}${joinedNS}`;
23114
23132
  const previousJoinedNS = usePrevious(joinedNS);
23115
- const isMounted = (0, import_react64.useRef)(true);
23116
- (0, import_react64.useEffect)(() => {
23133
+ const isMounted = (0, import_react65.useRef)(true);
23134
+ (0, import_react65.useEffect)(() => {
23117
23135
  const {
23118
23136
  bindI18n,
23119
23137
  bindI18nStore
@@ -23144,7 +23162,7 @@ var useTranslation = function(ns) {
23144
23162
  if (bindI18nStore && i18n) bindI18nStore.split(" ").forEach((e2) => i18n.store.off(e2, boundReset));
23145
23163
  };
23146
23164
  }, [i18n, joinedNS]);
23147
- (0, import_react64.useEffect)(() => {
23165
+ (0, import_react65.useEffect)(() => {
23148
23166
  if (isMounted.current && ready) {
23149
23167
  setT(getT);
23150
23168
  }
@@ -23166,36 +23184,36 @@ var useTranslation = function(ns) {
23166
23184
 
23167
23185
  // ../../node_modules/react-i18next/dist/es/withTranslation.js
23168
23186
  init_esm_shims();
23169
- var import_react65 = __toESM(require_react(), 1);
23187
+ var import_react66 = __toESM(require_react(), 1);
23170
23188
 
23171
23189
  // ../../node_modules/react-i18next/dist/es/Translation.js
23172
23190
  init_esm_shims();
23173
23191
 
23174
23192
  // ../../node_modules/react-i18next/dist/es/I18nextProvider.js
23175
23193
  init_esm_shims();
23176
- var import_react66 = __toESM(require_react(), 1);
23194
+ var import_react67 = __toESM(require_react(), 1);
23177
23195
  function I18nextProvider(_ref) {
23178
23196
  let {
23179
23197
  i18n,
23180
23198
  defaultNS,
23181
23199
  children
23182
23200
  } = _ref;
23183
- const value2 = (0, import_react66.useMemo)(() => ({
23201
+ const value2 = (0, import_react67.useMemo)(() => ({
23184
23202
  i18n,
23185
23203
  defaultNS
23186
23204
  }), [i18n, defaultNS]);
23187
- return (0, import_react66.createElement)(I18nContext.Provider, {
23205
+ return (0, import_react67.createElement)(I18nContext.Provider, {
23188
23206
  value: value2
23189
23207
  }, children);
23190
23208
  }
23191
23209
 
23192
23210
  // ../../node_modules/react-i18next/dist/es/withSSR.js
23193
23211
  init_esm_shims();
23194
- var import_react68 = __toESM(require_react(), 1);
23212
+ var import_react69 = __toESM(require_react(), 1);
23195
23213
 
23196
23214
  // ../../node_modules/react-i18next/dist/es/useSSR.js
23197
23215
  init_esm_shims();
23198
- var import_react67 = __toESM(require_react(), 1);
23216
+ var import_react68 = __toESM(require_react(), 1);
23199
23217
 
23200
23218
  // ../cli-i18n/src/create-i18n.ts
23201
23219
  init_esm_shims();
@@ -29119,8 +29137,8 @@ var I18nProvider = ({
29119
29137
  messages,
29120
29138
  i18n: initialI18n
29121
29139
  }) => {
29122
- const [i18n] = (0, import_react69.useState)(() => initialI18n ?? createI18n(messages));
29123
- return /* @__PURE__ */ import_react69.default.createElement(I18nextProvider, { i18n }, children);
29140
+ const [i18n] = (0, import_react70.useState)(() => initialI18n ?? createI18n(messages));
29141
+ return /* @__PURE__ */ import_react70.default.createElement(I18nextProvider, { i18n }, children);
29124
29142
  };
29125
29143
 
29126
29144
  // ../cli-i18n/src/index.ts
@@ -29170,6 +29188,7 @@ export {
29170
29188
  Link,
29171
29189
  Spinner2 as Spinner,
29172
29190
  ErrorDetails,
29191
+ Notification,
29173
29192
  useExit,
29174
29193
  AsyncCallbackStatus,
29175
29194
  useAsync2 as useAsync,
@@ -29227,4 +29246,4 @@ react-reconciler/cjs/react-reconciler-constants.production.min.js:
29227
29246
  * LICENSE file in the root directory of this source tree.
29228
29247
  *)
29229
29248
  */
29230
- //# sourceMappingURL=chunk-XU5JBKO6.js.map
29249
+ //# sourceMappingURL=chunk-2ROHQF53.js.map