@povio/ui 3.3.0 → 3.3.1

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 (98) hide show
  1. package/README.md +1 -1
  2. package/dist/browser-tests/checkbox/CheckboxGroupHarness.d.ts +10 -0
  3. package/dist/browser-tests/checkbox/CheckboxHarness.d.ts +10 -0
  4. package/dist/browser-tests/checkbox/checkbox-group.spec.d.ts +1 -0
  5. package/dist/browser-tests/checkbox/checkbox.spec.d.ts +1 -0
  6. package/dist/browser-tests/datetime-picker/DateTimeHarnesses.d.ts +43 -0
  7. package/dist/browser-tests/datetime-picker/assertions.d.ts +9 -0
  8. package/dist/browser-tests/datetime-picker/date-input-focus.firefox.spec.d.ts +1 -0
  9. package/dist/browser-tests/datetime-picker/date-picker.spec.d.ts +1 -0
  10. package/dist/browser-tests/datetime-picker/date-range-picker.spec.d.ts +1 -0
  11. package/dist/browser-tests/datetime-picker/date-time-picker.spec.d.ts +1 -0
  12. package/dist/browser-tests/datetime-picker/time-picker.spec.d.ts +1 -0
  13. package/dist/browser-tests/file-upload/FileUploadHarness.d.ts +4 -0
  14. package/dist/browser-tests/file-upload/file-upload.spec.d.ts +1 -0
  15. package/dist/browser-tests/file-upload-container/FileUploadContainerHarness.d.ts +4 -0
  16. package/dist/browser-tests/file-upload-container/file-upload-container.spec.d.ts +1 -0
  17. package/dist/browser-tests/input-upload/InputUploadHarness.d.ts +9 -0
  18. package/dist/browser-tests/input-upload/input-upload.spec.d.ts +1 -0
  19. package/dist/browser-tests/modal/ModalHarness.d.ts +5 -0
  20. package/dist/browser-tests/modal/modal.spec.d.ts +1 -0
  21. package/dist/browser-tests/number-input/NumberInputHarness.d.ts +10 -0
  22. package/dist/browser-tests/number-input/number-input.spec.d.ts +1 -0
  23. package/dist/browser-tests/number-range-input/NumberRangeInputHarness.d.ts +10 -0
  24. package/dist/browser-tests/number-range-input/number-range-input.spec.d.ts +1 -0
  25. package/dist/browser-tests/password-input/PasswordInputHarness.d.ts +6 -0
  26. package/dist/browser-tests/password-input/password-input.spec.d.ts +1 -0
  27. package/dist/browser-tests/radio-group/RadioGroupHarness.d.ts +15 -0
  28. package/dist/browser-tests/radio-group/radio-group.spec.d.ts +1 -0
  29. package/dist/browser-tests/selection/SelectionHarnesses.d.ts +61 -0
  30. package/dist/browser-tests/selection/autocomplete.spec.d.ts +1 -0
  31. package/dist/browser-tests/selection/interactions.d.ts +2 -0
  32. package/dist/browser-tests/selection/query-autocomplete.spec.d.ts +1 -0
  33. package/dist/browser-tests/selection/query-select.spec.d.ts +1 -0
  34. package/dist/browser-tests/selection/select.spec.d.ts +1 -0
  35. package/dist/browser-tests/slider/SliderHarness.d.ts +11 -0
  36. package/dist/browser-tests/slider/slider.spec.d.ts +1 -0
  37. package/dist/browser-tests/text-area/TextAreaHarness.d.ts +10 -0
  38. package/dist/browser-tests/text-area/text-area.spec.d.ts +1 -0
  39. package/dist/browser-tests/text-input/TextInputHarness.d.ts +10 -0
  40. package/dist/browser-tests/text-input/text-input.spec.d.ts +1 -0
  41. package/dist/browser-tests/toggle/ToggleHarness.d.ts +10 -0
  42. package/dist/browser-tests/toggle/toggle.spec.d.ts +1 -0
  43. package/dist/browser-tests/utils/blur.d.ts +22 -0
  44. package/dist/browser-tests/utils/events.d.ts +4 -0
  45. package/dist/browser-tests/utils/input.d.ts +10 -0
  46. package/dist/components/Breadcrumbs/Breadcrumbs.js +206 -55
  47. package/dist/components/buttons/Button/button.cva.d.ts +1 -1
  48. package/dist/components/buttons/Button/button.cva.js +4 -4
  49. package/dist/components/buttons/InlineIconButton/InlineIconButton.js +34 -9
  50. package/dist/components/buttons/PillButton/pillButton.cva.js +4 -4
  51. package/dist/components/buttons/shared/ButtonContent.js +80 -22
  52. package/dist/components/inputs/Checkbox/CheckboxCheckmark.js +24 -10
  53. package/dist/components/inputs/DateTime/DatePicker/DatePicker.js +222 -74
  54. package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.js +182 -56
  55. package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.js +128 -41
  56. package/dist/components/inputs/DateTime/shared/Calendar.js +339 -139
  57. package/dist/components/inputs/DateTime/shared/CalendarCell.js +308 -114
  58. package/dist/components/inputs/DateTime/shared/CalendarGrid.js +150 -35
  59. package/dist/components/inputs/DateTime/shared/CalendarHeader.js +229 -95
  60. package/dist/components/inputs/DateTime/shared/CalendarSelectHeader.js +296 -115
  61. package/dist/components/inputs/DateTime/shared/DateField.js +306 -135
  62. package/dist/components/inputs/DateTime/shared/DatePickerInput.js +338 -140
  63. package/dist/components/inputs/DateTime/shared/DateTimeDialogFooter.js +59 -10
  64. package/dist/components/inputs/File/FileUpload.js +1 -1
  65. package/dist/components/inputs/File/InputUpload.js +261 -65
  66. package/dist/components/inputs/File/shared/FileUploadContentEmpty.js +180 -48
  67. package/dist/components/inputs/File/shared/FileUploadContentError.js +265 -95
  68. package/dist/components/inputs/File/shared/FileUploadContentFilled.js +261 -99
  69. package/dist/components/inputs/File/shared/FileUploadContentLoading.js +234 -56
  70. package/dist/components/inputs/File/shared/ProgressBar.js +102 -15
  71. package/dist/components/inputs/Input/NumberRangeInput/NumberRangeInput.js +313 -75
  72. package/dist/components/inputs/Selection/Autocomplete/Autocomplete.js +83 -23
  73. package/dist/components/inputs/Selection/Select/QuerySelect.js +96 -30
  74. package/dist/components/inputs/Selection/shared/SelectListBox.js +163 -51
  75. package/dist/components/inputs/Selection/shared/useSelectItems.js +108 -48
  76. package/dist/components/inputs/Skeleton/InputFrame.js +550 -177
  77. package/dist/components/inputs/TextEditor/TextEditor.js +389 -87
  78. package/dist/components/navigation/Accordion/Accordion.js +69 -22
  79. package/dist/components/navigation/Accordion/AccordionItem.js +86 -41
  80. package/dist/components/navigation/Stepper/Stepper.js +67 -22
  81. package/dist/components/overlays/ActionModal/ActionModal.js +169 -35
  82. package/dist/components/overlays/BottomSheet/BottomSheet.js +1 -1
  83. package/dist/components/overlays/Modal/Modal.d.ts +3 -2
  84. package/dist/components/overlays/Modal/Modal.js +3 -1
  85. package/dist/components/overlays/ResponsivePopover/ResponsivePopover.js +110 -29
  86. package/dist/components/shared/pagination/Pagination.js +108 -22
  87. package/dist/components/shared/pagination/minWidth.cva.d.ts +1 -1
  88. package/dist/components/status/Alert/Alert.js +97 -30
  89. package/dist/components/table/InfiniteTable.js +67 -16
  90. package/dist/components/text/Typography/Typography.js +23 -8
  91. package/dist/config/confirmation.context.js +1 -1
  92. package/dist/config/theme.context.js +98 -45
  93. package/dist/config/uiConfig.context.js +39 -8
  94. package/dist/hooks/useDebounceCallback.js +51 -17
  95. package/dist/hooks/useFormAutosave.js +120 -33
  96. package/dist/hooks/useLongPressRepeat.js +55 -20
  97. package/dist/vitest.setup.browser.d.ts +6 -0
  98. package/package.json +1 -1
