@povio/ui 2.3.2-rc.3 → 2.3.3

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 (284) hide show
  1. package/dist/assets/icons/AlignCenter.js +11 -26
  2. package/dist/assets/icons/AlignLeft.js +11 -26
  3. package/dist/assets/icons/AlignLeftRight.js +11 -26
  4. package/dist/assets/icons/AlignRight.js +11 -26
  5. package/dist/assets/icons/ArrowDropDown.js +11 -26
  6. package/dist/assets/icons/ArrowDropUp.js +11 -26
  7. package/dist/assets/icons/ArrowLeft.js +11 -26
  8. package/dist/assets/icons/ArrowRight.js +11 -26
  9. package/dist/assets/icons/Bold.js +11 -26
  10. package/dist/assets/icons/BulletedList.js +11 -26
  11. package/dist/assets/icons/Calendar.js +13 -28
  12. package/dist/assets/icons/Check.js +13 -28
  13. package/dist/assets/icons/CheckCircle.js +11 -26
  14. package/dist/assets/icons/CheckboxCheckmark.js +14 -29
  15. package/dist/assets/icons/CheckboxIndeterminate.js +14 -29
  16. package/dist/assets/icons/ChevronDown.js +13 -28
  17. package/dist/assets/icons/ChevronLeft.js +13 -28
  18. package/dist/assets/icons/ChevronRight.js +13 -28
  19. package/dist/assets/icons/ChevronUp.js +13 -28
  20. package/dist/assets/icons/ChevronsLeft.js +13 -28
  21. package/dist/assets/icons/ChevronsRight.js +13 -28
  22. package/dist/assets/icons/Clock.js +11 -26
  23. package/dist/assets/icons/Close.js +11 -26
  24. package/dist/assets/icons/DateTime.js +14 -35
  25. package/dist/assets/icons/DragIndicator.js +11 -26
  26. package/dist/assets/icons/File.js +13 -28
  27. package/dist/assets/icons/Highlight.js +11 -26
  28. package/dist/assets/icons/HighlightOn.js +15 -49
  29. package/dist/assets/icons/Home.js +11 -26
  30. package/dist/assets/icons/Info.js +16 -37
  31. package/dist/assets/icons/Italic.js +11 -26
  32. package/dist/assets/icons/Link.js +11 -26
  33. package/dist/assets/icons/Menu.js +11 -26
  34. package/dist/assets/icons/NumberedList.js +11 -26
  35. package/dist/assets/icons/PointerHorizontal.js +11 -26
  36. package/dist/assets/icons/PointerVertical.js +11 -26
  37. package/dist/assets/icons/Search.js +11 -26
  38. package/dist/assets/icons/Send.js +13 -28
  39. package/dist/assets/icons/Strikethrough.js +11 -26
  40. package/dist/assets/icons/TextColor.js +14 -48
  41. package/dist/assets/icons/Today.js +11 -26
  42. package/dist/assets/icons/Underlined.js +13 -28
  43. package/dist/assets/icons/Upload.js +14 -35
  44. package/dist/assets/icons/Visibility.js +11 -26
  45. package/dist/assets/icons/VisibilityOff.js +11 -26
  46. package/dist/assets/icons/WarningFilled.js +13 -28
  47. package/dist/assets/locales/sl/translation.json.js +2 -2
  48. package/dist/components/Breadcrumbs/Breadcrumbs.js +56 -207
  49. package/dist/components/Menu/Menu.js +2 -18
  50. package/dist/components/Menu/MenuDesktop.js +7 -41
  51. package/dist/components/Menu/MenuItem.js +9 -32
  52. package/dist/components/Menu/MenuMobile.js +38 -97
  53. package/dist/components/Menu/MenuPopover.js +29 -105
  54. package/dist/components/buttons/IconButton/IconButton.js +8 -40
  55. package/dist/components/buttons/InlineIconButton/InlineIconButton.d.ts +1 -2
  56. package/dist/components/buttons/InlineIconButton/InlineIconButton.js +9 -34
  57. package/dist/components/buttons/PillButton/PillButton.js +17 -55
  58. package/dist/components/buttons/SplitButton/SplitButton.js +18 -103
  59. package/dist/components/buttons/TextButton/TextButton.js +8 -30
  60. package/dist/components/buttons/ToggleButton/ToggleButton.js +8 -28
  61. package/dist/components/buttons/shared/ButtonContent.js +22 -80
  62. package/dist/components/inputs/Checkbox/Checkbox.d.ts +0 -1
  63. package/dist/components/inputs/Checkbox/Checkbox.js +35 -201
  64. package/dist/components/inputs/Checkbox/CheckboxCheckmark.js +10 -24
  65. package/dist/components/inputs/Checkbox/checkbox.cva.d.ts +0 -3
  66. package/dist/components/inputs/Checkbox/checkbox.cva.js +1 -2
  67. package/dist/components/inputs/DateTime/DatePicker/DatePicker.d.ts +5 -12
  68. package/dist/components/inputs/DateTime/DatePicker/DatePicker.js +75 -368
  69. package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.d.ts +5 -12
  70. package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.js +298 -506
  71. package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.d.ts +5 -13
  72. package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.js +56 -273
  73. package/dist/components/inputs/DateTime/TimePicker/TimePicker.d.ts +3 -6
  74. package/dist/components/inputs/DateTime/TimePicker/TimePicker.js +130 -606
  75. package/dist/components/inputs/DateTime/shared/Calendar.d.ts +2 -5
  76. package/dist/components/inputs/DateTime/shared/Calendar.js +119 -332
  77. package/dist/components/inputs/DateTime/shared/CalendarCell.d.ts +2 -3
  78. package/dist/components/inputs/DateTime/shared/CalendarCell.js +102 -301
  79. package/dist/components/inputs/DateTime/shared/CalendarGrid.d.ts +2 -3
  80. package/dist/components/inputs/DateTime/shared/CalendarGrid.js +33 -146
  81. package/dist/components/inputs/DateTime/shared/CalendarHeader.js +93 -249
  82. package/dist/components/inputs/DateTime/shared/CalendarSelectHeader.js +137 -318
  83. package/dist/components/inputs/DateTime/shared/DateField.js +112 -311
  84. package/dist/components/inputs/DateTime/shared/DatePickerInput.d.ts +3 -13
  85. package/dist/components/inputs/DateTime/shared/DatePickerInput.js +139 -383
  86. package/dist/components/inputs/DateTime/shared/DateSegmentItem.d.ts +0 -15
  87. package/dist/components/inputs/DateTime/shared/DateSegmentItem.js +11 -96
  88. package/dist/components/inputs/DateTime/shared/DateTimeDialog.js +27 -81
  89. package/dist/components/inputs/DateTime/shared/DateTimeDialogFooter.js +10 -59
  90. package/dist/components/inputs/DateTime/shared/MonthPicker.js +58 -103
  91. package/dist/components/inputs/DateTime/shared/RangeCalendar.js +82 -193
  92. package/dist/components/inputs/DateTime/shared/TimeField.js +8 -27
  93. package/dist/components/inputs/DateTime/shared/TimePickerForm.js +110 -279
  94. package/dist/components/inputs/DateTime/shared/TimePickerInput.d.ts +1 -4
  95. package/dist/components/inputs/DateTime/shared/TimePickerInput.js +65 -210
  96. package/dist/components/inputs/DateTime/shared/YearPicker.js +68 -119
  97. package/dist/components/inputs/File/FileUpload.js +44 -87
  98. package/dist/components/inputs/File/FileUploadContainer.js +7 -15
  99. package/dist/components/inputs/File/InputUpload.js +79 -317
  100. package/dist/components/inputs/File/shared/FileCard.js +41 -104
  101. package/dist/components/inputs/File/shared/FileCardList.js +12 -47
  102. package/dist/components/inputs/File/shared/FileUploadContent.js +44 -175
  103. package/dist/components/inputs/File/shared/FileUploadContentEmpty.js +46 -149
  104. package/dist/components/inputs/File/shared/FileUploadContentError.js +93 -234
  105. package/dist/components/inputs/File/shared/FileUploadContentFilled.js +97 -230
  106. package/dist/components/inputs/File/shared/FileUploadContentLoading.js +55 -199
  107. package/dist/components/inputs/File/shared/InputUploadContent.js +34 -148
  108. package/dist/components/inputs/File/shared/InputUploadFilled.js +8 -49
  109. package/dist/components/inputs/File/shared/ProgressBar.js +9 -48
  110. package/dist/components/inputs/FormField/FormField.d.ts +3 -3
  111. package/dist/components/inputs/FormField/FormField.js +37 -119
  112. package/dist/components/inputs/FormField/FormFieldError.js +5 -25
  113. package/dist/components/inputs/FormField/FormFieldHeader.d.ts +2 -2
  114. package/dist/components/inputs/FormField/FormFieldHeader.js +22 -81
  115. package/dist/components/inputs/FormField/FormFieldHeaderClose.js +7 -31
  116. package/dist/components/inputs/FormField/FormFieldHelper.js +6 -26
  117. package/dist/components/inputs/FormField/FormFieldLabel.d.ts +2 -2
  118. package/dist/components/inputs/FormField/FormFieldLabel.js +9 -40
  119. package/dist/components/inputs/Input/NumberInput/NumberInput.d.ts +2 -5
  120. package/dist/components/inputs/Input/NumberInput/NumberInput.js +97 -447
  121. package/dist/components/inputs/Input/PasswordInput/PasswordInput.js +9 -48
  122. package/dist/components/inputs/Input/TextArea/TextArea.js +90 -305
  123. package/dist/components/inputs/Input/TextInput/TextInput.d.ts +1 -3
  124. package/dist/components/inputs/Input/TextInput/TextInput.js +90 -419
  125. package/dist/components/inputs/Input/shared/InputContent.js +59 -192
  126. package/dist/components/inputs/Inputs/Form.js +11 -40
  127. package/dist/components/inputs/Inputs/InputItem.d.ts +21 -15
  128. package/dist/components/inputs/Inputs/InputItem.js +14 -69
  129. package/dist/components/inputs/Inputs/Inputs.js +11 -37
  130. package/dist/components/inputs/RadioGroup/RadioGroup.d.ts +1 -3
  131. package/dist/components/inputs/RadioGroup/RadioGroup.js +61 -353
  132. package/dist/components/inputs/RadioGroup/radio.cva.d.ts +0 -17
  133. package/dist/components/inputs/RadioGroup/radio.cva.js +1 -42
  134. package/dist/components/inputs/Selection/Autocomplete/Autocomplete.d.ts +2 -6
  135. package/dist/components/inputs/Selection/Autocomplete/Autocomplete.js +22 -214
  136. package/dist/components/inputs/Selection/Autocomplete/QueryAutocomplete.d.ts +18 -3
  137. package/dist/components/inputs/Selection/Autocomplete/QueryAutocomplete.js +8 -104
  138. package/dist/components/inputs/Selection/Select/Select.d.ts +3 -7
  139. package/dist/components/inputs/Selection/Select/Select.js +18 -225
  140. package/dist/components/inputs/Selection/shared/SelectBase.d.ts +1 -8
  141. package/dist/components/inputs/Selection/shared/SelectBase.js +18 -69
  142. package/dist/components/inputs/Selection/shared/SelectDesktop.d.ts +1 -1
  143. package/dist/components/inputs/Selection/shared/SelectDesktop.js +138 -393
  144. package/dist/components/inputs/Selection/shared/SelectInput.d.ts +2 -2
  145. package/dist/components/inputs/Selection/shared/SelectInput.js +116 -330
  146. package/dist/components/inputs/Selection/shared/SelectInputTags.js +25 -99
  147. package/dist/components/inputs/Selection/shared/SelectListBox.d.ts +2 -2
  148. package/dist/components/inputs/Selection/shared/SelectListBox.js +52 -164
  149. package/dist/components/inputs/Selection/shared/SelectListBoxItem.js +35 -85
  150. package/dist/components/inputs/Selection/shared/SelectListBoxItemSelectAll.js +16 -69
  151. package/dist/components/inputs/Selection/shared/SelectListBoxLoadingItem.js +21 -70
  152. package/dist/components/inputs/Selection/shared/SelectListBoxSelectionBar.js +9 -58
  153. package/dist/components/inputs/Selection/shared/SelectMobile.d.ts +1 -1
  154. package/dist/components/inputs/Selection/shared/SelectMobile.js +3 -9
  155. package/dist/components/inputs/Selection/shared/select.context.d.ts +2 -3
  156. package/dist/components/inputs/Selection/shared/select.context.js +36 -67
  157. package/dist/components/inputs/Selection/shared/select.types.d.ts +2 -3
  158. package/dist/components/inputs/Selection/shared/useSelectItems.js +49 -109
  159. package/dist/components/inputs/Slider/Slider.d.ts +1 -2
  160. package/dist/components/inputs/Slider/Slider.js +76 -265
  161. package/dist/components/inputs/TextEditor/TextEditor.d.ts +0 -1
  162. package/dist/components/inputs/TextEditor/TextEditor.js +98 -447
  163. package/dist/components/inputs/TextEditor/Toolbar/ColorPicker.js +11 -37
  164. package/dist/components/inputs/TextEditor/Toolbar/ColorPickerDropdown.js +30 -102
  165. package/dist/components/inputs/TextEditor/Toolbar/HyperlinkAction.js +45 -194
  166. package/dist/components/inputs/TextEditor/Toolbar/TextAlignSelect.js +28 -88
  167. package/dist/components/inputs/TextEditor/Toolbar/TextColorSelect.js +14 -48
  168. package/dist/components/inputs/TextEditor/Toolbar/TextEditorToolbar.js +19 -66
  169. package/dist/components/inputs/TextEditor/Toolbar/TextHighlightSelect.js +15 -49
  170. package/dist/components/inputs/TextEditor/Toolbar/TextListActions.js +32 -92
  171. package/dist/components/inputs/TextEditor/Toolbar/TextMarksActions.js +54 -126
  172. package/dist/components/inputs/TextEditor/Toolbar/TextStyleSelect.js +38 -141
  173. package/dist/components/inputs/Toggle/Toggle.d.ts +0 -1
  174. package/dist/components/inputs/Toggle/Toggle.js +37 -214
  175. package/dist/components/inputs/Toggle/toggle.cva.d.ts +0 -3
  176. package/dist/components/inputs/Toggle/toggle.cva.js +1 -2
  177. package/dist/components/inputs/shared/CheckContent.d.ts +1 -2
  178. package/dist/components/inputs/shared/CheckContent.js +11 -21
  179. package/dist/components/inputs/shared/InputClear.d.ts +1 -2
  180. package/dist/components/inputs/shared/InputClear.js +12 -88
  181. package/dist/components/inputs/shared/TooltipWrapper.js +11 -50
  182. package/dist/components/inputs/shared/input.cva.d.ts +0 -10
  183. package/dist/components/inputs/shared/input.cva.js +4 -32
  184. package/dist/components/navigation/Accordion/Accordion.js +22 -69
  185. package/dist/components/navigation/Accordion/AccordionItem.js +41 -86
  186. package/dist/components/navigation/Stepper/Stepper.js +22 -67
  187. package/dist/components/navigation/Stepper/StepperItem.js +31 -104
  188. package/dist/components/navigation/Stepper/StepperSeparator.js +5 -23
  189. package/dist/components/overlays/ActionModal/ActionModal.js +35 -169
  190. package/dist/components/overlays/BottomSheet/BottomSheet.js +23 -96
  191. package/dist/components/overlays/BottomSheet/BottomSheetHeader.js +8 -48
  192. package/dist/components/overlays/Drawer/Drawer.js +20 -62
  193. package/dist/components/overlays/ResponsivePopover/ResponsivePopover.js +27 -83
  194. package/dist/components/overlays/Tooltip/Tooltip.js +28 -137
  195. package/dist/components/overlays/Tooltip/TooltipEllipsis.js +12 -37
  196. package/dist/components/segment/Segment.js +57 -218
  197. package/dist/components/segment/SegmentItem.js +10 -67
  198. package/dist/components/shared/pagination/Pagination.js +22 -108
  199. package/dist/components/shared/pagination/PaginationList.js +64 -167
  200. package/dist/components/status/Alert/Alert.js +30 -97
  201. package/dist/components/status/Loader/Loader.js +22 -77
  202. package/dist/components/status/Toast/Toast.js +13 -21
  203. package/dist/components/status/Toast/useToast.js +57 -62
  204. package/dist/components/table/ColumnConfig.js +54 -158
  205. package/dist/components/table/InfiniteTable.js +16 -67
  206. package/dist/components/table/PaginatedTable.js +18 -84
  207. package/dist/components/table/Table.js +27 -28
  208. package/dist/components/text/Link/Link.js +7 -19
  209. package/dist/components/text/Typography/Typography.js +8 -23
  210. package/dist/config/confirmation.context.js +1 -1
  211. package/dist/config/link.context.js +9 -23
  212. package/dist/config/router.context.js +16 -42
  213. package/dist/config/theme.context.js +45 -98
  214. package/dist/config/uiConfig.context.d.ts +6 -19
  215. package/dist/config/uiConfig.context.js +14 -67
  216. package/dist/config/uiStyle.context.d.ts +4 -27
  217. package/dist/config/uiStyle.context.js +5 -15
  218. package/dist/helpers/dynamicInputs.d.ts +5 -5
  219. package/dist/helpers/dynamicInputs.js +0 -3
  220. package/dist/hooks/useBreakpoint.js +3 -16
  221. package/dist/hooks/useDebounceCallback.js +17 -51
  222. package/dist/hooks/useFilters.js +64 -125
  223. package/dist/hooks/useForm.js +8 -42
  224. package/dist/hooks/useFormAutosave.js +30 -101
  225. package/dist/hooks/useIntersectionObserver.d.ts +1 -1
  226. package/dist/hooks/useIntersectionObserver.js +24 -91
  227. package/dist/hooks/useLocalStorage.js +10 -43
  228. package/dist/hooks/useLongPressRepeat.js +20 -55
  229. package/dist/hooks/usePagination.js +19 -49
  230. package/dist/hooks/useScrollableListBox.js +16 -37
  231. package/dist/hooks/useSorting.js +28 -69
  232. package/dist/hooks/useStateAndRef.js +7 -21
  233. package/dist/hooks/useTableColumnConfig.js +31 -124
  234. package/dist/hooks/useTranslationMemo.js +5 -25
  235. package/dist/index.d.ts +0 -7
  236. package/dist/index.js +2 -4
  237. package/dist/tw-ui-plugin.js +0 -6
  238. package/dist/utils/date-time.utils.d.ts +10 -38
  239. package/dist/utils/date-time.utils.js +22 -134
  240. package/package.json +1 -1
  241. package/dist/components/inputs/DateTime/shared/datePicker.types.d.ts +0 -5
  242. package/dist/components/inputs/DateTime/shared/datePickerInput.cva.d.ts +0 -7
  243. package/dist/components/inputs/DateTime/shared/datePickerInput.cva.js +0 -13
  244. package/dist/components/inputs/DateTime/shared/datePickerTodayIcon.d.ts +0 -15
  245. package/dist/components/inputs/DateTime/shared/datePickerTodayIcon.js +0 -32
  246. package/dist/components/inputs/DateTime/shared/dateSegment.utils.d.ts +0 -2
  247. package/dist/components/inputs/DateTime/shared/dateSegment.utils.spec.d.ts +0 -1
  248. package/dist/components/inputs/DateTime/shared/staticDateTimeSegments.d.ts +0 -39
  249. package/dist/components/inputs/DateTime/shared/staticDateTimeSegments.js +0 -85
  250. package/dist/components/inputs/DateTime/shared/staticDateTimeSegments.spec.d.ts +0 -1
  251. package/dist/components/inputs/FormField/formFieldHeader.cva.d.ts +0 -6
  252. package/dist/components/inputs/FormField/formFieldHeader.cva.js +0 -11
  253. package/dist/components/inputs/Input/NumberRangeInput/NumberRangeField.d.ts +0 -45
  254. package/dist/components/inputs/Input/NumberRangeInput/NumberRangeField.js +0 -571
  255. package/dist/components/inputs/Input/NumberRangeInput/NumberRangeInput.d.ts +0 -35
  256. package/dist/components/inputs/Input/NumberRangeInput/NumberRangeInput.js +0 -575
  257. package/dist/components/inputs/Input/TextArea/TextArea.cva.d.ts +0 -4
  258. package/dist/components/inputs/Input/TextArea/TextArea.cva.js +0 -5
  259. package/dist/components/inputs/Input/shared/numberStatic.utils.d.ts +0 -1
  260. package/dist/components/inputs/Input/shared/numberStatic.utils.js +0 -7
  261. package/dist/components/inputs/Selection/Autocomplete/queryAutocomplete.types.d.ts +0 -36
  262. package/dist/components/inputs/Selection/Select/QuerySelect.d.ts +0 -14
  263. package/dist/components/inputs/Selection/Select/QuerySelect.js +0 -173
  264. package/dist/components/inputs/Selection/shared/StaticSelectTrailingContent.d.ts +0 -9
  265. package/dist/components/inputs/Selection/shared/StaticSelectTrailingContent.js +0 -47
  266. package/dist/components/inputs/Selection/shared/querySelect.utils.d.ts +0 -12
  267. package/dist/components/inputs/Selection/shared/querySelect.utils.js +0 -36
  268. package/dist/components/inputs/Selection/shared/selectDesktop.cva.d.ts +0 -3
  269. package/dist/components/inputs/Selection/shared/selectDesktop.cva.js +0 -5
  270. package/dist/components/inputs/Selection/shared/selectInput.cva.d.ts +0 -5
  271. package/dist/components/inputs/Selection/shared/selectInput.cva.js +0 -5
  272. package/dist/components/inputs/Selection/shared/staticSelect.utils.d.ts +0 -23
  273. package/dist/components/inputs/Selection/shared/staticSelect.utils.js +0 -37
  274. package/dist/components/inputs/Selection/shared/staticSelect.utils.spec.d.ts +0 -1
  275. package/dist/components/inputs/Skeleton/InputFrame.d.ts +0 -82
  276. package/dist/components/inputs/Skeleton/InputFrame.js +0 -548
  277. package/dist/components/inputs/shared/tooltipWrapper.cva.d.ts +0 -4
  278. package/dist/components/inputs/shared/tooltipWrapper.cva.js +0 -5
  279. package/dist/components/inputs/shared/useStaticInputHandoff.d.ts +0 -14
  280. package/dist/components/inputs/shared/useStaticInputHandoff.js +0 -100
  281. package/dist/hooks/useQueryAutocomplete.d.ts +0 -14
  282. package/dist/hooks/useQueryAutocomplete.js +0 -57
  283. package/dist/utils/query.utils.d.ts +0 -4
  284. package/dist/utils/query.utils.js +0 -8
