@crowdin/app-project-module 3.0.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/out/app-test/integration/index.js +3 -3
  2. package/out/app-test/integration/mocks/mock-axios.js +5 -4
  3. package/out/app-test/integration/mocks/mock-crowdin-api-client.js +6 -6
  4. package/out/app-test/integration/update-crowdin.js +5 -5
  5. package/out/app-test/integration/update-integration.js +5 -5
  6. package/out/modules/integration/handlers/user-error-detail.d.ts +2 -0
  7. package/out/modules/integration/handlers/user-error-detail.js +48 -0
  8. package/out/modules/integration/handlers/user-errors.d.ts +6 -0
  9. package/out/modules/integration/handlers/user-errors.js +39 -17
  10. package/out/modules/integration/index.js +8 -0
  11. package/out/static/ui/error.bundle.js +286 -91
  12. package/out/static/ui/error.bundle.js.map +1 -1
  13. package/out/static/ui/form.bundle.js +398 -289
  14. package/out/static/ui/form.bundle.js.map +1 -1
  15. package/out/static/ui/login.bundle.js +351 -121
  16. package/out/static/ui/login.bundle.js.map +1 -1
  17. package/out/static/ui/main.bundle.js +832 -386
  18. package/out/static/ui/main.bundle.js.map +1 -1
  19. package/out/static/ui/subscription.bundle.js +277 -88
  20. package/out/static/ui/subscription.bundle.js.map +1 -1
  21. package/out/storage/drizzle/d1/index.js +2 -1
  22. package/out/storage/drizzle/d1/migrations/user-errors-indexes.d.ts +7 -0
  23. package/out/storage/drizzle/d1/migrations/user-errors-indexes.js +27 -0
  24. package/out/storage/drizzle/index.d.ts +8 -1
  25. package/out/storage/drizzle/index.js +75 -4
  26. package/out/storage/drizzle/postgresql/config.d.ts +3 -2
  27. package/out/storage/drizzle/postgresql/config.js +2 -1
  28. package/out/storage/drizzle/postgresql/migrations/0003_user_errors_pagination_index.sql +5 -0
  29. package/out/storage/drizzle/postgresql/migrations/meta/0003_snapshot.json +646 -0
  30. package/out/storage/drizzle/postgresql/migrations/meta/_journal.json +7 -0
  31. package/out/storage/drizzle/sqlite/config.d.ts +3 -2
  32. package/out/storage/drizzle/sqlite/config.js +2 -1
  33. package/out/storage/drizzle/sqlite/migrations/0002_user_errors_indexes.sql +4 -0
  34. package/out/storage/drizzle/sqlite/migrations/meta/0002_snapshot.json +687 -0
  35. package/out/storage/drizzle/sqlite/migrations/meta/_journal.json +7 -0
  36. package/out/storage/types.d.ts +30 -0
  37. package/package.json +12 -11
@@ -28008,77 +28008,192 @@
28008
28008
  }
28009
28009
 
28010
28010
  /**
28011
- * @license lucide-react v1.27.0 - ISC
28011
+ * @license lucide-react v1.44.0 - ISC
28012
28012
  *
28013
28013
  * This source code is licensed under the ISC license.
28014
28014
  * See the LICENSE file in the root directory of this source tree.
28015
28015
  */
28016
28016
 
28017
- const mergeClasses$1 = (...classes) => classes.filter((className, index, array) => {
28018
- return Boolean(className) && className.trim() !== "" && array.indexOf(className) === index;
28019
- }).join(" ").trim();
28017
+ const toKebabCase = (string) => string?.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
28020
28018
 
28021
28019
  /**
28022
- * @license lucide-react v1.27.0 - ISC
28020
+ * @license lucide-react v1.44.0 - ISC
28023
28021
  *
28024
28022
  * This source code is licensed under the ISC license.
28025
28023
  * See the LICENSE file in the root directory of this source tree.
28026
28024
  */
28027
28025
 
28028
- const toKebabCase$1 = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
28026
+
28027
+ function toLucideIconData(iconName, iconNode, aliases = []) {
28028
+ if (iconNode == null) {
28029
+ throw new Error("[lucide]: iconNode is required when icon name is used");
28030
+ }
28031
+ return {
28032
+ name: toKebabCase(iconName),
28033
+ size: 24,
28034
+ node: iconNode,
28035
+ ...aliases.length > 0 ? { aliases } : {}
28036
+ };
28037
+ }
28029
28038
 
28030
28039
  /**
28031
- * @license lucide-react v1.27.0 - ISC
28040
+ * @license lucide-react v1.44.0 - ISC
28032
28041
  *
28033
28042
  * This source code is licensed under the ISC license.
28034
28043
  * See the LICENSE file in the root directory of this source tree.
28035
28044
  */
28036
28045
 