@@ -6,113 +6,275 @@ import "../../../../config/i18n.js";
6
6
  import { TextButton } from "../../../buttons/TextButton/TextButton.js";
7
7
  import { FileUtils } from "../../../../utils/file.utils.js";
8
8
  import { CheckCircleIcon } from "../../../../assets/icons/CheckCircle.js";
9
+ import { c } from "react/compiler-runtime";
9
10
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
10
11
  import { clsx } from "clsx";
11
12
  import { FileTrigger } from "react-aria-components";
12
13
  import { useTranslation } from "react-i18next";
13
14
  //#region src/components/inputs/File/shared/FileUploadContentFilled.tsx
14
- var FileUploadContentFilled = ({ variant, as, isDisabled, state, browseText, fileTriggerProps, removeWithIcon = false, singleFile, onRemove, browseButtonProps }) => {
15
+ var FileUploadContentFilled = (t0) => {
16
+ const $ = c(61);
17
+ const { variant, as, isDisabled, state, browseText, fileTriggerProps, removeWithIcon: t1, singleFile, onRemove, browseButtonProps } = t0;
18
+ const removeWithIcon = t1 === void 0 ? false : t1;
15
19
  const { t } = useTranslation("ui");
16
- const { size: browseButtonSize = "xs", variant: browseButtonVariant = "outlined", width: browseButtonWidth = "hug", ...browseButtonRestProps } = browseButtonProps ?? {};
17
- return /* @__PURE__ */ jsx("div", {
18
- className: clsx("flex w-full flex-fill flex-col items-start"),
19
- children: /* @__PURE__ */ jsxs("div", {
20
- className: clsx("flex w-full items-center", {
21
- "flex-row gap-file-upload-content-gap-left-to-right-content": variant === "horizontal",
22
- "flex-col": variant === "vertical",
23
- "gap-file-upload-content-gap-content-to-button": variant === "vertical" && as === "button",
24
- "gap-file-upload-content-gap-text-to-text": variant === "vertical" && as === "link"
25
- }),
26
- children: [/* @__PURE__ */ jsxs("div", {
27
- className: clsx("flex min-w-0 max-w-full grow items-center gap-file-upload-content-gap-icon-to-content", {
28
- "flex-col": variant === "vertical",
29
- "flex-row": variant === "horizontal",
30
- "opacity-50": isDisabled
31
- }),
32
- children: [/* @__PURE__ */ jsx(CheckCircleIcon, { className: "h-6 w-6 text-text-default-1" }), /* @__PURE__ */ jsxs("div", {
33
- className: clsx("flex flex-col gap-file-upload-content-gap-text-to-text", {
34
- "max-w-full items-center": variant === "vertical",
35
- "max-w-[calc(100%-32px)]": variant === "horizontal"
36
- }),
37
- children: [/* @__PURE__ */ jsx(Typography, {
38
- variant: "prominent-1",
39
- size: "label-1",
40
- as: "span",
41
- className: "self-stretch truncate text-center text-text-default-1",
42
- children: state.file?.name ?? state.displayName ?? ""
43
- }), /* @__PURE__ */ jsx(Typography, {
44
- variant: "default",
45
- size: singleFile ? "label-2" : "label-3",
46
- as: "span",
47
- className: "text-text-default-2",
48
- children: FileUtils.getFileDisplaySize(state)
49
- })]
50
- })]
51
- }), /* @__PURE__ */ jsx("div", {
52
- className: clsx("flex flex-none items-center justify-end", {
53
- "flex-col": variant === "vertical" && as === "button",
54
- "gap-file-upload-content-gap-text-to-text": as === "link" && variant === "vertical",
55
- "gap-file-upload-content-gap-content-to-button": as === "button" && variant === "vertical",
56
- "gap-file-upload-content-gap-button-to-button": variant === "horizontal"
57
- }),
58
- children: as === "link" ? /* @__PURE__ */ jsxs(Fragment, { children: [fileTriggerProps && /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(FileTrigger, {
59
- ...fileTriggerProps,
60
- children: /* @__PURE__ */ jsx(TextButton, {
61
- className: clsx("text-interactive-text-primary-idle", { "[&>span>span]:font-medium!": variant === "vertical" }),
62
- children: browseText ?? ""
63
- })
64
- }), variant === "vertical" && /* @__PURE__ */ jsx(Typography, {
65
- variant: "default",
66
- size: "label-2",
67
- as: "span",
68
- className: "text-text-default-2",
69
- children: t(($) => $.ui.fileUpload.or)
70
- })] }), removeWithIcon ? /* @__PURE__ */ jsx(InlineIconButton, {
71
- label: "Cancel",
72
- color: "secondary",
73
- onPress: () => {
74
- onRemove(state.id ?? "");
75
- },
76
- icon: CloseIcon
77
- }) : /* @__PURE__ */ jsx(TextButton, {
78
- className: clsx(variant === "vertical" && "text-interactive-text-primary-idle lowercase [&>span>span]:font-medium!"),
79
- color: variant === "horizontal" ? "secondary" : "primary",
80
- onPress: () => {
81
- onRemove(state.id ?? "");
82
- },
83
- children: t(($_0) => $_0.ui.fileUpload.removeFile)
84
- })] }) : /* @__PURE__ */ jsxs("div", {
85
- className: "flex items-center justify-center gap-file-upload-content-gap-button-to-button self-stretch",
86
- children: [fileTriggerProps && /* @__PURE__ */ jsx(FileTrigger, {
87
- ...fileTriggerProps,
88
- children: /* @__PURE__ */ jsx(Button$1, {
89
- variant: browseButtonVariant,
90
- size: browseButtonSize,
91
- width: browseButtonWidth,
92
- ...browseButtonRestProps,
93
- isDisabled,
94
- children: browseText ?? ""
95
- })
96
- }), removeWithIcon ? /* @__PURE__ */ jsx(InlineIconButton, {
97
- label: "Cancel",
98
- color: "secondary",
99
- onPress: () => {
100
- onRemove(state.id ?? "");
101
- },
102
- icon: CloseIcon,
103
- isDisabled
104
- }) : /* @__PURE__ */ jsx(TextButton, {
105
- color: "secondary",
106
- onPress: () => {
107
- onRemove(state.id ?? "");
108
- },
109
- isDisabled,
110
- children: t(($_1) => $_1.ui.fileUpload.removeFile)
111
- })]
20
+ let t2;
21
+ if ($[0] !== browseButtonProps) {
22
+ t2 = browseButtonProps ?? {};
23
+ $[0] = browseButtonProps;
24
+ $[1] = t2;
25
+ } else t2 = $[1];
26
+ let browseButtonRestProps;
27
+ let t3;
28
+ let t4;
29
+ let t5;
30
+ if ($[2] !== t2) {
31
+ ({size: t3, variant: t4, width: t5, ...browseButtonRestProps} = t2);
32
+ $[2] = t2;
33
+ $[3] = browseButtonRestProps;
34
+ $[4] = t3;
35
+ $[5] = t4;
36
+ $[6] = t5;
37
+ } else {
38
+ browseButtonRestProps = $[3];
39
+ t3 = $[4];
40
+ t4 = $[5];
41
+ t5 = $[6];
42
+ }
43
+ const browseButtonSize = t3 === void 0 ? "xs" : t3;
44
+ const browseButtonVariant = t4 === void 0 ? "outlined" : t4;
45
+ const browseButtonWidth = t5 === void 0 ? "hug" : t5;
46
+ let t6;
47
+ if ($[7] === Symbol.for("react.memo_cache_sentinel")) {
48
+ t6 = clsx("flex w-full flex-fill flex-col items-start");
49
+ $[7] = t6;
50
+ } else t6 = $[7];
51
+ const t7 = variant === "horizontal";
52
+ const t8 = variant === "vertical";
53
+ const t9 = variant === "vertical" && as === "button";
54
+ const t10 = variant === "vertical" && as === "link";
55
+ let t11;
56
+ if ($[8] !== t10 || $[9] !== t7 || $[10] !== t8 || $[11] !== t9) {
57
+ t11 = clsx("flex w-full items-center", {
58
+ "flex-row gap-file-upload-content-gap-left-to-right-content": t7,
59
+ "flex-col": t8,
60
+ "gap-file-upload-content-gap-content-to-button": t9,
61
+ "gap-file-upload-content-gap-text-to-text": t10
62
+ });
63
+ $[8] = t10;
64
+ $[9] = t7;
65
+ $[10] = t8;
66
+ $[11] = t9;
67
+ $[12] = t11;
68
+ } else t11 = $[12];
69
+ const t12 = variant === "vertical";
70
+ const t13 = variant === "horizontal";
71
+ let t14;
72
+ if ($[13] !== isDisabled || $[14] !== t12 || $[15] !== t13) {
73
+ t14 = clsx("flex min-w-0 max-w-full grow items-center gap-file-upload-content-gap-icon-to-content", {
74
+ "flex-col": t12,
75
+ "flex-row": t13,
76
+ "opacity-50": isDisabled
77
+ });
78
+ $[13] = isDisabled;
79
+ $[14] = t12;
80
+ $[15] = t13;
81
+ $[16] = t14;
82
+ } else t14 = $[16];
83
+ let t15;
84
+ if ($[17] === Symbol.for("react.memo_cache_sentinel")) {
85
+ t15 = /* @__PURE__ */ jsx(CheckCircleIcon, { className: "h-6 w-6 text-text-default-1" });
86
+ $[17] = t15;
87
+ } else t15 = $[17];
88
+ const t16 = variant === "vertical";
89
+ const t17 = variant === "horizontal";
90
+ let t18;
91
+ if ($[18] !== t16 || $[19] !== t17) {
92
+ t18 = clsx("flex flex-col gap-file-upload-content-gap-text-to-text", {
93
+ "max-w-full items-center": t16,
94
+ "max-w-[calc(100%-32px)]": t17
95
+ });
96
+ $[18] = t16;
97
+ $[19] = t17;
98
+ $[20] = t18;
99
+ } else t18 = $[20];
100
+ const t19 = state.file?.name ?? state.displayName ?? "";
101
+ let t20;
102
+ if ($[21] !== t19) {
103
+ t20 = /* @__PURE__ */ jsx(Typography, {
104
+ variant: "prominent-1",
105
+ size: "label-1",
106
+ as: "span",
107
+ className: "self-stretch truncate text-center text-text-default-1",
108
+ children: t19
109
+ });
110
+ $[21] = t19;
111
+ $[22] = t20;
112
+ } else t20 = $[22];
113
+ const t21 = singleFile ? "label-2" : "label-3";
114
+ let t22;
115
+ if ($[23] !== state) {
116
+ t22 = FileUtils.getFileDisplaySize(state);
117
+ $[23] = state;
118
+ $[24] = t22;
119
+ } else t22 = $[24];
120
+ let t23;
121
+ if ($[25] !== t21 || $[26] !== t22) {
122
+ t23 = /* @__PURE__ */ jsx(Typography, {
123
+ variant: "default",
124
+ size: t21,
125
+ as: "span",
126
+ className: "text-text-default-2",
127
+ children: t22
128
+ });
129
+ $[25] = t21;
130
+ $[26] = t22;
131
+ $[27] = t23;
132
+ } else t23 = $[27];
133
+ let t24;
134
+ if ($[28] !== t18 || $[29] !== t20 || $[30] !== t23) {
135
+ t24 = /* @__PURE__ */ jsxs("div", {
136
+ className: t18,
137
+ children: [t20, t23]
138
+ });
139
+ $[28] = t18;
140
+ $[29] = t20;
141
+ $[30] = t23;
142
+ $[31] = t24;
143
+ } else t24 = $[31];
144
+ let t25;
145
+ if ($[32] !== t14 || $[33] !== t24) {
146
+ t25 = /* @__PURE__ */ jsxs("div", {
147
+ className: t14,
148
+ children: [t15, t24]
149
+ });
150
+ $[32] = t14;
151
+ $[33] = t24;
152
+ $[34] = t25;
153
+ } else t25 = $[34];
154
+ const t26 = variant === "vertical" && as === "button";
155
+ const t27 = as === "link" && variant === "vertical";
156
+ const t28 = as === "button" && variant === "vertical";
157
+ const t29 = variant === "horizontal";
158
+ let t30;
159
+ if ($[35] !== t26 || $[36] !== t27 || $[37] !== t28 || $[38] !== t29) {
160
+ t30 = clsx("flex flex-none items-center justify-end", {
161
+ "flex-col": t26,
162
+ "gap-file-upload-content-gap-text-to-text": t27,
163
+ "gap-file-upload-content-gap-content-to-button": t28,
164
+ "gap-file-upload-content-gap-button-to-button": t29
165
+ });
166
+ $[35] = t26;
167
+ $[36] = t27;
168
+ $[37] = t28;
169
+ $[38] = t29;
170
+ $[39] = t30;
171
+ } else t30 = $[39];
172
+ let t31;
173
+ if ($[40] !== as || $[41] !== browseButtonRestProps || $[42] !== browseButtonSize || $[43] !== browseButtonVariant || $[44] !== browseButtonWidth || $[45] !== browseText || $[46] !== fileTriggerProps || $[47] !== isDisabled || $[48] !== onRemove || $[49] !== removeWithIcon || $[50] !== state.id || $[51] !== t || $[52] !== variant) {
174
+ t31 = as === "link" ? /* @__PURE__ */ jsxs(Fragment, { children: [fileTriggerProps && /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(FileTrigger, {
175
+ ...fileTriggerProps,
176
+ children: /* @__PURE__ */ jsx(TextButton, {
177
+ className: clsx("text-interactive-text-primary-idle", { "[&>span>span]:font-medium!": variant === "vertical" }),
178
+ children: browseText ?? ""
179
+ })
180
+ }), variant === "vertical" && /* @__PURE__ */ jsx(Typography, {
181
+ variant: "default",
182
+ size: "label-2",
183
+ as: "span",
184
+ className: "text-text-default-2",
185
+ children: t(_temp)
186
+ })] }), removeWithIcon ? /* @__PURE__ */ jsx(InlineIconButton, {
187
+ label: "Cancel",
188
+ color: "secondary",
189
+ onPress: () => {
190
+ onRemove(state.id ?? "");
191
+ },
192
+ icon: CloseIcon
193
+ }) : /* @__PURE__ */ jsx(TextButton, {
194
+ className: clsx(variant === "vertical" && "text-interactive-text-primary-idle lowercase [&>span>span]:font-medium!"),
195
+ color: variant === "horizontal" ? "secondary" : "primary",
196
+ onPress: () => {
197
+ onRemove(state.id ?? "");
198
+ },
199
+ children: t(_temp2)
200
+ })] }) : /* @__PURE__ */ jsxs("div", {
201
+ className: "flex items-center justify-center gap-file-upload-content-gap-button-to-button self-stretch",
202
+ children: [fileTriggerProps && /* @__PURE__ */ jsx(FileTrigger, {
203
+ ...fileTriggerProps,
204
+ children: /* @__PURE__ */ jsx(Button$1, {
205
+ variant: browseButtonVariant,
206
+ size: browseButtonSize,
207
+ width: browseButtonWidth,
208
+ ...browseButtonRestProps,
209
+ isDisabled,
210
+ children: browseText ?? ""
112
211
  })
212
+ }), removeWithIcon ? /* @__PURE__ */ jsx(InlineIconButton, {
213
+ label: "Cancel",
214
+ color: "secondary",
215
+ onPress: () => {
216
+ onRemove(state.id ?? "");
217
+ },
218
+ icon: CloseIcon,
219
+ isDisabled
220
+ }) : /* @__PURE__ */ jsx(TextButton, {
221
+ color: "secondary",
222
+ onPress: () => {
223
+ onRemove(state.id ?? "");
224
+ },
225
+ isDisabled,
226
+ children: t(_temp3)
113
227
  })]
114
- })
115
- });
228
+ });
229
+ $[40] = as;
230
+ $[41] = browseButtonRestProps;
231
+ $[42] = browseButtonSize;
232
+ $[43] = browseButtonVariant;
233
+ $[44] = browseButtonWidth;
234
+ $[45] = browseText;
235
+ $[46] = fileTriggerProps;
236
+ $[47] = isDisabled;
237
+ $[48] = onRemove;
238
+ $[49] = removeWithIcon;
239
+ $[50] = state.id;
240
+ $[51] = t;
241
+ $[52] = variant;
242
+ $[53] = t31;
243
+ } else t31 = $[53];
244
+ let t32;
245
+ if ($[54] !== t30 || $[55] !== t31) {
246
+ t32 = /* @__PURE__ */ jsx("div", {
247
+ className: t30,
248
+ children: t31
249
+ });
250
+ $[54] = t30;
251
+ $[55] = t31;
252
+ $[56] = t32;
253
+ } else t32 = $[56];
254
+ let t33;
255
+ if ($[57] !== t11 || $[58] !== t25 || $[59] !== t32) {
256
+ t33 = /* @__PURE__ */ jsx("div", {
257
+ className: t6,
258
+ children: /* @__PURE__ */ jsxs("div", {
259
+ className: t11,
260
+ children: [t25, t32]
261
+ })
262
+ });
263
+ $[57] = t11;
264
+ $[58] = t25;
265
+ $[59] = t32;
266
+ $[60] = t33;
267
+ } else t33 = $[60];
268
+ return t33;
116
269
  };
270
+ function _temp($) {
271
+ return $.ui.fileUpload.or;
272
+ }
273
+ function _temp2($_0) {
274
+ return $_0.ui.fileUpload.removeFile;
275
+ }
276
+ function _temp3($_1) {
277
+ return $_1.ui.fileUpload.removeFile;
278
+ }
117
279
  //#endregion
118
280
  export { FileUploadContentFilled };