@@ -6,244 +6,111 @@ 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";
10
9
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
11
10
  import { clsx } from "clsx";
12
11
  import { FileTrigger } from "react-aria-components";
13
12
  import { useTranslation } from "react-i18next";
14
13
  //#region src/components/inputs/File/shared/FileUploadContentFilled.tsx
15
- var FileUploadContentFilled = (t0) => {
16
- const $ = c(50);
17
- const { variant, as, isDisabled, state, browseText, fileTriggerProps, removeWithIcon: t1, singleFile, onRemove } = t0;
18
- const removeWithIcon = t1 === void 0 ? false : t1;
14
+ var FileUploadContentFilled = ({ variant, as, isDisabled, state, browseText, fileTriggerProps, removeWithIcon = false, singleFile, onRemove }) => {
19
15
  const { t } = useTranslation("ui");
20
- let t2;
21
- if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
22
- t2 = clsx("flex w-full flex-fill flex-col items-start");
23
- $[0] = t2;
24
- } else t2 = $[0];
25
- const t3 = variant === "horizontal";
26
- const t4 = variant === "vertical";
27
- const t5 = variant === "vertical" && as === "button";
28
- const t6 = variant === "vertical" && as === "link";
29
- let t7;
30
- if ($[1] !== t3 || $[2] !== t4 || $[3] !== t5 || $[4] !== t6) {
31
- t7 = clsx("flex w-full items-center", {
32
- "flex-row gap-file-upload-content-gap-left-to-right-content": t3,
33
- "flex-col": t4,
34
- "gap-file-upload-content-gap-content-to-button": t5,
35
- "gap-file-upload-content-gap-text-to-text": t6
36
- });
37
- $[1] = t3;
38
- $[2] = t4;
39
- $[3] = t5;
40
- $[4] = t6;
41
- $[5] = t7;
42
- } else t7 = $[5];
43
- const t8 = variant === "vertical";
44
- const t9 = variant === "horizontal";
45
- let t10;
46
- if ($[6] !== isDisabled || $[7] !== t8 || $[8] !== t9) {
47
- t10 = clsx("flex min-w-0 max-w-full grow items-center gap-file-upload-content-gap-icon-to-content", {
48
- "flex-col": t8,
49
- "flex-row": t9,
50
- "opacity-50": isDisabled
51
- });
52
- $[6] = isDisabled;
53
- $[7] = t8;
54
- $[8] = t9;
55
- $[9] = t10;
56
- } else t10 = $[9];
57
- let t11;
58
- if ($[10] === Symbol.for("react.memo_cache_sentinel")) {
59
- t11 = /* @__PURE__ */ jsx(CheckCircleIcon, { className: "h-6 w-6 text-text-default-1" });
60
- $[10] = t11;
61
- } else t11 = $[10];
62
- const t12 = variant === "vertical";
63
- const t13 = variant === "horizontal";
64
- let t14;
65
- if ($[11] !== t12 || $[12] !== t13) {
66
- t14 = clsx("flex flex-col gap-file-upload-content-gap-text-to-text", {
67
- "max-w-full items-center": t12,
68
- "max-w-[calc(100%-32px)]": t13
69
- });
70
- $[11] = t12;
71
- $[12] = t13;
72
- $[13] = t14;
73
- } else t14 = $[13];
74
- const t15 = state.file?.name ?? state.displayName ?? "";
75
- let t16;
76
- if ($[14] !== t15) {
77
- t16 = /* @__PURE__ */ jsx(Typography, {
78
- variant: "prominent-1",
79
- size: "label-1",
80
- as: "span",
81
- className: "self-stretch truncate text-center text-text-default-1",
82
- children: t15
83
- });
84
- $[14] = t15;
85
- $[15] = t16;
86
- } else t16 = $[15];
87
- const t17 = singleFile ? "label-2" : "label-3";
88
- let t18;
89
- if ($[16] !== state) {
90
- t18 = FileUtils.getFileDisplaySize(state);
91
- $[16] = state;
92
- $[17] = t18;
93
- } else t18 = $[17];
94
- let t19;
95
- if ($[18] !== t17 || $[19] !== t18) {
96
- t19 = /* @__PURE__ */ jsx(Typography, {
97
- variant: "default",
98
- size: t17,
99
- as: "span",
100
- className: "text-text-default-2",
101
- children: t18
102
- });
103
- $[18] = t17;
104
- $[19] = t18;
105
- $[20] = t19;
106
- } else t19 = $[20];
107
- let t20;
108
- if ($[21] !== t14 || $[22] !== t16 || $[23] !== t19) {
109
- t20 = /* @__PURE__ */ jsxs("div", {
110
- className: t14,
111
- children: [t16, t19]
112
- });
113
- $[21] = t14;
114
- $[22] = t16;
115
- $[23] = t19;
116
- $[24] = t20;
117
- } else t20 = $[24];
118
- let t21;
119
- if ($[25] !== t10 || $[26] !== t20) {
120
- t21 = /* @__PURE__ */ jsxs("div", {
121
- className: t10,
122
- children: [t11, t20]
123
- });
124
- $[25] = t10;
125
- $[26] = t20;
126
- $[27] = t21;
127
- } else t21 = $[27];
128
- const t22 = variant === "vertical" && as === "button";
129
- const t23 = as === "link" && variant === "vertical";
130
- const t24 = as === "button" && variant === "vertical";
131
- const t25 = variant === "horizontal";
132
- let t26;
133
- if ($[28] !== t22 || $[29] !== t23 || $[30] !== t24 || $[31] !== t25) {
134
- t26 = clsx("flex flex-none items-center justify-end", {
135
- "flex-col": t22,
136
- "gap-file-upload-content-gap-text-to-text": t23,
137
- "gap-file-upload-content-gap-content-to-button": t24,
138
- "gap-file-upload-content-gap-button-to-button": t25
139
- });
140
- $[28] = t22;
141
- $[29] = t23;
142
- $[30] = t24;
143
- $[31] = t25;
144
- $[32] = t26;
145
- } else t26 = $[32];
146
- let t27;
147
- if ($[33] !== as || $[34] !== browseText || $[35] !== fileTriggerProps || $[36] !== isDisabled || $[37] !== onRemove || $[38] !== removeWithIcon || $[39] !== state.id || $[40] !== t || $[41] !== variant) {
148
- t27 = as === "link" ? /* @__PURE__ */ jsxs(Fragment, { children: [fileTriggerProps && /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(FileTrigger, {
149
- ...fileTriggerProps,
150
- children: /* @__PURE__ */ jsx(TextButton, {
151
- className: clsx("text-interactive-text-primary-idle", { "[&>span>span]:font-medium!": variant === "vertical" }),
152
- children: browseText ?? ""
153
- })
154
- }), variant === "vertical" && /* @__PURE__ */ jsx(Typography, {
155
- variant: "default",
156
- size: "label-2",
157
- as: "span",
158
- className: "text-text-default-2",
159
- children: t(_temp)
160
- })] }), removeWithIcon ? /* @__PURE__ */ jsx(InlineIconButton, {
161
- label: "Cancel",
162
- color: "secondary",
163
- onPress: () => {
164
- onRemove(state.id ?? "");
165
- },
166
- icon: CloseIcon
167
- }) : /* @__PURE__ */ jsx(TextButton, {
168
- className: clsx(variant === "vertical" && "text-interactive-text-primary-idle lowercase [&>span>span]:font-medium!"),
169
- color: variant === "horizontal" ? "secondary" : "primary",
170
- onPress: () => {
171
- onRemove(state.id ?? "");
172
- },
173
- children: t(_temp2)
174
- })] }) : /* @__PURE__ */ jsxs("div", {
175
- className: "flex items-center justify-center gap-file-upload-content-gap-button-to-button self-stretch",
176
- children: [fileTriggerProps && /* @__PURE__ */ jsx(FileTrigger, {
177
- ...fileTriggerProps,
178
- children: /* @__PURE__ */ jsx(Button$1, {
179
- variant: "outlined",
180
- size: "xs",
181
- width: "hug",
182
- isDisabled,
183
- children: browseText ?? ""
16
+ return /* @__PURE__ */ jsx("div", {
17
+ className: clsx("flex w-full flex-fill flex-col items-start"),
18
+ children: /* @__PURE__ */ jsxs("div", {
19
+ className: clsx("flex w-full items-center", {
20
+ "flex-row gap-file-upload-content-gap-left-to-right-content": variant === "horizontal",
21
+ "flex-col": variant === "vertical",
22
+ "gap-file-upload-content-gap-content-to-button": variant === "vertical" && as === "button",
23
+ "gap-file-upload-content-gap-text-to-text": variant === "vertical" && as === "link"
24
+ }),
25
+ children: [/* @__PURE__ */ jsxs("div", {
26
+ className: clsx("flex min-w-0 max-w-full grow items-center gap-file-upload-content-gap-icon-to-content", {
27
+ "flex-col": variant === "vertical",
28
+ "flex-row": variant === "horizontal",
29
+ "opacity-50": isDisabled
30
+ }),
31
+ children: [/* @__PURE__ */ jsx(CheckCircleIcon, { className: "h-6 w-6 text-text-default-1" }), /* @__PURE__ */ jsxs("div", {
32
+ className: clsx("flex flex-col gap-file-upload-content-gap-text-to-text", {
33
+ "max-w-full items-center": variant === "vertical",
34
+ "max-w-[calc(100%-32px)]": variant === "horizontal"
35
+ }),
36
+ children: [/* @__PURE__ */ jsx(Typography, {
37
+ variant: "prominent-1",
38
+ size: "label-1",
39
+ as: "span",
40
+ className: "self-stretch truncate text-center text-text-default-1",
41
+ children: state.file?.name ?? state.displayName ?? ""
42
+ }), /* @__PURE__ */ jsx(Typography, {
43
+ variant: "default",
44
+ size: singleFile ? "label-2" : "label-3",
45
+ as: "span",
46
+ className: "text-text-default-2",
47
+ children: FileUtils.getFileDisplaySize(state)
48
+ })]
49
+ })]
50
+ }), /* @__PURE__ */ jsx("div", {
51
+ className: clsx("flex flex-none items-center justify-end", {
52
+ "flex-col": variant === "vertical" && as === "button",
53
+ "gap-file-upload-content-gap-text-to-text": as === "link" && variant === "vertical",
54
+ "gap-file-upload-content-gap-content-to-button": as === "button" && variant === "vertical",
55
+ "gap-file-upload-content-gap-button-to-button": variant === "horizontal"
56
+ }),
57
+ children: as === "link" ? /* @__PURE__ */ jsxs(Fragment, { children: [fileTriggerProps && /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(FileTrigger, {
58
+ ...fileTriggerProps,
59
+ children: /* @__PURE__ */ jsx(TextButton, {
60
+ className: clsx("text-interactive-text-primary-idle", { "[&>span>span]:font-medium!": variant === "vertical" }),
61
+ children: browseText ?? ""
62
+ })
63
+ }), variant === "vertical" && /* @__PURE__ */ jsx(Typography, {
64
+ variant: "default",
65
+ size: "label-2",
66
+ as: "span",
67
+ className: "text-text-default-2",
68
+ children: t(($) => $.ui.fileUpload.or)
69
+ })] }), removeWithIcon ? /* @__PURE__ */ jsx(InlineIconButton, {
70
+ label: "Cancel",
71
+ color: "secondary",
72
+ onPress: () => {
73
+ onRemove(state.id ?? "");
74
+ },
75
+ icon: CloseIcon
76
+ }) : /* @__PURE__ */ jsx(TextButton, {
77
+ className: clsx(variant === "vertical" && "text-interactive-text-primary-idle lowercase [&>span>span]:font-medium!"),
78
+ color: variant === "horizontal" ? "secondary" : "primary",
79
+ onPress: () => {
80
+ onRemove(state.id ?? "");
81
+ },
82
+ children: t(($) => $.ui.fileUpload.removeFile)
83
+ })] }) : /* @__PURE__ */ jsxs("div", {
84
+ className: "flex items-center justify-center gap-file-upload-content-gap-button-to-button self-stretch",
85
+ children: [fileTriggerProps && /* @__PURE__ */ jsx(FileTrigger, {
86
+ ...fileTriggerProps,
87
+ children: /* @__PURE__ */ jsx(Button$1, {
88
+ variant: "outlined",
89
+ size: "xs",
90
+ width: "hug",
91
+ isDisabled,
92
+ children: browseText ?? ""
93
+ })
94
+ }), removeWithIcon ? /* @__PURE__ */ jsx(InlineIconButton, {
95
+ label: "Cancel",
96
+ color: "secondary",
97
+ onPress: () => {
98
+ onRemove(state.id ?? "");
99
+ },
100
+ icon: CloseIcon,
101
+ isDisabled
102
+ }) : /* @__PURE__ */ jsx(TextButton, {
103
+ color: "secondary",
104
+ onPress: () => {
105
+ onRemove(state.id ?? "");
106
+ },
107
+ isDisabled,
108
+ children: t(($) => $.ui.fileUpload.removeFile)
109
+ })]
184
110
  })
185
- }), removeWithIcon ? /* @__PURE__ */ jsx(InlineIconButton, {
186
- label: "Cancel",
187
- color: "secondary",
188
- onPress: () => {
189
- onRemove(state.id ?? "");
190
- },
191
- icon: CloseIcon,
192
- isDisabled
193
- }) : /* @__PURE__ */ jsx(TextButton, {
194
- color: "secondary",
195
- onPress: () => {
196
- onRemove(state.id ?? "");
197
- },
198
- isDisabled,
199
- children: t(_temp3)
200
111
  })]
201
- });
202
- $[33] = as;
203
- $[34] = browseText;
204
- $[35] = fileTriggerProps;
205
- $[36] = isDisabled;
206
- $[37] = onRemove;
207
- $[38] = removeWithIcon;
208
- $[39] = state.id;
209
- $[40] = t;
210
- $[41] = variant;
211
- $[42] = t27;
212
- } else t27 = $[42];
213
- let t28;
214
- if ($[43] !== t26 || $[44] !== t27) {
215
- t28 = /* @__PURE__ */ jsx("div", {
216
- className: t26,
217
- children: t27
218
- });
219
- $[43] = t26;
220
- $[44] = t27;
221
- $[45] = t28;
222
- } else t28 = $[45];
223
- let t29;
224
- if ($[46] !== t21 || $[47] !== t28 || $[48] !== t7) {
225
- t29 = /* @__PURE__ */ jsx("div", {
226
- className: t2,
227
- children: /* @__PURE__ */ jsxs("div", {
228
- className: t7,
229
- children: [t21, t28]
230
- })
231
- });
232
- $[46] = t21;
233
- $[47] = t28;
234
- $[48] = t7;
235
- $[49] = t29;
236
- } else t29 = $[49];
237
- return t29;
112
+ })
113
+ });
238
114
  };