28037
- const toCamelCase$1 = (string) => string.replace(
28038
- /^([A-Z])|[\s-_]+(\w)/g,
28039
- (match, p1, p2) => p2 ? p2.toUpperCase() : p1.toLowerCase()
28040
- );
28046
+ const toCamelCase = (string) => {
28047
+ let out = "";
28048
+ let upperNext = false;
28049
+ for (const ch of string) {
28050
+ if (ch === "-" || ch === "_" || ch <= " ") {
28051
+ upperNext = out.length > 0;
28052
+ continue;
28053
+ }
28054
+ if (out.length === 0) {
28055
+ out += ch.toLowerCase();
28056
+ } else {
28057
+ out += upperNext ? ch.toUpperCase() : ch;
28058
+ }
28059
+ upperNext = false;
28060
+ }
28061
+ return out;
28062
+ };
28041
28063
 
28042
28064
  /**
28043
- * @license lucide-react v1.27.0 - ISC
28065
+ * @license lucide-react v1.44.0 - ISC
28044
28066
  *
28045
28067
  * This source code is licensed under the ISC license.
28046
28068
  * See the LICENSE file in the root directory of this source tree.
28047
28069
  */
28048
28070
 
28049
28071
 
28050
- const toPascalCase$1 = (string) => {
28051
- const camelCase = toCamelCase$1(string);
28072
+ const toPascalCase = (string) => {
28073
+ const camelCase = toCamelCase(string);
28052
28074
  return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);
28053
28075
  };
28054
28076
 
28055
28077
  /**
28056
- * @license lucide-react v1.27.0 - ISC
28078
+ * @license lucide-react v1.44.0 - ISC
28079
+ *
28080
+ * This source code is licensed under the ISC license.
28081
+ * See the LICENSE file in the root directory of this source tree.
28082
+ */
28083
+
28084
+ const mergeClasses = (...classes) => classes.filter((className, index, array) => {
28085
+ return Boolean(className) && className.trim() !== "" && array.indexOf(className) === index;
28086
+ }).join(" ").trim();
28087
+
28088
+ /**
28089
+ * @license lucide-react v1.44.0 - ISC
28057
28090
  *
28058
28091
  * This source code is licensed under the ISC license.
28059
28092
  * See the LICENSE file in the root directory of this source tree.
28060
28093
  */
28061
28094
 
