@mmb-digital/ds-lilly 1.0.78 → 1.0.80

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 (1059) hide show
  1. package/_virtual/html2canvas.js +2 -0
  2. package/_virtual/html2canvas.js.map +1 -0
  3. package/_virtual/index6.js +2 -0
  4. package/_virtual/index6.js.map +1 -0
  5. package/_virtual/make-built-in.js +2 -0
  6. package/_virtual/make-built-in.js.map +1 -0
  7. package/_virtual/new-promise-capability.js +2 -0
  8. package/_virtual/new-promise-capability.js.map +1 -0
  9. package/_virtual/object-define-properties.js +2 -0
  10. package/_virtual/object-define-properties.js.map +1 -0
  11. package/_virtual/object-define-property.js +2 -0
  12. package/_virtual/object-define-property.js.map +1 -0
  13. package/_virtual/object-get-own-property-descriptor.js +2 -0
  14. package/_virtual/object-get-own-property-descriptor.js.map +1 -0
  15. package/_virtual/object-get-own-property-names.js +2 -0
  16. package/_virtual/object-get-own-property-names.js.map +1 -0
  17. package/_virtual/object-get-own-property-symbols.js +2 -0
  18. package/_virtual/object-get-own-property-symbols.js.map +1 -0
  19. package/_virtual/object-property-is-enumerable.js +2 -0
  20. package/_virtual/object-property-is-enumerable.js.map +1 -0
  21. package/_virtual/performance-now.js +2 -0
  22. package/_virtual/performance-now.js.map +1 -0
  23. package/_virtual/shared-store.js +2 -0
  24. package/_virtual/shared-store.js.map +1 -0
  25. package/cjs/_virtual/html2canvas.js +2 -0
  26. package/cjs/_virtual/html2canvas.js.map +1 -0
  27. package/cjs/_virtual/index6.js +2 -0
  28. package/cjs/_virtual/index6.js.map +1 -0
  29. package/cjs/_virtual/make-built-in.js +2 -0
  30. package/cjs/_virtual/make-built-in.js.map +1 -0
  31. package/cjs/_virtual/new-promise-capability.js +2 -0
  32. package/cjs/_virtual/new-promise-capability.js.map +1 -0
  33. package/cjs/_virtual/object-define-properties.js +2 -0
  34. package/cjs/_virtual/object-define-properties.js.map +1 -0
  35. package/cjs/_virtual/object-define-property.js +2 -0
  36. package/cjs/_virtual/object-define-property.js.map +1 -0
  37. package/cjs/_virtual/object-get-own-property-descriptor.js +2 -0
  38. package/cjs/_virtual/object-get-own-property-descriptor.js.map +1 -0
  39. package/cjs/_virtual/object-get-own-property-names.js +2 -0
  40. package/cjs/_virtual/object-get-own-property-names.js.map +1 -0
  41. package/cjs/_virtual/object-get-own-property-symbols.js +2 -0
  42. package/cjs/_virtual/object-get-own-property-symbols.js.map +1 -0
  43. package/cjs/_virtual/object-property-is-enumerable.js +2 -0
  44. package/cjs/_virtual/object-property-is-enumerable.js.map +1 -0
  45. package/cjs/_virtual/performance-now.js +2 -0
  46. package/cjs/_virtual/performance-now.js.map +1 -0
  47. package/cjs/_virtual/shared-store.js +2 -0
  48. package/cjs/_virtual/shared-store.js.map +1 -0
  49. package/cjs/components/Components/ActionBar/ActionBar.js +1 -1
  50. package/cjs/components/Components/ActionBar/ActionBar.js.map +1 -1
  51. package/cjs/components/Components/Dropdown/Dropdown.js +1 -1
  52. package/cjs/components/Components/Dropdown/Dropdown.js.map +1 -1
  53. package/cjs/components/Components/IconList/IconListItem.js +1 -1
  54. package/cjs/components/Components/IconList/IconListItem.js.map +1 -1
  55. package/cjs/components/Components/NotificationCard/NotificationCardHeader.js +1 -1
  56. package/cjs/components/Components/NotificationCard/NotificationCardHeader.js.map +1 -1
  57. package/cjs/components/Components/ProductCard/ProductCard.d.ts +30 -7
  58. package/cjs/components/Components/ProductCard/ProductCard.d.ts.map +1 -1
  59. package/cjs/components/Components/ProductCard/ProductCard.js +1 -1
  60. package/cjs/components/Components/ProductCard/ProductCard.js.map +1 -1
  61. package/cjs/components/Components/ProductHeader/ProductHeader.d.ts +20 -5
  62. package/cjs/components/Components/ProductHeader/ProductHeader.d.ts.map +1 -1
  63. package/cjs/components/Components/ProductHeader/ProductHeader.js +1 -1
  64. package/cjs/components/Components/ProductHeader/ProductHeader.js.map +1 -1
  65. package/cjs/components/Components/Tile/Tile.js +1 -1
  66. package/cjs/components/Components/Tile/Tile.js.map +1 -1
  67. package/cjs/components/Components/UserAuth/UserAuth.js +1 -1
  68. package/cjs/components/Components/UserAuth/UserAuth.js.map +1 -1
  69. package/cjs/components/Form/Autocomplete/Autocomplete.js +1 -1
  70. package/cjs/components/Form/Autocomplete/Autocomplete.js.map +1 -1
  71. package/cjs/components/Form/Checkbox/CheckboxItem.js +1 -1
  72. package/cjs/components/Form/Checkbox/CheckboxItem.js.map +1 -1
  73. package/cjs/components/Form/DatePicker/DatePicker.js +1 -1
  74. package/cjs/components/Form/DatePicker/DatePicker.js.map +1 -1
  75. package/cjs/components/Form/FileUpload/FileUpload.d.ts +7 -0
  76. package/cjs/components/Form/FileUpload/FileUpload.d.ts.map +1 -1
  77. package/cjs/components/Form/FileUpload/FileUpload.js +1 -1
  78. package/cjs/components/Form/FileUpload/FileUpload.js.map +1 -1
  79. package/cjs/components/Form/FileUpload/_parts_/FileList.js +1 -1
  80. package/cjs/components/Form/FileUpload/_parts_/FileList.js.map +1 -1
  81. package/cjs/components/Form/FileUpload/_parts_/MergeDialog.d.ts +6 -5
  82. package/cjs/components/Form/FileUpload/_parts_/MergeDialog.d.ts.map +1 -1
  83. package/cjs/components/Form/FileUpload/_parts_/MergeDialog.js +1 -1
  84. package/cjs/components/Form/FileUpload/_parts_/MergeDialog.js.map +1 -1
  85. package/cjs/components/Form/FileUpload/_parts_/MergeImageAdd.d.ts +3 -1
  86. package/cjs/components/Form/FileUpload/_parts_/MergeImageAdd.d.ts.map +1 -1
  87. package/cjs/components/Form/FileUpload/_parts_/MergeImageAdd.js +1 -1
  88. package/cjs/components/Form/FileUpload/_parts_/MergeImageAdd.js.map +1 -1
  89. package/cjs/components/Form/FileUpload/_parts_/MergeImageCard.d.ts +3 -2
  90. package/cjs/components/Form/FileUpload/_parts_/MergeImageCard.d.ts.map +1 -1
  91. package/cjs/components/Form/FileUpload/_parts_/MergeImageCard.js +1 -1
  92. package/cjs/components/Form/FileUpload/_parts_/MergeImageCard.js.map +1 -1
  93. package/cjs/components/Form/FileUpload/_parts_/MergeImageCards.d.ts +7 -4
  94. package/cjs/components/Form/FileUpload/_parts_/MergeImageCards.d.ts.map +1 -1
  95. package/cjs/components/Form/FileUpload/_parts_/MergeImageCards.js +1 -1
  96. package/cjs/components/Form/FileUpload/_parts_/MergeImageCards.js.map +1 -1
  97. package/cjs/components/Form/FileUpload/_parts_/MergeImageDetail.d.ts +3 -2
  98. package/cjs/components/Form/FileUpload/_parts_/MergeImageDetail.d.ts.map +1 -1
  99. package/cjs/components/Form/FileUpload/_parts_/MergeImageDetail.js +1 -1
  100. package/cjs/components/Form/FileUpload/_parts_/MergeImageDetail.js.map +1 -1
  101. package/cjs/components/Form/Input/Input.js +1 -1
  102. package/cjs/components/Form/Input/Input.js.map +1 -1
  103. package/cjs/components/Form/Input/_elements_/ShowPasswordIcon.js +1 -1
  104. package/cjs/components/Form/Input/_elements_/ShowPasswordIcon.js.map +1 -1
  105. package/cjs/components/Form/Label2/Label2.js +1 -1
  106. package/cjs/components/Form/Label2/Label2.js.map +1 -1
  107. package/cjs/components/Form/Multiselect/Multiselect.js +1 -1
  108. package/cjs/components/Form/Multiselect/Multiselect.js.map +1 -1
  109. package/cjs/components/Form/PersonCount/PersonCount.js +1 -1
  110. package/cjs/components/Form/PersonCount/PersonCount.js.map +1 -1
  111. package/cjs/components/Form/Radio/Radio.js +1 -1
  112. package/cjs/components/Form/Radio/Radio.js.map +1 -1
  113. package/cjs/components/Form/Select/Select.js +1 -1
  114. package/cjs/components/Form/Select/Select.js.map +1 -1
  115. package/cjs/components/Form/Select/_elements_/Select2CategorisedOptions.js +1 -1
  116. package/cjs/components/Form/Select/_elements_/Select2CategorisedOptions.js.map +1 -1
  117. package/cjs/components/Form/Select/_elements_/Select2Options.js +1 -1
  118. package/cjs/components/Form/Select/_elements_/Select2Options.js.map +1 -1
  119. package/cjs/components/Form/Select/_elements_/SelectedOption.js +1 -1
  120. package/cjs/components/Form/Select/_elements_/SelectedOption.js.map +1 -1
  121. package/cjs/components/Form/Slider/Slider.js +1 -1
  122. package/cjs/components/Form/Slider/Slider.js.map +1 -1
  123. package/cjs/components/Form/Toggle/Toggle.js +1 -1
  124. package/cjs/components/Form/Toggle/Toggle.js.map +1 -1
  125. package/cjs/components/Graphs/AreaChart/_elements_/AreaChartLegend/AreaChartLegend.js +1 -1
  126. package/cjs/components/Graphs/AreaChart/_elements_/AreaChartLegend/AreaChartLegend.js.map +1 -1
  127. package/cjs/components/Graphs/ChartLegend/_elements_/ChartLegendRow.js +1 -1
  128. package/cjs/components/Graphs/ChartLegend/_elements_/ChartLegendRow.js.map +1 -1
  129. package/cjs/components/Layout/MobilePanel/_elements_/Header.js +1 -1
  130. package/cjs/components/Layout/MobilePanel/_elements_/Header.js.map +1 -1
  131. package/cjs/components/Navigation/Menu/_elements_/MenuItem.js +1 -1
  132. package/cjs/components/Navigation/Menu/_elements_/MenuItem.js.map +1 -1
  133. package/cjs/components/Navigation/Stepper/_parts_/Step.js +1 -1
  134. package/cjs/components/Navigation/Stepper/_parts_/Step.js.map +1 -1
  135. package/cjs/components/Navigation/Tabs/_elements_/TabsBar.js +1 -1
  136. package/cjs/components/Navigation/Tabs/_elements_/TabsBar.js.map +1 -1
  137. package/cjs/components/Typography/Amount/Amount.js +1 -1
  138. package/cjs/components/Typography/Amount/Amount.js.map +1 -1
  139. package/cjs/components/Typography/Title/Title.js +1 -1
  140. package/cjs/components/Typography/Title/Title.js.map +1 -1
  141. package/cjs/ds-lilly.css +34 -6
  142. package/cjs/ext/@babel/runtime/helpers/esm/asyncToGenerator.js +2 -0
  143. package/cjs/ext/@babel/runtime/helpers/esm/asyncToGenerator.js.map +1 -0
  144. package/cjs/ext/@babel/runtime/helpers/esm/defineProperty.js +2 -0
  145. package/cjs/ext/@babel/runtime/helpers/esm/defineProperty.js.map +1 -0
  146. package/cjs/ext/@babel/runtime/helpers/esm/toPrimitive.js +2 -0
  147. package/cjs/ext/@babel/runtime/helpers/esm/toPrimitive.js.map +1 -0
  148. package/cjs/ext/@babel/runtime/helpers/esm/toPropertyKey.js +2 -0
  149. package/cjs/ext/@babel/runtime/helpers/esm/toPropertyKey.js.map +1 -0
  150. package/cjs/ext/@babel/runtime/helpers/esm/typeof.js +2 -0
  151. package/cjs/ext/@babel/runtime/helpers/esm/typeof.js.map +1 -0
  152. package/cjs/ext/@bugsnag/cuid/index.esm.js +2 -0
  153. package/cjs/ext/@bugsnag/cuid/index.esm.js.map +1 -0
  154. package/cjs/ext/@bugsnag/cuid/lib/cuid.js +2 -0
  155. package/cjs/ext/@bugsnag/cuid/lib/cuid.js.map +1 -0
  156. package/cjs/ext/@bugsnag/cuid/lib/fingerprint.browser.js +2 -0
  157. package/cjs/ext/@bugsnag/cuid/lib/fingerprint.browser.js.map +1 -0
  158. package/cjs/ext/@bugsnag/cuid/lib/is-cuid.js +2 -0
  159. package/cjs/ext/@bugsnag/cuid/lib/is-cuid.js.map +1 -0
  160. package/cjs/ext/@bugsnag/cuid/lib/pad.js +2 -0
  161. package/cjs/ext/@bugsnag/cuid/lib/pad.js.map +1 -0
  162. package/cjs/ext/@refinanso/images-to-pdf/dist/image-to-pdf.es.js +2 -0
  163. package/cjs/ext/@refinanso/images-to-pdf/dist/image-to-pdf.es.js.map +1 -0
  164. package/cjs/ext/canvg/lib/index.es.js +2 -0
  165. package/cjs/ext/canvg/lib/index.es.js.map +1 -0
  166. package/cjs/ext/core-js/internals/a-callable.js +2 -0
  167. package/cjs/ext/core-js/internals/a-callable.js.map +1 -0
  168. package/cjs/ext/core-js/internals/a-constructor.js +2 -0
  169. package/cjs/ext/core-js/internals/a-constructor.js.map +1 -0
  170. package/cjs/ext/core-js/internals/a-possible-prototype.js +2 -0
  171. package/cjs/ext/core-js/internals/a-possible-prototype.js.map +1 -0
  172. package/cjs/ext/core-js/internals/add-to-unscopables.js +2 -0
  173. package/cjs/ext/core-js/internals/add-to-unscopables.js.map +1 -0
  174. package/cjs/ext/core-js/internals/advance-string-index.js +2 -0
  175. package/cjs/ext/core-js/internals/advance-string-index.js.map +1 -0
  176. package/cjs/ext/core-js/internals/an-instance.js +2 -0
  177. package/cjs/ext/core-js/internals/an-instance.js.map +1 -0
  178. package/cjs/ext/core-js/internals/an-object.js +2 -0
  179. package/cjs/ext/core-js/internals/an-object.js.map +1 -0
  180. package/cjs/ext/core-js/internals/array-includes.js +2 -0
  181. package/cjs/ext/core-js/internals/array-includes.js.map +1 -0
  182. package/cjs/ext/core-js/internals/array-method-is-strict.js +2 -0
  183. package/cjs/ext/core-js/internals/array-method-is-strict.js.map +1 -0
  184. package/cjs/ext/core-js/internals/array-reduce.js +2 -0
  185. package/cjs/ext/core-js/internals/array-reduce.js.map +1 -0
  186. package/cjs/ext/core-js/internals/array-slice.js +2 -0
  187. package/cjs/ext/core-js/internals/array-slice.js.map +1 -0
  188. package/cjs/ext/core-js/internals/check-correctness-of-iteration.js +2 -0
  189. package/cjs/ext/core-js/internals/check-correctness-of-iteration.js.map +1 -0
  190. package/cjs/ext/core-js/internals/classof-raw.js +2 -0
  191. package/cjs/ext/core-js/internals/classof-raw.js.map +1 -0
  192. package/cjs/ext/core-js/internals/classof.js +2 -0
  193. package/cjs/ext/core-js/internals/classof.js.map +1 -0
  194. package/cjs/ext/core-js/internals/copy-constructor-properties.js +2 -0
  195. package/cjs/ext/core-js/internals/copy-constructor-properties.js.map +1 -0
  196. package/cjs/ext/core-js/internals/correct-is-regexp-logic.js +2 -0
  197. package/cjs/ext/core-js/internals/correct-is-regexp-logic.js.map +1 -0
  198. package/cjs/ext/core-js/internals/correct-prototype-getter.js +2 -0
  199. package/cjs/ext/core-js/internals/correct-prototype-getter.js.map +1 -0
  200. package/cjs/ext/core-js/internals/create-iter-result-object.js +2 -0
  201. package/cjs/ext/core-js/internals/create-iter-result-object.js.map +1 -0
  202. package/cjs/ext/core-js/internals/create-non-enumerable-property.js +2 -0
  203. package/cjs/ext/core-js/internals/create-non-enumerable-property.js.map +1 -0
  204. package/cjs/ext/core-js/internals/create-property-descriptor.js +2 -0
  205. package/cjs/ext/core-js/internals/create-property-descriptor.js.map +1 -0
  206. package/cjs/ext/core-js/internals/define-built-in-accessor.js +2 -0
  207. package/cjs/ext/core-js/internals/define-built-in-accessor.js.map +1 -0
  208. package/cjs/ext/core-js/internals/define-built-in.js +2 -0
  209. package/cjs/ext/core-js/internals/define-built-in.js.map +1 -0
  210. package/cjs/ext/core-js/internals/define-global-property.js +2 -0
  211. package/cjs/ext/core-js/internals/define-global-property.js.map +1 -0
  212. package/cjs/ext/core-js/internals/descriptors.js +2 -0
  213. package/cjs/ext/core-js/internals/descriptors.js.map +1 -0
  214. package/cjs/ext/core-js/internals/document-create-element.js +2 -0
  215. package/cjs/ext/core-js/internals/document-create-element.js.map +1 -0
  216. package/cjs/ext/core-js/internals/dom-iterables.js +2 -0
  217. package/cjs/ext/core-js/internals/dom-iterables.js.map +1 -0
  218. package/cjs/ext/core-js/internals/dom-token-list-prototype.js +2 -0
  219. package/cjs/ext/core-js/internals/dom-token-list-prototype.js.map +1 -0
  220. package/cjs/ext/core-js/internals/enum-bug-keys.js +2 -0
  221. package/cjs/ext/core-js/internals/enum-bug-keys.js.map +1 -0
  222. package/cjs/ext/core-js/internals/environment-is-ios-pebble.js +2 -0
  223. package/cjs/ext/core-js/internals/environment-is-ios-pebble.js.map +1 -0
  224. package/cjs/ext/core-js/internals/environment-is-ios.js +2 -0
  225. package/cjs/ext/core-js/internals/environment-is-ios.js.map +1 -0
  226. package/cjs/ext/core-js/internals/environment-is-node.js +2 -0
  227. package/cjs/ext/core-js/internals/environment-is-node.js.map +1 -0
  228. package/cjs/ext/core-js/internals/environment-is-webos-webkit.js +2 -0
  229. package/cjs/ext/core-js/internals/environment-is-webos-webkit.js.map +1 -0
  230. package/cjs/ext/core-js/internals/environment-user-agent.js +2 -0
  231. package/cjs/ext/core-js/internals/environment-user-agent.js.map +1 -0
  232. package/cjs/ext/core-js/internals/environment-v8-version.js +2 -0
  233. package/cjs/ext/core-js/internals/environment-v8-version.js.map +1 -0
  234. package/cjs/ext/core-js/internals/environment.js +2 -0
  235. package/cjs/ext/core-js/internals/environment.js.map +1 -0
  236. package/cjs/ext/core-js/internals/export.js +2 -0
  237. package/cjs/ext/core-js/internals/export.js.map +1 -0
  238. package/cjs/ext/core-js/internals/fails.js +2 -0
  239. package/cjs/ext/core-js/internals/fails.js.map +1 -0
  240. package/cjs/ext/core-js/internals/fix-regexp-well-known-symbol-logic.js +2 -0
  241. package/cjs/ext/core-js/internals/fix-regexp-well-known-symbol-logic.js.map +1 -0
  242. package/cjs/ext/core-js/internals/function-apply.js +2 -0
  243. package/cjs/ext/core-js/internals/function-apply.js.map +1 -0
  244. package/cjs/ext/core-js/internals/function-bind-context.js +2 -0
  245. package/cjs/ext/core-js/internals/function-bind-context.js.map +1 -0
  246. package/cjs/ext/core-js/internals/function-bind-native.js +2 -0
  247. package/cjs/ext/core-js/internals/function-bind-native.js.map +1 -0
  248. package/cjs/ext/core-js/internals/function-call.js +2 -0
  249. package/cjs/ext/core-js/internals/function-call.js.map +1 -0
  250. package/cjs/ext/core-js/internals/function-name.js +2 -0
  251. package/cjs/ext/core-js/internals/function-name.js.map +1 -0
  252. package/cjs/ext/core-js/internals/function-uncurry-this-accessor.js +2 -0
  253. package/cjs/ext/core-js/internals/function-uncurry-this-accessor.js.map +1 -0
  254. package/cjs/ext/core-js/internals/function-uncurry-this-clause.js +2 -0
  255. package/cjs/ext/core-js/internals/function-uncurry-this-clause.js.map +1 -0
  256. package/cjs/ext/core-js/internals/function-uncurry-this.js +2 -0
  257. package/cjs/ext/core-js/internals/function-uncurry-this.js.map +1 -0
  258. package/cjs/ext/core-js/internals/get-built-in.js +2 -0
  259. package/cjs/ext/core-js/internals/get-built-in.js.map +1 -0
  260. package/cjs/ext/core-js/internals/get-iterator-method.js +2 -0
  261. package/cjs/ext/core-js/internals/get-iterator-method.js.map +1 -0
  262. package/cjs/ext/core-js/internals/get-iterator.js +2 -0
  263. package/cjs/ext/core-js/internals/get-iterator.js.map +1 -0
  264. package/cjs/ext/core-js/internals/get-method.js +2 -0
  265. package/cjs/ext/core-js/internals/get-method.js.map +1 -0
  266. package/cjs/ext/core-js/internals/get-substitution.js +2 -0
  267. package/cjs/ext/core-js/internals/get-substitution.js.map +1 -0
  268. package/cjs/ext/core-js/internals/global-this.js +2 -0
  269. package/cjs/ext/core-js/internals/global-this.js.map +1 -0
  270. package/cjs/ext/core-js/internals/has-own-property.js +2 -0
  271. package/cjs/ext/core-js/internals/has-own-property.js.map +1 -0
  272. package/cjs/ext/core-js/internals/hidden-keys.js +2 -0
  273. package/cjs/ext/core-js/internals/hidden-keys.js.map +1 -0
  274. package/cjs/ext/core-js/internals/host-report-errors.js +2 -0
  275. package/cjs/ext/core-js/internals/host-report-errors.js.map +1 -0
  276. package/cjs/ext/core-js/internals/html.js +2 -0
  277. package/cjs/ext/core-js/internals/html.js.map +1 -0
  278. package/cjs/ext/core-js/internals/ie8-dom-define.js +2 -0
  279. package/cjs/ext/core-js/internals/ie8-dom-define.js.map +1 -0
  280. package/cjs/ext/core-js/internals/indexed-object.js +2 -0
  281. package/cjs/ext/core-js/internals/indexed-object.js.map +1 -0
  282. package/cjs/ext/core-js/internals/inspect-source.js +2 -0
  283. package/cjs/ext/core-js/internals/inspect-source.js.map +1 -0
  284. package/cjs/ext/core-js/internals/internal-state.js +2 -0
  285. package/cjs/ext/core-js/internals/internal-state.js.map +1 -0
  286. package/cjs/ext/core-js/internals/is-array-iterator-method.js +2 -0
  287. package/cjs/ext/core-js/internals/is-array-iterator-method.js.map +1 -0
  288. package/cjs/ext/core-js/internals/is-array.js +2 -0
  289. package/cjs/ext/core-js/internals/is-array.js.map +1 -0
  290. package/cjs/ext/core-js/internals/is-callable.js +2 -0
  291. package/cjs/ext/core-js/internals/is-callable.js.map +1 -0
  292. package/cjs/ext/core-js/internals/is-constructor.js +2 -0
  293. package/cjs/ext/core-js/internals/is-constructor.js.map +1 -0
  294. package/cjs/ext/core-js/internals/is-forced.js +2 -0
  295. package/cjs/ext/core-js/internals/is-forced.js.map +1 -0
  296. package/cjs/ext/core-js/internals/is-null-or-undefined.js +2 -0
  297. package/cjs/ext/core-js/internals/is-null-or-undefined.js.map +1 -0
  298. package/cjs/ext/core-js/internals/is-object.js +2 -0
  299. package/cjs/ext/core-js/internals/is-object.js.map +1 -0
  300. package/cjs/ext/core-js/internals/is-possible-prototype.js +2 -0
  301. package/cjs/ext/core-js/internals/is-possible-prototype.js.map +1 -0
  302. package/cjs/ext/core-js/internals/is-regexp.js +2 -0
  303. package/cjs/ext/core-js/internals/is-regexp.js.map +1 -0
  304. package/cjs/ext/core-js/internals/is-symbol.js +2 -0
  305. package/cjs/ext/core-js/internals/is-symbol.js.map +1 -0
  306. package/cjs/ext/core-js/internals/iterate.js +2 -0
  307. package/cjs/ext/core-js/internals/iterate.js.map +1 -0
  308. package/cjs/ext/core-js/internals/iterator-close.js +2 -0
  309. package/cjs/ext/core-js/internals/iterator-close.js.map +1 -0
  310. package/cjs/ext/core-js/internals/iterator-create-constructor.js +2 -0
  311. package/cjs/ext/core-js/internals/iterator-create-constructor.js.map +1 -0
  312. package/cjs/ext/core-js/internals/iterator-define.js +2 -0
  313. package/cjs/ext/core-js/internals/iterator-define.js.map +1 -0
  314. package/cjs/ext/core-js/internals/iterators-core.js +2 -0
  315. package/cjs/ext/core-js/internals/iterators-core.js.map +1 -0
  316. package/cjs/ext/core-js/internals/iterators.js +2 -0
  317. package/cjs/ext/core-js/internals/iterators.js.map +1 -0
  318. package/cjs/ext/core-js/internals/length-of-array-like.js +2 -0
  319. package/cjs/ext/core-js/internals/length-of-array-like.js.map +1 -0
  320. package/cjs/ext/core-js/internals/make-built-in.js +2 -0
  321. package/cjs/ext/core-js/internals/make-built-in.js.map +1 -0
  322. package/cjs/ext/core-js/internals/math-trunc.js +2 -0
  323. package/cjs/ext/core-js/internals/math-trunc.js.map +1 -0
  324. package/cjs/ext/core-js/internals/microtask.js +2 -0
  325. package/cjs/ext/core-js/internals/microtask.js.map +1 -0
  326. package/cjs/ext/core-js/internals/new-promise-capability.js +2 -0
  327. package/cjs/ext/core-js/internals/new-promise-capability.js.map +1 -0
  328. package/cjs/ext/core-js/internals/not-a-regexp.js +2 -0
  329. package/cjs/ext/core-js/internals/not-a-regexp.js.map +1 -0
  330. package/cjs/ext/core-js/internals/object-create.js +2 -0
  331. package/cjs/ext/core-js/internals/object-create.js.map +1 -0
  332. package/cjs/ext/core-js/internals/object-define-properties.js +2 -0
  333. package/cjs/ext/core-js/internals/object-define-properties.js.map +1 -0
  334. package/cjs/ext/core-js/internals/object-define-property.js +2 -0
  335. package/cjs/ext/core-js/internals/object-define-property.js.map +1 -0
  336. package/cjs/ext/core-js/internals/object-get-own-property-descriptor.js +2 -0
  337. package/cjs/ext/core-js/internals/object-get-own-property-descriptor.js.map +1 -0
  338. package/cjs/ext/core-js/internals/object-get-own-property-names.js +2 -0
  339. package/cjs/ext/core-js/internals/object-get-own-property-names.js.map +1 -0
  340. package/cjs/ext/core-js/internals/object-get-own-property-symbols.js +2 -0
  341. package/cjs/ext/core-js/internals/object-get-own-property-symbols.js.map +1 -0
  342. package/cjs/ext/core-js/internals/object-get-prototype-of.js +2 -0
  343. package/cjs/ext/core-js/internals/object-get-prototype-of.js.map +1 -0
  344. package/cjs/ext/core-js/internals/object-is-prototype-of.js +2 -0
  345. package/cjs/ext/core-js/internals/object-is-prototype-of.js.map +1 -0
  346. package/cjs/ext/core-js/internals/object-keys-internal.js +2 -0
  347. package/cjs/ext/core-js/internals/object-keys-internal.js.map +1 -0
  348. package/cjs/ext/core-js/internals/object-keys.js +2 -0
  349. package/cjs/ext/core-js/internals/object-keys.js.map +1 -0
  350. package/cjs/ext/core-js/internals/object-property-is-enumerable.js +2 -0
  351. package/cjs/ext/core-js/internals/object-property-is-enumerable.js.map +1 -0
  352. package/cjs/ext/core-js/internals/object-set-prototype-of.js +2 -0
  353. package/cjs/ext/core-js/internals/object-set-prototype-of.js.map +1 -0
  354. package/cjs/ext/core-js/internals/ordinary-to-primitive.js +2 -0
  355. package/cjs/ext/core-js/internals/ordinary-to-primitive.js.map +1 -0
  356. package/cjs/ext/core-js/internals/own-keys.js +2 -0
  357. package/cjs/ext/core-js/internals/own-keys.js.map +1 -0
  358. package/cjs/ext/core-js/internals/path.js +2 -0
  359. package/cjs/ext/core-js/internals/path.js.map +1 -0
  360. package/cjs/ext/core-js/internals/perform.js +2 -0
  361. package/cjs/ext/core-js/internals/perform.js.map +1 -0
  362. package/cjs/ext/core-js/internals/promise-constructor-detection.js +2 -0
  363. package/cjs/ext/core-js/internals/promise-constructor-detection.js.map +1 -0
  364. package/cjs/ext/core-js/internals/promise-native-constructor.js +2 -0
  365. package/cjs/ext/core-js/internals/promise-native-constructor.js.map +1 -0
  366. package/cjs/ext/core-js/internals/promise-resolve.js +2 -0
  367. package/cjs/ext/core-js/internals/promise-resolve.js.map +1 -0
  368. package/cjs/ext/core-js/internals/promise-statics-incorrect-iteration.js +2 -0
  369. package/cjs/ext/core-js/internals/promise-statics-incorrect-iteration.js.map +1 -0
  370. package/cjs/ext/core-js/internals/queue.js +2 -0
  371. package/cjs/ext/core-js/internals/queue.js.map +1 -0
  372. package/cjs/ext/core-js/internals/regexp-exec-abstract.js +2 -0
  373. package/cjs/ext/core-js/internals/regexp-exec-abstract.js.map +1 -0
  374. package/cjs/ext/core-js/internals/regexp-exec.js +2 -0
  375. package/cjs/ext/core-js/internals/regexp-exec.js.map +1 -0
  376. package/cjs/ext/core-js/internals/regexp-flags-detection.js +2 -0
  377. package/cjs/ext/core-js/internals/regexp-flags-detection.js.map +1 -0
  378. package/cjs/ext/core-js/internals/regexp-flags.js +2 -0
  379. package/cjs/ext/core-js/internals/regexp-flags.js.map +1 -0
  380. package/cjs/ext/core-js/internals/regexp-get-flags.js +2 -0
  381. package/cjs/ext/core-js/internals/regexp-get-flags.js.map +1 -0
  382. package/cjs/ext/core-js/internals/regexp-sticky-helpers.js +2 -0
  383. package/cjs/ext/core-js/internals/regexp-sticky-helpers.js.map +1 -0
  384. package/cjs/ext/core-js/internals/regexp-unsupported-dot-all.js +2 -0
  385. package/cjs/ext/core-js/internals/regexp-unsupported-dot-all.js.map +1 -0
  386. package/cjs/ext/core-js/internals/regexp-unsupported-ncg.js +2 -0
  387. package/cjs/ext/core-js/internals/regexp-unsupported-ncg.js.map +1 -0
  388. package/cjs/ext/core-js/internals/require-object-coercible.js +2 -0
  389. package/cjs/ext/core-js/internals/require-object-coercible.js.map +1 -0
  390. package/cjs/ext/core-js/internals/safe-get-built-in.js +2 -0
  391. package/cjs/ext/core-js/internals/safe-get-built-in.js.map +1 -0
  392. package/cjs/ext/core-js/internals/set-species.js +2 -0
  393. package/cjs/ext/core-js/internals/set-species.js.map +1 -0
  394. package/cjs/ext/core-js/internals/set-to-string-tag.js +2 -0
  395. package/cjs/ext/core-js/internals/set-to-string-tag.js.map +1 -0
  396. package/cjs/ext/core-js/internals/shared-key.js +2 -0
  397. package/cjs/ext/core-js/internals/shared-key.js.map +1 -0
  398. package/cjs/ext/core-js/internals/shared-store.js +2 -0
  399. package/cjs/ext/core-js/internals/shared-store.js.map +1 -0
  400. package/cjs/ext/core-js/internals/shared.js +2 -0
  401. package/cjs/ext/core-js/internals/shared.js.map +1 -0
  402. package/cjs/ext/core-js/internals/species-constructor.js +2 -0
  403. package/cjs/ext/core-js/internals/species-constructor.js.map +1 -0
  404. package/cjs/ext/core-js/internals/string-multibyte.js +2 -0
  405. package/cjs/ext/core-js/internals/string-multibyte.js.map +1 -0
  406. package/cjs/ext/core-js/internals/string-trim-forced.js +2 -0
  407. package/cjs/ext/core-js/internals/string-trim-forced.js.map +1 -0
  408. package/cjs/ext/core-js/internals/string-trim.js +2 -0
  409. package/cjs/ext/core-js/internals/string-trim.js.map +1 -0
  410. package/cjs/ext/core-js/internals/symbol-constructor-detection.js +2 -0
  411. package/cjs/ext/core-js/internals/symbol-constructor-detection.js.map +1 -0
  412. package/cjs/ext/core-js/internals/task.js +2 -0
  413. package/cjs/ext/core-js/internals/task.js.map +1 -0
  414. package/cjs/ext/core-js/internals/to-absolute-index.js +2 -0
  415. package/cjs/ext/core-js/internals/to-absolute-index.js.map +1 -0
  416. package/cjs/ext/core-js/internals/to-indexed-object.js +2 -0
  417. package/cjs/ext/core-js/internals/to-indexed-object.js.map +1 -0
  418. package/cjs/ext/core-js/internals/to-integer-or-infinity.js +2 -0
  419. package/cjs/ext/core-js/internals/to-integer-or-infinity.js.map +1 -0
  420. package/cjs/ext/core-js/internals/to-length.js +2 -0
  421. package/cjs/ext/core-js/internals/to-length.js.map +1 -0
  422. package/cjs/ext/core-js/internals/to-object.js +2 -0
  423. package/cjs/ext/core-js/internals/to-object.js.map +1 -0
  424. package/cjs/ext/core-js/internals/to-primitive.js +2 -0
  425. package/cjs/ext/core-js/internals/to-primitive.js.map +1 -0
  426. package/cjs/ext/core-js/internals/to-property-key.js +2 -0
  427. package/cjs/ext/core-js/internals/to-property-key.js.map +1 -0
  428. package/cjs/ext/core-js/internals/to-string-tag-support.js +2 -0
  429. package/cjs/ext/core-js/internals/to-string-tag-support.js.map +1 -0
  430. package/cjs/ext/core-js/internals/to-string.js +2 -0
  431. package/cjs/ext/core-js/internals/to-string.js.map +1 -0
  432. package/cjs/ext/core-js/internals/try-to-string.js +2 -0
  433. package/cjs/ext/core-js/internals/try-to-string.js.map +1 -0
  434. package/cjs/ext/core-js/internals/uid.js +2 -0
  435. package/cjs/ext/core-js/internals/uid.js.map +1 -0
  436. package/cjs/ext/core-js/internals/use-symbol-as-uid.js +2 -0
  437. package/cjs/ext/core-js/internals/use-symbol-as-uid.js.map +1 -0
  438. package/cjs/ext/core-js/internals/v8-prototype-define-bug.js +2 -0
  439. package/cjs/ext/core-js/internals/v8-prototype-define-bug.js.map +1 -0
  440. package/cjs/ext/core-js/internals/validate-arguments-length.js +2 -0
  441. package/cjs/ext/core-js/internals/validate-arguments-length.js.map +1 -0
  442. package/cjs/ext/core-js/internals/weak-map-basic-detection.js +2 -0
  443. package/cjs/ext/core-js/internals/weak-map-basic-detection.js.map +1 -0
  444. package/cjs/ext/core-js/internals/well-known-symbol.js +2 -0
  445. package/cjs/ext/core-js/internals/well-known-symbol.js.map +1 -0
  446. package/cjs/ext/core-js/internals/whitespaces.js +2 -0
  447. package/cjs/ext/core-js/internals/whitespaces.js.map +1 -0
  448. package/cjs/ext/core-js/modules/es.array.index-of.js +2 -0
  449. package/cjs/ext/core-js/modules/es.array.index-of.js.map +1 -0
  450. package/cjs/ext/core-js/modules/es.array.iterator.js +2 -0
  451. package/cjs/ext/core-js/modules/es.array.iterator.js.map +1 -0
  452. package/cjs/ext/core-js/modules/es.array.reduce.js +2 -0
  453. package/cjs/ext/core-js/modules/es.array.reduce.js.map +1 -0
  454. package/cjs/ext/core-js/modules/es.array.reverse.js +2 -0
  455. package/cjs/ext/core-js/modules/es.array.reverse.js.map +1 -0
  456. package/cjs/ext/core-js/modules/es.promise.all.js +2 -0
  457. package/cjs/ext/core-js/modules/es.promise.all.js.map +1 -0
  458. package/cjs/ext/core-js/modules/es.promise.catch.js +2 -0
  459. package/cjs/ext/core-js/modules/es.promise.catch.js.map +1 -0
  460. package/cjs/ext/core-js/modules/es.promise.constructor.js +2 -0
  461. package/cjs/ext/core-js/modules/es.promise.constructor.js.map +1 -0
  462. package/cjs/ext/core-js/modules/es.promise.race.js +2 -0
  463. package/cjs/ext/core-js/modules/es.promise.race.js.map +1 -0
  464. package/cjs/ext/core-js/modules/es.promise.reject.js +2 -0
  465. package/cjs/ext/core-js/modules/es.promise.reject.js.map +1 -0
  466. package/cjs/ext/core-js/modules/es.promise.resolve.js +2 -0
  467. package/cjs/ext/core-js/modules/es.promise.resolve.js.map +1 -0
  468. package/cjs/ext/core-js/modules/es.regexp.exec.js +2 -0
  469. package/cjs/ext/core-js/modules/es.regexp.exec.js.map +1 -0
  470. package/cjs/ext/core-js/modules/es.regexp.to-string.js +2 -0
  471. package/cjs/ext/core-js/modules/es.regexp.to-string.js.map +1 -0
  472. package/cjs/ext/core-js/modules/es.string.ends-with.js +2 -0
  473. package/cjs/ext/core-js/modules/es.string.ends-with.js.map +1 -0
  474. package/cjs/ext/core-js/modules/es.string.includes.js +2 -0
  475. package/cjs/ext/core-js/modules/es.string.includes.js.map +1 -0
  476. package/cjs/ext/core-js/modules/es.string.match.js +2 -0
  477. package/cjs/ext/core-js/modules/es.string.match.js.map +1 -0
  478. package/cjs/ext/core-js/modules/es.string.replace.js +2 -0
  479. package/cjs/ext/core-js/modules/es.string.replace.js.map +1 -0
  480. package/cjs/ext/core-js/modules/es.string.split.js +2 -0
  481. package/cjs/ext/core-js/modules/es.string.split.js.map +1 -0
  482. package/cjs/ext/core-js/modules/es.string.starts-with.js +2 -0
  483. package/cjs/ext/core-js/modules/es.string.starts-with.js.map +1 -0
  484. package/cjs/ext/core-js/modules/es.string.trim.js +2 -0
  485. package/cjs/ext/core-js/modules/es.string.trim.js.map +1 -0
  486. package/cjs/ext/core-js/modules/web.dom-collections.iterator.js +2 -0
  487. package/cjs/ext/core-js/modules/web.dom-collections.iterator.js.map +1 -0
  488. package/cjs/ext/dompurify/dist/purify.es.js +4 -0
  489. package/cjs/ext/dompurify/dist/purify.es.js.map +1 -0
  490. package/cjs/ext/fast-png/lib-esm/PngDecoder.js +2 -0
  491. package/cjs/ext/fast-png/lib-esm/PngDecoder.js.map +1 -0
  492. package/cjs/ext/fast-png/lib-esm/helpers/applyUnfilter.js +2 -0
  493. package/cjs/ext/fast-png/lib-esm/helpers/applyUnfilter.js.map +1 -0
  494. package/cjs/ext/fast-png/lib-esm/helpers/crc.js +2 -0
  495. package/cjs/ext/fast-png/lib-esm/helpers/crc.js.map +1 -0
  496. package/cjs/ext/fast-png/lib-esm/helpers/decodeInterlaceAdam7.js +2 -0
  497. package/cjs/ext/fast-png/lib-esm/helpers/decodeInterlaceAdam7.js.map +1 -0
  498. package/cjs/ext/fast-png/lib-esm/helpers/decodeInterlaceNull.js +2 -0
  499. package/cjs/ext/fast-png/lib-esm/helpers/decodeInterlaceNull.js.map +1 -0
  500. package/cjs/ext/fast-png/lib-esm/helpers/signature.js +2 -0
  501. package/cjs/ext/fast-png/lib-esm/helpers/signature.js.map +1 -0
  502. package/cjs/ext/fast-png/lib-esm/helpers/text.js +2 -0
  503. package/cjs/ext/fast-png/lib-esm/helpers/text.js.map +1 -0
  504. package/cjs/ext/fast-png/lib-esm/helpers/unfilter.js +2 -0
  505. package/cjs/ext/fast-png/lib-esm/helpers/unfilter.js.map +1 -0
  506. package/cjs/ext/fast-png/lib-esm/index.js +2 -0
  507. package/cjs/ext/fast-png/lib-esm/index.js.map +1 -0
  508. package/cjs/ext/fast-png/lib-esm/internalTypes.js +2 -0
  509. package/cjs/ext/fast-png/lib-esm/internalTypes.js.map +1 -0
  510. package/cjs/ext/fast-png/lib-esm/types.js +2 -0
  511. package/cjs/ext/fast-png/lib-esm/types.js.map +1 -0
  512. package/cjs/ext/fflate/esm/browser.js +2 -0
  513. package/cjs/ext/fflate/esm/browser.js.map +1 -0
  514. package/cjs/ext/html2canvas/dist/html2canvas.js +22 -0
  515. package/cjs/ext/html2canvas/dist/html2canvas.js.map +1 -0
  516. package/cjs/ext/iobuffer/lib-esm/IOBuffer.js +2 -0
  517. package/cjs/ext/iobuffer/lib-esm/IOBuffer.js.map +1 -0
  518. package/cjs/ext/iobuffer/lib-esm/text.js +2 -0
  519. package/cjs/ext/iobuffer/lib-esm/text.js.map +1 -0
  520. package/cjs/ext/jspdf/dist/jspdf.es.min.js +228 -0
  521. package/cjs/ext/jspdf/dist/jspdf.es.min.js.map +1 -0
  522. package/cjs/ext/jspdf/ext/@babel/runtime/helpers/esm/arrayLikeToArray.js +2 -0
  523. package/cjs/ext/jspdf/ext/@babel/runtime/helpers/esm/arrayLikeToArray.js.map +1 -0
  524. package/cjs/ext/jspdf/ext/@babel/runtime/helpers/esm/arrayWithHoles.js +2 -0
  525. package/cjs/ext/jspdf/ext/@babel/runtime/helpers/esm/arrayWithHoles.js.map +1 -0
  526. package/cjs/ext/jspdf/ext/@babel/runtime/helpers/esm/iterableToArrayLimit.js +2 -0
  527. package/cjs/ext/jspdf/ext/@babel/runtime/helpers/esm/iterableToArrayLimit.js.map +1 -0
  528. package/cjs/ext/jspdf/ext/@babel/runtime/helpers/esm/nonIterableRest.js +2 -0
  529. package/cjs/ext/jspdf/ext/@babel/runtime/helpers/esm/nonIterableRest.js.map +1 -0
  530. package/cjs/ext/jspdf/ext/@babel/runtime/helpers/esm/slicedToArray.js +2 -0
  531. package/cjs/ext/jspdf/ext/@babel/runtime/helpers/esm/slicedToArray.js.map +1 -0
  532. package/cjs/ext/jspdf/ext/@babel/runtime/helpers/esm/typeof.js +2 -0
  533. package/cjs/ext/jspdf/ext/@babel/runtime/helpers/esm/typeof.js.map +1 -0
  534. package/cjs/ext/jspdf/ext/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +2 -0
  535. package/cjs/ext/jspdf/ext/@babel/runtime/helpers/esm/unsupportedIterableToArray.js.map +1 -0
  536. package/cjs/ext/pako/dist/pako.esm.js +3 -0
  537. package/cjs/ext/pako/dist/pako.esm.js.map +1 -0
  538. package/cjs/ext/performance-now/lib/performance-now.js +2 -0
  539. package/cjs/ext/performance-now/lib/performance-now.js.map +1 -0
  540. package/cjs/ext/raf/index.js +2 -0
  541. package/cjs/ext/raf/index.js.map +1 -0
  542. package/cjs/ext/rgbcolor/index.js +2 -0
  543. package/cjs/ext/rgbcolor/index.js.map +1 -0
  544. package/cjs/ext/stackblur-canvas/dist/stackblur-es.js +42 -0
  545. package/cjs/ext/stackblur-canvas/dist/stackblur-es.js.map +1 -0
  546. package/cjs/ext/svg-pathdata/lib/SVGPathData.module.js +16 -0
  547. package/cjs/ext/svg-pathdata/lib/SVGPathData.module.js.map +1 -0
  548. package/components/Components/ActionBar/ActionBar.js +1 -1
  549. package/components/Components/ActionBar/ActionBar.js.map +1 -1
  550. package/components/Components/Dropdown/Dropdown.js +1 -1
  551. package/components/Components/Dropdown/Dropdown.js.map +1 -1
  552. package/components/Components/IconList/IconListItem.js +1 -1
  553. package/components/Components/IconList/IconListItem.js.map +1 -1
  554. package/components/Components/NotificationCard/NotificationCardHeader.js +1 -1
  555. package/components/Components/NotificationCard/NotificationCardHeader.js.map +1 -1
  556. package/components/Components/ProductCard/ProductCard.d.ts +30 -7
  557. package/components/Components/ProductCard/ProductCard.d.ts.map +1 -1
  558. package/components/Components/ProductCard/ProductCard.js +1 -1
  559. package/components/Components/ProductCard/ProductCard.js.map +1 -1
  560. package/components/Components/ProductHeader/ProductHeader.d.ts +20 -5
  561. package/components/Components/ProductHeader/ProductHeader.d.ts.map +1 -1
  562. package/components/Components/ProductHeader/ProductHeader.js +1 -1
  563. package/components/Components/ProductHeader/ProductHeader.js.map +1 -1
  564. package/components/Components/Tile/Tile.js +1 -1
  565. package/components/Components/Tile/Tile.js.map +1 -1
  566. package/components/Components/UserAuth/UserAuth.js +1 -1
  567. package/components/Components/UserAuth/UserAuth.js.map +1 -1
  568. package/components/Form/Autocomplete/Autocomplete.js +1 -1
  569. package/components/Form/Autocomplete/Autocomplete.js.map +1 -1
  570. package/components/Form/Checkbox/CheckboxItem.js +1 -1
  571. package/components/Form/Checkbox/CheckboxItem.js.map +1 -1
  572. package/components/Form/DatePicker/DatePicker.js +1 -1
  573. package/components/Form/DatePicker/DatePicker.js.map +1 -1
  574. package/components/Form/FileUpload/FileUpload.d.ts +7 -0
  575. package/components/Form/FileUpload/FileUpload.d.ts.map +1 -1
  576. package/components/Form/FileUpload/FileUpload.js +1 -1
  577. package/components/Form/FileUpload/FileUpload.js.map +1 -1
  578. package/components/Form/FileUpload/_parts_/FileList.js +1 -1
  579. package/components/Form/FileUpload/_parts_/FileList.js.map +1 -1
  580. package/components/Form/FileUpload/_parts_/MergeDialog.d.ts +6 -5
  581. package/components/Form/FileUpload/_parts_/MergeDialog.d.ts.map +1 -1
  582. package/components/Form/FileUpload/_parts_/MergeDialog.js +1 -1
  583. package/components/Form/FileUpload/_parts_/MergeDialog.js.map +1 -1
  584. package/components/Form/FileUpload/_parts_/MergeImageAdd.d.ts +3 -1
  585. package/components/Form/FileUpload/_parts_/MergeImageAdd.d.ts.map +1 -1
  586. package/components/Form/FileUpload/_parts_/MergeImageAdd.js +1 -1
  587. package/components/Form/FileUpload/_parts_/MergeImageAdd.js.map +1 -1
  588. package/components/Form/FileUpload/_parts_/MergeImageCard.d.ts +3 -2
  589. package/components/Form/FileUpload/_parts_/MergeImageCard.d.ts.map +1 -1
  590. package/components/Form/FileUpload/_parts_/MergeImageCard.js +1 -1
  591. package/components/Form/FileUpload/_parts_/MergeImageCard.js.map +1 -1
  592. package/components/Form/FileUpload/_parts_/MergeImageCards.d.ts +7 -4
  593. package/components/Form/FileUpload/_parts_/MergeImageCards.d.ts.map +1 -1
  594. package/components/Form/FileUpload/_parts_/MergeImageCards.js +1 -1
  595. package/components/Form/FileUpload/_parts_/MergeImageCards.js.map +1 -1
  596. package/components/Form/FileUpload/_parts_/MergeImageDetail.d.ts +3 -2
  597. package/components/Form/FileUpload/_parts_/MergeImageDetail.d.ts.map +1 -1
  598. package/components/Form/FileUpload/_parts_/MergeImageDetail.js +1 -1
  599. package/components/Form/FileUpload/_parts_/MergeImageDetail.js.map +1 -1
  600. package/components/Form/Input/Input.js +1 -1
  601. package/components/Form/Input/Input.js.map +1 -1
  602. package/components/Form/Input/_elements_/ShowPasswordIcon.js +1 -1
  603. package/components/Form/Input/_elements_/ShowPasswordIcon.js.map +1 -1
  604. package/components/Form/Label2/Label2.js +1 -1
  605. package/components/Form/Label2/Label2.js.map +1 -1
  606. package/components/Form/Multiselect/Multiselect.js +1 -1
  607. package/components/Form/Multiselect/Multiselect.js.map +1 -1
  608. package/components/Form/PersonCount/PersonCount.js +1 -1
  609. package/components/Form/PersonCount/PersonCount.js.map +1 -1
  610. package/components/Form/Radio/Radio.js +1 -1
  611. package/components/Form/Radio/Radio.js.map +1 -1
  612. package/components/Form/Select/Select.js +1 -1
  613. package/components/Form/Select/Select.js.map +1 -1
  614. package/components/Form/Select/_elements_/Select2CategorisedOptions.js +1 -1
  615. package/components/Form/Select/_elements_/Select2CategorisedOptions.js.map +1 -1
  616. package/components/Form/Select/_elements_/Select2Options.js +1 -1
  617. package/components/Form/Select/_elements_/Select2Options.js.map +1 -1
  618. package/components/Form/Select/_elements_/SelectedOption.js +1 -1
  619. package/components/Form/Select/_elements_/SelectedOption.js.map +1 -1
  620. package/components/Form/Slider/Slider.js +1 -1
  621. package/components/Form/Slider/Slider.js.map +1 -1
  622. package/components/Form/Toggle/Toggle.js +1 -1
  623. package/components/Form/Toggle/Toggle.js.map +1 -1
  624. package/components/Graphs/AreaChart/_elements_/AreaChartLegend/AreaChartLegend.js +1 -1
  625. package/components/Graphs/AreaChart/_elements_/AreaChartLegend/AreaChartLegend.js.map +1 -1
  626. package/components/Graphs/ChartLegend/_elements_/ChartLegendRow.js +1 -1
  627. package/components/Graphs/ChartLegend/_elements_/ChartLegendRow.js.map +1 -1
  628. package/components/Layout/MobilePanel/_elements_/Header.js +1 -1
  629. package/components/Layout/MobilePanel/_elements_/Header.js.map +1 -1
  630. package/components/Navigation/Menu/_elements_/MenuItem.js +1 -1
  631. package/components/Navigation/Menu/_elements_/MenuItem.js.map +1 -1
  632. package/components/Navigation/Stepper/_parts_/Step.js +1 -1
  633. package/components/Navigation/Stepper/_parts_/Step.js.map +1 -1
  634. package/components/Navigation/Tabs/_elements_/TabsBar.js +1 -1
  635. package/components/Navigation/Tabs/_elements_/TabsBar.js.map +1 -1
  636. package/components/Typography/Amount/Amount.js +1 -1
  637. package/components/Typography/Amount/Amount.js.map +1 -1
  638. package/components/Typography/Title/Title.js +1 -1
  639. package/components/Typography/Title/Title.js.map +1 -1
  640. package/ds-lilly.css +34 -6
  641. package/ext/@babel/runtime/helpers/esm/asyncToGenerator.js +2 -0
  642. package/ext/@babel/runtime/helpers/esm/asyncToGenerator.js.map +1 -0
  643. package/ext/@babel/runtime/helpers/esm/defineProperty.js +2 -0
  644. package/ext/@babel/runtime/helpers/esm/defineProperty.js.map +1 -0
  645. package/ext/@babel/runtime/helpers/esm/toPrimitive.js +2 -0
  646. package/ext/@babel/runtime/helpers/esm/toPrimitive.js.map +1 -0
  647. package/ext/@babel/runtime/helpers/esm/toPropertyKey.js +2 -0
  648. package/ext/@babel/runtime/helpers/esm/toPropertyKey.js.map +1 -0
  649. package/ext/@babel/runtime/helpers/esm/typeof.js +2 -0
  650. package/ext/@babel/runtime/helpers/esm/typeof.js.map +1 -0
  651. package/ext/@bugsnag/cuid/index.esm.js +2 -0
  652. package/ext/@bugsnag/cuid/index.esm.js.map +1 -0
  653. package/ext/@bugsnag/cuid/lib/cuid.js +2 -0
  654. package/ext/@bugsnag/cuid/lib/cuid.js.map +1 -0
  655. package/ext/@bugsnag/cuid/lib/fingerprint.browser.js +2 -0
  656. package/ext/@bugsnag/cuid/lib/fingerprint.browser.js.map +1 -0
  657. package/ext/@bugsnag/cuid/lib/is-cuid.js +2 -0
  658. package/ext/@bugsnag/cuid/lib/is-cuid.js.map +1 -0
  659. package/ext/@bugsnag/cuid/lib/pad.js +2 -0
  660. package/ext/@bugsnag/cuid/lib/pad.js.map +1 -0
  661. package/ext/@refinanso/images-to-pdf/dist/image-to-pdf.es.js +2 -0
  662. package/ext/@refinanso/images-to-pdf/dist/image-to-pdf.es.js.map +1 -0
  663. package/ext/canvg/lib/index.es.js +2 -0
  664. package/ext/canvg/lib/index.es.js.map +1 -0
  665. package/ext/core-js/internals/a-callable.js +2 -0
  666. package/ext/core-js/internals/a-callable.js.map +1 -0
  667. package/ext/core-js/internals/a-constructor.js +2 -0
  668. package/ext/core-js/internals/a-constructor.js.map +1 -0
  669. package/ext/core-js/internals/a-possible-prototype.js +2 -0
  670. package/ext/core-js/internals/a-possible-prototype.js.map +1 -0
  671. package/ext/core-js/internals/add-to-unscopables.js +2 -0
  672. package/ext/core-js/internals/add-to-unscopables.js.map +1 -0
  673. package/ext/core-js/internals/advance-string-index.js +2 -0
  674. package/ext/core-js/internals/advance-string-index.js.map +1 -0
  675. package/ext/core-js/internals/an-instance.js +2 -0
  676. package/ext/core-js/internals/an-instance.js.map +1 -0
  677. package/ext/core-js/internals/an-object.js +2 -0
  678. package/ext/core-js/internals/an-object.js.map +1 -0
  679. package/ext/core-js/internals/array-includes.js +2 -0
  680. package/ext/core-js/internals/array-includes.js.map +1 -0
  681. package/ext/core-js/internals/array-method-is-strict.js +2 -0
  682. package/ext/core-js/internals/array-method-is-strict.js.map +1 -0
  683. package/ext/core-js/internals/array-reduce.js +2 -0
  684. package/ext/core-js/internals/array-reduce.js.map +1 -0
  685. package/ext/core-js/internals/array-slice.js +2 -0
  686. package/ext/core-js/internals/array-slice.js.map +1 -0
  687. package/ext/core-js/internals/check-correctness-of-iteration.js +2 -0
  688. package/ext/core-js/internals/check-correctness-of-iteration.js.map +1 -0
  689. package/ext/core-js/internals/classof-raw.js +2 -0
  690. package/ext/core-js/internals/classof-raw.js.map +1 -0
  691. package/ext/core-js/internals/classof.js +2 -0
  692. package/ext/core-js/internals/classof.js.map +1 -0
  693. package/ext/core-js/internals/copy-constructor-properties.js +2 -0
  694. package/ext/core-js/internals/copy-constructor-properties.js.map +1 -0
  695. package/ext/core-js/internals/correct-is-regexp-logic.js +2 -0
  696. package/ext/core-js/internals/correct-is-regexp-logic.js.map +1 -0
  697. package/ext/core-js/internals/correct-prototype-getter.js +2 -0
  698. package/ext/core-js/internals/correct-prototype-getter.js.map +1 -0
  699. package/ext/core-js/internals/create-iter-result-object.js +2 -0
  700. package/ext/core-js/internals/create-iter-result-object.js.map +1 -0
  701. package/ext/core-js/internals/create-non-enumerable-property.js +2 -0
  702. package/ext/core-js/internals/create-non-enumerable-property.js.map +1 -0
  703. package/ext/core-js/internals/create-property-descriptor.js +2 -0
  704. package/ext/core-js/internals/create-property-descriptor.js.map +1 -0
  705. package/ext/core-js/internals/define-built-in-accessor.js +2 -0
  706. package/ext/core-js/internals/define-built-in-accessor.js.map +1 -0
  707. package/ext/core-js/internals/define-built-in.js +2 -0
  708. package/ext/core-js/internals/define-built-in.js.map +1 -0
  709. package/ext/core-js/internals/define-global-property.js +2 -0
  710. package/ext/core-js/internals/define-global-property.js.map +1 -0
  711. package/ext/core-js/internals/descriptors.js +2 -0
  712. package/ext/core-js/internals/descriptors.js.map +1 -0
  713. package/ext/core-js/internals/document-create-element.js +2 -0
  714. package/ext/core-js/internals/document-create-element.js.map +1 -0
  715. package/ext/core-js/internals/dom-iterables.js +2 -0
  716. package/ext/core-js/internals/dom-iterables.js.map +1 -0
  717. package/ext/core-js/internals/dom-token-list-prototype.js +2 -0
  718. package/ext/core-js/internals/dom-token-list-prototype.js.map +1 -0
  719. package/ext/core-js/internals/enum-bug-keys.js +2 -0
  720. package/ext/core-js/internals/enum-bug-keys.js.map +1 -0
  721. package/ext/core-js/internals/environment-is-ios-pebble.js +2 -0
  722. package/ext/core-js/internals/environment-is-ios-pebble.js.map +1 -0
  723. package/ext/core-js/internals/environment-is-ios.js +2 -0
  724. package/ext/core-js/internals/environment-is-ios.js.map +1 -0
  725. package/ext/core-js/internals/environment-is-node.js +2 -0
  726. package/ext/core-js/internals/environment-is-node.js.map +1 -0
  727. package/ext/core-js/internals/environment-is-webos-webkit.js +2 -0
  728. package/ext/core-js/internals/environment-is-webos-webkit.js.map +1 -0
  729. package/ext/core-js/internals/environment-user-agent.js +2 -0
  730. package/ext/core-js/internals/environment-user-agent.js.map +1 -0
  731. package/ext/core-js/internals/environment-v8-version.js +2 -0
  732. package/ext/core-js/internals/environment-v8-version.js.map +1 -0
  733. package/ext/core-js/internals/environment.js +2 -0
  734. package/ext/core-js/internals/environment.js.map +1 -0
  735. package/ext/core-js/internals/export.js +2 -0
  736. package/ext/core-js/internals/export.js.map +1 -0
  737. package/ext/core-js/internals/fails.js +2 -0
  738. package/ext/core-js/internals/fails.js.map +1 -0
  739. package/ext/core-js/internals/fix-regexp-well-known-symbol-logic.js +2 -0
  740. package/ext/core-js/internals/fix-regexp-well-known-symbol-logic.js.map +1 -0
  741. package/ext/core-js/internals/function-apply.js +2 -0
  742. package/ext/core-js/internals/function-apply.js.map +1 -0
  743. package/ext/core-js/internals/function-bind-context.js +2 -0
  744. package/ext/core-js/internals/function-bind-context.js.map +1 -0
  745. package/ext/core-js/internals/function-bind-native.js +2 -0
  746. package/ext/core-js/internals/function-bind-native.js.map +1 -0
  747. package/ext/core-js/internals/function-call.js +2 -0
  748. package/ext/core-js/internals/function-call.js.map +1 -0
  749. package/ext/core-js/internals/function-name.js +2 -0
  750. package/ext/core-js/internals/function-name.js.map +1 -0
  751. package/ext/core-js/internals/function-uncurry-this-accessor.js +2 -0
  752. package/ext/core-js/internals/function-uncurry-this-accessor.js.map +1 -0
  753. package/ext/core-js/internals/function-uncurry-this-clause.js +2 -0
  754. package/ext/core-js/internals/function-uncurry-this-clause.js.map +1 -0
  755. package/ext/core-js/internals/function-uncurry-this.js +2 -0
  756. package/ext/core-js/internals/function-uncurry-this.js.map +1 -0
  757. package/ext/core-js/internals/get-built-in.js +2 -0
  758. package/ext/core-js/internals/get-built-in.js.map +1 -0
  759. package/ext/core-js/internals/get-iterator-method.js +2 -0
  760. package/ext/core-js/internals/get-iterator-method.js.map +1 -0
  761. package/ext/core-js/internals/get-iterator.js +2 -0
  762. package/ext/core-js/internals/get-iterator.js.map +1 -0
  763. package/ext/core-js/internals/get-method.js +2 -0
  764. package/ext/core-js/internals/get-method.js.map +1 -0
  765. package/ext/core-js/internals/get-substitution.js +2 -0
  766. package/ext/core-js/internals/get-substitution.js.map +1 -0
  767. package/ext/core-js/internals/global-this.js +2 -0
  768. package/ext/core-js/internals/global-this.js.map +1 -0
  769. package/ext/core-js/internals/has-own-property.js +2 -0
  770. package/ext/core-js/internals/has-own-property.js.map +1 -0
  771. package/ext/core-js/internals/hidden-keys.js +2 -0
  772. package/ext/core-js/internals/hidden-keys.js.map +1 -0
  773. package/ext/core-js/internals/host-report-errors.js +2 -0
  774. package/ext/core-js/internals/host-report-errors.js.map +1 -0
  775. package/ext/core-js/internals/html.js +2 -0
  776. package/ext/core-js/internals/html.js.map +1 -0
  777. package/ext/core-js/internals/ie8-dom-define.js +2 -0
  778. package/ext/core-js/internals/ie8-dom-define.js.map +1 -0
  779. package/ext/core-js/internals/indexed-object.js +2 -0
  780. package/ext/core-js/internals/indexed-object.js.map +1 -0
  781. package/ext/core-js/internals/inspect-source.js +2 -0
  782. package/ext/core-js/internals/inspect-source.js.map +1 -0
  783. package/ext/core-js/internals/internal-state.js +2 -0
  784. package/ext/core-js/internals/internal-state.js.map +1 -0
  785. package/ext/core-js/internals/is-array-iterator-method.js +2 -0
  786. package/ext/core-js/internals/is-array-iterator-method.js.map +1 -0
  787. package/ext/core-js/internals/is-array.js +2 -0
  788. package/ext/core-js/internals/is-array.js.map +1 -0
  789. package/ext/core-js/internals/is-callable.js +2 -0
  790. package/ext/core-js/internals/is-callable.js.map +1 -0
  791. package/ext/core-js/internals/is-constructor.js +2 -0
  792. package/ext/core-js/internals/is-constructor.js.map +1 -0
  793. package/ext/core-js/internals/is-forced.js +2 -0
  794. package/ext/core-js/internals/is-forced.js.map +1 -0
  795. package/ext/core-js/internals/is-null-or-undefined.js +2 -0
  796. package/ext/core-js/internals/is-null-or-undefined.js.map +1 -0
  797. package/ext/core-js/internals/is-object.js +2 -0
  798. package/ext/core-js/internals/is-object.js.map +1 -0
  799. package/ext/core-js/internals/is-possible-prototype.js +2 -0
  800. package/ext/core-js/internals/is-possible-prototype.js.map +1 -0
  801. package/ext/core-js/internals/is-regexp.js +2 -0
  802. package/ext/core-js/internals/is-regexp.js.map +1 -0
  803. package/ext/core-js/internals/is-symbol.js +2 -0
  804. package/ext/core-js/internals/is-symbol.js.map +1 -0
  805. package/ext/core-js/internals/iterate.js +2 -0
  806. package/ext/core-js/internals/iterate.js.map +1 -0
  807. package/ext/core-js/internals/iterator-close.js +2 -0
  808. package/ext/core-js/internals/iterator-close.js.map +1 -0
  809. package/ext/core-js/internals/iterator-create-constructor.js +2 -0
  810. package/ext/core-js/internals/iterator-create-constructor.js.map +1 -0
  811. package/ext/core-js/internals/iterator-define.js +2 -0
  812. package/ext/core-js/internals/iterator-define.js.map +1 -0
  813. package/ext/core-js/internals/iterators-core.js +2 -0
  814. package/ext/core-js/internals/iterators-core.js.map +1 -0
  815. package/ext/core-js/internals/iterators.js +2 -0
  816. package/ext/core-js/internals/iterators.js.map +1 -0
  817. package/ext/core-js/internals/length-of-array-like.js +2 -0
  818. package/ext/core-js/internals/length-of-array-like.js.map +1 -0
  819. package/ext/core-js/internals/make-built-in.js +2 -0
  820. package/ext/core-js/internals/make-built-in.js.map +1 -0
  821. package/ext/core-js/internals/math-trunc.js +2 -0
  822. package/ext/core-js/internals/math-trunc.js.map +1 -0
  823. package/ext/core-js/internals/microtask.js +2 -0
  824. package/ext/core-js/internals/microtask.js.map +1 -0
  825. package/ext/core-js/internals/new-promise-capability.js +2 -0
  826. package/ext/core-js/internals/new-promise-capability.js.map +1 -0
  827. package/ext/core-js/internals/not-a-regexp.js +2 -0
  828. package/ext/core-js/internals/not-a-regexp.js.map +1 -0
  829. package/ext/core-js/internals/object-create.js +2 -0
  830. package/ext/core-js/internals/object-create.js.map +1 -0
  831. package/ext/core-js/internals/object-define-properties.js +2 -0
  832. package/ext/core-js/internals/object-define-properties.js.map +1 -0
  833. package/ext/core-js/internals/object-define-property.js +2 -0
  834. package/ext/core-js/internals/object-define-property.js.map +1 -0
  835. package/ext/core-js/internals/object-get-own-property-descriptor.js +2 -0
  836. package/ext/core-js/internals/object-get-own-property-descriptor.js.map +1 -0
  837. package/ext/core-js/internals/object-get-own-property-names.js +2 -0
  838. package/ext/core-js/internals/object-get-own-property-names.js.map +1 -0
  839. package/ext/core-js/internals/object-get-own-property-symbols.js +2 -0
  840. package/ext/core-js/internals/object-get-own-property-symbols.js.map +1 -0
  841. package/ext/core-js/internals/object-get-prototype-of.js +2 -0
  842. package/ext/core-js/internals/object-get-prototype-of.js.map +1 -0
  843. package/ext/core-js/internals/object-is-prototype-of.js +2 -0
  844. package/ext/core-js/internals/object-is-prototype-of.js.map +1 -0
  845. package/ext/core-js/internals/object-keys-internal.js +2 -0
  846. package/ext/core-js/internals/object-keys-internal.js.map +1 -0
  847. package/ext/core-js/internals/object-keys.js +2 -0
  848. package/ext/core-js/internals/object-keys.js.map +1 -0
  849. package/ext/core-js/internals/object-property-is-enumerable.js +2 -0
  850. package/ext/core-js/internals/object-property-is-enumerable.js.map +1 -0
  851. package/ext/core-js/internals/object-set-prototype-of.js +2 -0
  852. package/ext/core-js/internals/object-set-prototype-of.js.map +1 -0
  853. package/ext/core-js/internals/ordinary-to-primitive.js +2 -0
  854. package/ext/core-js/internals/ordinary-to-primitive.js.map +1 -0
  855. package/ext/core-js/internals/own-keys.js +2 -0
  856. package/ext/core-js/internals/own-keys.js.map +1 -0
  857. package/ext/core-js/internals/path.js +2 -0
  858. package/ext/core-js/internals/path.js.map +1 -0
  859. package/ext/core-js/internals/perform.js +2 -0
  860. package/ext/core-js/internals/perform.js.map +1 -0
  861. package/ext/core-js/internals/promise-constructor-detection.js +2 -0
  862. package/ext/core-js/internals/promise-constructor-detection.js.map +1 -0
  863. package/ext/core-js/internals/promise-native-constructor.js +2 -0
  864. package/ext/core-js/internals/promise-native-constructor.js.map +1 -0
  865. package/ext/core-js/internals/promise-resolve.js +2 -0
  866. package/ext/core-js/internals/promise-resolve.js.map +1 -0
  867. package/ext/core-js/internals/promise-statics-incorrect-iteration.js +2 -0
  868. package/ext/core-js/internals/promise-statics-incorrect-iteration.js.map +1 -0
  869. package/ext/core-js/internals/queue.js +2 -0
  870. package/ext/core-js/internals/queue.js.map +1 -0
  871. package/ext/core-js/internals/regexp-exec-abstract.js +2 -0
  872. package/ext/core-js/internals/regexp-exec-abstract.js.map +1 -0
  873. package/ext/core-js/internals/regexp-exec.js +2 -0
  874. package/ext/core-js/internals/regexp-exec.js.map +1 -0
  875. package/ext/core-js/internals/regexp-flags-detection.js +2 -0
  876. package/ext/core-js/internals/regexp-flags-detection.js.map +1 -0
  877. package/ext/core-js/internals/regexp-flags.js +2 -0
  878. package/ext/core-js/internals/regexp-flags.js.map +1 -0
  879. package/ext/core-js/internals/regexp-get-flags.js +2 -0
  880. package/ext/core-js/internals/regexp-get-flags.js.map +1 -0
  881. package/ext/core-js/internals/regexp-sticky-helpers.js +2 -0
  882. package/ext/core-js/internals/regexp-sticky-helpers.js.map +1 -0
  883. package/ext/core-js/internals/regexp-unsupported-dot-all.js +2 -0
  884. package/ext/core-js/internals/regexp-unsupported-dot-all.js.map +1 -0
  885. package/ext/core-js/internals/regexp-unsupported-ncg.js +2 -0
  886. package/ext/core-js/internals/regexp-unsupported-ncg.js.map +1 -0
  887. package/ext/core-js/internals/require-object-coercible.js +2 -0
  888. package/ext/core-js/internals/require-object-coercible.js.map +1 -0
  889. package/ext/core-js/internals/safe-get-built-in.js +2 -0
  890. package/ext/core-js/internals/safe-get-built-in.js.map +1 -0
  891. package/ext/core-js/internals/set-species.js +2 -0
  892. package/ext/core-js/internals/set-species.js.map +1 -0
  893. package/ext/core-js/internals/set-to-string-tag.js +2 -0
  894. package/ext/core-js/internals/set-to-string-tag.js.map +1 -0
  895. package/ext/core-js/internals/shared-key.js +2 -0
  896. package/ext/core-js/internals/shared-key.js.map +1 -0
  897. package/ext/core-js/internals/shared-store.js +2 -0
  898. package/ext/core-js/internals/shared-store.js.map +1 -0
  899. package/ext/core-js/internals/shared.js +2 -0
  900. package/ext/core-js/internals/shared.js.map +1 -0
  901. package/ext/core-js/internals/species-constructor.js +2 -0
  902. package/ext/core-js/internals/species-constructor.js.map +1 -0
  903. package/ext/core-js/internals/string-multibyte.js +2 -0
  904. package/ext/core-js/internals/string-multibyte.js.map +1 -0
  905. package/ext/core-js/internals/string-trim-forced.js +2 -0
  906. package/ext/core-js/internals/string-trim-forced.js.map +1 -0
  907. package/ext/core-js/internals/string-trim.js +2 -0
  908. package/ext/core-js/internals/string-trim.js.map +1 -0
  909. package/ext/core-js/internals/symbol-constructor-detection.js +2 -0
  910. package/ext/core-js/internals/symbol-constructor-detection.js.map +1 -0
  911. package/ext/core-js/internals/task.js +2 -0
  912. package/ext/core-js/internals/task.js.map +1 -0
  913. package/ext/core-js/internals/to-absolute-index.js +2 -0
  914. package/ext/core-js/internals/to-absolute-index.js.map +1 -0
  915. package/ext/core-js/internals/to-indexed-object.js +2 -0
  916. package/ext/core-js/internals/to-indexed-object.js.map +1 -0
  917. package/ext/core-js/internals/to-integer-or-infinity.js +2 -0
  918. package/ext/core-js/internals/to-integer-or-infinity.js.map +1 -0
  919. package/ext/core-js/internals/to-length.js +2 -0
  920. package/ext/core-js/internals/to-length.js.map +1 -0
  921. package/ext/core-js/internals/to-object.js +2 -0
  922. package/ext/core-js/internals/to-object.js.map +1 -0
  923. package/ext/core-js/internals/to-primitive.js +2 -0
  924. package/ext/core-js/internals/to-primitive.js.map +1 -0
  925. package/ext/core-js/internals/to-property-key.js +2 -0
  926. package/ext/core-js/internals/to-property-key.js.map +1 -0
  927. package/ext/core-js/internals/to-string-tag-support.js +2 -0
  928. package/ext/core-js/internals/to-string-tag-support.js.map +1 -0
  929. package/ext/core-js/internals/to-string.js +2 -0
  930. package/ext/core-js/internals/to-string.js.map +1 -0
  931. package/ext/core-js/internals/try-to-string.js +2 -0
  932. package/ext/core-js/internals/try-to-string.js.map +1 -0
  933. package/ext/core-js/internals/uid.js +2 -0
  934. package/ext/core-js/internals/uid.js.map +1 -0
  935. package/ext/core-js/internals/use-symbol-as-uid.js +2 -0
  936. package/ext/core-js/internals/use-symbol-as-uid.js.map +1 -0
  937. package/ext/core-js/internals/v8-prototype-define-bug.js +2 -0
  938. package/ext/core-js/internals/v8-prototype-define-bug.js.map +1 -0
  939. package/ext/core-js/internals/validate-arguments-length.js +2 -0
  940. package/ext/core-js/internals/validate-arguments-length.js.map +1 -0
  941. package/ext/core-js/internals/weak-map-basic-detection.js +2 -0
  942. package/ext/core-js/internals/weak-map-basic-detection.js.map +1 -0
  943. package/ext/core-js/internals/well-known-symbol.js +2 -0
  944. package/ext/core-js/internals/well-known-symbol.js.map +1 -0
  945. package/ext/core-js/internals/whitespaces.js +2 -0
  946. package/ext/core-js/internals/whitespaces.js.map +1 -0
  947. package/ext/core-js/modules/es.array.index-of.js +2 -0
  948. package/ext/core-js/modules/es.array.index-of.js.map +1 -0
  949. package/ext/core-js/modules/es.array.iterator.js +2 -0
  950. package/ext/core-js/modules/es.array.iterator.js.map +1 -0
  951. package/ext/core-js/modules/es.array.reduce.js +2 -0
  952. package/ext/core-js/modules/es.array.reduce.js.map +1 -0
  953. package/ext/core-js/modules/es.array.reverse.js +2 -0
  954. package/ext/core-js/modules/es.array.reverse.js.map +1 -0
  955. package/ext/core-js/modules/es.promise.all.js +2 -0
  956. package/ext/core-js/modules/es.promise.all.js.map +1 -0
  957. package/ext/core-js/modules/es.promise.catch.js +2 -0
  958. package/ext/core-js/modules/es.promise.catch.js.map +1 -0
  959. package/ext/core-js/modules/es.promise.constructor.js +2 -0
  960. package/ext/core-js/modules/es.promise.constructor.js.map +1 -0
  961. package/ext/core-js/modules/es.promise.race.js +2 -0
  962. package/ext/core-js/modules/es.promise.race.js.map +1 -0
  963. package/ext/core-js/modules/es.promise.reject.js +2 -0
  964. package/ext/core-js/modules/es.promise.reject.js.map +1 -0
  965. package/ext/core-js/modules/es.promise.resolve.js +2 -0
  966. package/ext/core-js/modules/es.promise.resolve.js.map +1 -0
  967. package/ext/core-js/modules/es.regexp.exec.js +2 -0
  968. package/ext/core-js/modules/es.regexp.exec.js.map +1 -0
  969. package/ext/core-js/modules/es.regexp.to-string.js +2 -0
  970. package/ext/core-js/modules/es.regexp.to-string.js.map +1 -0
  971. package/ext/core-js/modules/es.string.ends-with.js +2 -0
  972. package/ext/core-js/modules/es.string.ends-with.js.map +1 -0
  973. package/ext/core-js/modules/es.string.includes.js +2 -0
  974. package/ext/core-js/modules/es.string.includes.js.map +1 -0
  975. package/ext/core-js/modules/es.string.match.js +2 -0
  976. package/ext/core-js/modules/es.string.match.js.map +1 -0
  977. package/ext/core-js/modules/es.string.replace.js +2 -0
  978. package/ext/core-js/modules/es.string.replace.js.map +1 -0
  979. package/ext/core-js/modules/es.string.split.js +2 -0
  980. package/ext/core-js/modules/es.string.split.js.map +1 -0
  981. package/ext/core-js/modules/es.string.starts-with.js +2 -0
  982. package/ext/core-js/modules/es.string.starts-with.js.map +1 -0
  983. package/ext/core-js/modules/es.string.trim.js +2 -0
  984. package/ext/core-js/modules/es.string.trim.js.map +1 -0
  985. package/ext/core-js/modules/web.dom-collections.iterator.js +2 -0
  986. package/ext/core-js/modules/web.dom-collections.iterator.js.map +1 -0
  987. package/ext/dompurify/dist/purify.es.js +3 -0
  988. package/ext/dompurify/dist/purify.es.js.map +1 -0
  989. package/ext/fast-png/lib-esm/PngDecoder.js +2 -0
  990. package/ext/fast-png/lib-esm/PngDecoder.js.map +1 -0
  991. package/ext/fast-png/lib-esm/helpers/applyUnfilter.js +2 -0
  992. package/ext/fast-png/lib-esm/helpers/applyUnfilter.js.map +1 -0
  993. package/ext/fast-png/lib-esm/helpers/crc.js +2 -0
  994. package/ext/fast-png/lib-esm/helpers/crc.js.map +1 -0
  995. package/ext/fast-png/lib-esm/helpers/decodeInterlaceAdam7.js +2 -0
  996. package/ext/fast-png/lib-esm/helpers/decodeInterlaceAdam7.js.map +1 -0
  997. package/ext/fast-png/lib-esm/helpers/decodeInterlaceNull.js +2 -0
  998. package/ext/fast-png/lib-esm/helpers/decodeInterlaceNull.js.map +1 -0
  999. package/ext/fast-png/lib-esm/helpers/signature.js +2 -0
  1000. package/ext/fast-png/lib-esm/helpers/signature.js.map +1 -0
  1001. package/ext/fast-png/lib-esm/helpers/text.js +2 -0
  1002. package/ext/fast-png/lib-esm/helpers/text.js.map +1 -0
  1003. package/ext/fast-png/lib-esm/helpers/unfilter.js +2 -0
  1004. package/ext/fast-png/lib-esm/helpers/unfilter.js.map +1 -0
  1005. package/ext/fast-png/lib-esm/index.js +2 -0
  1006. package/ext/fast-png/lib-esm/index.js.map +1 -0
  1007. package/ext/fast-png/lib-esm/internalTypes.js +2 -0
  1008. package/ext/fast-png/lib-esm/internalTypes.js.map +1 -0
  1009. package/ext/fast-png/lib-esm/types.js +2 -0
  1010. package/ext/fast-png/lib-esm/types.js.map +1 -0
  1011. package/ext/fflate/esm/browser.js +2 -0
  1012. package/ext/fflate/esm/browser.js.map +1 -0
  1013. package/ext/html2canvas/dist/html2canvas.js +22 -0
  1014. package/ext/html2canvas/dist/html2canvas.js.map +1 -0
  1015. package/ext/iobuffer/lib-esm/IOBuffer.js +2 -0
  1016. package/ext/iobuffer/lib-esm/IOBuffer.js.map +1 -0
  1017. package/ext/iobuffer/lib-esm/text.js +2 -0
  1018. package/ext/iobuffer/lib-esm/text.js.map +1 -0
  1019. package/ext/jspdf/dist/jspdf.es.min.js +277 -0
  1020. package/ext/jspdf/dist/jspdf.es.min.js.map +1 -0
  1021. package/ext/jspdf/ext/@babel/runtime/helpers/esm/arrayLikeToArray.js +2 -0
  1022. package/ext/jspdf/ext/@babel/runtime/helpers/esm/arrayLikeToArray.js.map +1 -0
  1023. package/ext/jspdf/ext/@babel/runtime/helpers/esm/arrayWithHoles.js +2 -0
  1024. package/ext/jspdf/ext/@babel/runtime/helpers/esm/arrayWithHoles.js.map +1 -0
  1025. package/ext/jspdf/ext/@babel/runtime/helpers/esm/iterableToArrayLimit.js +2 -0
  1026. package/ext/jspdf/ext/@babel/runtime/helpers/esm/iterableToArrayLimit.js.map +1 -0
  1027. package/ext/jspdf/ext/@babel/runtime/helpers/esm/nonIterableRest.js +2 -0
  1028. package/ext/jspdf/ext/@babel/runtime/helpers/esm/nonIterableRest.js.map +1 -0
  1029. package/ext/jspdf/ext/@babel/runtime/helpers/esm/slicedToArray.js +2 -0
  1030. package/ext/jspdf/ext/@babel/runtime/helpers/esm/slicedToArray.js.map +1 -0
  1031. package/ext/jspdf/ext/@babel/runtime/helpers/esm/typeof.js +2 -0
  1032. package/ext/jspdf/ext/@babel/runtime/helpers/esm/typeof.js.map +1 -0
  1033. package/ext/jspdf/ext/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +2 -0
  1034. package/ext/jspdf/ext/@babel/runtime/helpers/esm/unsupportedIterableToArray.js.map +1 -0
  1035. package/ext/pako/dist/pako.esm.js +3 -0
  1036. package/ext/pako/dist/pako.esm.js.map +1 -0
  1037. package/ext/performance-now/lib/performance-now.js +2 -0
  1038. package/ext/performance-now/lib/performance-now.js.map +1 -0
  1039. package/ext/raf/index.js +2 -0
  1040. package/ext/raf/index.js.map +1 -0
  1041. package/ext/rgbcolor/index.js +2 -0
  1042. package/ext/rgbcolor/index.js.map +1 -0
  1043. package/ext/stackblur-canvas/dist/stackblur-es.js +42 -0
  1044. package/ext/stackblur-canvas/dist/stackblur-es.js.map +1 -0
  1045. package/ext/svg-pathdata/lib/SVGPathData.module.js +16 -0
  1046. package/ext/svg-pathdata/lib/SVGPathData.module.js.map +1 -0
  1047. package/package.json +2 -2
  1048. /package/assets/{a4eb185de6e9e8518f80.gif → 0c348ca3969e3070dc85.gif} +0 -0
  1049. /package/assets/{276073f0b5c423037a46.ttf → 10923bd92c35bd4441de.ttf} +0 -0
  1050. /package/assets/{373b24232dbde5638b3e.eot → 135fe20b75df8b58f5c0.eot} +0 -0
  1051. /package/assets/{a4d621efb99662215dcf.woff → 37ec6930d375f90b833e.woff} +0 -0
  1052. /package/assets/{3ce9b942cd0d8a1f5096.svg → 571dd01ea2d4e37e896e.svg} +0 -0
  1053. /package/assets/{e6e6babf129394d31330.woff → 65a3419fe925796de84c.woff} +0 -0
  1054. /package/assets/{d4c0e4b5548d0484ee15.gif → 71321a04c41fa33e1fb5.gif} +0 -0
  1055. /package/assets/{4a3c7db81c0c9b29c962.ttf → 89cdaf9ecf9101dbdcdb.ttf} +0 -0
  1056. /package/assets/{9c1e455bb0a59720c6d6.eot → b2e7877f9c2db9d75726.eot} +0 -0
  1057. /package/assets/{9054ffa42a3bd14fb067.svg → be3cb76853a9f76f344f.svg} +0 -0
  1058. /package/assets/{cd770d5268141130e5db.eot → c7caf4b3484ff1d13282.eot} +0 -0
  1059. /package/assets/{f71fdd6c77dce2cecece.eot → d81aae18347ffa4f027c.eot} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"IconListItem.js","sources":["../../../../src/components/Components/IconList/IconListItem.tsx"],"sourcesContent":[null],"names":["IconListItem","_a","avatarText","_b","centeredContent","children","iconBackgroundColor","iconColor","iconName","_c","iconSize","imageUrl","isAvatarBold","perex","testId","theme","type","avatarDataByType","default","color","success","promo","error","info","number","_iconBackgroundColor","React","createElement","className","cx","Avatar","backgroundColor","isBold","size","undefined","text","Text","component"],"mappings":"m5DAiCO,IAAMA,EAAe,SAACC,OAC3BC,EAAUD,EAAAC,WACVC,EAAuBF,EAAAG,gBAAvBA,OAAkB,IAAAD,KAClBE,aACAC,wBACAC,cACAC,aACAC,EAAAR,EAAAS,SAAAA,OAAQ,IAAAD,EAAG,QAAOA,EAClBE,EAAQV,EAAAU,SACRC,EAAYX,EAAAW,aACZC,EAAKZ,EAAAY,MACLC,EAAMb,EAAAa,OACNC,EAAKd,EAAAc,MACLC,EAAIf,EAAAe,KAEEC,EAGF,CACFC,QAAS,CAAEC,MAAO,iBAAkBX,SAAU,YAC9CY,QAAS,CAAED,MAAO,mBAAoBX,SAAU,YAChDa,MAAO,CAAEF,MAAO,iBAAkBX,SAAU,YAC5Cc,MAAO,CAAEH,MAAO,iBAAkBX,SAAU,aAC5Ce,KAAM,CAAEJ,MAAO,gBAAiBX,SAAU,YAC1CgB,OAAQ,CAAEL,MAAO,iBAAkBb,oBAAqB,iBAAkBM,cAAc,IAGpFa,EAAuBT,EAAOC,EAAiBD,GAAMV,oBAAsBA,EAEjF,OACEoB,EACEC,cAAA,KAAA,CAAAC,UAAWC,EAAG,qBAAsB,CAAE,+BAAgCzB,GAAmBW,iBAC5ED,IAEXZ,GAAcM,GAAYG,GAAYK,IACtCU,uBAAKE,UAAWC,EAAG,uBACjBH,EAAAC,cAACG,EACC,CAAAC,gBAAiBvB,GAAYN,GAAcc,EAAOS,EAAuB,oBACzEN,MAAOH,EAAOC,EAAiBD,GAAMG,MAAQZ,EAC7CC,SAAUQ,EAAOC,EAAiBD,GAAMR,SAAWA,EACnDG,SAAUA,EACVqB,OAAQhB,EAAOC,EAAiBD,GAAMJ,aAAeA,EACrDqB,KAAO/B,OAAwBgC,EAAXxB,EACpByB,KAAMjC,KAIZwB,EAAKC,cAAA,MAAA,CAAAC,UAAU,yBACbF,EAACC,cAAAS,EAAK,CAAAC,UAAU,MAAMtB,MAAM,uBACzBV,GAEFQ,GACCa,EAAAC,cAACS,EAAK,CAAAC,UAAU,MAAMtB,MAAM,uBACzBF,IAMb"}