239
- function _temp($) {
240
- return $.ui.fileUpload.or;
241
- }
242
- function _temp2($_0) {
243
- return $_0.ui.fileUpload.removeFile;
244
- }
245
- function _temp3($_1) {
246
- return $_1.ui.fileUpload.removeFile;
247
- }
248
115
  //#endregion
249
116
  export { FileUploadContentFilled };
@@ -6,186 +6,63 @@ import "../../../../config/i18n.js";
6
6
  import { FileUtils } from "../../../../utils/file.utils.js";
7
7
  import { FileIcon } from "../../../../assets/icons/File.js";
8
8
  import { ProgressBar } from "./ProgressBar.js";
9
- import { c } from "react/compiler-runtime";
10
9
  import { jsx, jsxs } from "react/jsx-runtime";
11
10
  import { clsx } from "clsx";
12
11
  import { useTranslation } from "react-i18next";
13
12
  //#region src/components/inputs/File/shared/FileUploadContentLoading.tsx
14
- var FileUploadContentLoading = (t0) => {
15
- const $ = c(57);
16
- const { index, variant, as, state, isDisabled, singleFile, onCancel } = t0;
13
+ var FileUploadContentLoading = ({ index, variant, as, state, isDisabled, singleFile, onCancel }) => {
17
14
  const { t } = useTranslation("ui");
18
- const t1 = variant === "vertical";
19
- const t2 = variant === "horizontal";
20
- const t3 = as === "button";
21
- let t4;
22
- if ($[0] !== t1 || $[1] !== t2 || $[2] !== t3) {
23
- t4 = clsx("flex w-full flex-col items-center", {
24
- "flex-col": t1,
25
- "flex-row": t2,
26
- "gap-file-upload-content-gap-content-to-button": t3
27
- });
28
- $[0] = t1;
29
- $[1] = t2;
30
- $[2] = t3;
31
- $[3] = t4;
32
- } else t4 = $[3];
33
- const t5 = variant === "vertical";
34
- const t6 = variant === "horizontal";
35
- let t7;
36
- if ($[4] !== isDisabled || $[5] !== t5 || $[6] !== t6) {
37
- t7 = clsx("flex w-full items-center justify-between", {
38
- "flex-col gap-file-upload-content-gap-text-to-progress": t5,
39
- "flex-row gap-file-upload-content-gap-left-to-right-content": t6,
40
- "opacity-50": isDisabled
41
- });
42
- $[4] = isDisabled;
43
- $[5] = t5;
44
- $[6] = t6;
45
- $[7] = t7;
46
- } else t7 = $[7];
47
- const t8 = variant === "vertical";
48
- const t9 = variant === "horizontal";
49
- let t10;
50
- if ($[8] !== t8 || $[9] !== t9) {
51
- t10 = clsx("flex items-center gap-file-upload-content-gap-icon-to-content", {
52
- "w-full flex-col": t8,
53
- "w-1/2": t9
54
- });
55
- $[8] = t8;
56
- $[9] = t9;
57
- $[10] = t10;
58
- } else t10 = $[10];
59
- let t11;
60
- if ($[11] === Symbol.for("react.memo_cache_sentinel")) {
61
- t11 = /* @__PURE__ */ jsx(FileIcon, { className: "h-6 w-6 text-text-default-1" });
62
- $[11] = t11;
63
- } else t11 = $[11];
64
- const t12 = variant === "vertical";
65
- const t13 = variant === "horizontal";
66
- let t14;
67
- if ($[12] !== t12 || $[13] !== t13) {
68
- t14 = clsx("flex flex-col", {
69
- "max-w-full gap-file-upload-content-gap-icon-to-content text-center": t12,
70
- "max-w-[calc(100%-32px)] gap-file-upload-content-gap-text-to-text": t13
71
- });
72
- $[12] = t12;
73
- $[13] = t13;
74
- $[14] = t14;
75
- } else t14 = $[14];
76
- const t15 = state.file?.name ?? state.displayName ?? "";
77
- let t16;
78
- if ($[15] !== t15) {
79
- t16 = /* @__PURE__ */ jsx(Typography, {
80
- variant: "prominent-1",
81
- size: "label-1",
82
- as: "span",
83
- className: "self-stretch truncate text-center text-text-default-1",
84
- children: t15
85
- });
86
- $[15] = t15;
87
- $[16] = t16;
88
- } else t16 = $[16];
89
- const t17 = singleFile ? "label-2" : "label-3";
90
- let t18;
91
- if ($[17] !== state) {
92
- t18 = FileUtils.getFileDisplaySize(state);
93
- $[17] = state;
94
- $[18] = t18;
95
- } else t18 = $[18];
96
- let t19;
97
- if ($[19] !== t17 || $[20] !== t18) {
98
- t19 = /* @__PURE__ */ jsx(Typography, {
99
- variant: "default",
100
- size: t17,
101
- as: "span",
102
- className: "text-text-default-2",
103
- children: t18
104
- });
105
- $[19] = t17;
106
- $[20] = t18;
107
- $[21] = t19;
108
- } else t19 = $[21];
109
- let t20;
110
- if ($[22] !== t14 || $[23] !== t16 || $[24] !== t19) {
111
- t20 = /* @__PURE__ */ jsxs("div", {
112
- className: t14,
113
- children: [t16, t19]
114
- });
115
- $[22] = t14;
116
- $[23] = t16;
117
- $[24] = t19;
118
- $[25] = t20;
119
- } else t20 = $[25];
120
- let t21;
121
- if ($[26] !== t10 || $[27] !== t20) {
122
- t21 = /* @__PURE__ */ jsxs("div", {
123
- className: t10,
124
- children: [t11, t20]
125
- });
126
- $[26] = t10;
127
- $[27] = t20;
128
- $[28] = t21;
129
- } else t21 = $[28];
130
- const t22 = variant === "horizontal";
131
- const t23 = variant === "vertical";
132
- let t24;
133
- if ($[29] !== t22 || $[30] !== t23) {
134
- t24 = clsx("flex items-center gap-1", {
135
- "w-1/2": t22,
136
- "w-full": t23
137
- });
138
- $[29] = t22;
139
- $[30] = t23;
140
- $[31] = t24;
141
- } else t24 = $[31];
142
- let t25;
143
- if ($[32] !== state.progress) {
144
- t25 = /* @__PURE__ */ jsx(ProgressBar, { progress: state.progress });
145
- $[32] = state.progress;
146
- $[33] = t25;
147
- } else t25 = $[33];
148
- let t26;
149
- if ($[34] !== as || $[35] !== index || $[36] !== onCancel || $[37] !== variant) {
150
- t26 = (as === "link" || variant === "horizontal") && /* @__PURE__ */ jsx(InlineIconButton, {
151
- label: "Cancel",
152
- color: "secondary",
153
- onPress: () => {
154
- onCancel(index);
155
- },
156
- icon: CloseIcon
157
- });
158
- $[34] = as;
159
- $[35] = index;
160
- $[36] = onCancel;
161
- $[37] = variant;
162
- $[38] = t26;
163
- } else t26 = $[38];
164
- let t27;
165
- if ($[39] !== t24 || $[40] !== t25 || $[41] !== t26) {
166
- t27 = /* @__PURE__ */ jsxs("div", {
167
- className: t24,
168
- children: [t25, t26]
169
- });
170
- $[39] = t24;
171
- $[40] = t25;
172
- $[41] = t26;
173
- $[42] = t27;
174
- } else t27 = $[42];
175
- let t28;
176
- if ($[43] !== t21 || $[44] !== t27 || $[45] !== t7) {
177
- t28 = /* @__PURE__ */ jsxs("div", {
178
- className: t7,
179
- children: [t21, t27]
180
- });
181
- $[43] = t21;
182
- $[44] = t27;
183
- $[45] = t7;
184
- $[46] = t28;
185
- } else t28 = $[46];
186
- let t29;
187
- if ($[47] !== as || $[48] !== index || $[49] !== onCancel || $[50] !== t || $[51] !== variant) {
188
- t29 = as === "button" && variant === "vertical" && /* @__PURE__ */ jsx(Button, {
15
+ return /* @__PURE__ */ jsxs("div", {
16
+ className: clsx("flex w-full flex-col items-center", {
17
+ "flex-col": variant === "vertical",
18
+ "flex-row": variant === "horizontal",
19
+ "gap-file-upload-content-gap-content-to-button": as === "button"
20
+ }),
21
+ children: [/* @__PURE__ */ jsxs("div", {
22
+ className: clsx("flex w-full items-center justify-between", {
23
+ "flex-col gap-file-upload-content-gap-text-to-progress": variant === "vertical",
24
+ "flex-row gap-file-upload-content-gap-left-to-right-content": variant === "horizontal",
25
+ "opacity-50": isDisabled
26
+ }),
27
+ children: [/* @__PURE__ */ jsxs("div", {
28
+ className: clsx("flex items-center gap-file-upload-content-gap-icon-to-content", {
29
+ "w-full flex-col": variant === "vertical",
30
+ "w-1/2": variant === "horizontal"
31
+ }),
32
+ children: [/* @__PURE__ */ jsx(FileIcon, { className: "h-6 w-6 text-text-default-1" }), /* @__PURE__ */ jsxs("div", {
33
+ className: clsx("flex flex-col", {
34
+ "max-w-full gap-file-upload-content-gap-icon-to-content text-center": variant === "vertical",
35
+ "max-w-[calc(100%-32px)] gap-file-upload-content-gap-text-to-text": 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__ */ jsxs("div", {
52
+ className: clsx("flex items-center gap-1", {
53
+ "w-1/2": variant === "horizontal",
54
+ "w-full": variant === "vertical"
55
+ }),
56
+ children: [/* @__PURE__ */ jsx(ProgressBar, { progress: state.progress }), (as === "link" || variant === "horizontal") && /* @__PURE__ */ jsx(InlineIconButton, {
57
+ label: "Cancel",
58
+ color: "secondary",
59
+ onPress: () => {
60
+ onCancel(index);
61
+ },
62
+ icon: CloseIcon
63
+ })]
64
+ })]
65
+ }), as === "button" && variant === "vertical" && /* @__PURE__ */ jsx(Button, {
189
66
  variant: "outlined",
190
67
  size: "xs",
191
68
  color: "secondary",
@@ -193,30 +70,9 @@ var FileUploadContentLoading = (t0) => {
193
70
  onPress: () => {
194
71
  onCancel(index);
195
72
  },
196
- children: t(_temp)
197
- });
198
- $[47] = as;
199
- $[48] = index;
200
- $[49] = onCancel;
201
- $[50] = t;
202
- $[51] = variant;
203
- $[52] = t29;
204
- } else t29 = $[52];
205
- let t30;
206
- if ($[53] !== t28 || $[54] !== t29 || $[55] !== t4) {
207
- t30 = /* @__PURE__ */ jsxs("div", {
208
- className: t4,
209
- children: [t28, t29]
210
- });
211
- $[53] = t28;
212
- $[54] = t29;
213
- $[55] = t4;
214
- $[56] = t30;
215
- } else t30 = $[56];
216
- return t30;
73
+ children: t(($) => $.ui.fileUpload.cancel)
74
+ })]
75
+ });
217
76
  };
218
- function _temp($) {
219
- return $.ui.fileUpload.cancel;
220
- }
221
77
  //#endregion
222
78
  export { FileUploadContentLoading };