28062
- var defaultAttributes$1 = {
28095
+ const defaultAttributes = {
28063
28096
  xmlns: "http://www.w3.org/2000/svg",
28064
28097
  width: 24,
28065
28098
  height: 24,
28066
28099
  viewBox: "0 0 24 24",
28067
28100
  fill: "none",
28068
28101
  stroke: "currentColor",
28069
- strokeWidth: 2,
28070
- strokeLinecap: "round",
28071
- strokeLinejoin: "round"
28102
+ "stroke-width": 2,
28103
+ "stroke-linecap": "round",
28104
+ "stroke-linejoin": "round"
28072
28105
  };
28073
28106
 
28074
28107
  /**
28075
- * @license lucide-react v1.27.0 - ISC
28108
+ * @license lucide-react v1.44.0 - ISC
28076
28109
  *
28077
28110
  * This source code is licensed under the ISC license.
28078
28111
  * See the LICENSE file in the root directory of this source tree.
28079
28112
  */
28080
28113
 
28081
- const hasA11yProp$1 = (props) => {
28114
+
28115
+ function isDefined(value) {
28116
+ return value !== null && value !== void 0;
28117
+ }
28118
+ function buildLucideIconNode(icon, params = {}) {
28119
+ const attributeNames = params.attributeNames ?? {};
28120
+ const getAttributeName = (attributeName) => attributeNames[attributeName] ?? attributeName;
28121
+ const viewBoxWidth = icon.size ?? icon.width ?? defaultAttributes["width"];
28122
+ const viewBoxHeight = icon.size ?? icon.height ?? defaultAttributes["height"];
28123
+ const aliasClassNames = icon.aliases?.filter((alias) => typeof alias === "string" && alias.trim() !== "").map((alias) => `lucide-${alias}`) ?? [];
28124
+ const iconClassNames = [...icon.name ? [`lucide-${icon.name}`] : [], ...aliasClassNames];
28125
+ const classNamesFromClassName = params.className?.split(" ").filter(Boolean) ?? [];
28126
+ const className = params.includeDefaultClasses === false ? mergeClasses(...classNamesFromClassName) : mergeClasses("lucide", ...iconClassNames, ...classNamesFromClassName);
28127
+ const calculatedStrokeWidth = params.absoluteStrokeWidth ? Number(params.strokeWidth ?? defaultAttributes["stroke-width"]) * Number(icon.size ?? icon.width ?? defaultAttributes["width"]) / Number(params.size ?? params.width ?? defaultAttributes["width"]) : params.strokeWidth ?? defaultAttributes["stroke-width"];
28128
+ const attributes = {
28129
+ ...Object.entries(defaultAttributes).reduce((attrs, [attrName, value]) => {
28130
+ attrs[getAttributeName(attrName)] = value;
28131
+ return attrs;
28132
+ }, {}),
28133
+ ..."color" in params && params.color && {
28134
+ [getAttributeName("stroke")]: params.color
28135
+ },
28136
+ ..."size" in params && isDefined(params.size) && {
28137
+ [getAttributeName("width")]: params.size,
28138
+ [getAttributeName("height")]: params.size
28139
+ },
28140
+ ..."width" in params && isDefined(params.width) && {
28141
+ [getAttributeName("width")]: params.width
28142
+ },
28143
+ ..."height" in params && isDefined(params.height) && {
28144
+ [getAttributeName("height")]: params.height
28145
+ },
28146
+ [getAttributeName("stroke-width")]: calculatedStrokeWidth,
28147
+ ...className && {
28148
+ [getAttributeName("class")]: className
28149
+ },
28150
+ [getAttributeName("viewBox")]: `0 0 ${viewBoxWidth} ${viewBoxHeight}`,
28151
+ ...params.hasA11yProp === false ? {
28152
+ [getAttributeName("aria-hidden")]: "true"
28153
+ } : {},
28154
+ ..."attributes" in params && params.attributes
28155
+ };
28156
+ return [
28157
+ "svg",
28158
+ attributes,
28159
+ icon.node.map((child) => {
28160
+ const [name, attrs, children] = child;
28161
+ const nextAttrs = params.nonScalingStroke ? { [getAttributeName("vector-effect")]: "non-scaling-stroke", ...attrs } : attrs;
28162
+ return children ? [name, nextAttrs, children] : [name, nextAttrs];
28163
+ })
28164
+ ];
28165
+ }
28166
+
28167
+ /**
28168
+ * @license lucide-react v1.44.0 - ISC
28169
+ *
28170
+ * This source code is licensed under the ISC license.
28171
+ * See the LICENSE file in the root directory of this source tree.
28172
+ */
28173
+
28174
+
28175
+ function buildLucideIconForReact(icon, params = {}) {
28176
+ return buildLucideIconNode(icon, {
28177
+ ...params,
28178
+ attributeNames: {
28179
+ ...params.attributeNames,
28180
+ class: "className",
28181
+ "stroke-width": "strokeWidth",
28182
+ "stroke-linecap": "strokeLinecap",
28183
+ "stroke-linejoin": "strokeLinejoin",
28184
+ "vector-effect": "vectorEffect"
28185
+ }
28186
+ });
28187
+ }
28188
+
28189
+ /**
28190
+ * @license lucide-react v1.44.0 - ISC
28191
+ *
28192
+ * This source code is licensed under the ISC license.
28193
+ * See the LICENSE file in the root directory of this source tree.
28194
+ */
28195
+
28196
+ const hasA11yProp = (props) => {
28082
28197
  for (const prop in props) {
28083
28198
  if (prop.startsWith("aria-") || prop === "role" || prop === "title") {
28084
28199
  return true;
@@ -28090,31 +28205,53 @@
28090
28205
  const LucideContext = reactExports.createContext({});
28091
28206
  const useLucideContext = () => reactExports.useContext(LucideContext);
28092
28207
 
28093
- const Icon$1 = reactExports.forwardRef(
28094
- ({ color, size, strokeWidth, absoluteStrokeWidth, className = "", children, iconNode, ...rest }, ref) => {
28208
+ const Icon = reactExports.forwardRef(
28209
+ ({
28210
+ color,
28211
+ size,
28212
+ width,
28213
+ height,
28214
+ strokeWidth,
28215
+ absoluteStrokeWidth,
28216
+ nonScalingStroke,
28217
+ className = "",
28218
+ children,
28219
+ iconNode = [],
28220
+ icon = {
28221
+ node: iconNode,
28222
+ aliases: [],
28223
+ size: 24
28224
+ },
28225
+ ...rest
28226
+ }, ref) => {
28095
28227
  const {
28096
28228
  size: contextSize = 24,
28097
28229
  strokeWidth: contextStrokeWidth = 2,
28098
28230
  absoluteStrokeWidth: contextAbsoluteStrokeWidth = false,
28231
+ nonScalingStroke: contextNonScalingStroke = false,
28099
28232
  color: contextColor = "currentColor",
28100
28233
  className: contextClass = ""
28101
28234
  } = useLucideContext() ?? {};
28102
- const calculatedStrokeWidth = absoluteStrokeWidth ?? contextAbsoluteStrokeWidth ? Number(strokeWidth ?? contextStrokeWidth) * 24 / Number(size ?? contextSize) : strokeWidth ?? contextStrokeWidth;
28235
+ const hasAccessibleProp = Boolean(children) || hasA11yProp(rest);
28236
+ const [name, svgAttributes, builtIconNode = []] = buildLucideIconForReact(icon, {
28237
+ color: color ?? contextColor,
28238
+ width: width ?? size ?? contextSize,
28239
+ height: height ?? size ?? contextSize,
28240
+ strokeWidth: strokeWidth ?? contextStrokeWidth,
28241
+ absoluteStrokeWidth: absoluteStrokeWidth ?? contextAbsoluteStrokeWidth,
28242
+ nonScalingStroke: nonScalingStroke ?? contextNonScalingStroke,
28243
+ className: mergeClasses(contextClass, className),
28244
+ hasA11yProp: hasAccessibleProp,
28245
+ attributes: rest
28246
+ });
28103
28247
  return reactExports.createElement(
28104
- "svg",
28248
+ name,
28105
28249
  {
28106
28250
  ref,
28107
- ...defaultAttributes$1,
28108
- width: size ?? contextSize ?? defaultAttributes$1.width,
28109
- height: size ?? contextSize ?? defaultAttributes$1.height,
28110
- stroke: color ?? contextColor,
28111
- strokeWidth: calculatedStrokeWidth,
28112
- className: mergeClasses$1("lucide", contextClass, className),
28113
- ...!children && !hasA11yProp$1(rest) && { "aria-hidden": "true" },
28114
- ...rest
28251
+ ...svgAttributes
28115
28252
  },
28116
28253
  [
28117
- ...iconNode.map(([tag, attrs]) => reactExports.createElement(tag, attrs)),
28254
+ ...builtIconNode.map(([tag, attrs]) => reactExports.createElement(tag, attrs)),
28118
28255
  ...Array.isArray(children) ? children : [children]
28119
28256
  ]
28120
28257
  );
@@ -28122,162 +28259,325 @@
28122
28259
  );
28123
28260
 
28124
28261
  /**
28125
- * @license lucide-react v1.27.0 - ISC
28262
+ * @license lucide-react v1.44.0 - ISC
28126
28263
  *
28127
28264
  * This source code is licensed under the ISC license.
28128
28265
  * See the LICENSE file in the root directory of this source tree.
28129
28266
  */
28130
28267
 
28131
28268
 
28132
- const createLucideIcon$1 = (iconName, iconNode) => {
28269
+ function createLucideIcon(iconDataOrName, iconNode = [], aliases = []) {
28270
+ const iconData = typeof iconDataOrName === "string" ? toLucideIconData(iconDataOrName, iconNode, aliases) : iconDataOrName;
28133
28271
  const Component = reactExports.forwardRef(
28134
- ({ className, ...props }, ref) => reactExports.createElement(Icon$1, {
28272
+ ({ className, ...props }, ref) => reactExports.createElement(Icon, {
28135
28273
  ref,
28136
- iconNode,
28137
- className: mergeClasses$1(
28138
- `lucide-${toKebabCase$1(toPascalCase$1(iconName))}`,
28139
- `lucide-${iconName}`,
28140
- className
28141
- ),
28274
+ icon: iconData,
28275
+ className,
28142
28276
  ...props
28143
28277
  })
28144
28278
  );
28145
- Component.displayName = toPascalCase$1(iconName);
28279
+ if (iconData.name) {
28280
+ Component.displayName = toPascalCase(iconData.name);
28281
+ }
28146
28282
  return Component;
28283
+ }
28284
+
28285
+ /**
28286
+ * @license lucide-react v1.44.0 - ISC
28287
+ *
28288
+ * This source code is licensed under the ISC license.
28289
+ * See the LICENSE file in the root directory of this source tree.
28290
+ */
28291
+
28292
+
28293
+ const __iconData$e = {
28294
+ name: "check",
28295
+ size: 24,
28296
+ node: [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]]
28147
28297
  };
28298
+ __iconData$e.node;
28299
+ const Check = createLucideIcon(__iconData$e);
28148
28300
 
28149
28301
  /**
28150
- * @license lucide-react v1.27.0 - ISC
28302
+ * @license lucide-react v1.44.0 - ISC
28151
28303
  *
28152
28304
  * This source code is licensed under the ISC license.
28153
28305
  * See the LICENSE file in the root directory of this source tree.
28154
28306
  */
28155
28307
 
28156
28308
 
28157
- const __iconNode$e = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
28158
- const Check = createLucideIcon$1("check", __iconNode$e);
28309
+ const __iconData$d = {
28310
+ name: "chevron-down",
28311
+ size: 24,
28312
+ node: [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]]
28313
+ };
28314
+ __iconData$d.node;
28315
+ const ChevronDown = createLucideIcon(__iconData$d);
28159
28316
 
28160
28317
  /**
28161
- * @license lucide-react v1.27.0 - ISC
28318
+ * @license lucide-react v1.44.0 - ISC
28162
28319
  *
28163
28320
  * This source code is licensed under the ISC license.
28164
28321
  * See the LICENSE file in the root directory of this source tree.
28165
28322
  */
28166
28323
 
28167
28324
 
28168
- const __iconNode$d = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
28169
- const ChevronDown = createLucideIcon$1("chevron-down", __iconNode$d);
28325
+ const __iconData$c = {
28326
+ name: "chevron-up",
28327
+ size: 24,
28328
+ node: [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]]
28329
+ };
28330
+ __iconData$c.node;
28331
+ const ChevronUp = createLucideIcon(__iconData$c);
28170
28332
 
28171
28333
  /**
28172
- * @license lucide-react v1.27.0 - ISC
28334
+ * @license lucide-react v1.44.0 - ISC
28173
28335
  *
28174
28336
  * This source code is licensed under the ISC license.
28175
28337
  * See the LICENSE file in the root directory of this source tree.
28176
28338
  */
28177
28339
 
28178
28340
 
28179
- const __iconNode$c = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]];
28180
- const ChevronUp = createLucideIcon$1("chevron-up", __iconNode$c);
28341
+ const __iconData$b = {
28342
+ name: "circle-alert",
28343
+ size: 24,
28344
+ node: [
28345
+ ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
28346
+ ["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
28347
+ ["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
28348
+ ],
28349
+ aliases: ["alert-circle"]
28350
+ };
28351
+ __iconData$b.node;
28352
+ const CircleAlert = createLucideIcon(__iconData$b);
28181
28353
 
28182
28354
  /**
28183
- * @license lucide-react v1.27.0 - ISC
28355
+ * @license lucide-react v1.44.0 - ISC
28184
28356
  *
28185
28357
  * This source code is licensed under the ISC license.
28186
28358
  * See the LICENSE file in the root directory of this source tree.
28187
28359
  */
28188
28360
 
28189
28361
 
28190
- const __iconNode$b = [
28191
- ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
28192
- ["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
28193
- ["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
28194
- ];
28195
- const CircleAlert = createLucideIcon$1("circle-alert", __iconNode$b);
28362
+ const __iconData$a = {
28363
+ name: "circle-check",
28364
+ size: 24,
28365
+ node: [
28366
+ ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
28367
+ ["path", { d: "m16 9-5.5 5.5L8 12", key: "xofnsj" }]
28368
+ ],
28369
+ aliases: ["check-circle-2"]
28370
+ };
28371
+ __iconData$a.node;
28372
+ const CircleCheck = createLucideIcon(__iconData$a);
28196
28373
 
28197
28374
  /**
28198
- * @license lucide-react v1.27.0 - ISC
28375
+ * @license lucide-react v1.44.0 - ISC
28199
28376
  *
28200
28377
  * This source code is licensed under the ISC license.
28201
28378
  * See the LICENSE file in the root directory of this source tree.
28202
28379
  */
28203
28380
 
28204
28381
 
28205
- const __iconNode$a = [
28206
- ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
28207
- ["path", { d: "M8 12h8", key: "1wcyev" }],
28208
- ["path", { d: "M12 8v8", key: "napkw2" }]
28209
- ];
28210
- const CirclePlus = createLucideIcon$1("circle-plus", __iconNode$a);
28382
+ const __iconData$9 = {
28383
+ name: "circle-plus",
28384
+ size: 24,
28385
+ node: [
28386
+ ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
28387
+ ["path", { d: "M8 12h8", key: "1wcyev" }],
28388
+ ["path", { d: "M12 8v8", key: "napkw2" }]
28389
+ ],
28390
+ aliases: ["plus-circle"]
28391
+ };
28392
+ __iconData$9.node;
28393
+ const CirclePlus = createLucideIcon(__iconData$9);
28211
28394
 
28212
28395
  /**
28213
- * @license lucide-react v1.27.0 - ISC
28396
+ * @license lucide-react v1.44.0 - ISC
28214
28397
  *
28215
28398
  * This source code is licensed under the ISC license.
28216
28399
  * See the LICENSE file in the root directory of this source tree.
28217
28400
  */
28218
28401
 
28219
28402
 
28220
- const __iconNode$9 = [["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]];
28221
- const Circle = createLucideIcon$1("circle", __iconNode$9);
28403
+ const __iconData$8 = {
28404
+ name: "circle",
28405
+ size: 24,
28406
+ node: [["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]]
28407
+ };
28408
+ __iconData$8.node;
28409
+ const Circle = createLucideIcon(__iconData$8);
28222
28410
 
28223
28411
  /**
28224
- * @license lucide-react v1.27.0 - ISC
28412
+ * @license lucide-react v1.44.0 - ISC
28225
28413
  *
28226
28414
  * This source code is licensed under the ISC license.
28227
28415
  * See the LICENSE file in the root directory of this source tree.
28228
28416
  */
28229
28417
 
28230
28418
 
28231
- const __iconNode$8 = [
28232
- ["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
28233
- ["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
28234
- ];
28235
- const Copy = createLucideIcon$1("copy", __iconNode$8);
28419
+ const __iconData$7 = {
28420
+ name: "copy",
28421
+ size: 24,
28422
+ node: [
28423
+ ["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
28424
+ ["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
28425
+ ]
28426
+ };
28427
+ __iconData$7.node;
28428
+ const Copy = createLucideIcon(__iconData$7);
28236
28429
 
28237
28430
  /**
28238
- * @license lucide-react v1.27.0 - ISC
28431
+ * @license lucide-react v1.44.0 - ISC
28239
28432
  *
28240
28433
  * This source code is licensed under the ISC license.
28241
28434
  * See the LICENSE file in the root directory of this source tree.
28242
28435
  */
28243
28436
 
28244
28437
 
28245
- const __iconNode$7 = [
28246
- ["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
28247
- ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
28248
- ];
28249
- const Search = createLucideIcon$1("search", __iconNode$7);
28438
+ const __iconData$6 = {
28439
+ name: "info",
28440
+ size: 24,
28441
+ node: [
28442
+ ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
28443
+ ["path", { d: "M12 16v-4", key: "1dtifu" }],
28444
+ ["path", { d: "M12 8h.01", key: "e9boi3" }]
28445
+ ]
28446
+ };
28447
+ __iconData$6.node;
28448
+ const Info = createLucideIcon(__iconData$6);
28250
28449
 
28251
28450
  /**
28252
- * @license lucide-react v1.27.0 - ISC
28451
+ * @license lucide-react v1.44.0 - ISC
28253
28452
  *
28254
28453
  * This source code is licensed under the ISC license.
28255
28454
  * See the LICENSE file in the root directory of this source tree.
28256
28455
  */
28257
28456
 
28258
28457
 
28259
- const __iconNode$6 = [
28260
- ["path", { d: "M10 11v6", key: "nco0om" }],
28261
- ["path", { d: "M14 11v6", key: "outv1u" }],
28262
- ["path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6", key: "miytrc" }],
28263
- ["path", { d: "M3 6h18", key: "d0wm0j" }],
28264
- ["path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2", key: "e791ji" }]
28265
- ];
28266
- const Trash2 = createLucideIcon$1("trash-2", __iconNode$6);
28458
+ const __iconData$5 = {
28459
+ name: "loader-circle",
28460
+ size: 24,
28461
+ node: [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]],
28462
+ aliases: ["loader-2"]
28463
+ };
28464
+ __iconData$5.node;
28465
+ const LoaderCircle = createLucideIcon(__iconData$5);
28267
28466
 
28268
28467
  /**
28269
- * @license lucide-react v1.27.0 - ISC
28468
+ * @license lucide-react v1.44.0 - ISC
28270
28469
  *
28271
28470
  * This source code is licensed under the ISC license.
28272
28471
  * See the LICENSE file in the root directory of this source tree.
28273
28472
  */
28274
28473
 
28275
28474
 
28276
- const __iconNode$5 = [
28277
- ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
28278
- ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
28279
- ];
28280
- const X$1 = createLucideIcon$1("x", __iconNode$5);
28475
+ const __iconData$4 = {
28476
+ name: "octagon-x",
28477
+ size: 24,
28478
+ node: [
28479
+ ["path", { d: "m15 9-6 6", key: "1uzhvr" }],
28480
+ [
28481
+ "path",
28482
+ {
28483
+ d: "M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",
28484
+ key: "2d38gg"
28485
+ }
28486
+ ],
28487
+ ["path", { d: "m9 9 6 6", key: "z0biqf" }]
28488
+ ],
28489
+ aliases: ["x-octagon"]
28490
+ };
28491
+ __iconData$4.node;
28492
+ const OctagonX = createLucideIcon(__iconData$4);
28493
+
28494
+ /**
28495
+ * @license lucide-react v1.44.0 - ISC
28496
+ *
28497
+ * This source code is licensed under the ISC license.
28498
+ * See the LICENSE file in the root directory of this source tree.
28499
+ */
28500
+
28501
+
28502
+ const __iconData$3 = {
28503
+ name: "search",
28504
+ size: 24,
28505
+ node: [
28506
+ ["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
28507
+ ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
28508
+ ]
28509
+ };
28510
+ __iconData$3.node;
28511
+ const Search = createLucideIcon(__iconData$3);
28512
+
28513
+ /**
28514
+ * @license lucide-react v1.44.0 - ISC
28515
+ *
28516
+ * This source code is licensed under the ISC license.
28517
+ * See the LICENSE file in the root directory of this source tree.
28518
+ */
28519
+
28520
+
28521
+ const __iconData$2 = {
28522
+ name: "trash",
28523
+ size: 24,
28524
+ node: [
28525
+ ["path", { d: "M10 11v6", key: "nco0om" }],
28526
+ ["path", { d: "M14 11v6", key: "outv1u" }],
28527
+ ["path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6", key: "miytrc" }],
28528
+ ["path", { d: "M3 6h18", key: "d0wm0j" }],
28529
+ ["path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2", key: "e791ji" }]
28530
+ ],
28531
+ aliases: ["trash-2"]
28532
+ };
28533
+ __iconData$2.node;
28534
+ const Trash = createLucideIcon(__iconData$2);
28535
+
28536
+ /**
28537
+ * @license lucide-react v1.44.0 - ISC
28538
+ *
28539
+ * This source code is licensed under the ISC license.
28540
+ * See the LICENSE file in the root directory of this source tree.
28541
+ */
28542
+
28543
+
28544
+ const __iconData$1 = {
28545
+ name: "triangle-alert",
28546
+ size: 24,
28547
+ node: [
28548
+ [
28549
+ "path",
28550
+ {
28551
+ d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",
28552
+ key: "wmoenq"
28553
+ }
28554
+ ],
28555
+ ["path", { d: "M12 9v4", key: "juzpu7" }],
28556
+ ["path", { d: "M12 17h.01", key: "p32p05" }]
28557
+ ],
28558
+ aliases: ["alert-triangle"]
28559
+ };
28560
+ __iconData$1.node;
28561
+ const TriangleAlert = createLucideIcon(__iconData$1);
28562
+
28563
+ /**
28564
+ * @license lucide-react v1.44.0 - ISC
28565
+ *
28566
+ * This source code is licensed under the ISC license.
28567
+ * See the LICENSE file in the root directory of this source tree.
28568
+ */
28569
+
28570
+
28571
+ const __iconData = {
28572
+ name: "x",
28573
+ size: 24,
28574
+ node: [
28575
+ ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
28576
+ ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
28577
+ ]
28578
+ };
28579
+ __iconData.node;
28580
+ const X$1 = createLucideIcon(__iconData);
28281
28581
 
28282
28582
  var __defProp$q = Object.defineProperty;
28283
28583
  var __name$q = (target, value) => __defProp$q(target, "name", { value, configurable: true });
@@ -32074,7 +32374,7 @@
32074
32374
  */
32075
32375
  function RemoveButtonFn(props) {
32076
32376
  const { registry: { translateString }, } = props;
32077
- return (jsxRuntimeExports.jsx(IconButton, { title: translateString(TranslatableString.RemoveButton), ...props, className: 'border-destructive', icon: jsxRuntimeExports.jsx(Trash2, { className: 'h-4 w-4 stroke-destructive' }) }));
32377
+ return (jsxRuntimeExports.jsx(IconButton, { title: translateString(TranslatableString.RemoveButton), ...props, className: 'border-destructive', icon: jsxRuntimeExports.jsx(Trash, { className: 'h-4 w-4 stroke-destructive' }) }));
32078
32378
  }
32079
32379
  const RemoveButton = reactExports.memo(RemoveButtonFn);
32080
32380
  function ClearButtonFn(props) {
@@ -53969,197 +54269,6 @@
53969
54269
  return (jsxRuntimeExports.jsx(CrowdinThemeModeContext.Provider, { value: mode, children: jsxRuntimeExports.jsx(J, { attribute: "class", forcedTheme: mode, enableSystem: false, disableTransitionOnChange: true, children: children }) }));
53970
54270
  }
53971
54271
 
53972
- /**
53973
- * @license lucide-react v0.526.0 - ISC
53974
- *
53975
- * This source code is licensed under the ISC license.
53976
- * See the LICENSE file in the root directory of this source tree.
53977
- */
53978
-
53979
- const toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
53980
- const toCamelCase = (string) => string.replace(
53981
- /^([A-Z])|[\s-_]+(\w)/g,
53982
- (match, p1, p2) => p2 ? p2.toUpperCase() : p1.toLowerCase()
53983
- );
53984
- const toPascalCase = (string) => {
53985
- const camelCase = toCamelCase(string);
53986
- return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);
53987
- };
53988
- const mergeClasses = (...classes) => classes.filter((className, index, array) => {
53989
- return Boolean(className) && className.trim() !== "" && array.indexOf(className) === index;
53990
- }).join(" ").trim();
53991
- const hasA11yProp = (props) => {
53992
- for (const prop in props) {
53993
- if (prop.startsWith("aria-") || prop === "role" || prop === "title") {
53994
- return true;
53995
- }
53996
- }
53997
- };
53998
-
53999
- /**
54000
- * @license lucide-react v0.526.0 - ISC
54001
- *
54002
- * This source code is licensed under the ISC license.
54003
- * See the LICENSE file in the root directory of this source tree.
54004
- */
54005
-
54006
- var defaultAttributes = {
54007
- xmlns: "http://www.w3.org/2000/svg",
54008
- width: 24,
54009
- height: 24,
54010
- viewBox: "0 0 24 24",
54011
- fill: "none",
54012
- stroke: "currentColor",
54013
- strokeWidth: 2,
54014
- strokeLinecap: "round",
54015
- strokeLinejoin: "round"
54016
- };
54017
-
54018
- /**
54019
- * @license lucide-react v0.526.0 - ISC
54020
- *
54021
- * This source code is licensed under the ISC license.
54022
- * See the LICENSE file in the root directory of this source tree.
54023
- */
54024
-
54025
-
54026
- const Icon = reactExports.forwardRef(
54027
- ({
54028
- color = "currentColor",
54029
- size = 24,
54030
- strokeWidth = 2,
54031
- absoluteStrokeWidth,
54032
- className = "",
54033
- children,
54034
- iconNode,
54035
- ...rest
54036
- }, ref) => reactExports.createElement(
54037
- "svg",
54038
- {
54039
- ref,
54040
- ...defaultAttributes,
54041
- width: size,
54042
- height: size,
54043
- stroke: color,
54044
- strokeWidth: absoluteStrokeWidth ? Number(strokeWidth) * 24 / Number(size) : strokeWidth,
54045
- className: mergeClasses("lucide", className),
54046
- ...!children && !hasA11yProp(rest) && { "aria-hidden": "true" },
54047
- ...rest
54048
- },
54049
- [
54050
- ...iconNode.map(([tag, attrs]) => reactExports.createElement(tag, attrs)),
54051
- ...Array.isArray(children) ? children : [children]
54052
- ]
54053
- )
54054
- );
54055
-
54056
- /**
54057
- * @license lucide-react v0.526.0 - ISC
54058
- *
54059
- * This source code is licensed under the ISC license.
54060
- * See the LICENSE file in the root directory of this source tree.
54061
- */
54062
-
54063
-
54064
- const createLucideIcon = (iconName, iconNode) => {
54065
- const Component = reactExports.forwardRef(
54066
- ({ className, ...props }, ref) => reactExports.createElement(Icon, {
54067
- ref,
54068
- iconNode,
54069
- className: mergeClasses(
54070
- `lucide-${toKebabCase(toPascalCase(iconName))}`,
54071
- `lucide-${iconName}`,
54072
- className
54073
- ),
54074
- ...props
54075
- })
54076
- );
54077
- Component.displayName = toPascalCase(iconName);
54078
- return Component;
54079
- };
54080
-
54081
- /**
54082
- * @license lucide-react v0.526.0 - ISC
54083
- *
54084
- * This source code is licensed under the ISC license.
54085
- * See the LICENSE file in the root directory of this source tree.
54086
- */
54087
-
54088
-
54089
- const __iconNode$4 = [
54090
- ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
54091
- ["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
54092
- ];
54093
- const CircleCheck = createLucideIcon("circle-check", __iconNode$4);
54094
-
54095
- /**
54096
- * @license lucide-react v0.526.0 - ISC
54097
- *
54098
- * This source code is licensed under the ISC license.
54099
- * See the LICENSE file in the root directory of this source tree.
54100
- */
54101
-
54102
-
54103
- const __iconNode$3 = [
54104
- ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
54105
- ["path", { d: "M12 16v-4", key: "1dtifu" }],
54106
- ["path", { d: "M12 8h.01", key: "e9boi3" }]
54107
- ];
54108
- const Info = createLucideIcon("info", __iconNode$3);
54109
-
54110
- /**
54111
- * @license lucide-react v0.526.0 - ISC
54112
- *
54113
- * This source code is licensed under the ISC license.
54114
- * See the LICENSE file in the root directory of this source tree.
54115
- */
54116
-
54117
-
54118
- const __iconNode$2 = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]];
54119
- const LoaderCircle = createLucideIcon("loader-circle", __iconNode$2);
54120
-
54121
- /**
54122
- * @license lucide-react v0.526.0 - ISC
54123
- *
54124
- * This source code is licensed under the ISC license.
54125
- * See the LICENSE file in the root directory of this source tree.
54126
- */
54127
-
54128
-
54129
- const __iconNode$1 = [
54130
- ["path", { d: "m15 9-6 6", key: "1uzhvr" }],
54131
- [
54132
- "path",
54133
- {
54134
- d: "M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",
54135
- key: "2d38gg"
54136
- }
54137
- ],
54138
- ["path", { d: "m9 9 6 6", key: "z0biqf" }]
54139
- ];
54140
- const OctagonX = createLucideIcon("octagon-x", __iconNode$1);
54141
-
54142
- /**
54143
- * @license lucide-react v0.526.0 - ISC
54144
- *
54145
- * This source code is licensed under the ISC license.
54146
- * See the LICENSE file in the root directory of this source tree.
54147
- */
54148
-
54149
-
54150
- const __iconNode = [
54151
- [
54152
- "path",
54153
- {
54154
- d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",
54155
- key: "wmoenq"
54156
- }
54157
- ],
54158
- ["path", { d: "M12 9v4", key: "juzpu7" }],
54159
- ["path", { d: "M12 17h.01", key: "p32p05" }]
54160
- ];
54161
- const TriangleAlert = createLucideIcon("triangle-alert", __iconNode);
54162
-
54163
54272
  function __insertCSS(code) {
54164
54273
  if (typeof document == 'undefined') return
54165
54274
  let head = document.head || document.getElementsByTagName('head')[0];