1
+ {"version":3,"file":"IconListItem.js","sources":["../../../../src/components/Components/IconList/IconListItem.tsx"],"sourcesContent":[null],"names":["IconListItem","_a","avatarText","_b","centeredContent","children","iconBackgroundColor","iconColor","iconName","_c","iconSize","imageUrl","isAvatarBold","perex","testId","theme","type","avatarDataByType","default","color","success","promo","error","info","number","_iconBackgroundColor","React","createElement","className","cx","Avatar","backgroundColor","isBold","size","undefined","text","Text","component"],"mappings":"qgEAiCO,IAAMA,EAAe,SAACC,OAC3BC,EAAUD,EAAAC,WACVC,EAAuBF,EAAAG,gBAAvBA,OAAkB,IAAAD,KAClBE,aACAC,wBACAC,cACAC,aACAC,EAAAR,EAAAS,SAAAA,OAAQ,IAAAD,EAAG,QAAOA,EAClBE,EAAQV,EAAAU,SACRC,EAAYX,EAAAW,aACZC,EAAKZ,EAAAY,MACLC,EAAMb,EAAAa,OACNC,EAAKd,EAAAc,MACLC,EAAIf,EAAAe,KAEEC,EAGF,CACFC,QAAS,CAAEC,MAAO,iBAAkBX,SAAU,YAC9CY,QAAS,CAAED,MAAO,mBAAoBX,SAAU,YAChDa,MAAO,CAAEF,MAAO,iBAAkBX,SAAU,YAC5Cc,MAAO,CAAEH,MAAO,iBAAkBX,SAAU,aAC5Ce,KAAM,CAAEJ,MAAO,gBAAiBX,SAAU,YAC1CgB,OAAQ,CAAEL,MAAO,iBAAkBb,oBAAqB,iBAAkBM,cAAc,IAGpFa,EAAuBT,EAAOC,EAAiBD,GAAMV,oBAAsBA,EAEjF,OACEoB,EACEC,cAAA,KAAA,CAAAC,UAAWC,EAAG,qBAAsB,CAAE,+BAAgCzB,GAAmBW,iBAC5ED,IAEXZ,GAAcM,GAAYG,GAAYK,IACtCU,uBAAKE,UAAWC,EAAG,uBACjBH,EAAAC,cAACG,EACC,CAAAC,gBAAiBvB,GAAYN,GAAcc,EAAOS,EAAuB,oBACzEN,MAAOH,EAAOC,EAAiBD,GAAMG,MAAQZ,EAC7CC,SAAUQ,EAAOC,EAAiBD,GAAMR,SAAWA,EACnDG,SAAUA,EACVqB,OAAQhB,EAAOC,EAAiBD,GAAMJ,aAAeA,EACrDqB,KAAO/B,OAAwBgC,EAAXxB,EACpByB,KAAMjC,KAIZwB,EAAKC,cAAA,MAAA,CAAAC,UAAU,yBACbF,EAACC,cAAAS,EAAK,CAAAC,UAAU,MAAMtB,MAAM,uBACzBV,GAEFQ,GACCa,EAAAC,cAACS,EAAK,CAAAC,UAAU,MAAMtB,MAAM,uBACzBF,IAMb"}
@@ -1,2 +1,2 @@
1
- import t,{useContext as o}from"react";import e from"../../../contexts/CardContext.js";import"../../../contexts/FormGroupContext.js";import"../../../contexts/ModalContext.js";import"../../../contexts/Select2Context.js";import"../../../contexts/TabsContext.js";import"../../../utils/getDisplayName.js";import"../../../utils/getIntegerMask.js";import"../../../utils/isFilled.js";import"../../../utils/isNotFilled.js";import"../../../utils/isNotNilNorEmpty.js";import'./../../../ext/diacritic/diacritics.js';import{cx as i}from"../../../utils/classBinder.js";import'./../../../ext/text-mask-addons/dist/textMaskAddons.js';import"../../Typography/Amount/Amount.js";import{Text as n}from"../../Typography/Text/Text.js";import"../Button/Button.js";import'./../../../ext/tslib/tslib.es6.js';import{Avatar as r}from"../Avatar/Avatar.js";import"../ButtonTooltip/ButtonTooltip.js";import'./../../../ext/cuid/index.js';import"react-slick";import"../Collapse/Collapse.js";import'./../../../ext/lodash/_baseToString.js';import'./../../../ext/react-text-mask/dist/reactTextMask.js';import"../Dropdown/_elements_/DropdownDivider.js";import"../Dropdown/_elements_/DropdownItem.js";import"../Dropdown/_elements_/DropdownMenu.js";import"../Dropdown/_elements_/DropdownInfoText.js";import"../Dropdown/_elements_/DropdownLoading.js";import"../../../contexts/ContentTableContext.js";import"../ContentTable/ContentTableRow.js";import"../DataTable/DataTable.js";import"../Link/Link.js";import"react-dom";import"react-router-dom";import"../../../contexts/MobilePanelContext.js";import"../SuperModal/SuperModal.context.js";import"../../Form/Autocomplete/Autocomplete.js";import'./../../../ext/react-device-detect/dist/lib.js';import"../../Form/FileUpload/_parts_/MergeImageCards.js";import"../../Form/Select/_elements_/Select2CategorisedOptions.js";import"../../Form/Select/_elements_/Select2Options.js";import"../../Form/Slider/Slider.js";var s=function(s){var a=s.contentTheme,m=s.description,l=s.iconAlign,c=void 0===l?"center":l,p=s.iconBackgroundColor,d=s.iconName,_=s.iconSize,j=void 0===_?"xLarge":_,C=s.isCollapsible,u=s.rightContent,g=s.title,f=s.titleColor,x=s.titleWeight,T=void 0===x?"bold":x,D=o(e).isOpened,h=!C||!D,v=!!("string"==typeof g&&g.trim().length>0||"string"!=typeof g&&g);return t.createElement("div",{className:i("notificationCard__grid",d?"notificationCard__grid--withIcon":"notificationCard__grid--noIcon",!m&&"notificationCard__grid--noDescription",!v&&m&&"notificationCard__grid--onlyDescription",a&&a)},d&&t.createElement("div",{className:i("notificationCard__icon","center"===c?"notificationCard__icon--alignCenter":"top"===c?"notificationCard__icon--alignStart":"notificationCard__icon--alignBottom")},t.createElement(r,{backgroundColor:p,iconName:d,size:j})),v?t.createElement(t.Fragment,null,t.createElement("div",{className:"notificationCard__titleWrapper"},u?t.createElement("div",{className:"notificationCard__rightContentWrapper"},t.createElement(n,{component:"h3",size:"small",theme:i("notificationCard__title",f&&"u-fg--".concat(f)),weight:T},g),t.createElement("span",null,u)):t.createElement(n,{component:"h3",size:"small",theme:i("notificationCard__title",f&&"u-fg--".concat(f)),weight:T},g)),h&&m&&t.createElement("div",{className:"notificationCard__description"},m)):t.createElement("div",{className:"notificationCard__noTitle"},m))};export{s as NotificationCardHeader};
1
+ import t,{useContext as o}from"react";import e from"../../../contexts/CardContext.js";import"../../../contexts/FormGroupContext.js";import"../../../contexts/ModalContext.js";import"../../../contexts/Select2Context.js";import"../../../contexts/TabsContext.js";import"../../../utils/getDisplayName.js";import"../../../utils/getIntegerMask.js";import"../../../utils/isFilled.js";import"../../../utils/isNotFilled.js";import"../../../utils/isNotNilNorEmpty.js";import'./../../../ext/diacritic/diacritics.js';import{cx as i}from"../../../utils/classBinder.js";import'./../../../ext/text-mask-addons/dist/textMaskAddons.js';import"../../Typography/Amount/Amount.js";import{Text as n}from"../../Typography/Text/Text.js";import"../Button/Button.js";import'./../../../ext/tslib/tslib.es6.js';import{Avatar as r}from"../Avatar/Avatar.js";import"../ButtonTooltip/ButtonTooltip.js";import'./../../../ext/cuid/index.js';import"react-slick";import"../Collapse/Collapse.js";import'./../../../ext/lodash/_baseToString.js';import'./../../../ext/react-text-mask/dist/reactTextMask.js';import"../Dropdown/_elements_/DropdownDivider.js";import"../Dropdown/_elements_/DropdownItem.js";import"../Dropdown/_elements_/DropdownMenu.js";import"../Dropdown/_elements_/DropdownInfoText.js";import"../Dropdown/_elements_/DropdownLoading.js";import"../../../contexts/ContentTableContext.js";import"../ContentTable/ContentTableRow.js";import"../DataTable/DataTable.js";import"../Link/Link.js";import"react-dom";import"react-router-dom";import"../../../contexts/MobilePanelContext.js";import"../SuperModal/SuperModal.context.js";import"../../Form/Autocomplete/Autocomplete.js";import'./../../../ext/react-device-detect/dist/lib.js';import"../../Form/FileUpload/_parts_/MergeImageCards.js";import'./../../../ext/jspdf/dist/jspdf.es.min.js';import'./../../../ext/@bugsnag/cuid/index.esm.js';import"../../Form/Select/_elements_/Select2CategorisedOptions.js";import"../../Form/Select/_elements_/Select2Options.js";import"../../Form/Slider/Slider.js";var s=function(s){var a=s.contentTheme,m=s.description,l=s.iconAlign,d=void 0===l?"center":l,p=s.iconBackgroundColor,c=s.iconName,_=s.iconSize,j=void 0===_?"xLarge":_,u=s.isCollapsible,C=s.rightContent,g=s.title,f=s.titleColor,x=s.titleWeight,T=void 0===x?"bold":x,D=o(e).isOpened,b=!u||!D,h=!!("string"==typeof g&&g.trim().length>0||"string"!=typeof g&&g);return t.createElement("div",{className:i("notificationCard__grid",c?"notificationCard__grid--withIcon":"notificationCard__grid--noIcon",!m&&"notificationCard__grid--noDescription",!h&&m&&"notificationCard__grid--onlyDescription",a&&a)},c&&t.createElement("div",{className:i("notificationCard__icon","center"===d?"notificationCard__icon--alignCenter":"top"===d?"notificationCard__icon--alignStart":"notificationCard__icon--alignBottom")},t.createElement(r,{backgroundColor:p,iconName:c,size:j})),h?t.createElement(t.Fragment,null,t.createElement("div",{className:"notificationCard__titleWrapper"},C?t.createElement("div",{className:"notificationCard__rightContentWrapper"},t.createElement(n,{component:"h3",size:"small",theme:i("notificationCard__title",f&&"u-fg--".concat(f)),weight:T},g),t.createElement("span",null,C)):t.createElement(n,{component:"h3",size:"small",theme:i("notificationCard__title",f&&"u-fg--".concat(f)),weight:T},g)),b&&m&&t.createElement("div",{className:"notificationCard__description"},m)):t.createElement("div",{className:"notificationCard__noTitle"},m))};export{s as NotificationCardHeader};
2
2
  //# sourceMappingURL=NotificationCardHeader.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationCardHeader.js","sources":["../../../../src/components/Components/NotificationCard/NotificationCardHeader.tsx"],"sourcesContent":[null],"names":["NotificationCardHeader","_a","contentTheme","description","_b","iconAlign","iconBackgroundColor","iconName","_c","iconSize","isCollapsible","rightContent","title","titleColor","_d","titleWeight","isOpened","useContext","CardContext","shouldRenderDescription","hasTitle","trim","length","React","createElement","className","cx","Avatar","backgroundColor","size","Fragment","Text","component","theme","concat","weight"],"mappings":"26DAOO,IAAMA,EAAyB,SAACC,GACrC,IAAAC,iBACAC,gBACAC,EAAAH,EAAAI,UAAAA,OAAS,IAAAD,EAAG,SAAQA,EACpBE,EAAmBL,EAAAK,oBACnBC,EAAQN,EAAAM,SACRC,aAAAC,OAAW,IAAAD,EAAA,WACXE,kBACAC,iBACAC,UACAC,eACAC,EAAAb,EAAAc,YAAAA,OAAW,IAAAD,EAAG,OAAMA,EAeZE,EAAaC,EAAWC,YAC1BC,GAA2BT,IAAkBM,EAC7CI,KAAgC,iBAAVR,GAAsBA,EAAMS,OAAOC,OAAS,GAAwB,iBAAVV,GAAsBA,GAE5G,OACEW,EAAAC,cAAA,MAAA,CACEC,UAAWC,EACT,yBACAnB,EAAW,mCAAqC,kCAC/CJ,GAAe,yCACfiB,GAAYjB,GAAe,0CAC5BD,GAAgBA,IAGjBK,GACCgB,EAAAC,cAAA,MAAA,CACEC,UAAWC,EACT,yBACc,WAAdrB,EACI,sCACc,QAAdA,EACE,qCACA,wCAGRkB,EAAAC,cAACG,EAAM,CAACC,gBAAiBtB,EAAqBC,SAAUA,EAAUsB,KAAMpB,KAG3EW,EACCG,EAACC,cAAAD,EAAMO,SAAQ,KACbP,EAAAC,cAAA,MAAA,CAAKC,UAAU,kCACZd,EACCY,EAAAC,cAAA,MAAA,CAAKC,UAAU,yCACbF,EAAAC,cAACO,EAAI,CACHC,UAAU,KACVH,KAAK,QACLI,MAAOP,EAAG,0BAA2Bb,GAAc,SAASqB,OAAArB,IAC5DsB,OAAQpB,GAEPH,GAEHW,EAAAC,cAAA,OAAA,KAAOb,IAGTY,EAACC,cAAAO,GACCC,UAAU,KACVH,KAAK,QACLI,MAAOP,EAAG,0BAA2Bb,GAAc,gBAASA,IAC5DsB,OAAQpB,GAEPH,IAKNO,GAA2BhB,GAAeoB,EAAKC,cAAA,MAAA,CAAAC,UAAU,iCAAiCtB,IAG7FoB,EAAKC,cAAA,MAAA,CAAAC,UAAU,6BAA6BtB,GAIpD"}
1
+ {"version":3,"file":"NotificationCardHeader.js","sources":["../../../../src/components/Components/NotificationCard/NotificationCardHeader.tsx"],"sourcesContent":[null],"names":["NotificationCardHeader","_a","contentTheme","description","_b","iconAlign","iconBackgroundColor","iconName","_c","iconSize","isCollapsible","rightContent","title","titleColor","_d","titleWeight","isOpened","useContext","CardContext","shouldRenderDescription","hasTitle","trim","length","React","createElement","className","cx","Avatar","backgroundColor","size","Fragment","Text","component","theme","concat","weight"],"mappings":"6hEAOO,IAAMA,EAAyB,SAACC,GACrC,IAAAC,iBACAC,gBACAC,EAAAH,EAAAI,UAAAA,OAAS,IAAAD,EAAG,SAAQA,EACpBE,EAAmBL,EAAAK,oBACnBC,EAAQN,EAAAM,SACRC,aAAAC,OAAW,IAAAD,EAAA,WACXE,kBACAC,iBACAC,UACAC,eACAC,EAAAb,EAAAc,YAAAA,OAAW,IAAAD,EAAG,OAAMA,EAeZE,EAAaC,EAAWC,YAC1BC,GAA2BT,IAAkBM,EAC7CI,KAAgC,iBAAVR,GAAsBA,EAAMS,OAAOC,OAAS,GAAwB,iBAAVV,GAAsBA,GAE5G,OACEW,EAAAC,cAAA,MAAA,CACEC,UAAWC,EACT,yBACAnB,EAAW,mCAAqC,kCAC/CJ,GAAe,yCACfiB,GAAYjB,GAAe,0CAC5BD,GAAgBA,IAGjBK,GACCgB,EAAAC,cAAA,MAAA,CACEC,UAAWC,EACT,yBACc,WAAdrB,EACI,sCACc,QAAdA,EACE,qCACA,wCAGRkB,EAAAC,cAACG,EAAM,CAACC,gBAAiBtB,EAAqBC,SAAUA,EAAUsB,KAAMpB,KAG3EW,EACCG,EAACC,cAAAD,EAAMO,SAAQ,KACbP,EAAAC,cAAA,MAAA,CAAKC,UAAU,kCACZd,EACCY,EAAAC,cAAA,MAAA,CAAKC,UAAU,yCACbF,EAAAC,cAACO,EAAI,CACHC,UAAU,KACVH,KAAK,QACLI,MAAOP,EAAG,0BAA2Bb,GAAc,SAASqB,OAAArB,IAC5DsB,OAAQpB,GAEPH,GAEHW,EAAAC,cAAA,OAAA,KAAOb,IAGTY,EAACC,cAAAO,GACCC,UAAU,KACVH,KAAK,QACLI,MAAOP,EAAG,0BAA2Bb,GAAc,gBAASA,IAC5DsB,OAAQpB,GAEPH,IAKNO,GAA2BhB,GAAeoB,EAAKC,cAAA,MAAA,CAAAC,UAAU,iCAAiCtB,IAG7FoB,EAAKC,cAAA,MAAA,CAAAC,UAAU,6BAA6BtB,GAIpD"}
@@ -1,6 +1,28 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { CardSize } from '../Card';
3
3
  import { ProductHeaderPropTypes, ProductHeaderSizeProps } from '../ProductHeader';
4
+ type ProductCardClickBehavior = {
5
+ /** Makes the whole header area clickable without using the collapse arrow. */
6
+ isHeaderClickable: true;
7
+ /** Click handler for the header area. */
8
+ onClick?: () => void;
9
+ /** Makes the whole card interactive. */
10
+ isInteractive?: boolean;
11
+ } | {
12
+ /** Makes the whole header area clickable without using the collapse arrow. */
13
+ isHeaderClickable?: false;
14
+ /** Click handler for the interactive card. */
15
+ onClick?: () => void;
16
+ /** Makes the whole card interactive with hover and click styles. */
17
+ isInteractive: true;
18
+ } | {
19
+ /** Makes the whole header area clickable without using the collapse arrow. */
20
+ isHeaderClickable?: false;
21
+ /** Cannot be used without `isInteractive` or `isHeaderClickable`. */
22
+ onClick?: never;
23
+ /** Makes the whole card interactive with hover and click styles. */
24
+ isInteractive?: false;
25
+ };
4
26
  type ProductCardTableRow = {
5
27
  label: ReactNode;
6
28
  perex?: string;
@@ -10,24 +32,24 @@ type ProductCardTableRow = {
10
32
  firstColumnSecondary?: boolean;
11
33
  isBold?: boolean;
12
34
  };
13
- export type ProductCardPropTypes = ProductHeaderPropTypes & {
35
+ export type ProductCardPropTypes = Omit<ProductHeaderPropTypes, 'isHeaderClickable' | 'onHeaderClick'> & ProductCardClickBehavior & {
14
36
  /** Children rendered inside the collapsible content area. */
15
37
  children?: ReactNode | false;
16
38
  /** Defines if card is open or closed on first render. */
17
39
  initialState?: boolean;
18
40
  /** Determines if the card is collapsible. */
19
41
  isCollapsible?: boolean;
20
- /** Makes the card interactive with hover/active styles and a visible collapse arrow. */
21
- isInteractive?: boolean;
22
- /** Makes the entire header clickable without interactive card styles or a collapse arrow. */
23
- isHeaderClickable?: boolean;
24
- /** Click event handler for the card wrapper / header (depending on config). */
25
- onClick?: () => void;
26
42
  /** Optional custom theme for the Card wrapper. */
27
43
  theme?: string;
28
44
  /** Optional testId for Card wrapper. */
29
45
  cardTestId?: string;
46
+ /** Changes size of card paddings. */
30
47
  size?: CardSize;
48
+ /**
49
+ * ProductHeader size variant that sets default sizing for the whole header (title, subtitle, amounts, icon and actions).
50
+ * You can still override any individual size via `titleSize`, `subtitleSize`, `amountSize`, `secondaryAmountSize`,
51
+ * `titleIconSize` or `actionsSize`.
52
+ */
31
53
  headerSize?: ProductHeaderSizeProps;
32
54
  /** Extra content rendered under ProductHeader (still in Card header). */
33
55
  customContent?: ReactNode;
@@ -49,6 +71,7 @@ export type ProductCardPropTypes = ProductHeaderPropTypes & {
49
71
  tableIsBold?: boolean;
50
72
  /** Additional classes applied to the table wrapper. */
51
73
  tableTheme?: string;
74
+ /** Additional classes applied to divider. */
52
75
  dividerTheme?: string;
53
76
  };
54
77
  export declare const ProductCard: ({ cardTestId, children, customContent, dividerTheme, headerSize, initialState, isCollapsible, isHeaderClickable, isInteractive, onClick, size, tableContentAlignment, tableDisableStackingOnMobile, tableFirstColumnSecondary, tableGaps, tableIsBold, tableRows, tableTheme, tableWiderContent, theme, withDivider, ...productHeaderProps }: ProductCardPropTypes) => React.JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"ProductCard.d.ts","sourceRoot":"","sources":["../../../../src/components/Components/ProductCard/ProductCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAY,SAAS,EAAqB,MAAM,OAAO,CAAA;AAIrE,OAAO,EAA2B,QAAQ,EAAE,MAAM,SAAS,CAAA;AAG3D,OAAO,EAAiB,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAA;AAEhG,KAAK,mB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AAO,GAAG,QAAQ,CAAA;IACnD,gFAAgF;IAChF,yBAAyB,CAAC,EAAE,OAAO,CAAA;IACnC,wEAAwE;IACxE,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,uDAAuD;IACvD,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,WAAW,iVAuBrB,oBAAoB,sBA0JtB,CAAA"}
1
+ {"version":3,"file":"ProductCard.d.ts","sourceRoot":"","sources":["../../../../src/components/Components/ProductCard/ProductCard.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAY,SAAS,EAAkC,MAAM,OAAO,CAAA;AAKlF,OAAO,EAA2B,QAAQ,EAAE,MAAM,SAAS,CAAA;AAG3D,OAAO,EAAiB,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAA;AAEhG,KAAK,wBAAwB,GACzB;IACE,8EAA8E;IAC9E,iBAAiB,EAAE,IAAI,CAAA;IACvB,yCAAyC;IACzC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,wCAAwC;IACxC,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB,GACD;IACE,8EAA8E;IAC9E,iBAAiB,CAAC,EAAE,KAAK,CAAA;IACzB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,oEAAoE;IACpE,aAAa,EAAE,IAAI,CAAA;CACpB,GACD;IACE,8EAA8E;IAC9E,iBAAiB,CAAC,EAAE,KAAK,CAAA;IACzB,qEAAqE;IACrE,OAAO,CAAC,EAAE,KAAK,CAAA;IACf,oEAAoE;IACpE,aAAa,CAAC,EAAE,KAAK,CAAA;CACtB,CAAA;AAEL,KAAK,mBAAmB,GAAG;IACzB,KAAK,EAAE,SAAS,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,SAAS,CAAA;IAClB,MAAM,CAAC,EAAE,MA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AAE,MAAM,CAAA;CACtB,CAAA;AAEH,eAAO,MAAM,WAAW,iVAuBrB,oBAAoB,sBA8NtB,CAAA"}
@@ -1,2 +1,2 @@
1
- import{__rest as e,__assign as t}from'./../../../ext/tslib/tslib.es6.js';import i,{useState as r,useMemo as a,Fragment as l}from"react";import"../../../utils/getDisplayName.js";import"../../../utils/getIntegerMask.js";import"../../../utils/isFilled.js";import"../../../utils/isNotFilled.js";import"../../../utils/isNotNilNorEmpty.js";import'./../../../ext/diacritic/diacritics.js';import{cx as o}from"../../../utils/classBinder.js";import'./../../../ext/text-mask-addons/dist/textMaskAddons.js';import{Avatar as n}from"../Avatar/Avatar.js";import{Card as d}from"../Card/Card.js";import{CardCustomTrigger as s}from"../Card/_elements_/CardCustomTrigger.js";import{DataTable as c}from"../DataTable/DataTable.js";import{DataTableItem as m}from"../DataTable/DataTableItem.js";import{Divider as u}from"../Divider/Divider.js";import{ProductHeader as p}from"../ProductHeader/ProductHeader.js";var C=function(C){var b=C.cardTestId,v=C.children,f=C.customContent,g=C.dividerTheme,h=C.headerSize,E=void 0===h?"medium":h,I=C.initialState,_=void 0!==I&&I,k=C.isCollapsible,j=void 0!==k&&k,N=C.isHeaderClickable,D=void 0!==N&&N,S=C.isInteractive,T=void 0!==S&&S,y=C.onClick,w=C.size,z=void 0===w?"large":w,A=C.tableContentAlignment,B=void 0===A?"left":A,x=C.tableDisableStackingOnMobile,H=void 0!==x&&x,M=C.tableFirstColumnSecondary,F=void 0===M||M,O=C.tableGaps,P=void 0===O?"small":O,R=C.tableIsBold,G=void 0!==R&&R,W=C.tableRows,U=C.tableTheme,q=C.tableWiderContent,J=void 0!==q&&q,K=C.theme,L=C.withDivider,Q=void 0!==L&&L,V=e(C,["cardTestId","children","customContent","dividerTheme","headerSize","initialState","isCollapsible","isHeaderClickable","isInteractive","onClick","size","tableContentAlignment","tableDisableStackingOnMobile","tableFirstColumnSecondary","tableGaps","tableIsBold","tableRows","tableTheme","tableWiderContent","theme","withDivider"]),X=r(_),Y=X[0],Z=X[1],$=Array.isArray(W)&&W.length>0,ee=i.Children.count(f)>0,te=$||ee,ie=Boolean(j&&T&&y),re=a((function(){return null!=b?b:V.testId?"productCard-".concat(V.testId):"productCard"}),[b,V.testId]),ae=function(){return Z((function(e){return!e}))},le=function(){j&&ae(),y&&y()},oe=function(e){e.stopPropagation(),ae()},ne=function(){return te?i.createElement("div",{className:"c-productCard__headerExtra"},Q&&i.createElement(u,{theme:o("c-productCard__divider",g)}),$?i.createElement("div",{className:o("c-productCard__table",U)},i.createElement(c,{contentAlignment:B,disableStackingOnMobile:H,firstColumnSecondary:F,gaps:P,isBold:G,widerContent:J},W.map((function(e,t){return i.createElement(m,{key:"productCard-tableRow-".concat(t),firstColumnSecondary:e.firstColumnSecondary,isBold:e.isBold,label:e.label,perex:e.perex,testId:e.testId,theme:e.theme},e.content)})))):null,ee&&i.createElement("div",{className:"c-productCard__customContent"},f)):null};return j?i.createElement(d,{hasCustomTrigger:!0,isCollapsible:!0,header:i.createElement(l,null,i.createElement("div",{onClick:function(e){e.stopPropagation(),ie?null==y||y():le()}},i.createElement(p,t({},V,{size:E})),ne()),!Y&&i.createElement(s,null,i.createElement("div",{className:"c-productCard__collapsible--trigger",id:V.testId?"productCard-".concat(V.testId,"-collapsible-closed"):"productCard-collapsible-closed",onClick:oe},i.createElement(n,{iconName:"arrowDown"})))),isInteractive:T,isOpen:Y,size:z,testId:re,theme:o("c-productCard__position",{"c-card--interactive--open":Y},K),onClick:ie?void 0:le},i.createElement("div",null,v,Y&&i.createElement(s,null,i.createElement("div",{className:"c-productCard__collapsible--trigger",id:V.testId?"productCard-".concat(V.testId,"-collapsible-opened"):"productCard-collapsible-opened",onClick:oe},i.createElement(n,{iconName:"arrowUp"}))))):i.createElement(d,{isInteractive:T,size:z,testId:null!=b?b:V.testId,theme:K,onClick:D?void 0:le},i.createElement("div",{className:o({"c-productCard__clickableHeader":D&&!!y}),onClick:D?y:void 0},i.createElement(p,t({},V,{size:E})),ne()))};export{C as ProductCard};
1
+ import{__rest as e,__assign as t}from'./../../../ext/tslib/tslib.es6.js';import r,{useState as i,useMemo as o,useCallback as a,Fragment as l}from"react";import{useHistory as n}from"react-router-dom";import"../../../utils/getDisplayName.js";import"../../../utils/getIntegerMask.js";import"../../../utils/isFilled.js";import"../../../utils/isNotFilled.js";import"../../../utils/isNotNilNorEmpty.js";import'./../../../ext/diacritic/diacritics.js';import{cx as d}from"../../../utils/classBinder.js";import'./../../../ext/text-mask-addons/dist/textMaskAddons.js';import{Avatar as c}from"../Avatar/Avatar.js";import{Card as s}from"../Card/Card.js";import{CardCustomTrigger as m}from"../Card/_elements_/CardCustomTrigger.js";import{DataTable as u}from"../DataTable/DataTable.js";import{DataTableItem as p}from"../DataTable/DataTableItem.js";import{Divider as C}from"../Divider/Divider.js";import{ProductHeader as b}from"../ProductHeader/ProductHeader.js";var v=function(v){var f=v.cardTestId,h=v.children,k=v.customContent,_=v.dividerTheme,E=v.headerSize,I=void 0===E?"medium":E,g=v.initialState,j=void 0!==g&&g,T=v.isCollapsible,y=void 0!==T&&T,D=v.isHeaderClickable,w=void 0!==D&&D,N=v.isInteractive,S=void 0!==N&&N,A=v.onClick,x=v.size,B=void 0===x?"large":x,z=v.tableContentAlignment,M=void 0===z?"left":z,F=v.tableDisableStackingOnMobile,H=void 0!==F&&F,O=v.tableFirstColumnSecondary,P=void 0===O||O,L=v.tableGaps,R=void 0===L?"small":L,G=v.tableIsBold,W=void 0!==G&&G,K=v.tableRows,U=v.tableTheme,q=v.tableWiderContent,J=void 0!==q&&q,Q=v.theme,V=v.withDivider,X=void 0!==V&&V,Y=e(v,["cardTestId","children","customContent","dividerTheme","headerSize","initialState","isCollapsible","isHeaderClickable","isInteractive","onClick","size","tableContentAlignment","tableDisableStackingOnMobile","tableFirstColumnSecondary","tableGaps","tableIsBold","tableRows","tableTheme","tableWiderContent","theme","withDivider"]),Z=n(),$=i(j),ee=$[0],te=$[1],re=Array.isArray(K)&&K.length>0,ie=r.Children.count(k)>0,oe=re||ie,ae=Boolean(Y.linkTo||Y.externalLink),le=Boolean(A||ae),ne=w&&le,de=Boolean(y&&S&&A&&!ne),ce=o((function(){return null!=f?f:Y.testId?"productCard-".concat(Y.testId):"productCard"}),[f,Y.testId]),se=function(){return te((function(e){return!e}))},me=Y.externalLink,ue=Y.linkTo,pe=a((function(){me?window.open(me,"_blank","noopener,noreferrer"):"function"!=typeof ue?ue&&Z.push(ue):ue()}),[me,Z,ue]),Ce=a((function(){ne&&(A?A():ae&&pe())}),[pe,ae,ne,A]),be=a((function(e){ne&&("Enter"!==e.key&&" "!==e.key||(e.preventDefault(),Ce()))}),[Ce,ne]),ve=function(){y&&se(),A&&A()},fe=function(e){e.stopPropagation(),se()},he=function(){return oe?r.createElement("div",{className:"c-productCard__headerExtra"},X&&r.createElement(C,{theme:d("c-productCard__divider",_)}),re?r.createElement("div",{className:d("c-productCard__table",U)},r.createElement(u,{contentAlignment:M,disableStackingOnMobile:H,firstColumnSecondary:P,gaps:R,isBold:W,widerContent:J},K.map((function(e,t){return r.createElement(p,{key:"productCard-tableRow-".concat(t),firstColumnSecondary:e.firstColumnSecondary,isBold:e.isBold,label:e.label,perex:e.perex,testId:e.testId,theme:e.theme},e.content)})))):null,ie&&r.createElement("div",{className:"c-productCard__customContent"},k)):null},ke=function(){var e=ne?{onClick:Ce,onKeyDown:be,role:"button",tabIndex:0}:{};return r.createElement("div",t({},e,{className:d("c-productCard__headerArea",{"c-productCard__headerArea--clickable":ne,"c-productCard__headerArea--withSharedTitleLink":ne&&ae&&!A})}),r.createElement(b,t({},Y,{size:I})),he())};return y?r.createElement(s,{hasCustomTrigger:!0,isCollapsible:!0,header:r.createElement(l,null,ne?ke():r.createElement("div",{onClick:function(e){e.stopPropagation(),de?null==A||A():ve()}},r.createElement(b,t({},Y,{size:I})),he()),!ee&&r.createElement(m,null,r.createElement("div",{className:"c-productCard__collapsible--trigger",id:Y.testId?"productCard-".concat(Y.testId,"-collapsible-closed"):"productCard-collapsible-closed",onClick:fe},r.createElement(c,{iconName:"arrowDown"})))),isInteractive:S,isOpen:ee,size:B,testId:ce,theme:d("c-productCard__position",{"c-card--interactive--open":ee},Q),onClick:ne||de?void 0:ve},r.createElement("div",null,h,ee&&r.createElement(m,null,r.createElement("div",{className:"c-productCard__collapsible--trigger",id:Y.testId?"productCard-".concat(Y.testId,"-collapsible-opened"):"productCard-collapsible-opened",onClick:fe},r.createElement(c,{iconName:"arrowUp"}))))):r.createElement(s,{isInteractive:S,size:B,testId:null!=f?f:Y.testId,theme:Q,onClick:ne?void 0:ve},ke())};export{v as ProductCard};
2
2
  //# sourceMappingURL=ProductCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductCard.js","sources":["../../../../src/components/Components/ProductCard/ProductCard.tsx"],"sourcesContent":[null],"names":["ProductCard","_a","cardTestId","children","customContent","dividerTheme","_b","headerSize","_c","initialState","_d","isCollapsible","_e","isHeaderClickable","_f","isInteractive","onClick","_g","size","_h","tableContentAlignment","_j","tableDisableStackingOnMobile","_k","tableFirstColumnSecondary","_l","tableGaps","_m","tableIsBold","tableRows","tableTheme","_o","tableWiderContent","theme","_p","withDivider","productHeaderProps","__rest","_q","useState","isOpen","setIsOpen","hasTable","Array","isArray","length","hasCustomContent","React","Children","count","hasExtraHeaderContent","separateHeaderAndCollapseClick","Boolean","resolvedCardTestId","useMemo","testId","concat","toggleOpen","prev","handleDefaultClick","handleArrowToggleClick","e","stopPropagation","renderExtraHeaderContent","createElement","className","Divider","cx","DataTable","contentAlignment","disableStackingOnMobile","firstColumnSecondary","gaps","isBold","widerContent","map","row","idx","DataTableItem","key","label","perex","content","Card","hasCustomTrigger","header","Fragment","ProductHeader","__assign","CardCustomTrigger","id","Avatar","iconName","undefined"],"mappings":"04BAiEO,IAAMA,EAAc,SAACC,GAC1B,IAAAC,EAAUD,EAAAC,WACVC,EAAQF,EAAAE,SACRC,EAAaH,EAAAG,cACbC,EAAYJ,EAAAI,aACZC,EAAAL,EA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,cAAA,MAAA,CAAAC,UAAU,sCACVyB,GACEtD,EAAmBmB,OACf,eAAAC,OAAepB,EAAmBmB,OAA2B,uBAC7D,iCAENvC,QAAS4C,IAETb,EAACiB,cAAA2B,EAAO,CAAAC,SAAS,iBAM3B7E,cAAeA,EACfyB,OAAQA,EACRtB,KAAMA,EACNqC,OAAQF,GACRpB,MAAOkC,EAAG,0BAA2B,CAAE,4BAA6B3B,GAAUP,GAC9EjB,QAASmC,QAAiC0C,EAAYlC,IAEtDZ,EAAAiB,cAAA,MAAA,KACG7D,EAEAqC,GACCO,EAAAiB,cAACyB,EAAiB,KAChB1C,EACEiB,cAAA,MAAA,CAAAC,UAAU,sCACVyB,GACEtD,EAAmBmB,OACf,eAAAC,OAAepB,EAAmBmB,OAA2B,uBAC7D,iCAENvC,QAAS4C,IAETb,EAAAiB,cAAC2B,EAAM,CAACC,SAAS,gBAnEzB7C,EAACiB,cAAAmB,EACC,CAAApE,cAAeA,EACfG,KAAMA,EACNqC,OAAQrD,QAAAA,EAAckC,EAAmBmB,OACzCtB,MAAOA,EACPjB,QAAUH,OAAyCgF,EAArBlC,IAE9BZ,EACEiB,cAAA,MAAA,CAAAC,UAAWE,EAAG,CAAE,iCAAkCtD,KAAuBG,IACzEA,QAASH,EAAoBG,OAAU6E,GAEvC9C,EAAAiB,cAACuB,EAAkBC,EAAA,CAAA,EAAApD,GAAoBlB,KAAMX,KAC5CwD,MA8DX"}
1
+ {"version":3,"file":"ProductCard.js","sources":["../../../../src/components/Components/ProductCard/ProductCard.tsx"],"sourcesContent":[null],"names":["ProductCard","_a","cardTestId","children","customContent","dividerTheme","_b","headerSize","_c","initialState","_d","isCollapsible","_e","isHeaderClickable","_f","isInteractive","onClick","_g","size","_h","tableContentAlignment","_j","tableDisableStackingOnMobile","_k","tableFirstColumnSecondary","_l","tableGaps","_m","tableIsBold","tableRows","tableTheme","_o","tableWiderContent","theme","_p","withDivider","productHeaderProps","__rest","history","useHistory","_q","useState","isOpen","setIsOpen","hasTable","Array","isArray","length","hasCustomContent","React","Children","count","hasExtraHeaderContent","hasTitleLink","Boolean","linkTo","externalLink","hasHeaderAction","isWholeHeaderClickable","separateHeaderAndCollapseClick","resolvedCardTestId","useMemo","testId","concat","toggleOpen","prev","executeHeaderNavigation","useCallback","window","open","push","handleWholeHeaderClick","handleWholeHeaderKeyDown","e","key","preventDefault","handleDefaultClick","handleArrowToggleClick","stopPropagation","renderExtraHeaderContent","createElement","className","Divider","cx","DataTable","contentAlignment","disableStackingOnMobile","firstColumnSecondary","gaps","isBold","widerContent","map","row","idx","DataTableItem","label","perex","content","renderHeaderArea","interactiveProps","onKeyDown","role","tabIndex","ProductHeader","__assign","Card","hasCustomTrigger","header","Fragment","CardCustomTrigger","id","Avatar","iconName","undefined"],"mappings":"y8BA2FO,IAAMA,EAAc,SAACC,GAC1B,IAAAC,EAAUD,EAAAC,WACVC,EAAQF,EAAAE,SACRC,EAAaH,EAAAG,cACbC,EAAYJ,EAAAI,aACZC,EAAAL,EAAAM,WAAAA,OAAU,IAAAD,EAAG,SAAQA,EACrBE,EAAAP,EAAAQ,aAAAA,OAAe,IAAAD,GAAKA,EACpBE,EAAqBT,EAAAU,cAArBA,OAAgB,IAAAD,GAAKA,EACrBE,EAAyBX,EAAAY,kBAAzBA,OAAiB,IAAAD,GAAQA,EACzBE,EAAAb,EAAAc,cAAAA,OAAgB,IAAAD,GAAKA,EACrBE,EAAOf,EAAAe,QACPC,EAAAhB,EAAAiB,KAAAA,OAAO,IAAAD,EAAA,QAAOA,EACdE,EAA8BlB,EAAAmB,sBAA9BA,OAAwB,IAAAD,EAAA,OAAMA,EAC9BE,EAAoCpB,EAAAqB,6BAApCA,OAA4B,IAAAD,GAAQA,EACpCE,EAAAtB,EAAAuB,0BAAAA,cAAgCD,EAChCE,EAAAxB,EAAAyB,UAAAA,OAAY,IAAAD,EAAA,QAAOA,EACnBE,EAAmB1B,EAAA2B,YAAnBA,OAAW,IAAAD,GAAQA,EACnBE,EAAS5B,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OACE1D,EAAA+B,cAAC4B,EAAQ,KACNlD,GACCwC,KAEAjD,EAAK+B,cAAA,MAAA,CAAAhE,QA1GoC,SAACyD,GAClDA,EAAEK,kBAEEnB,GACF3C,SAAAA,IAIF4D,IACF,GAkGY3B,EAAA+B,cAACuB,EAAkBC,EAAA,CAAA,EAAApE,GAAoBlB,KAAMX,KAC5CwE,OAIHrC,IACAO,EAAA+B,cAAC6B,EAAiB,KAChB5D,EACE+B,cAAA,MAAA,CAAAC,UAAU,sCACV6B,GACE1E,EAAmB0B,OACf,eAAAC,OAAe3B,EAAmB0B,OAA2B,uBAC7D,iCAEN9C,QAAS6D,IAET5B,EAAC+B,cAAA+B,EAAO,CAAAC,SAAS,iBAM3BjG,cAAeA,EACf2B,OAAQA,GACRxB,KAAMA,EACN4C,OAAQF,GACR3B,MAAOkD,EAAG,0BAA2B,CAAE,4BAA6BzC,IAAUT,GAC9EjB,QAAS0C,IAA0BC,QAAiCsD,EAAYrC,IAEhF3B,EAAA+B,cAAA,MAAA,KACG7E,EAEAuC,IACCO,EAAA+B,cAAC6B,EAAiB,KAChB5D,EACE+B,cAAA,MAAA,CAAAC,UAAU,sCACV6B,GACE1E,EAAmB0B,OACf,eAAAC,OAAe3B,EAAmB0B,OAA2B,uBAC7D,iCAEN9C,QAAS6D,IAET5B,EAAA+B,cAAC+B,EAAM,CAACC,SAAS,gBAjEzB/D,gBAACwD,EAAI,CACH1F,cAAeA,EACfG,KAAMA,EACN4C,OAAQ5D,QAAAA,EAAckC,EAAmB0B,OACzC7B,MAAOA,EACPjB,QAAU0C,QAA8CuD,EAArBrC,IAElCsB,KAiET"}
@@ -5,7 +5,20 @@ import { AvatarSizeType } from '../Avatar';
5
5
  import { ButtonSize } from '../Button';
6
6
  import { CompactButtonsButtonType } from '../CompactButtons';
7
7
  export type ProductHeaderSizeProps = 'small' | 'medium' | 'large' | 'xLarge';
8
- export interface ProductHeaderPropTypes {
8
+ type ProductHeaderClickableProps = {
9
+ /** Makes the whole header area clickable. */
10
+ isHeaderClickable: true;
11
+ /** Click handler for the header area. */
12
+ onHeaderClick?: () => void;
13
+ };
14
+ type ProductHeaderDefaultProps = {
15
+ /** Makes the whole header area clickable. */
16
+ isHeaderClickable?: false;
17
+ /** Cannot be used without `isHeaderClickable`. */
18
+ onHeaderClick?: never;
19
+ };
20
+ type ProductHeaderInteractionProps = ProductHeaderClickableProps | ProductHeaderDefaultProps;
21
+ type ProductHeaderBaseProps = {
9
22
  /**
10
23
  * ProductHeader size variant that sets default sizing for the whole header (title, subtitle, amounts, icon and actions).
11
24
  * You can still override any individual size via `titleSize`, `subtitleSize`, `amountSize`, `secondaryAmountSize`,
@@ -36,9 +49,9 @@ export interface ProductHeaderPropTypes {
36
49
  titleIconSize?: AvatarSizeType;
37
50
  /** Visually hidden prefix rendered before the title (for screen readers). */
38
51
  titleHiddenPrefix?: ReactElement;
39
- /** Link that can be used for title (internal navigation) or a callback function. */
52
+ /** Internal link or callback used by the title. */
40
53
  linkTo?: string | (() => void);
41
- /** External link to open in a new tab on click (title area). */
54
+ /** External link used by the title. */
42
55
  externalLink?: string;
43
56
  /** Secondary text shown under the title in the left column. */
44
57
  subtitle?: string;
@@ -112,6 +125,8 @@ export interface ProductHeaderPropTypes {
112
125
  locale?: string;
113
126
  /** Test ID for testing purposes. */
114
127
  testId?: string;
115
- }
116
- export declare const ProductHeader: ({ actions, actionsSize, amount, amountHiddenPrefix, amountHideIcon, amountIsBold, amountIsInline, amountMaximumFractionDigits, amountMinimumFractionDigits, amountSize, amountType, amountUnitAfter, amountUnitBefore, amountUnitTheme, belowHeaderContent, customSubtitle, customTitle, externalLink, linkTo, locale, secondaryAmount, secondaryAmountHideIcon, secondaryAmountIsBold, secondaryAmountIsInline, secondaryAmountMaximumFractionDigits, secondaryAmountMinimumFractionDigits, secondaryAmountSize, secondaryAmountType, secondaryAmountUnitAfter, secondaryAmountUnitBefore, secondaryAmountUnitTheme, secondaryLabel, secondaryLabelSize, size, subtitle, subtitleHiddenPrefix, subtitleSize, testId, title, titleHiddenPrefix, titleIconBackgroundColor, titleIconBackgroundCustom, titleIconColor, titleIconName, titleIconSize, titleIconText, titleSize, titleVisual, titleWithoutMargin, topRightButtons, topRightCustomContent }: ProductHeaderPropTypes) => React.JSX.Element;
128
+ };
129
+ export type ProductHeaderPropTypes = ProductHeaderBaseProps & ProductHeaderInteractionProps;
130
+ export declare const ProductHeader: ({ actions, actionsSize, amount, amountHiddenPrefix, amountHideIcon, amountIsBold, amountIsInline, amountMaximumFractionDigits, amountMinimumFractionDigits, amountSize, amountType, amountUnitAfter, amountUnitBefore, amountUnitTheme, belowHeaderContent, customSubtitle, customTitle, externalLink, isHeaderClickable, linkTo, locale, onHeaderClick, secondaryAmount, secondaryAmountHideIcon, secondaryAmountIsBold, secondaryAmountIsInline, secondaryAmountMaximumFractionDigits, secondaryAmountMinimumFractionDigits, secondaryAmountSize, secondaryAmountType, secondaryAmountUnitAfter, secondaryAmountUnitBefore, secondaryAmountUnitTheme, secondaryLabel, secondaryLabelSize, size, subtitle, subtitleHiddenPrefix, subtitleSize, testId, title, titleHiddenPrefix, titleIconBackgroundColor, titleIconBackgroundCustom, titleIconColor, titleIconName, titleIconSize, titleIconText, titleSize, titleVisual, titleWithoutMargin, topRightButtons, topRightCustomContent }: ProductHeaderPropTypes) => React.JSX.Element;
131
+ export {};
117
132
  //# sourceMappingURL=ProductHeader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/Components/ProductHeader/ProductHeader.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,YAAY,EAAE,SAAS,EAA+B,MAAM,OAAO,CAAA;AAGnF,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAG/D,OAAO,EAAU,cAAc,EAAE,UAAU,EAAQ,YAAY,EAAS,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAC3G,OAAO,E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CAAC,EAAE,MAAM,CAAA;IAClC,yCAAyC;IACzC,wBAAwB,CAAC,EAAE,MAAM,CAAA;IACjC,uCAAuC;IACvC,wBAAwB,CAAC,EAAE,KAAK,CAAA;IAChC,oDAAoD;IACpD,oCAAoC,CAAC,EAAE,MAAM,CAAA;IAC7C,oDAAoD;IACpD,oCAAoC,CAAC,EAAE,MAAM,CAAA;IAG7C,2DAA2D;IAC3D,OAAO,CAAC,EAAE,wBAAwB,EAAE,CAAA;IACpC,mEAAmE;IACnE,WAAW,CAAC,EAAE,UAAU,CAAA;IACxB,kJAAkJ;IAClJ,kBAAkB,CAAC,EAAE,SAAS,CAAA;IAI9B,qGAAqG;IACrG,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,oCAAoC;IACpC,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,eAAO,MAAM,aAAa,25BAqDvB,sBAAsB,sBAgOxB,CAAA"}
1
+ {"version":3,"file":"ProductHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/Components/ProductHeader/ProductHeader.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,YAAY,EAAE,SAAS,EAA+B,MAAM,OAAO,CAAA;AAGnF,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAG/D,OAAO,EAAU,cAAc,EAAE,UAAU,EAAQ,YAAY,EAAS,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAC3G,OAAO,EAAU,cAAc,EAAE,MAAM,WAAW,CAAA;AAClD,OAAO,EAAgB,UAAU,EAAE,MAAM,WAAW,CAAA;AACpD,OAAO,EAAkB,wBAAwB,EAAE,MAAM,mBAAmB,CAAA;AAG5E,MAAM,MAAM,sBAAsB,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAA;AAE5E,KAAK,2BAA2B,GAAG;IACjC,6CAA6C;IAC7C,iBAAiB,EAAE,IAAI,CAAA;IACvB,yCAAyC;I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IACjC,0CAA0C;IAC1C,yBAAyB,CAAC,EAAE,MAAM,CAAA;IAClC,yCAAyC;IACzC,wBAAwB,CAAC,EAAE,MAAM,CAAA;IACjC,uCAAuC;IACvC,wBAAwB,CAAC,EAAE,KAAK,CAAA;IAChC,oDAAoD;IACpD,oCAAoC,CAAC,EAAE,MAAM,CAAA;IAC7C,oDAAoD;IACpD,oCAAoC,CAAC,EAAE,MAAM,CAAA;IAI7C,2DAA2D;IAC3D,OAAO,CAAC,EAAE,wBAAwB,EAAE,CAAA;IACpC,mEAAmE;IACnE,WAAW,CAAC,EAAE,UAAU,CAAA;IACxB,kJAAkJ;IAClJ,kBAAkB,CAAC,EAAE,SAAS,CAAA;IAI9B,qGAAqG;IACrG,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,oCAAoC;IACpC,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG,sBAAsB,GAAG,6BAA6B,CAAA;AAE3F,eAAO,MAAM,aAAa,67BAuDvB,sBAAsB,sBAwSxB,CAAA"}
@@ -1,2 +1,2 @@
1
- import e,{useCallback as t}from"react";import{useHistory as o}from"react-router-dom";import"../../../utils/getDisplayName.js";import"../../../utils/getIntegerMask.js";import"../../../utils/isFilled.js";import"../../../utils/isNotFilled.js";import"../../../utils/isNotNilNorEmpty.js";import'./../../../ext/diacritic/diacritics.js';import{cx as i}from"../../../utils/classBinder.js";import'./../../../ext/text-mask-addons/dist/textMaskAddons.js';import'./../../../ext/tslib/tslib.es6.js';import{Flex as n}from"../../Layout/Flex/Flex.js";import"../Button/Button.js";import{ButtonsGroup as r}from"../Button/ButtonsGroup.js";import"../../../contexts/MobilePanelContext.js";import'./../../../ext/cuid/index.js';import{Amount as a}from"../../Typography/Amount/Amount.js";import{Text as l}from"../../Typography/Text/Text.js";import{Title as s}from"../../Typography/Title/Title.js";import{Avatar as m}from"../Avatar/Avatar.js";import"../ButtonTooltip/ButtonTooltip.js";import"../../../contexts/CardContext.js";import"../../../contexts/FormGroupContext.js";import"../../../contexts/ModalContext.js";import"../../../contexts/Select2Context.js";import"../../../contexts/TabsContext.js";import"react-slick";import"../Collapse/Collapse.js";import{CompactButtons as c}from"../CompactButtons/CompactButtons.js";import"../../../contexts/ContentTableContext.js";import"../ContentTable/ContentTableRow.js";import"../DataTable/DataTable.js";import'./../../../ext/lodash/_baseToString.js';import'./../../../ext/react-text-mask/dist/reactTextMask.js';import"../Dropdown/_elements_/DropdownDivider.js";import"../Dropdown/_elements_/DropdownItem.js";import"../Dropdown/_elements_/DropdownMenu.js";import"../Dropdown/_elements_/DropdownInfoText.js";import"../Dropdown/_elements_/DropdownLoading.js";import{Link as d}from"../Link/Link.js";import"react-dom";import"../SuperModal/SuperModal.context.js";import"../../Form/Autocomplete/Autocomplete.js";import'./../../../ext/react-device-detect/dist/lib.js';import"../../Form/FileUpload/_parts_/MergeImageCards.js";import"../../Form/Select/_elements_/Select2CategorisedOptions.js";import"../../Form/Select/_elements_/Select2Options.js";import"../../Form/Slider/Slider.js";var u=function(u){var p=u.actions,_=u.actionsSize,g=u.amount,y=u.amountHiddenPrefix,x=u.amountHideIcon,S=void 0!==x&&x,j=u.amountIsBold,H=void 0===j||j,z=u.amountIsInline,b=u.amountMaximumFractionDigits,v=void 0===b?2:b,f=u.amountMinimumFractionDigits,h=void 0===f?2:f,I=u.amountSize,C=u.amountType,A=u.amountUnitAfter,E=u.amountUnitBefore,T=u.amountUnitTheme,D=u.belowHeaderContent,L=u.customSubtitle,N=u.customTitle,B=u.externalLink,F=u.linkTo,k=u.locale,w=u.secondaryAmount,M=u.secondaryAmountHideIcon,U=void 0!==M&&M,V=u.secondaryAmountIsBold,P=u.secondaryAmountIsInline,O=u.secondaryAmountMaximumFractionDigits,R=void 0===O?2:O,W=u.secondaryAmountMinimumFractionDigits,G=void 0===W?2:W,q=u.secondaryAmountSize,J=u.secondaryAmountType,K=u.secondaryAmountUnitAfter,Q=u.secondaryAmountUnitBefore,X=u.secondaryAmountUnitTheme,Y=u.secondaryLabel,Z=u.secondaryLabelSize,$=u.size,ee=void 0===$?"medium":$,te=u.subtitle,oe=u.subtitleHiddenPrefix,ie=u.subtitleSize,ne=u.testId,re=u.title,ae=u.titleHiddenPrefix,le=u.titleIconBackgroundColor,se=void 0===le?"bgBrandDefault":le,me=u.titleIconBackgroundCustom,ce=u.titleIconColor,de=u.titleIconName,ue=u.titleIconSize,pe=u.titleIconText,_e=u.titleSize,ge=void 0===_e?"h2":_e,ye=u.titleVisual,xe=u.titleWithoutMargin,Se=void 0===xe||xe,je=u.topRightButtons,He=u.topRightCustomContent,ze=o(),be=t((function(e){"preventDefault"in e&&e.preventDefault(),"function"==typeof F?F():F&&ze.push(F)}),[ze,F]),ve=function(e){switch(e){case"small":return{amountSize:"small",secondaryAmountSize:"xSmall",titleIconSize:"medium",actionsSize:"small"};case"medium":default:return{titleVisual:"h5",subtitleSize:"small",amountSize:"large",secondaryAmountSize:"small",titleIconSize:"medium",actionsSize:"small",secondaryLabelSize:"small"};case"large":return{titleVisual:"h4",subtitleSize:"small",amountSize:"xLarge",secondaryAmountSize:"small",titleIconSize:"large",secondaryLabelSize:"small"};case"xLarge":return{titleVisual:"h3",amountSize:"xLarge",titleIconSize:"xLarge"}}}(ee),fe=null!=ye?ye:ve.titleVisual,he=null!=ie?ie:ve.subtitleSize,Ie=null!=Z?Z:ve.secondaryLabelSize,Ce=null!=I?I:ve.amountSize,Ae=null!=q?q:ve.secondaryAmountSize,Ee=null!=ue?ue:ve.titleIconSize,Te=null!=_?_:ve.actionsSize,De="small"===ee&&!I,Le="small"===ee&&!q,Ne="xLarge"===ee&&!q,Be=N||re,Fe=!!L||"string"==typeof te,ke=!!de||!!pe,we=e.Children.count(He)>0,Me=e.Children.count(je)>0,Ue=we,Ve=!Ue&&Me,Pe=!Ue&&!Ve&&"number"==typeof g,Oe=Ue||Ve||Pe,Re=!!Y||"number"==typeof w,We=!!(null==p?void 0:p.length),Ge=e.Children.count(D)>0,qe=function(){return F||B?e.createElement(d,{ariaLabel:re,"data-testid":ne?"productHeader-link-".concat(ne):void 0,linkUrl:B||("string"==typeof F?F:"#"),target:B?"_blank":void 0,theme:"c-productHeader__titleLink",onClick:B?void 0:be},e.createElement(s,{isWithoutMargin:Se,size:ge,theme:i("c-productHeader__title",{"c-productHeader__title--customVisual":!!ye}),visual:fe},ae&&e.createElement("span",{className:"u-vHide"},ae),Be)):e.createElement(s,{isWithoutMargin:Se,size:ge,theme:i("c-productHeader__title",{"c-productHeader__title--customVisual":!!ye}),visual:fe},ae&&e.createElement("span",{className:"u-vHide"},ae),Be)};return!(ke||Fe||Oe||Re||We||Ge)?e.createElement("div",{className:"c-productHeader c-productHeader--titleOnly","data-testid":ne},qe()):e.createElement("div",{className:i("c-productHeader",{"c-productHeader--withTitleIcon":ke,"c-productHeader--small":"small"===ee,"c-productHeader--xLarge":"xLarge"===ee}),"data-testid":ne},e.createElement("div",{className:"c-productHeader__grid"},ke?e.createElement("div",{className:"c-productHeader__gridIcon"},e.createElement(m,{backgroundColor:se,backgroundCustom:me,color:ce,iconName:de,size:Ee,text:pe})):null,e.createElement("div",{className:"c-productHeader__gridTitle"},qe()),e.createElement("div",{className:"c-productHeader__gridSubtitle"},Fe?L?e.createElement(e.Fragment,null,oe&&e.createElement("span",{className:"u-vHide"},oe),L):e.createElement(l,{size:he,theme:i("c-productHeader__subtitle",{"c-productHeader__subtitle--customSize":!!ie}),type:"secondary"},oe&&e.createElement("span",{className:"u-vHide"},oe),te):null),Oe?e.createElement("div",{className:"c-productHeader__gridAmount"},Ue?He:null,Ve?e.createElement(r,null,je):null,Pe?e.createElement(e.Fragment,null,y&&e.createElement("span",{className:"u-vHide"},y),e.createElement(a,{amount:g,hideIcon:S,isBold:H,isInline:z,locale:k,maximumFractionDigits:v,minimumFractionDigits:h,size:Ce,theme:i("c-productHeader__amount",{"c-productHeader__amount--small":De}),type:C,unitAfter:A,unitBefore:E,unitTheme:T})):null):null,Re?e.createElement("div",{className:"c-productHeader__gridSecondary"},Y?e.createElement(n,{alignItems:"baseline",direction:"row",justifyContent:"end",theme:"c-productHeader__secondary"},e.createElement(l,{component:"span",size:Ie,theme:i("c-productHeader__secondaryLabel",{"c-productHeader__secondaryLabel--customSize":!!Z})},Y),"number"==typeof w?e.createElement(a,{amount:w,hideIcon:U,isBold:V,isInline:P,locale:k,maximumFractionDigits:R,minimumFractionDigits:G,size:Ae,theme:i("c-productHeader__amount",{"c-productHeader__amount--small":Le,"c-productHeader__secondaryAmount--xLarge":Ne}),type:J,unitAfter:K,unitBefore:Q,unitTheme:i(X,{"c-productHeader__secondaryAmount--xLarge":Ne})}):null):null):null),We?e.createElement("div",{className:"c-productHeader__actions"},e.createElement(c,{buttons:p,size:Te})):null,Ge?e.createElement("div",{className:"c-productHeader__below"},D):null)};export{u as ProductHeader};
1
+ import{__assign as e}from'./../../../ext/tslib/tslib.es6.js';import t,{useCallback as o}from"react";import{useHistory as i}from"react-router-dom";import"../../../utils/getDisplayName.js";import"../../../utils/getIntegerMask.js";import"../../../utils/isFilled.js";import"../../../utils/isNotFilled.js";import"../../../utils/isNotNilNorEmpty.js";import'./../../../ext/diacritic/diacritics.js';import{cx as n}from"../../../utils/classBinder.js";import'./../../../ext/text-mask-addons/dist/textMaskAddons.js';import{Flex as r}from"../../Layout/Flex/Flex.js";import"../Button/Button.js";import{ButtonsGroup as a}from"../Button/ButtonsGroup.js";import"../../../contexts/MobilePanelContext.js";import'./../../../ext/cuid/index.js';import{Amount as l}from"../../Typography/Amount/Amount.js";import{Text as s}from"../../Typography/Text/Text.js";import{Title as m}from"../../Typography/Title/Title.js";import{Avatar as c}from"../Avatar/Avatar.js";import"../ButtonTooltip/ButtonTooltip.js";import"../../../contexts/CardContext.js";import"../../../contexts/FormGroupContext.js";import"../../../contexts/ModalContext.js";import"../../../contexts/Select2Context.js";import"../../../contexts/TabsContext.js";import"react-slick";import"../Collapse/Collapse.js";import{CompactButtons as d}from"../CompactButtons/CompactButtons.js";import"../../../contexts/ContentTableContext.js";import"../ContentTable/ContentTableRow.js";import"../DataTable/DataTable.js";import'./../../../ext/lodash/_baseToString.js';import'./../../../ext/react-text-mask/dist/reactTextMask.js';import"../Dropdown/_elements_/DropdownDivider.js";import"../Dropdown/_elements_/DropdownItem.js";import"../Dropdown/_elements_/DropdownMenu.js";import"../Dropdown/_elements_/DropdownInfoText.js";import"../Dropdown/_elements_/DropdownLoading.js";import{Link as u}from"../Link/Link.js";import"react-dom";import"../SuperModal/SuperModal.context.js";import"../../Form/Autocomplete/Autocomplete.js";import'./../../../ext/react-device-detect/dist/lib.js';import"../../Form/FileUpload/_parts_/MergeImageCards.js";import'./../../../ext/jspdf/dist/jspdf.es.min.js';import'./../../../ext/@bugsnag/cuid/index.esm.js';import"../../Form/Select/_elements_/Select2CategorisedOptions.js";import"../../Form/Select/_elements_/Select2Options.js";import"../../Form/Slider/Slider.js";var p=function(p){var _=p.actions,g=p.actionsSize,y=p.amount,b=p.amountHiddenPrefix,f=p.amountHideIcon,j=void 0!==f&&f,x=p.amountIsBold,H=void 0===x||x,S=p.amountIsInline,v=p.amountMaximumFractionDigits,z=void 0===v?2:v,h=p.amountMinimumFractionDigits,C=void 0===h?2:h,I=p.amountSize,k=p.amountType,E=p.amountUnitAfter,T=p.amountUnitBefore,A=p.amountUnitTheme,D=p.belowHeaderContent,L=p.customSubtitle,B=p.customTitle,N=p.externalLink,F=p.isHeaderClickable,w=void 0!==F&&F,M=p.linkTo,U=p.locale,V=p.onHeaderClick,P=p.secondaryAmount,W=p.secondaryAmountHideIcon,O=void 0!==W&&W,R=p.secondaryAmountIsBold,G=p.secondaryAmountIsInline,K=p.secondaryAmountMaximumFractionDigits,q=void 0===K?2:K,J=p.secondaryAmountMinimumFractionDigits,Q=void 0===J?2:J,X=p.secondaryAmountSize,Y=p.secondaryAmountType,Z=p.secondaryAmountUnitAfter,$=p.secondaryAmountUnitBefore,ee=p.secondaryAmountUnitTheme,te=p.secondaryLabel,oe=p.secondaryLabelSize,ie=p.size,ne=void 0===ie?"medium":ie,re=p.subtitle,ae=p.subtitleHiddenPrefix,le=p.subtitleSize,se=p.testId,me=p.title,ce=p.titleHiddenPrefix,de=p.titleIconBackgroundColor,ue=void 0===de?"bgBrandDefault":de,pe=p.titleIconBackgroundCustom,_e=p.titleIconColor,ge=p.titleIconName,ye=p.titleIconSize,be=p.titleIconText,fe=p.titleSize,je=void 0===fe?"h2":fe,xe=p.titleVisual,He=p.titleWithoutMargin,Se=void 0===He||He,ve=p.topRightButtons,ze=p.topRightCustomContent,he=i(),Ce=function(e){switch(e){case"small":return{amountSize:"small",secondaryAmountSize:"xSmall",titleIconSize:"medium",actionsSize:"small"};case"medium":default:return{titleVisual:"h5",subtitleSize:"small",amountSize:"large",secondaryAmountSize:"small",titleIconSize:"medium",actionsSize:"small",secondaryLabelSize:"small"};case"large":return{titleVisual:"h4",subtitleSize:"small",amountSize:"xLarge",secondaryAmountSize:"small",titleIconSize:"large",secondaryLabelSize:"small"};case"xLarge":return{titleVisual:"h3",amountSize:"xLarge",titleIconSize:"xLarge"}}}(ne),Ie=null!=xe?xe:Ce.titleVisual,ke=null!=le?le:Ce.subtitleSize,Ee=null!=oe?oe:Ce.secondaryLabelSize,Te=null!=I?I:Ce.amountSize,Ae=null!=X?X:Ce.secondaryAmountSize,De=null!=ye?ye:Ce.titleIconSize,Le=null!=g?g:Ce.actionsSize,Be="small"===ne&&!I,Ne="small"===ne&&!X,Fe="xLarge"===ne&&!X,we=B||me,Me=!!L||"string"==typeof re,Ue=!!ge||!!be,Ve=t.Children.count(ze)>0,Pe=t.Children.count(ve)>0,We=Ve,Oe=!We&&Pe,Re=!We&&!Oe&&"number"==typeof y,Ge=We||Oe||Re,Ke=!!te||"number"==typeof P,qe=!!(null==_?void 0:_.length),Je=t.Children.count(D)>0,Qe=!(Ue||Me||Ge||Ke||qe||Je),Xe=Boolean(M||N),Ye=Boolean(V||Xe),Ze=w&&Ye,$e=o((function(){"function"!=typeof M?M&&he.push(M):M()}),[he,M]),et=o((function(){N&&window.open(N,"_blank","noopener,noreferrer")}),[N]),tt=o((function(){N?et():M&&$e()}),[et,$e,N,M]),ot=o((function(e){"preventDefault"in e&&e.preventDefault(),$e()}),[$e]),it=o((function(){Ze&&(V?V():Xe&&tt())}),[tt,Xe,Ze,V]),nt=o((function(e){Ze&&("Enter"!==e.key&&" "!==e.key||(e.preventDefault(),it()))}),[it,Ze]),rt=function(){return M||N?t.createElement(u,{allowEventPropagation:!1,ariaLabel:me,"data-testid":se?"productHeader-link-".concat(se):void 0,linkUrl:N||("string"==typeof M?M:"#"),target:N?"_blank":void 0,theme:"c-productHeader__titleLink",onClick:N?void 0:ot},t.createElement(m,{isWithoutMargin:Se,size:je,theme:n("c-productHeader__title",{"c-productHeader__title--customVisual":!!xe}),visual:Ie},ce&&t.createElement("span",{className:"u-vHide"},ce),we)):t.createElement(m,{isWithoutMargin:Se,size:je,theme:n("c-productHeader__title",{"c-productHeader__title--customVisual":!!xe}),visual:Ie},ce&&t.createElement("span",{className:"u-vHide"},ce),we)},at=Ze?{onClick:it,onKeyDown:nt,role:"button",tabIndex:0}:{};return Qe?t.createElement("div",e({},at,{className:n("c-productHeader c-productHeader--titleOnly",{"c-productHeader--headerClickable":Ze,"c-productHeader--headerClickableWithTitleLink":Ze&&Xe}),"data-testid":se}),rt()):t.createElement("div",e({},at,{className:n("c-productHeader",{"c-productHeader--withTitleIcon":Ue,"c-productHeader--small":"small"===ne,"c-productHeader--xLarge":"xLarge"===ne,"c-productHeader--headerClickable":Ze,"c-productHeader--headerClickableWithTitleLink":Ze&&Xe}),"data-testid":se}),t.createElement("div",{className:"c-productHeader__grid"},Ue?t.createElement("div",{className:"c-productHeader__gridIcon"},t.createElement(c,{backgroundColor:ue,backgroundCustom:pe,color:_e,iconName:ge,size:De,text:be})):null,t.createElement("div",{className:"c-productHeader__gridTitle"},rt()),t.createElement("div",{className:"c-productHeader__gridSubtitle"},Me?L?t.createElement(t.Fragment,null,ae&&t.createElement("span",{className:"u-vHide"},ae),L):t.createElement(s,{size:ke,theme:n("c-productHeader__subtitle",{"c-productHeader__subtitle--customSize":!!le}),type:"secondary"},ae&&t.createElement("span",{className:"u-vHide"},ae),re):null),Ge?t.createElement("div",{className:"c-productHeader__gridAmount"},We?ze:null,Oe?t.createElement(a,null,ve):null,Re?t.createElement(t.Fragment,null,b&&t.createElement("span",{className:"u-vHide"},b),t.createElement(l,{amount:y,hideIcon:j,isBold:H,isInline:S,locale:U,maximumFractionDigits:z,minimumFractionDigits:C,size:Te,theme:n("c-productHeader__amount",{"c-productHeader__amount--small":Be}),type:k,unitAfter:E,unitBefore:T,unitTheme:A})):null):null,Ke?t.createElement("div",{className:"c-productHeader__gridSecondary"},te?t.createElement(r,{alignItems:"baseline",direction:"row",justifyContent:"end",theme:"c-productHeader__secondary"},t.createElement(s,{component:"span",size:Ee,theme:n("c-productHeader__secondaryLabel",{"c-productHeader__secondaryLabel--customSize":!!oe})},te),"number"==typeof P?t.createElement(l,{amount:P,hideIcon:O,isBold:R,isInline:G,locale:U,maximumFractionDigits:q,minimumFractionDigits:Q,size:Ae,theme:n("c-productHeader__amount",{"c-productHeader__amount--small":Ne,"c-productHeader__secondaryAmount--xLarge":Fe}),type:Y,unitAfter:Z,unitBefore:$,unitTheme:n(ee,{"c-productHeader__secondaryAmount--xLarge":Fe})}):null):null):null),qe?t.createElement("div",{className:"c-productHeader__actions"},t.createElement(d,{buttons:_,size:Le})):null,Je?t.createElement("div",{className:"c-productHeader__below"},D):null)};export{p as ProductHeader};
2
2
  //# sourceMappingURL=ProductHeader.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductHeader.js","sources":["../../../../src/components/Components/ProductHeader/ProductHeader.tsx"],"sourcesContent":[null],"names":["ProductHeader","_a","actions","actionsSize","amount","amountHiddenPrefix","_b","amountHideIcon","_c","amountIsBold","amountIsInline","_d","amountMaximumFractionDigits","_e","amountMinimumFractionDigits","amountSize","amountType","amountUnitAfter","amountUnitBefore","amountUnitTheme","belowHeaderContent","customSubtitle","customTitle","externalLink","linkTo","locale","secondaryAmount","_f","secondaryAmountHideIcon","secondaryAmountIsBold","secondaryAmountIsInline","_g","secondaryAmountMaximumFractionDigits","_h","secondaryAmountMinimumFractionDigits","secondaryAmountSize","secondaryAmountType","secondaryAmountUnitAfter","secondaryAmountUnitBefore","secondaryAmountUnitTheme","secondaryLabel","secondaryLabelSize","_j","size","subtitle","subtitleHiddenPrefix","subtitleSize","testId","title","titleHiddenPrefix","_k","titleIconBackgroundColor","titleIconBackgroundCustom","titleIconColor","titleIconName","titleIconSize","titleIconText","_l","titleSize","titleVisual","_m","titleWithoutMargin","topRightButtons","topRightCustomContent","history","useHistory","onInternalTitleClick","useCallback","e","preventDefault","push","defaultSizes","getDefaultSizesByHeaderSize","resolvedTitleVisual","resolvedSubtitleSize","resolvedSecondaryLabelSize","resolvedAmountSize","resolvedSecondaryAmountSize","resolvedTitleIconSize","resolvedActionsSize","shouldUseSmallAmountTheme","shouldUseSmallSecondaryAmountTheme","shouldUseXLargeSecondaryAmountTheme","titleContent","hasSubtitle","hasIcon","hasTopRightCustomContent","React","Children","count","hasTopRightButtons","showTopRightCustomContent","showTopRightButtons","showAmount","hasTopRight","hasBottomRight","hasActions","length","hasBelowHeaderContent","renderTitle","createElement","Link","ariaLabel","concat","undefined","linkUrl","target","theme","onClick","Title","isWithoutMargin","cx","visual","className","Avatar","backgroundColor","backgroundCustom","color","iconName","text","Fragment","Text","type","ButtonsGroup","Amount","hideIcon","isBold","isInline","maximumFractionDigits","minimumFractionDigits","unitAfter","unitBefore","unitTheme","Flex","alignItems","direction","justifyContent","component","CompactButtons","buttons"],"mappings":"isEAyBA,IA0KaA,EAAgB,SAACC,OAC5BC,EAAOD,EAAAC,QAEPC,EAAWF,EAAAE,YACXC,EAAMH,EAAAG,OACNC,EAAkBJ,EAAAI,mBAClBC,EAAsBL,EAAAM,eAAtBA,OAAiB,IAAAD,KACjBE,EAAAP,EAAAQ,aAAAA,OAA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F,EACvBS,KAAMkC,GACN8B,MAAOI,EAAG,0BAA2B,CACnC,iCAAkC9B,GAClC,2CAA4CC,KAE9CwC,KAAMtF,EACN8F,UAAW7F,EACX8F,WAAY7F,EACZ8F,UAAWrB,EAAGxE,EAA0B,CACtC,2CAA4C2C,OAG9C,MAEJ,MAEJ,MAGLc,GACCT,EAAKa,cAAA,MAAA,CAAAa,UAAU,4BACb1B,EAAAa,cAACsC,EAAc,CAACC,QAASzI,EAASyC,KAAMoC,MAExC,KAEHmB,GAAwBX,EAAKa,cAAA,MAAA,CAAAa,UAAU,0BAA0B7F,GAA4B,KAGpG"}
1
+ {"version":3,"file":"ProductHeader.js","sources":["../../../../src/components/Components/ProductHeader/ProductHeader.tsx"],"sourcesContent":[null],"names":["ProductHeader","_a","actions","actionsSize","amount","amountHiddenPrefix","_b","amountHideIcon","_c","amountIsBold","amountIsInline","_d","amountMaximumFractionDigits","_e","amountMinimumFractionDigits","amountSize","amountType","amountUnitAfter","amountUnitBefore","amountUnitTheme","belowHeaderContent","customSubtitle","customTitle","externalLink","_f","isHeaderClickable","linkTo","locale","onHeaderClick","secondaryAmount","_g","secondaryAmountHideIcon","secondaryAmountIsBold","secondaryAmountIsInline","_h","secondaryAmountMaximumFractionDigits","_j","secondaryAmountMinimumFractionDigits","secondaryAmountSize","secondaryAmountType","secondaryAmountUnitAfter","secondaryAmountUnitBefore","secondaryAmountUnitTheme","secondaryLabel","secondaryLabelSize","_k","size","subtitle","subtitleHiddenPrefix","subtitleSize","testId","title","titleHiddenPrefix","_l","titleIconBackgroundColor","titleIconBackgroundCustom","titleIconColor","titleIconName","titleIconSize","titleIconText","_m","titleSize","titleVisual","_o","titleWithoutMargin","topRightButtons","topRightCustomContent","history","useHistory","defaultSizes","getDefaultSizesByHeaderSize","resolvedTitleVisual","resolvedSubtitleSize","resolvedSecondaryLabelSize","resolvedAmountSize","resolvedSecondaryAmountSize","resolvedTitleIconSize","resolvedActionsSize","shouldUseSmallAmountTheme","shouldUseSmallSecondaryAmountTheme","shouldUseXLargeSecondaryAmountTheme","titleContent","hasSubtitle","hasIcon","hasTopRightCustomContent","React","Children","count","hasTopRightButtons","showTopRightCustomContent","showTopRightButtons","showAmount","hasTopRight","hasBottomRight","hasActions","length","hasBelowHeaderContent","isTitleOnly","hasTitleLink","Boolean","hasHeaderAction","isWholeHeaderClickable","executeInternalNavigation","useCallback","push","executeExternalNavigation","window","open","executeHeaderLinkAction","onInternalTitleClick","e","preventDefault","handleWholeHeaderClick","handleWholeHeaderKeyDown","key","renderTitle","createElement","Link","allowEventPropagation","ariaLabel","concat","undefined","linkUrl","target","theme","onClick","Title","isWithoutMargin","cx","visual","className","wrapperInteractiveProps","onKeyDown","role","tabIndex","Avatar","backgroundColor","backgroundCustom","color","iconName","text","Fragment","Text","type","ButtonsGroup","Amount","hideIcon","isBold","isInline","maximumFractionDigits","minimumFractionDigits","unitAfter","unitBefore","unitTheme","Flex","alignItems","direction","justifyContent","component","CompactButtons","buttons"],"mappings":"s0EAyCA,IA6KaA,EAAgB,SAACC,OAC5BC,EAAOD,EAAAC,QAEPC,EAAWF,EAAAE,YACXC,EAAMH,EAAAG,OACNC,EAAkBJ,EAAAI,mBAClBC,mBAAAC,cAAsBD,EACtBE,EAAmBP,EAAAQ,aAAnBA,OAAY,IAAAD,GAAOA,EACnBE,EAAcT,EAAAS,eACdC,EAA+BV,EAAAW,4BAA/BA,OAA8B,IAAAD,EAAA,EAACA,EAC/BE,EAA+BZ,EAAAa,4BAA/BA,OAA8B,IAAAD,EAAA,IAC9BE,eACAC,EAAUf,EAAAe,WACVC,EAAehB,EAAAgB,gBACfC,EAAgBjB,EAAAiB,iBAChBC,EAAelB,EAAAkB,gBACfC,EAAkBnB,EAAAmB,mBAClBC,EAAcpB,EAAAoB,eACdC,EAAWrB,EAAAqB,YACXC,EAAYtB,EAAAsB,aACZC,sBAAAC,OAAoB,IAAAD,GAAKA,EACzBE,EAAMzB,EAAAyB,OACNC,EAAM1B,EAAA0B,OACN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0BAA2B,CAAE,iCAAkClD,KACzEiE,KAAM/H,EACNuI,UAAWtI,EACXuI,WAAYtI,EACZuI,UAAWtI,KAGb,MAEJ,KAEH0E,GACCR,EAAK+B,cAAA,MAAA,CAAAc,UAAU,kCACZvF,GACC0C,EAAA+B,cAACsC,EAAI,CAACC,WAAW,WAAWC,UAAU,MAAMC,eAAe,MAAMjC,MAAM,8BACrEvC,EAAA+B,cAAC0B,EAAI,CACHgB,UAAU,OACVhH,KAAM2B,GACNmD,MAAOI,EAAG,kCAAmC,CAC3C,gDAAiDpF,MAGlDD,IAGyB,iBAApBd,EACNwD,gBAAC4D,EAAM,CACL7I,OAAQyB,EACRqH,SAAUnH,EACVoH,OAAQnH,EACRoH,SAAUnH,EACVN,OAAQA,EACR0H,sBAAuBlH,EACvBmH,sBAAuBjH,EACvBS,KAAM6B,GACNiD,MAAOI,EAAG,0BAA2B,CACnC,iCAAkCjD,GAClC,2CAA4CC,KAE9C+D,KAAMxG,EACNgH,UAAW/G,EACXgH,WAAY/G,EACZgH,UAAWzB,EAAGtF,GAA0B,CACtC,2CAA4CsC,OAG9C,MAEJ,MAEJ,MAGLc,GACCT,EAAK+B,cAAA,MAAA,CAAAc,UAAU,4BACb7C,EAAA+B,cAAC2C,EAAc,CAACC,QAAS9J,EAAS4C,KAAM+B,MAExC,KAEHmB,GAAwBX,EAAK+B,cAAA,MAAA,CAAAc,UAAU,0BAA0B9G,GAA4B,KAGpG"}
@@ -1,2 +1,2 @@
1
- import e,{useCallback as t}from"react";import"../../../utils/getDisplayName.js";import"../../../utils/getIntegerMask.js";import"../../../utils/isFilled.js";import"../../../utils/isNotFilled.js";import"../../../utils/isNotNilNorEmpty.js";import'./../../../ext/diacritic/diacritics.js';import{cx as o}from"../../../utils/classBinder.js";import'./../../../ext/text-mask-addons/dist/textMaskAddons.js';import"../../Form/Autocomplete/Autocomplete.js";import{Checkbox as i}from"../../Form/Checkbox/Checkbox.js";import'./../../../ext/tslib/tslib.es6.js';import'./../../../ext/cuid/index.js';import'./../../../ext/react-device-detect/dist/lib.js';import"../../Typography/Amount/Amount.js";import{Text as r}from"../../Typography/Text/Text.js";import{Title as s}from"../../Typography/Title/Title.js";import"../Button/Button.js";import{Avatar as l}from"../Avatar/Avatar.js";import"../ButtonTooltip/ButtonTooltip.js";import"../../../contexts/CardContext.js";import"../../../contexts/FormGroupContext.js";import"../../../contexts/ModalContext.js";import"../../../contexts/Select2Context.js";import"../../../contexts/TabsContext.js";import"react-slick";import"../Collapse/Collapse.js";import'./../../../ext/lodash/_baseToString.js';import'./../../../ext/react-text-mask/dist/reactTextMask.js';import"../Dropdown/_elements_/DropdownDivider.js";import"../Dropdown/_elements_/DropdownItem.js";import"../Dropdown/_elements_/DropdownMenu.js";import"../Dropdown/_elements_/DropdownInfoText.js";import"../Dropdown/_elements_/DropdownLoading.js";import"../../../contexts/ContentTableContext.js";import"../ContentTable/ContentTableRow.js";import"../DataTable/DataTable.js";import"../Link/Link.js";import"react-dom";import"react-router-dom";import"../../../contexts/MobilePanelContext.js";import"../SuperModal/SuperModal.context.js";import"../../Form/FileUpload/_parts_/MergeImageCards.js";import"../../Form/Select/_elements_/Select2CategorisedOptions.js";import"../../Form/Select/_elements_/Select2Options.js";import"../../Form/Slider/Slider.js";var m={fill:{backgroundColor:"bgBrandBold",color:"fgInverseDefault"},transparent:{backgroundColor:void 0,color:"fgBrandDefault"}},n=function(n){var a=n.children,p=n.component,c=n.iconName,d=n.iconSize,j=void 0===d?"large":d,u=n.iconStyle,_=void 0===u?"transparent":u,x=n.isDisabled,b=void 0!==x&&x,C=n.isSelectable,T=n.isSelected,g=void 0!==T&&T,k=n.linkTo,D=n.onClick,h=n.perex,v=n.testId,f=n.theme,S=n.titleSize,w=void 0===S?"h2":S,F=n.withoutTitle,N=t((function(e){!b&&k||e.preventDefault(),D&&!b&&D(e)}),[b,k,D]);return e.createElement("a",{className:o("c-tile",f,{"c-tile--selected":g,"c-tile--disabled":b}),"data-testid":v,href:k||void 0,onClick:N},C&&e.createElement(i,{name:"tileCheckbox",theme:"c-tile__checkbox",value:g}),!!c&&e.createElement(l,{backgroundColor:m[_].backgroundColor,color:m[_].color,iconName:c,size:j,theme:"c-tile__icon"}),e.createElement("div",{className:o("c-tile__label",{"c-tile__label-icon":!!c})},F?e.createElement(r,{component:p||"p",theme:"c-tile__title"},a):e.createElement(s,{size:w,theme:"c-tile__title"},a)),h&&e.createElement("span",{className:"c-tile__perex"},h))};export{n as Tile};
1
+ import e,{useCallback as t}from"react";import"../../../utils/getDisplayName.js";import"../../../utils/getIntegerMask.js";import"../../../utils/isFilled.js";import"../../../utils/isNotFilled.js";import"../../../utils/isNotNilNorEmpty.js";import'./../../../ext/diacritic/diacritics.js';import{cx as o}from"../../../utils/classBinder.js";import'./../../../ext/text-mask-addons/dist/textMaskAddons.js';import"../../Form/Autocomplete/Autocomplete.js";import{Checkbox as i}from"../../Form/Checkbox/Checkbox.js";import'./../../../ext/tslib/tslib.es6.js';import'./../../../ext/cuid/index.js';import'./../../../ext/react-device-detect/dist/lib.js';import"../../Typography/Amount/Amount.js";import{Text as r}from"../../Typography/Text/Text.js";import{Title as s}from"../../Typography/Title/Title.js";import"../Button/Button.js";import{Avatar as l}from"../Avatar/Avatar.js";import"../ButtonTooltip/ButtonTooltip.js";import"../../../contexts/CardContext.js";import"../../../contexts/FormGroupContext.js";import"../../../contexts/ModalContext.js";import"../../../contexts/Select2Context.js";import"../../../contexts/TabsContext.js";import"react-slick";import"../Collapse/Collapse.js";import'./../../../ext/lodash/_baseToString.js';import'./../../../ext/react-text-mask/dist/reactTextMask.js';import"../Dropdown/_elements_/DropdownDivider.js";import"../Dropdown/_elements_/DropdownItem.js";import"../Dropdown/_elements_/DropdownMenu.js";import"../Dropdown/_elements_/DropdownInfoText.js";import"../Dropdown/_elements_/DropdownLoading.js";import"../../../contexts/ContentTableContext.js";import"../ContentTable/ContentTableRow.js";import"../DataTable/DataTable.js";import"../Link/Link.js";import"react-dom";import"react-router-dom";import"../../../contexts/MobilePanelContext.js";import"../SuperModal/SuperModal.context.js";import"../../Form/FileUpload/_parts_/MergeImageCards.js";import'./../../../ext/jspdf/dist/jspdf.es.min.js';import'./../../../ext/@bugsnag/cuid/index.esm.js';import"../../Form/Select/_elements_/Select2CategorisedOptions.js";import"../../Form/Select/_elements_/Select2Options.js";import"../../Form/Slider/Slider.js";var m={fill:{backgroundColor:"bgBrandBold",color:"fgInverseDefault"},transparent:{backgroundColor:void 0,color:"fgBrandDefault"}},n=function(n){var a=n.children,p=n.component,d=n.iconName,c=n.iconSize,j=void 0===c?"large":c,u=n.iconStyle,_=void 0===u?"transparent":u,x=n.isDisabled,b=void 0!==x&&x,C=n.isSelectable,g=n.isSelected,T=void 0!==g&&g,k=n.linkTo,f=n.onClick,D=n.perex,h=n.testId,v=n.theme,S=n.titleSize,w=void 0===S?"h2":S,F=n.withoutTitle,N=t((function(e){!b&&k||e.preventDefault(),f&&!b&&f(e)}),[b,k,f]);return e.createElement("a",{className:o("c-tile",v,{"c-tile--selected":T,"c-tile--disabled":b}),"data-testid":h,href:k||void 0,onClick:N},C&&e.createElement(i,{name:"tileCheckbox",theme:"c-tile__checkbox",value:T}),!!d&&e.createElement(l,{backgroundColor:m[_].backgroundColor,color:m[_].color,iconName:d,size:j,theme:"c-tile__icon"}),e.createElement("div",{className:o("c-tile__label",{"c-tile__label-icon":!!d})},F?e.createElement(r,{component:p||"p",theme:"c-tile__title"},a):e.createElement(s,{size:w,theme:"c-tile__title"},a)),D&&e.createElement("span",{className:"c-tile__perex"},D))};export{n as Tile};
2
2
  //# sourceMappingURL=Tile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tile.js","sources":["../../../../src/components/Components/Tile/Tile.tsx"],"sourcesContent":[null],"names":["avatarProps","fill","backgroundColor","color","transparent","undefined","Tile","_a","children","component","iconName","_b","iconSize","_c","iconStyle","_d","isDisabled","isSelectable","_e","isSelected","linkTo","onClick","perex","testId","theme","_f","titleSize","withoutTitle","handleOnClick","useCallback","e","preventDefault","React","className","cx","href","createElement","Checkbox","name","value","Avatar","size","Text","Title"],"mappings":"whEAsCA,IAAMA,EAAqF,CACzFC,KAAM,CACJC,gBAAiB,cACjBC,MAAO,oBAETC,YAAa,CACXF,qBAAiBG,EACjBF,MAAO,mBAIEG,EAAO,SAACC,GACnB,IAAAC,EAAQD,EAAAC,SACRC,EAASF,EAAAE,UACTC,EAAQH,EAAAG,SACRC,EAAkBJ,EAAAK,SAAlBA,OAAQ,IAAAD,EAAG,QAAOA,EAClBE,EAAAN,EAAAO,UAAAA,OAAY,IAAAD,EAAA,cAAaA,EACzBE,EAAkBR,EAAAS,WAAlBA,OAAU,IAAAD,GAAQA,EAClBE,EAAYV,EAAAU,aACZC,EAAAX,EAAAY,WAAAA,OAAa,IAAAD,GAAKA,EAClBE,EAAMb,EAAAa,OACNC,EAAOd,EAAAc,QACPC,EAAKf,EAAAe,MACLC,EAAMhB,EAAAgB,OACNC,EAAKjB,EAAAiB,MACLC,EAAAlB,EAAAmB,UAAAA,OAAY,IAAAD,EAAA,KAAIA,EAChBE,EAAYpB,EAAAoB,aAENC,EAAgBC,GACpB,SAACC,IACKd,GAAeI,GACjBU,EAAEC,iBAGAV,IAAYL,GACdK,EAAQS,EAEX,GACD,CAACd,EAAYI,EAAQC,IAGvB,OACEW,qBACEC,UAAWC,EAAG,SAAUV,EAAO,CAC7B,mBAAoBL,EACpB,mBAAoBH,IACpB,cACWO,EACbY,KAAMf,QAAUf,EAChBgB,QAASO,GAERX,GAAgBe,EAAAI,cAACC,EAAQ,CAACC,KAAK,eAAed,MAAM,mBAAmBe,MAAOpB,MAE5ET,GACDsB,EAAAI,cAACI,EACC,CAAAtC,gBAAiBF,EAAYc,GAAWZ,gBACxCC,MAAOH,EAAYc,GAAWX,MAC9BO,SAAUA,EACV+B,KAAM7B,EACNY,MAAM,iBAGVQ,EAAAI,cAAA,MAAA,CAAKH,UAAWC,EAAG,gBAAiB,CAAE,uBAAwBxB,KAC3DiB,EACCK,EAACI,cAAAM,EAAK,CAAAjC,UAAWA,GAAwB,IAAKe,MAAM,iBACjDhB,GAGHwB,EAACI,cAAAO,EAAM,CAAAF,KAAMf,EAAWF,MAAM,iBAC3BhB,IAINc,GAASU,EAAMI,cAAA,OAAA,CAAAH,UAAU,iBAAiBX,GAGjD"}
1
+ {"version":3,"file":"Tile.js","sources":["../../../../src/components/Components/Tile/Tile.tsx"],"sourcesContent":[null],"names":["avatarProps","fill","backgroundColor","color","transparent","undefined","Tile","_a","children","component","iconName","_b","iconSize","_c","iconStyle","_d","isDisabled","isSelectable","_e","isSelected","linkTo","onClick","perex","testId","theme","_f","titleSize","withoutTitle","handleOnClick","useCallback","e","preventDefault","React","className","cx","href","createElement","Checkbox","name","value","Avatar","size","Text","Title"],"mappings":"0oEAsCA,IAAMA,EAAqF,CACzFC,KAAM,CACJC,gBAAiB,cACjBC,MAAO,oBAETC,YAAa,CACXF,qBAAiBG,EACjBF,MAAO,mBAIEG,EAAO,SAACC,GACnB,IAAAC,EAAQD,EAAAC,SACRC,EAASF,EAAAE,UACTC,EAAQH,EAAAG,SACRC,EAAkBJ,EAAAK,SAAlBA,OAAQ,IAAAD,EAAG,QAAOA,EAClBE,EAAAN,EAAAO,UAAAA,OAAY,IAAAD,EAAA,cAAaA,EACzBE,EAAkBR,EAAAS,WAAlBA,OAAU,IAAAD,GAAQA,EAClBE,EAAYV,EAAAU,aACZC,EAAAX,EAAAY,WAAAA,OAAa,IAAAD,GAAKA,EAClBE,EAAMb,EAAAa,OACNC,EAAOd,EAAAc,QACPC,EAAKf,EAAAe,MACLC,EAAMhB,EAAAgB,OACNC,EAAKjB,EAAAiB,MACLC,EAAAlB,EAAAmB,UAAAA,OAAY,IAAAD,EAAA,KAAIA,EAChBE,EAAYpB,EAAAoB,aAENC,EAAgBC,GACpB,SAACC,IACKd,GAAeI,GACjBU,EAAEC,iBAGAV,IAAYL,GACdK,EAAQS,EAEX,GACD,CAACd,EAAYI,EAAQC,IAGvB,OACEW,qBACEC,UAAWC,EAAG,SAAUV,EAAO,CAC7B,mBAAoBL,EACpB,mBAAoBH,IACpB,cACWO,EACbY,KAAMf,QAAUf,EAChBgB,QAASO,GAERX,GAAgBe,EAAAI,cAACC,EAAQ,CAACC,KAAK,eAAed,MAAM,mBAAmBe,MAAOpB,MAE5ET,GACDsB,EAAAI,cAACI,EACC,CAAAtC,gBAAiBF,EAAYc,GAAWZ,gBACxCC,MAAOH,EAAYc,GAAWX,MAC9BO,SAAUA,EACV+B,KAAM7B,EACNY,MAAM,iBAGVQ,EAAAI,cAAA,MAAA,CAAKH,UAAWC,EAAG,gBAAiB,CAAE,uBAAwBxB,KAC3DiB,EACCK,EAACI,cAAAM,EAAK,CAAAjC,UAAWA,GAAwB,IAAKe,MAAM,iBACjDhB,GAGHwB,EAACI,cAAAO,EAAM,CAAAF,KAAMf,EAAWF,MAAM,iBAC3BhB,IAINc,GAASU,EAAMI,cAAA,OAAA,CAAAH,UAAU,iBAAiBX,GAGjD"}
@@ -1,2 +1,2 @@
1
- import{__assign as t}from'./../../../ext/tslib/tslib.es6.js';import e from'./../../../ext/cuid/index.js';import o,{useRef as r,useState as i,useCallback as n,useEffect as l,useMemo as m,Fragment as s}from"react";import{BREAKPOINTS_VALUES as a}from"../../../constants/global.js";import"../../../utils/getDisplayName.js";import"../../../utils/getIntegerMask.js";import"../../../utils/isFilled.js";import"../../../utils/isNotFilled.js";import"../../../utils/isNotNilNorEmpty.js";import'./../../../ext/diacritic/diacritics.js';import{cx as c}from"../../../utils/classBinder.js";import'./../../../ext/text-mask-addons/dist/textMaskAddons.js';import{useContainerDimensions as u,useOnScreen as d}from"../../../utils/hooks.js";import"../../Form/Autocomplete/Autocomplete.js";import"../../Typography/Amount/Amount.js";import"../Button/Button.js";import{Flex as p}from"../../Layout/Flex/Flex.js";import{Alert as j}from"../Alert/Alert.js";import'./../../../ext/camelcase/index.js';import"../ButtonTooltip/ButtonTooltip.js";import"../../../contexts/CardContext.js";import"../../../contexts/FormGroupContext.js";import"../../../contexts/ModalContext.js";import"../../../contexts/Select2Context.js";import"../../../contexts/TabsContext.js";import"react-slick";import{Loader as v}from"../Loader/Loader.js";import"../Collapse/Collapse.js";import'./../../../ext/lodash/_baseToString.js';import{Input as f}from"../../Form/Input/Input.js";import"../Dropdown/_elements_/DropdownDivider.js";import"../Dropdown/_elements_/DropdownItem.js";import"../Dropdown/_elements_/DropdownMenu.js";import"../Dropdown/_elements_/DropdownInfoText.js";import"../Dropdown/_elements_/DropdownLoading.js";import"../../../contexts/ContentTableContext.js";import"../ContentTable/ContentTableRow.js";import"../DataTable/DataTable.js";import"../Link/Link.js";import"react-dom";import"react-router-dom";import"../../../contexts/MobilePanelContext.js";import"../SuperModal/SuperModal.context.js";import'./../../../ext/react-device-detect/dist/lib.js';import"../../Form/FileUpload/_parts_/MergeImageCards.js";import"../../Form/Select/_elements_/Select2CategorisedOptions.js";import"../../Form/Select/_elements_/Select2Options.js";import"../../Form/Slider/Slider.js";var _={success:{},error:{},waiting:{}},x=function(x){var h,g=x.children,w=x.mobileKey,C=x.resetTimer,b=x.state,T=x.testId,A=x.theme,E=x.timer,D=x.title,F=r(null),y=u(F).width,L=i((null==E?void 0:E.time)?E.time:0),M=L[0],S=L[1],I=i(""),N=I[0],k=I[1],B=r(null),K=d(B),O=n((function(t,e){var o=Math.floor(t/60),r=t%60,i=void 0;return o>=5&&(i=null==E?void 0:E.aria.minutes[5]),o<5&&(i=null==E?void 0:E.aria.minutes[2]),o<2&&(i=null==E?void 0:E.aria.minutes[1]),o&&r?"".concat(null==E?void 0:E.aria.timeLeft," ").concat(o," ").concat(i," ").concat(e&&r>0?r:""," ").concat(null==E?void 0:E.aria.seconds):o?"".concat(null==E?void 0:E.aria.timeLeft," ").concat(o," ").concat(i):"".concat(null==E?void 0:E.aria.timeLeft," ").concat(r," ").concat(null==E?void 0:E.aria.seconds)}),[E]),R=i(O(M,!0)),G=R[0],H=R[1],P="waiting"===b&&!!w&&(M>0||!E),U=r();l((function(){S((null==E?void 0:E.time)?E.time:0)}),[null==E?void 0:E.time]),l((function(){C&&(S((null==E?void 0:E.time)?E.time:0),k(""))}),[C,null==E?void 0:E.time]),l((function(){(null==w?void 0:w.error)&&k("")}),[w]),l((function(){return U.current=setTimeout((function(){""===G&&H(O(M,!0));var t=M-1;if(!(M>0))return H("".concat(null==E?void 0:E.aria.timeExpired)),setTimeout((function(){return null==E?void 0:E.onTimeExpired()}),1e3);var e=Math.floor(t/60);t%60==0&&e>0&&H(O(t)),t%60==30&&0===e&&H(O(t,!0)),S(t)}),1e3),function(){U.current&&clearTimeout(U.current)}}),[M,E,O,G]);var Z=n((function(t){null==w||w.onChange(N,t),k(t)}),[w,N]),q=y<a.sm,z=m((function(){return"userAuth_".concat(e())}),[]);return o.createElement(j,t({},_[b],{alertRef:F,testId:T,theme:c("c-userAuth",(h={},h["c-userAuth--".concat(b)]=b,h["c-userAuth--isSmall"]=q,h),A),type:"error"===b?"error":"info",withoutIcon:"waiting"===b}),o.createElement(p,{alignItems:"center",direction:q?"column":"row",theme:"c-userAuth__content"},"waiting"===b&&o.createElement("div",{className:c("c-userAuth__icon")},o.createElement(v,null,E&&o.createElement(s,null,o.createElement("div",{role:"timer"},function(t){var e=Math.floor(t/60),o=t%60,r=o<10?"0".concat(o):o;return"".concat(e,":").concat(r)}(M)),o.createElement("div",{ref:B,"aria-atomic":"true","aria-live":"assertive",className:c("u-vHide")},K&&G)))),o.createElement("div",{"aria-live":"polite"},o.createElement(p,{direction:"column",justifyContent:q?"center":"flex-start"},D&&o.createElement("div",{className:c("c-userAuth__title"),id:"".concat(z,"__title")},D),P&&o.createElement(f,{allowLeadingZeros:!0,autofocus:!0,"aria-live":"off",error:null==w?void 0:w.error,label:null==w?void 0:w.message,maxLength:8,name:(null==w?void 0:w.name)||"mobileKey",placeholder:null==w?void 0:w.placeholder,theme:c("c-userAuth__mobileKey"),type:"number",value:N,onChange:Z}),o.createElement("div",null,g)))))};export{x as UserAuth};
1
+ import{__assign as t}from'./../../../ext/tslib/tslib.es6.js';import e from'./../../../ext/cuid/index.js';import o,{useRef as i,useState as r,useCallback as n,useEffect as l,useMemo as s,Fragment as m}from"react";import{BREAKPOINTS_VALUES as a}from"../../../constants/global.js";import"../../../utils/getDisplayName.js";import"../../../utils/getIntegerMask.js";import"../../../utils/isFilled.js";import"../../../utils/isNotFilled.js";import"../../../utils/isNotNilNorEmpty.js";import'./../../../ext/diacritic/diacritics.js';import{cx as c}from"../../../utils/classBinder.js";import'./../../../ext/text-mask-addons/dist/textMaskAddons.js';import{useContainerDimensions as u,useOnScreen as d}from"../../../utils/hooks.js";import"../../Form/Autocomplete/Autocomplete.js";import"../../Typography/Amount/Amount.js";import"../Button/Button.js";import{Flex as p}from"../../Layout/Flex/Flex.js";import{Alert as j}from"../Alert/Alert.js";import'./../../../ext/camelcase/index.js';import"../ButtonTooltip/ButtonTooltip.js";import"../../../contexts/CardContext.js";import"../../../contexts/FormGroupContext.js";import"../../../contexts/ModalContext.js";import"../../../contexts/Select2Context.js";import"../../../contexts/TabsContext.js";import"react-slick";import{Loader as v}from"../Loader/Loader.js";import"../Collapse/Collapse.js";import'./../../../ext/lodash/_baseToString.js';import{Input as f}from"../../Form/Input/Input.js";import"../Dropdown/_elements_/DropdownDivider.js";import"../Dropdown/_elements_/DropdownItem.js";import"../Dropdown/_elements_/DropdownMenu.js";import"../Dropdown/_elements_/DropdownInfoText.js";import"../Dropdown/_elements_/DropdownLoading.js";import"../../../contexts/ContentTableContext.js";import"../ContentTable/ContentTableRow.js";import"../DataTable/DataTable.js";import"../Link/Link.js";import"react-dom";import"react-router-dom";import"../../../contexts/MobilePanelContext.js";import"../SuperModal/SuperModal.context.js";import'./../../../ext/react-device-detect/dist/lib.js';import"../../Form/FileUpload/_parts_/MergeImageCards.js";import'./../../../ext/jspdf/dist/jspdf.es.min.js';import'./../../../ext/@bugsnag/cuid/index.esm.js';import"../../Form/Select/_elements_/Select2CategorisedOptions.js";import"../../Form/Select/_elements_/Select2Options.js";import"../../Form/Slider/Slider.js";var _={success:{},error:{},waiting:{}},x=function(x){var h,g=x.children,w=x.mobileKey,b=x.resetTimer,C=x.state,T=x.testId,A=x.theme,E=x.timer,D=x.title,F=i(null),y=u(F).width,L=r((null==E?void 0:E.time)?E.time:0),M=L[0],S=L[1],I=r(""),N=I[0],k=I[1],B=i(null),K=d(B),O=n((function(t,e){var o=Math.floor(t/60),i=t%60,r=void 0;return o>=5&&(r=null==E?void 0:E.aria.minutes[5]),o<5&&(r=null==E?void 0:E.aria.minutes[2]),o<2&&(r=null==E?void 0:E.aria.minutes[1]),o&&i?"".concat(null==E?void 0:E.aria.timeLeft," ").concat(o," ").concat(r," ").concat(e&&i>0?i:""," ").concat(null==E?void 0:E.aria.seconds):o?"".concat(null==E?void 0:E.aria.timeLeft," ").concat(o," ").concat(r):"".concat(null==E?void 0:E.aria.timeLeft," ").concat(i," ").concat(null==E?void 0:E.aria.seconds)}),[E]),R=r(O(M,!0)),G=R[0],H=R[1],P="waiting"===C&&!!w&&(M>0||!E),U=i();l((function(){S((null==E?void 0:E.time)?E.time:0)}),[null==E?void 0:E.time]),l((function(){b&&(S((null==E?void 0:E.time)?E.time:0),k(""))}),[b,null==E?void 0:E.time]),l((function(){(null==w?void 0:w.error)&&k("")}),[w]),l((function(){return U.current=setTimeout((function(){""===G&&H(O(M,!0));var t=M-1;if(!(M>0))return H("".concat(null==E?void 0:E.aria.timeExpired)),setTimeout((function(){return null==E?void 0:E.onTimeExpired()}),1e3);var e=Math.floor(t/60);t%60==0&&e>0&&H(O(t)),t%60==30&&0===e&&H(O(t,!0)),S(t)}),1e3),function(){U.current&&clearTimeout(U.current)}}),[M,E,O,G]);var Z=n((function(t){null==w||w.onChange(N,t),k(t)}),[w,N]),q=y<a.sm,z=s((function(){return"userAuth_".concat(e())}),[]);return o.createElement(j,t({},_[C],{alertRef:F,testId:T,theme:c("c-userAuth",(h={},h["c-userAuth--".concat(C)]=C,h["c-userAuth--isSmall"]=q,h),A),type:"error"===C?"error":"info",withoutIcon:"waiting"===C}),o.createElement(p,{alignItems:"center",direction:q?"column":"row",theme:"c-userAuth__content"},"waiting"===C&&o.createElement("div",{className:c("c-userAuth__icon")},o.createElement(v,null,E&&o.createElement(m,null,o.createElement("div",{role:"timer"},function(t){var e=Math.floor(t/60),o=t%60,i=o<10?"0".concat(o):o;return"".concat(e,":").concat(i)}(M)),o.createElement("div",{ref:B,"aria-atomic":"true","aria-live":"assertive",className:c("u-vHide")},K&&G)))),o.createElement("div",{"aria-live":"polite"},o.createElement(p,{direction:"column",justifyContent:q?"center":"flex-start"},D&&o.createElement("div",{className:c("c-userAuth__title"),id:"".concat(z,"__title")},D),P&&o.createElement(f,{allowLeadingZeros:!0,autofocus:!0,"aria-live":"off",error:null==w?void 0:w.error,label:null==w?void 0:w.message,maxLength:8,name:(null==w?void 0:w.name)||"mobileKey",placeholder:null==w?void 0:w.placeholder,theme:c("c-userAuth__mobileKey"),type:"number",value:N,onChange:Z}),o.createElement("div",null,g)))))};export{x as UserAuth};
2
2
  //# sourceMappingURL=UserAuth.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"UserAuth.js","sources":["../../../../src/components/Components/UserAuth/UserAuth.tsx"],"sourcesContent":[null],"names":["avatarProps","success","error","waiting","UserAuth","_a","children","mobileKey","resetTimer","state","testId","theme","timer","title","containerRef","useRef","width","useContainerDimensions","_c","useState","time","timeLeft","setTimeLeft","_d","mobileKeyValue","setMobileKeyValue","timerAriaRef","isTimerAriaInDOM","useOnScreen","setAriaText","useCallback","addSeconds","minutes","Math","floor","seconds","minutesText","undefined","aria","concat","_e","ariaMessage","setAriaMessage","isInputVisible","timeoutRef","useEffect","current","setTimeout","newTime","timeExpired","onTimeExpired","clearTimeout","handleOnChange","val","onChange","isSmall","BREAKPOINTS_VALUES","sm","identification","useMemo","createId","React","Alert","__assign","alertRef","cx","_b","type","withoutIcon","createElement","Flex","alignItems","direction","className","Loader","Fragment","role","secondsLeft","renderTime","ref","justifyContent","id","Input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,EAAW+E,QAClBC,UAAW,EACXC,MAAMjF,aAAA,EAAAA,EAAWiF,OAAQ,YACzBC,YAAalF,aAAA,EAAAA,EAAWkF,YACxB9E,MAAOsD,EAAG,yBACVE,KAAK,SACLuB,MAAOlE,EACP8B,SAAUF,IAGdS,EAAAQ,cAAA,MAAA,KAAM/D,MAMlB"}
1
+ {"version":3,"file":"UserAuth.js","sources":["../../../../src/components/Components/UserAuth/UserAuth.tsx"],"sourcesContent":[null],"names":["avatarProps","success","error","waiting","UserAuth","_a","children","mobileKey","resetTimer","state","testId","theme","timer","title","containerRef","useRef","width","useContainerDimensions","_c","useState","time","timeLeft","setTimeLeft","_d","mobileKeyValue","setMobileKeyValue","timerAriaRef","isTimerAriaInDOM","useOnScreen","setAriaText","useCallback","addSeconds","minutes","Math","floor","seconds","minutesText","undefined","aria","concat","_e","ariaMessage","setAriaMessage","isInputVisible","timeoutRef","useEffect","current","setTimeout","newTime","timeExpired","onTimeExpired","clearTimeout","handleOnChange","val","onChange","isSmall","BREAKPOINTS_VALUES","sm","identification","useMemo","createId","React","Alert","__assign","alertRef","cx","_b","type","withoutIcon","createElement","Flex","alignItems","direction","className","Loader","Fragment","role","secondsLeft","renderTime","ref","justifyContent","id","Input","allowLeadingZeros","autofocus","label","message","maxLength","name","placeholder","value"],"mappings":"80EA0DA,IAOMA,EAOF,CACFC,QAAS,CAAE,EACXC,MAAO,CAAE,EACTC,QAAS,CAAE,GAGAC,EAAW,SAACC,SACvBC,EAAQD,EAAAC,SACRC,EAASF,EAAAE,UACTC,EAAUH,EAAAG,WACVC,EAAKJ,EAAAI,MACLC,EAAML,EAAAK,OACNC,EAAKN,EAAAM,MACLC,EAAKP,EAAAO,MACLC,EAAKR,EAAAQ,MAECC,EAAeC,EAAuB,MACpCC,EAAUC,EAAuBH,SACnCI,EAA0BC,GAASP,aAAK,EAALA,EAAOQ,MAAOR,EAAMQ,KAAO,GAA7DC,EAAQH,EAAA,GAAEI,EAAWJ,EAAA,GACtBK,E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