@ultraviolet/plus 3.4.5 → 3.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (222) hide show
  1. package/dist/.vite/license.md +3 -0
  2. package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/defineProperty.js +15 -0
  3. package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/objectSpread2.js +28 -0
  4. package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/objectWithoutProperties.js +18 -0
  5. package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/objectWithoutPropertiesLoose.js +15 -0
  6. package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/toPrimitive.js +17 -0
  7. package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/toPropertyKey.js +12 -0
  8. package/dist/_virtual/_@oxc-project_runtime@0.113.0/helpers/typeof.js +14 -0
  9. package/dist/_virtual/_rolldown/runtime.js +9 -0
  10. package/dist/components/CodeEditor/CodeEditor.d.ts +1 -1
  11. package/dist/components/CodeEditor/CodeEditor.d.ts.map +1 -1
  12. package/dist/components/CodeEditor/CodeEditor.js +111 -137
  13. package/dist/components/CodeEditor/styles.css.js +18 -15
  14. package/dist/components/ContentCard/Skeleton.d.ts.map +1 -1
  15. package/dist/components/ContentCard/Skeleton.js +31 -27
  16. package/dist/components/ContentCard/index.js +107 -140
  17. package/dist/components/ContentCard/styles.css.d.ts +1 -1
  18. package/dist/components/ContentCard/styles.css.js +23 -19
  19. package/dist/components/ContentCardGroup/Card.js +55 -69
  20. package/dist/components/ContentCardGroup/SkeletonCard.js +28 -14
  21. package/dist/components/ContentCardGroup/index.d.ts +7 -7
  22. package/dist/components/ContentCardGroup/index.js +20 -25
  23. package/dist/components/ContentCardGroup/styles.css.js +6 -11
  24. package/dist/components/Conversation/index.d.ts +29 -23
  25. package/dist/components/Conversation/index.d.ts.map +1 -1
  26. package/dist/components/Conversation/index.js +46 -48
  27. package/dist/components/Conversation/styles.css.js +19 -13
  28. package/dist/components/CustomerSatisfaction/assets/1-5.js +5 -0
  29. package/dist/components/CustomerSatisfaction/assets/1-5NB.js +5 -0
  30. package/dist/components/CustomerSatisfaction/assets/2-5.js +5 -0
  31. package/dist/components/CustomerSatisfaction/assets/2-5NB.js +5 -0
  32. package/dist/components/CustomerSatisfaction/assets/3-5.js +5 -0
  33. package/dist/components/CustomerSatisfaction/assets/3-5NB.js +5 -0
  34. package/dist/components/CustomerSatisfaction/assets/4-5.js +5 -0
  35. package/dist/components/CustomerSatisfaction/assets/4-5NB.js +5 -0
  36. package/dist/components/CustomerSatisfaction/assets/5-5.js +5 -0
  37. package/dist/components/CustomerSatisfaction/assets/5-5NB.js +5 -0
  38. package/dist/components/CustomerSatisfaction/index.d.ts +1 -1
  39. package/dist/components/CustomerSatisfaction/index.d.ts.map +1 -1
  40. package/dist/components/CustomerSatisfaction/index.js +85 -100
  41. package/dist/components/CustomerSatisfaction/styles.css.js +18 -6
  42. package/dist/components/EstimateCost/Components/CustomUnitInput.d.ts.map +1 -1
  43. package/dist/components/EstimateCost/Components/CustomUnitInput.js +39 -52
  44. package/dist/components/EstimateCost/Components/Item.d.ts.map +1 -1
  45. package/dist/components/EstimateCost/Components/Item.js +223 -323
  46. package/dist/components/EstimateCost/Components/LineThrough.d.ts.map +1 -1
  47. package/dist/components/EstimateCost/Components/LineThrough.js +16 -16
  48. package/dist/components/EstimateCost/Components/NumberInput.d.ts.map +1 -1
  49. package/dist/components/EstimateCost/Components/NumberInput.js +33 -37
  50. package/dist/components/EstimateCost/Components/Region.d.ts.map +1 -1
  51. package/dist/components/EstimateCost/Components/Region.js +34 -57
  52. package/dist/components/EstimateCost/Components/Regular.d.ts.map +1 -1
  53. package/dist/components/EstimateCost/Components/Regular.js +21 -26
  54. package/dist/components/EstimateCost/Components/Strong.d.ts.map +1 -1
  55. package/dist/components/EstimateCost/Components/Strong.js +14 -19
  56. package/dist/components/EstimateCost/Components/Unit.d.ts.map +1 -1
  57. package/dist/components/EstimateCost/Components/Unit.js +47 -40
  58. package/dist/components/EstimateCost/Components/Zone.d.ts.map +1 -1
  59. package/dist/components/EstimateCost/Components/Zone.js +33 -55
  60. package/dist/components/EstimateCost/Components/components.css.js +122 -86
  61. package/dist/components/EstimateCost/EstimateCost.d.ts +138 -121
  62. package/dist/components/EstimateCost/EstimateCost.d.ts.map +1 -1
  63. package/dist/components/EstimateCost/EstimateCost.js +79 -124
  64. package/dist/components/EstimateCost/EstimateCostContent.d.ts.map +1 -1
  65. package/dist/components/EstimateCost/EstimateCostContent.js +284 -394
  66. package/dist/components/EstimateCost/EstimateCostProvider.d.ts +1 -1
  67. package/dist/components/EstimateCost/EstimateCostProvider.d.ts.map +1 -1
  68. package/dist/components/EstimateCost/EstimateCostProvider.js +30 -37
  69. package/dist/components/EstimateCost/OverlayComponent.d.ts.map +1 -1
  70. package/dist/components/EstimateCost/OverlayComponent.js +95 -93
  71. package/dist/components/EstimateCost/OverlayContext.d.ts.map +1 -1
  72. package/dist/components/EstimateCost/OverlayContext.js +12 -10
  73. package/dist/components/EstimateCost/constants.js +19 -21
  74. package/dist/components/EstimateCost/helper.d.ts +2 -2
  75. package/dist/components/EstimateCost/helper.d.ts.map +1 -1
  76. package/dist/components/EstimateCost/helper.js +9 -14
  77. package/dist/components/EstimateCost/locales/en.js +24 -23
  78. package/dist/components/EstimateCost/styles.css.d.ts +2 -2
  79. package/dist/components/EstimateCost/styles.css.js +50 -36
  80. package/dist/components/EstimateCost/types.d.ts +1 -1
  81. package/dist/components/EstimateCost/types.d.ts.map +1 -1
  82. package/dist/components/FAQ/index.d.ts.map +1 -1
  83. package/dist/components/FAQ/index.js +37 -31
  84. package/dist/components/FAQ/styles.css.js +6 -4
  85. package/dist/components/InfoTable/InfoTable.d.ts +10 -13
  86. package/dist/components/InfoTable/InfoTable.d.ts.map +1 -1
  87. package/dist/components/InfoTable/InfoTable.js +24 -15
  88. package/dist/components/InfoTable/components/Cell.d.ts.map +1 -1
  89. package/dist/components/InfoTable/components/Cell.js +37 -45
  90. package/dist/components/InfoTable/components/Row.d.ts.map +1 -1
  91. package/dist/components/InfoTable/components/Row.js +19 -27
  92. package/dist/components/InfoTable/context.d.ts +1 -1
  93. package/dist/components/InfoTable/context.d.ts.map +1 -1
  94. package/dist/components/InfoTable/context.js +5 -3
  95. package/dist/components/InfoTable/styles.css.js +6 -10
  96. package/dist/components/Navigation/Footer.d.ts.map +1 -1
  97. package/dist/components/Navigation/Footer.js +59 -75
  98. package/dist/components/Navigation/Header.d.ts.map +1 -1
  99. package/dist/components/Navigation/Header.js +20 -17
  100. package/dist/components/Navigation/Navigation.d.ts +46 -43
  101. package/dist/components/Navigation/Navigation.d.ts.map +1 -1
  102. package/dist/components/Navigation/Navigation.js +23 -27
  103. package/dist/components/Navigation/NavigationContent.d.ts +1 -1
  104. package/dist/components/Navigation/NavigationContent.d.ts.map +1 -1
  105. package/dist/components/Navigation/NavigationContent.js +100 -138
  106. package/dist/components/Navigation/NavigationProvider.d.ts.map +1 -1
  107. package/dist/components/Navigation/NavigationProvider.js +116 -165
  108. package/dist/components/Navigation/components/Group.d.ts.map +1 -1
  109. package/dist/components/Navigation/components/Group.js +36 -43
  110. package/dist/components/Navigation/components/Item.d.ts +1 -1
  111. package/dist/components/Navigation/components/Item.d.ts.map +1 -1
  112. package/dist/components/Navigation/components/Item.js +440 -607
  113. package/dist/components/Navigation/components/ItemProvider.d.ts.map +1 -1
  114. package/dist/components/Navigation/components/ItemProvider.js +13 -8
  115. package/dist/components/Navigation/components/PinnedItems.d.ts.map +1 -1
  116. package/dist/components/Navigation/components/PinnedItems.js +101 -132
  117. package/dist/components/Navigation/components/Separator.js +10 -7
  118. package/dist/components/Navigation/components/ShowHide.d.ts +1 -1
  119. package/dist/components/Navigation/components/ShowHide.d.ts.map +1 -1
  120. package/dist/components/Navigation/components/ShowHide.js +51 -75
  121. package/dist/components/Navigation/components/items.css.js +72 -30
  122. package/dist/components/Navigation/components/styles.css.js +23 -13
  123. package/dist/components/Navigation/locales/en.js +12 -11
  124. package/dist/components/Navigation/styles.css.js +28 -14
  125. package/dist/components/Navigation/variables.css.js +6 -4
  126. package/dist/components/OfferList/OfferList.d.ts +5 -51
  127. package/dist/components/OfferList/OfferList.d.ts.map +1 -1
  128. package/dist/components/OfferList/OfferList.js +11 -78
  129. package/dist/components/OrderSummary/index.d.ts +5 -2
  130. package/dist/components/OrderSummary/index.d.ts.map +1 -1
  131. package/dist/components/OrderSummary/index.js +11 -204
  132. package/dist/components/Plans/index.d.ts +5 -21
  133. package/dist/components/Plans/index.d.ts.map +1 -1
  134. package/dist/components/Plans/index.js +11 -214
  135. package/dist/components/SteppedListCard/index.d.ts +5 -1
  136. package/dist/components/SteppedListCard/index.d.ts.map +1 -1
  137. package/dist/components/SteppedListCard/index.js +11 -0
  138. package/dist/index.js +5 -21
  139. package/dist/plus.css +2 -1
  140. package/package.json +9 -8
  141. package/LICENSE +0 -189
  142. package/dist/components/CustomerSatisfaction/assets/1-5.svg.js +0 -4
  143. package/dist/components/CustomerSatisfaction/assets/1-5NB.svg.js +0 -4
  144. package/dist/components/CustomerSatisfaction/assets/2-5.svg.js +0 -4
  145. package/dist/components/CustomerSatisfaction/assets/2-5NB.svg.js +0 -4
  146. package/dist/components/CustomerSatisfaction/assets/3-5.svg.js +0 -4
  147. package/dist/components/CustomerSatisfaction/assets/3-5NB.svg.js +0 -4
  148. package/dist/components/CustomerSatisfaction/assets/4-5.svg.js +0 -4
  149. package/dist/components/CustomerSatisfaction/assets/4-5NB.svg.js +0 -4
  150. package/dist/components/CustomerSatisfaction/assets/5-5.svg.js +0 -4
  151. package/dist/components/CustomerSatisfaction/assets/5-5NB.svg.js +0 -4
  152. package/dist/components/Navigation/constants.js +0 -10
  153. package/dist/components/OfferList/OfferListProvider.d.ts +0 -30
  154. package/dist/components/OfferList/OfferListProvider.d.ts.map +0 -1
  155. package/dist/components/OfferList/OfferListProvider.js +0 -48
  156. package/dist/components/OfferList/components/Banner.d.ts +0 -13
  157. package/dist/components/OfferList/components/Banner.d.ts.map +0 -1
  158. package/dist/components/OfferList/components/Banner.js +0 -43
  159. package/dist/components/OfferList/components/Cell.d.ts +0 -4
  160. package/dist/components/OfferList/components/Cell.d.ts.map +0 -1
  161. package/dist/components/OfferList/components/Cell.js +0 -35
  162. package/dist/components/OfferList/components/OfferListRowProvider.d.ts +0 -9
  163. package/dist/components/OfferList/components/OfferListRowProvider.d.ts.map +0 -1
  164. package/dist/components/OfferList/components/OfferListRowProvider.js +0 -10
  165. package/dist/components/OfferList/components/Row.d.ts +0 -18
  166. package/dist/components/OfferList/components/Row.d.ts.map +0 -1
  167. package/dist/components/OfferList/components/Row.js +0 -258
  168. package/dist/components/OfferList/styles.css.d.ts +0 -44
  169. package/dist/components/OfferList/styles.css.d.ts.map +0 -1
  170. package/dist/components/OfferList/styles.css.js +0 -40
  171. package/dist/components/OrderSummary/NonScrollableContent.d.ts +0 -20
  172. package/dist/components/OrderSummary/NonScrollableContent.d.ts.map +0 -1
  173. package/dist/components/OrderSummary/NonScrollableContent.js +0 -136
  174. package/dist/components/OrderSummary/Provider.d.ts +0 -15
  175. package/dist/components/OrderSummary/Provider.d.ts.map +0 -1
  176. package/dist/components/OrderSummary/Provider.js +0 -15
  177. package/dist/components/OrderSummary/ScrollableContent.d.ts +0 -2
  178. package/dist/components/OrderSummary/ScrollableContent.d.ts.map +0 -1
  179. package/dist/components/OrderSummary/ScrollableContent.js +0 -314
  180. package/dist/components/OrderSummary/constants.d.ts +0 -3
  181. package/dist/components/OrderSummary/constants.d.ts.map +0 -1
  182. package/dist/components/OrderSummary/constants.js +0 -18
  183. package/dist/components/OrderSummary/helpers.d.ts +0 -28
  184. package/dist/components/OrderSummary/helpers.d.ts.map +0 -1
  185. package/dist/components/OrderSummary/helpers.js +0 -156
  186. package/dist/components/OrderSummary/locales/en.d.ts +0 -11
  187. package/dist/components/OrderSummary/locales/en.d.ts.map +0 -1
  188. package/dist/components/OrderSummary/locales/en.js +0 -12
  189. package/dist/components/OrderSummary/styles.css.d.ts +0 -21
  190. package/dist/components/OrderSummary/styles.css.d.ts.map +0 -1
  191. package/dist/components/OrderSummary/styles.css.js +0 -26
  192. package/dist/components/OrderSummary/types.d.ts +0 -125
  193. package/dist/components/OrderSummary/types.d.ts.map +0 -1
  194. package/dist/components/Plans/FeatureHint.d.ts +0 -7
  195. package/dist/components/Plans/FeatureHint.d.ts.map +0 -1
  196. package/dist/components/Plans/FeatureHint.js +0 -42
  197. package/dist/components/Plans/PlanHeader.d.ts +0 -14
  198. package/dist/components/Plans/PlanHeader.d.ts.map +0 -1
  199. package/dist/components/Plans/PlanHeader.js +0 -96
  200. package/dist/components/Plans/locales/en.d.ts +0 -7
  201. package/dist/components/Plans/locales/en.d.ts.map +0 -1
  202. package/dist/components/Plans/locales/en.js +0 -8
  203. package/dist/components/Plans/styles.css.d.ts +0 -67
  204. package/dist/components/Plans/styles.css.d.ts.map +0 -1
  205. package/dist/components/Plans/styles.css.js +0 -26
  206. package/dist/components/Plans/types.d.ts +0 -38
  207. package/dist/components/Plans/types.d.ts.map +0 -1
  208. package/dist/components/SteppedListCard/Step.d.ts +0 -23
  209. package/dist/components/SteppedListCard/Step.d.ts.map +0 -1
  210. package/dist/components/SteppedListCard/Step.js +0 -61
  211. package/dist/components/SteppedListCard/SteppedListCard.d.ts +0 -69
  212. package/dist/components/SteppedListCard/SteppedListCard.d.ts.map +0 -1
  213. package/dist/components/SteppedListCard/SteppedListCard.js +0 -105
  214. package/dist/components/SteppedListCard/SteppedListContent.d.ts +0 -12
  215. package/dist/components/SteppedListCard/SteppedListContent.d.ts.map +0 -1
  216. package/dist/components/SteppedListCard/SteppedListContent.js +0 -53
  217. package/dist/components/SteppedListCard/helper.d.ts +0 -27
  218. package/dist/components/SteppedListCard/helper.d.ts.map +0 -1
  219. package/dist/components/SteppedListCard/helper.js +0 -41
  220. package/dist/components/SteppedListCard/styles.css.d.ts +0 -9
  221. package/dist/components/SteppedListCard/styles.css.d.ts.map +0 -1
  222. package/dist/components/SteppedListCard/styles.css.js +0 -19
@@ -1,40 +0,0 @@
1
- /* empty css */
2
- import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
3
- var expandablePadding = "var(--uv_plus_1wcpahp0)";
4
- var offerList = "uv_plus_1wcpahp1";
5
- var offerListBanner = "uv_plus_1wcpahp2";
6
- var offerListBannerText = createRuntimeFn({ defaultClassName: "uv_plus_1wcpahp3", variantClassNames: { disabled: { true: "uv_plus_1wcpahp4" }, primaryBorder: { false: "uv_plus_1wcpahp5" }, sentiment: { primary: "uv_plus_1wcpahp6", secondary: "uv_plus_1wcpahp7", neutral: "uv_plus_1wcpahp8", success: "uv_plus_1wcpahp9", danger: "uv_plus_1wcpahpa", warning: "uv_plus_1wcpahpb", info: "uv_plus_1wcpahpc" } }, defaultVariants: { disabled: false, primaryBorder: false, sentiment: "neutral" }, compoundVariants: [[{ disabled: false, sentiment: "primary" }, "uv_plus_1wcpahpd"], [{ disabled: false, sentiment: "secondary" }, "uv_plus_1wcpahpe"], [{ disabled: false, sentiment: "neutral" }, "uv_plus_1wcpahpf"], [{ disabled: false, sentiment: "success" }, "uv_plus_1wcpahpg"], [{ disabled: false, sentiment: "danger" }, "uv_plus_1wcpahph"], [{ disabled: false, sentiment: "warning" }, "uv_plus_1wcpahpi"], [{ disabled: false, sentiment: "info" }, "uv_plus_1wcpahpj"], [{ disabled: true, sentiment: "primary" }, "uv_plus_1wcpahpk"], [{ disabled: true, sentiment: "secondary" }, "uv_plus_1wcpahpl"], [{ disabled: true, sentiment: "neutral" }, "uv_plus_1wcpahpm"], [{ disabled: true, sentiment: "success" }, "uv_plus_1wcpahpn"], [{ disabled: true, sentiment: "danger" }, "uv_plus_1wcpahpo"], [{ disabled: true, sentiment: "warning" }, "uv_plus_1wcpahpp"], [{ disabled: true, sentiment: "info" }, "uv_plus_1wcpahpq"], [{ disabled: false, primaryBorder: true }, "uv_plus_1wcpahpr"], [{ disabled: true, primaryBorder: true }, "uv_plus_1wcpahps"]] });
7
- var offerListBannerCell = "uv_plus_1wcpahpt";
8
- var offerListBannerStack = createRuntimeFn({ defaultClassName: "uv_plus_1wcpahpu", variantClassNames: { sentiment: { primary: "uv_plus_1wcpahpv", secondary: "uv_plus_1wcpahpw", neutral: "uv_plus_1wcpahpx", success: "uv_plus_1wcpahpy", danger: "uv_plus_1wcpahpz", warning: "uv_plus_1wcpahp10", info: "uv_plus_1wcpahp11" } }, defaultVariants: { sentiment: "neutral" }, compoundVariants: [] });
9
- var offerListBadge = "uv_plus_1wcpahp12";
10
- var offerListNoPaddingCell = "uv_plus_1wcpahp13";
11
- var offerListRowSelected = "uv_plus_1wcpahp14";
12
- var offerListRowSelectedNotExpandable = "uv_plus_1wcpahp15";
13
- var offerListRowSelectedExpandable = "uv_plus_1wcpahp16";
14
- var offerListRowBanner = "uv_plus_1wcpahp17";
15
- var offerListCellNoRadius = "uv_plus_1wcpahp18";
16
- var offerListRowSelectableContainer = "uv_plus_1wcpahp19";
17
- var offerListRowExpandable = "uv_plus_1wcpahp1a";
18
- var offerListCell = "uv_plus_1wcpahp1b";
19
- var offerListLoadingCell = "uv_plus_1wcpahp1c";
20
- var offerListSelectedCell = "uv_plus_1wcpahp1d";
21
- export {
22
- expandablePadding,
23
- offerList,
24
- offerListBadge,
25
- offerListBanner,
26
- offerListBannerCell,
27
- offerListBannerStack,
28
- offerListBannerText,
29
- offerListCell,
30
- offerListCellNoRadius,
31
- offerListLoadingCell,
32
- offerListNoPaddingCell,
33
- offerListRowBanner,
34
- offerListRowExpandable,
35
- offerListRowSelectableContainer,
36
- offerListRowSelected,
37
- offerListRowSelectedExpandable,
38
- offerListRowSelectedNotExpandable,
39
- offerListSelectedCell
40
- };
@@ -1,20 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- import type { PriceTypeSingle, TimeUnit } from './types';
3
- type NonScrollableContentProps = {
4
- discount: number;
5
- totalPrice: PriceTypeSingle;
6
- footer: ReactNode;
7
- children: ReactNode;
8
- totalPriceInfo?: ReactNode;
9
- totalPriceInfoPlacement?: 'left' | 'right';
10
- totalPriceDescription?: ReactNode;
11
- additionalInfo?: string;
12
- unit: TimeUnit;
13
- priceInformation?: ReactNode;
14
- hideBeforePrice?: boolean;
15
- defaultPriceInformation: boolean;
16
- timePeriodAmount: number;
17
- };
18
- export declare const NonScrollableContent: ({ totalPrice, footer, children, totalPriceInfo, totalPriceInfoPlacement, unit, totalPriceDescription, additionalInfo, priceInformation, hideBeforePrice, defaultPriceInformation, timePeriodAmount, }: NonScrollableContentProps) => import("react/jsx-runtime").JSX.Element;
19
- export {};
20
- //# sourceMappingURL=NonScrollableContent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NonScrollableContent.d.ts","sourceRoot":"","sources":["../../../src/components/OrderSummary/NonScrollableContent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAQtC,OAAO,KAAK,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAExD,KAAK,yBAAyB,GAAG;IAC/B,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,eAAe,CAAA;IAC3B,MAAM,EAAE,SAAS,CAAA;IACjB,QAAQ,EAAE,SAAS,CAAA;IACnB,cAAc,CAAC,EAAE,SAAS,CAAA;IAC1B,uBAAuB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAC1C,qBAAqB,CAAC,EAAE,SAAS,CAAA;IACjC,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,IAAI,EAAE,QAAQ,CAAA;IACd,gBAAgB,CAAC,EAAE,SAAS,CAAA;IAC5B,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,uBAAuB,EAAE,OAAO,CAAA;IAChC,gBAAgB,EAAE,MAAM,CAAA;CACzB,CAAA;AAED,eAAO,MAAM,oBAAoB,GAAI,uMAalC,yBAAyB,4CA4G3B,CAAA"}
@@ -1,136 +0,0 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
2
- import { Stack, Text } from "@ultraviolet/ui";
3
- import { useContext } from "react";
4
- import { DisplayPrice } from "./helpers.js";
5
- import { OrderSummaryContext } from "./Provider.js";
6
- import { orderSummaryNonScrollableContainer, orderSummaryTotalPrice } from "./styles.css.js";
7
- const NonScrollableContent = ({
8
- totalPrice,
9
- footer,
10
- children,
11
- totalPriceInfo,
12
- totalPriceInfoPlacement,
13
- unit,
14
- totalPriceDescription,
15
- additionalInfo,
16
- priceInformation,
17
- hideBeforePrice,
18
- defaultPriceInformation,
19
- timePeriodAmount
20
- }) => {
21
- const { locales } = useContext(OrderSummaryContext);
22
- const unitSingular = unit.endsWith("s") ? unit.slice(0, -1) : unit;
23
- const divisor = defaultPriceInformation ? timePeriodAmount : void 0;
24
- return /* @__PURE__ */ jsxs(Stack, { className: orderSummaryNonScrollableContainer, gap: 3, children: [
25
- children,
26
- /* @__PURE__ */ jsxs(Stack, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
27
- totalPriceInfo && totalPriceInfoPlacement === "left" ? /* @__PURE__ */ jsxs(Stack, { children: [
28
- /* @__PURE__ */ jsxs(Stack, { alignItems: "center", direction: "row", gap: 1, children: [
29
- /* @__PURE__ */ jsxs(
30
- Text,
31
- {
32
- as: "span",
33
- prominence: "strong",
34
- sentiment: "neutral",
35
- variant: "bodyStrong",
36
- children: [
37
- locales["order.summary.total"],
38
- ":"
39
- ]
40
- }
41
- ),
42
- totalPriceDescription
43
- ] }),
44
- totalPriceInfo
45
- ] }) : /* @__PURE__ */ jsxs(Stack, { alignItems: "center", direction: "row", gap: 1, children: [
46
- /* @__PURE__ */ jsxs(
47
- Text,
48
- {
49
- as: "span",
50
- prominence: "strong",
51
- sentiment: "neutral",
52
- variant: "bodyStrong",
53
- children: [
54
- locales["order.summary.total"],
55
- additionalInfo ? ` ${additionalInfo}` : null,
56
- ":"
57
- ]
58
- }
59
- ),
60
- totalPriceDescription
61
- ] }),
62
- /* @__PURE__ */ jsxs(Stack, { alignItems: "flex-end", direction: "column", children: [
63
- totalPrice.totalPrice === totalPrice.totalPriceWithDiscount || hideBeforePrice ? /* @__PURE__ */ jsxs(
64
- Text,
65
- {
66
- as: "span",
67
- className: orderSummaryTotalPrice[defaultPriceInformation && !priceInformation ? "default" : "priceInformation"],
68
- "data-testid": "total-price",
69
- prominence: "strong",
70
- sentiment: "neutral",
71
- variant: "headingSmallStrong",
72
- children: [
73
- /* @__PURE__ */ jsx(
74
- DisplayPrice,
75
- {
76
- beforeOrAfter: "after",
77
- divisor,
78
- price: totalPrice
79
- }
80
- ),
81
- defaultPriceInformation ? `/${unitSingular}` : null,
82
- priceInformation
83
- ]
84
- }
85
- ) : /* @__PURE__ */ jsxs(Stack, { alignItems: "center", direction: "row", gap: 1, children: [
86
- /* @__PURE__ */ jsx(
87
- Text,
88
- {
89
- as: "span",
90
- prominence: "weak",
91
- sentiment: "neutral",
92
- strikeThrough: true,
93
- variant: "bodySmallStrong",
94
- children: /* @__PURE__ */ jsx(
95
- DisplayPrice,
96
- {
97
- beforeOrAfter: "before",
98
- divisor,
99
- price: totalPrice
100
- }
101
- )
102
- }
103
- ),
104
- /* @__PURE__ */ jsxs(
105
- Text,
106
- {
107
- as: "span",
108
- className: orderSummaryTotalPrice[priceInformation ? "priceInformation" : "default"],
109
- "data-testid": "total-price",
110
- prominence: "strong",
111
- sentiment: "neutral",
112
- variant: "headingSmallStrong",
113
- children: [
114
- /* @__PURE__ */ jsx(
115
- DisplayPrice,
116
- {
117
- beforeOrAfter: "after",
118
- divisor,
119
- price: totalPrice
120
- }
121
- ),
122
- defaultPriceInformation ? `/${unitSingular}` : null,
123
- priceInformation
124
- ]
125
- }
126
- )
127
- ] }),
128
- totalPriceInfo && totalPriceInfoPlacement === "right" ? totalPriceInfo : null
129
- ] })
130
- ] }),
131
- footer
132
- ] });
133
- };
134
- export {
135
- NonScrollableContent
136
- };
@@ -1,15 +0,0 @@
1
- import orderSummaryLocales from './locales/en';
2
- import type { CurrencyType, ItemsType, LocalesFormatType, PriceType, TimeUnit } from './types';
3
- export type ContextProps = {
4
- currency: CurrencyType;
5
- localeFormat: LocalesFormatType;
6
- items: ItemsType[];
7
- categoriesPrice: PriceType;
8
- hideTimeUnit: boolean;
9
- timePeriodUnit: TimeUnit;
10
- timePeriodAmount: number;
11
- locales: Record<keyof typeof orderSummaryLocales, string>;
12
- fractionDigits?: number;
13
- };
14
- export declare const OrderSummaryContext: import("react").Context<ContextProps>;
15
- //# sourceMappingURL=Provider.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../src/components/OrderSummary/Provider.tsx"],"names":[],"mappings":"AACA,OAAO,mBAAmB,MAAM,cAAc,CAAA;AAC9C,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,iBAAiB,EACjB,SAAS,EACT,QAAQ,EACT,MAAM,SAAS,CAAA;AAEhB,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,EAAE,YAAY,CAAA;IACtB,YAAY,EAAE,iBAAiB,CAAA;IAC/B,KAAK,EAAE,SAAS,EAAE,CAAA;IAClB,eAAe,EAAE,SAAS,CAAA;IAC1B,YAAY,EAAE,OAAO,CAAA;IACrB,cAAc,EAAE,QAAQ,CAAA;IACxB,gBAAgB,EAAE,MAAM,CAAA;IACxB,OAAO,EAAE,MAAM,CAAC,MAAM,OAAO,mBAAmB,EAAE,MAAM,CAAC,CAAA;IACzD,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB,CAAA;AAED,eAAO,MAAM,mBAAmB,uCAS9B,CAAA"}
@@ -1,15 +0,0 @@
1
- import { createContext } from "react";
2
- import orderSummaryLocales from "./locales/en.js";
3
- const OrderSummaryContext = createContext({
4
- categoriesPrice: {},
5
- currency: "EUR",
6
- hideTimeUnit: false,
7
- items: [{ category: "", subCategories: [] }],
8
- localeFormat: "en-US",
9
- locales: orderSummaryLocales,
10
- timePeriodAmount: 1,
11
- timePeriodUnit: "hours"
12
- });
13
- export {
14
- OrderSummaryContext
15
- };
@@ -1,2 +0,0 @@
1
- export declare const ScrollableContent: () => import("react/jsx-runtime").JSX.Element;
2
- //# sourceMappingURL=ScrollableContent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ScrollableContent.d.ts","sourceRoot":"","sources":["../../../src/components/OrderSummary/ScrollableContent.tsx"],"names":[],"mappings":"AA0UA,eAAO,MAAM,iBAAiB,+CAqC7B,CAAA"}
@@ -1,314 +0,0 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
2
- import { AttachIcon } from "@ultraviolet/icons/AttachIcon";
3
- import { Stack, Text, NumberInput } from "@ultraviolet/ui";
4
- import { useContext } from "react";
5
- import { DisplayPrice, calculateSubCategoryPrice, formatNumber } from "./helpers.js";
6
- import { OrderSummaryContext } from "./Provider.js";
7
- import { orderSummaryScrollableContainer, orderSummaryCategory, orderSummaryAnchor, orderSummaryAnchorIcon, orderSummaryNumberInput, orderSummaryDetails } from "./styles.css.js";
8
- const CategoryName = ({ category }) => {
9
- const { categoriesPrice } = useContext(OrderSummaryContext);
10
- const categoryPrice = categoriesPrice[category.category] ?? {
11
- maxPrice: 0,
12
- maxPriceWithDiscount: 0,
13
- timeUnit: "hours",
14
- totalPrice: 0,
15
- totalPriceWithDiscount: 0
16
- };
17
- return category.category ? /* @__PURE__ */ jsxs(Stack, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
18
- category.additionalInfo ? /* @__PURE__ */ jsxs(Stack, { alignItems: "center", direction: "row", gap: 1, children: [
19
- /* @__PURE__ */ jsx(
20
- Text,
21
- {
22
- as: "span",
23
- prominence: "strong",
24
- sentiment: "neutral",
25
- variant: "bodyStrong",
26
- children: category.anchor ? /* @__PURE__ */ jsxs("a", { className: orderSummaryAnchor, href: category.anchor, children: [
27
- /* @__PURE__ */ jsx(
28
- AttachIcon,
29
- {
30
- className: orderSummaryAnchorIcon({ size: "medium" }),
31
- sentiment: "info"
32
- }
33
- ),
34
- category.category
35
- ] }) : category.category
36
- }
37
- ),
38
- /* @__PURE__ */ jsx(Text, { as: "span", italic: true, sentiment: "primary", variant: "bodySmall", children: category.additionalInfo })
39
- ] }) : /* @__PURE__ */ jsx(
40
- Text,
41
- {
42
- as: "span",
43
- prominence: "strong",
44
- sentiment: "neutral",
45
- variant: "bodyStrong",
46
- children: category.anchor ? /* @__PURE__ */ jsxs("a", { className: orderSummaryAnchor, href: category.anchor, children: [
47
- /* @__PURE__ */ jsx(
48
- AttachIcon,
49
- {
50
- className: orderSummaryAnchorIcon({ size: "medium" }),
51
- sentiment: "info"
52
- }
53
- ),
54
- category.category
55
- ] }) : category.category
56
- }
57
- ),
58
- category.customContent,
59
- category.numberInput ? /* @__PURE__ */ jsx(
60
- NumberInput,
61
- {
62
- className: orderSummaryNumberInput,
63
- controls: category.numberInputControls,
64
- onChange: category.onChangeInput,
65
- size: "small",
66
- unit: category.numberInputUnit,
67
- value: category.numberInputValue
68
- }
69
- ) : null,
70
- !(category.customContent || category.numberInput) && categoryPrice.totalPrice === categoryPrice.totalPriceWithDiscount ? /* @__PURE__ */ jsx(
71
- Text,
72
- {
73
- as: "span",
74
- prominence: "strong",
75
- sentiment: "neutral",
76
- variant: "bodyStrong",
77
- children: /* @__PURE__ */ jsx(DisplayPrice, { beforeOrAfter: "after", price: categoryPrice })
78
- }
79
- ) : null,
80
- !(category.customContent || category.numberInput) && categoryPrice.totalPrice !== categoryPrice.totalPriceWithDiscount ? /* @__PURE__ */ jsxs(Stack, { alignItems: "center", direction: "row", gap: 1, children: [
81
- /* @__PURE__ */ jsx(
82
- Text,
83
- {
84
- as: "span",
85
- prominence: "weak",
86
- sentiment: "neutral",
87
- strikeThrough: true,
88
- variant: "bodySmallStrong",
89
- children: /* @__PURE__ */ jsx(DisplayPrice, { beforeOrAfter: "before", price: categoryPrice })
90
- }
91
- ),
92
- /* @__PURE__ */ jsx(
93
- Text,
94
- {
95
- as: "span",
96
- prominence: "strong",
97
- sentiment: "neutral",
98
- variant: "bodyStrong",
99
- children: /* @__PURE__ */ jsx(DisplayPrice, { beforeOrAfter: "after", price: categoryPrice })
100
- }
101
- )
102
- ] }) : null
103
- ] }) : null;
104
- };
105
- const SubCategory = ({ subCategory }) => {
106
- const {
107
- currency,
108
- localeFormat,
109
- hideTimeUnit,
110
- timePeriodAmount,
111
- timePeriodUnit,
112
- fractionDigits
113
- } = useContext(OrderSummaryContext);
114
- const subCategoryPrice = calculateSubCategoryPrice(
115
- subCategory,
116
- hideTimeUnit,
117
- timePeriodAmount,
118
- timePeriodUnit
119
- );
120
- return /* @__PURE__ */ jsxs(Stack, { direction: "column", gap: 1, children: [
121
- /* @__PURE__ */ jsxs(Stack, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
122
- subCategory.additionalInfo || subCategory.icon ? /* @__PURE__ */ jsxs(Stack, { alignItems: "center", direction: "row", gap: 1, children: [
123
- subCategory.icon,
124
- /* @__PURE__ */ jsx(
125
- Text,
126
- {
127
- as: "span",
128
- prominence: "strong",
129
- sentiment: "neutral",
130
- variant: "bodySmallStrong",
131
- children: subCategory.anchor ? /* @__PURE__ */ jsxs("a", { className: orderSummaryAnchor, href: subCategory.anchor, children: [
132
- /* @__PURE__ */ jsx(
133
- AttachIcon,
134
- {
135
- className: orderSummaryAnchorIcon({ size: "small" }),
136
- sentiment: "info"
137
- }
138
- ),
139
- subCategory.title
140
- ] }) : subCategory.title
141
- }
142
- ),
143
- /* @__PURE__ */ jsx(Text, { as: "span", italic: true, sentiment: "primary", variant: "bodySmall", children: subCategory.additionalInfo })
144
- ] }) : /* @__PURE__ */ jsx(
145
- Text,
146
- {
147
- as: "span",
148
- prominence: "strong",
149
- sentiment: "neutral",
150
- variant: "bodySmallStrong",
151
- children: subCategory.anchor ? /* @__PURE__ */ jsxs("a", { className: orderSummaryAnchor, href: subCategory.anchor, children: [
152
- /* @__PURE__ */ jsx(
153
- AttachIcon,
154
- {
155
- className: orderSummaryAnchorIcon({ size: "small" }),
156
- sentiment: "info"
157
- }
158
- ),
159
- subCategory.title
160
- ] }) : subCategory.title
161
- }
162
- ),
163
- subCategory.customContent ? /* @__PURE__ */ jsx(
164
- Text,
165
- {
166
- as: "span",
167
- prominence: "strong",
168
- sentiment: "neutral",
169
- variant: "bodySmallStrong",
170
- children: subCategory.customContent
171
- }
172
- ) : null,
173
- subCategory.numberInput ? /* @__PURE__ */ jsx(
174
- NumberInput,
175
- {
176
- className: orderSummaryNumberInput,
177
- controls: subCategory.numberInputControls,
178
- onChange: subCategory.onChangeInput,
179
- size: "small",
180
- unit: subCategory.numberInputUnit,
181
- value: subCategory.numberInputValue
182
- }
183
- ) : null,
184
- subCategory.price !== void 0 && !subCategory.hidePrice && subCategoryPrice.default[0] === subCategoryPrice.discounted[0] && subCategoryPrice.default[1] === subCategoryPrice.discounted[1] ? /* @__PURE__ */ jsxs(
185
- Text,
186
- {
187
- as: "span",
188
- prominence: "strong",
189
- sentiment: "neutral",
190
- variant: "bodySmallStrong",
191
- children: [
192
- subCategoryPrice.discounted[0] === subCategoryPrice.discounted[1] || subCategory.priceUnit ? formatNumber(
193
- subCategory.priceUnit ? subCategory.price : subCategoryPrice.discounted[0],
194
- localeFormat,
195
- currency,
196
- fractionDigits
197
- ) : `${formatNumber(
198
- subCategoryPrice.discounted[0],
199
- localeFormat,
200
- currency,
201
- fractionDigits
202
- )} - ${formatNumber(
203
- subCategoryPrice.discounted[1],
204
- localeFormat,
205
- currency,
206
- fractionDigits
207
- )}`,
208
- subCategory.priceUnit ? ` /${subCategory.priceUnit}` : ""
209
- ]
210
- }
211
- ) : null,
212
- subCategory.price !== void 0 && !subCategory.hidePrice && (subCategoryPrice.default[0] !== subCategoryPrice.discounted[0] || subCategoryPrice.default[1] !== subCategoryPrice.discounted[1]) ? /* @__PURE__ */ jsxs(Stack, { alignItems: "center", direction: "row", gap: 1, children: [
213
- /* @__PURE__ */ jsxs(
214
- Text,
215
- {
216
- as: "span",
217
- prominence: "weak",
218
- sentiment: "neutral",
219
- strikeThrough: true,
220
- variant: "bodySmallStrong",
221
- children: [
222
- subCategoryPrice.default[0] === subCategoryPrice.default[1] || subCategory.priceUnit ? formatNumber(
223
- subCategory.priceUnit ? subCategory.price : subCategoryPrice.default[0],
224
- localeFormat,
225
- currency,
226
- fractionDigits
227
- ) : `${formatNumber(
228
- subCategoryPrice.default[0],
229
- localeFormat,
230
- currency,
231
- fractionDigits
232
- )} - ${formatNumber(
233
- subCategoryPrice.default[1],
234
- localeFormat,
235
- currency,
236
- fractionDigits
237
- )}`,
238
- subCategory.priceUnit ? ` /${subCategory.priceUnit}` : ""
239
- ]
240
- }
241
- ),
242
- /* @__PURE__ */ jsxs(
243
- Text,
244
- {
245
- as: "span",
246
- prominence: "strong",
247
- sentiment: "neutral",
248
- variant: "bodySmallStrong",
249
- children: [
250
- subCategoryPrice.discounted[0] === subCategoryPrice.discounted[1] || subCategory.priceUnit ? formatNumber(
251
- subCategory.priceUnit ? subCategory.price : subCategoryPrice.discounted[0],
252
- localeFormat,
253
- currency,
254
- fractionDigits
255
- ) : `${formatNumber(
256
- subCategoryPrice.discounted[0],
257
- localeFormat,
258
- currency,
259
- fractionDigits
260
- )} - ${formatNumber(
261
- subCategoryPrice.discounted[1],
262
- localeFormat,
263
- currency,
264
- fractionDigits
265
- )}`,
266
- subCategory.priceUnit ? ` /${subCategory.priceUnit}` : ""
267
- ]
268
- }
269
- )
270
- ] }) : null
271
- ] }),
272
- /* @__PURE__ */ jsx(Stack, { className: orderSummaryDetails, direction: "column", gap: 0.5, children: subCategory.details?.map(
273
- (detail, index) => detail ? /* @__PURE__ */ jsx(
274
- Text,
275
- {
276
- as: "span",
277
- sentiment: "neutral",
278
- variant: "bodySmall",
279
- children: detail
280
- },
281
- `${subCategory.title}-${index}`
282
- ) : null
283
- ) })
284
- ] });
285
- };
286
- const ScrollableContent = () => {
287
- const { items } = useContext(OrderSummaryContext);
288
- return /* @__PURE__ */ jsx(Stack, { className: orderSummaryScrollableContainer, gap: 3, children: items.map(
289
- (category) => Object.keys(category).length > 0 && category.category ? /* @__PURE__ */ jsxs(
290
- Stack,
291
- {
292
- className: orderSummaryCategory,
293
- gap: 1.5,
294
- children: [
295
- category.subTitle ? /* @__PURE__ */ jsxs(Stack, { direction: "column", children: [
296
- /* @__PURE__ */ jsx(CategoryName, { category }),
297
- category.subTitle
298
- ] }) : /* @__PURE__ */ jsx(CategoryName, { category }),
299
- category.subCategories && Object.keys(category.subCategories).length > 0 ? /* @__PURE__ */ jsx(Stack, { gap: 1, children: category.subCategories.map((subCategory, index) => /* @__PURE__ */ jsx(
300
- SubCategory,
301
- {
302
- subCategory
303
- },
304
- subCategory.title ?? `${index}`
305
- )) }) : null
306
- ]
307
- },
308
- category.category
309
- ) : null
310
- ) });
311
- };
312
- export {
313
- ScrollableContent
314
- };
@@ -1,3 +0,0 @@
1
- export declare const Units: ("seconds" | "minutes" | "hours" | "days" | "months")[];
2
- export declare const multiplier: Record<(typeof Units)[number], number>;
3
- //# sourceMappingURL=constants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/OrderSummary/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK,yDAMI,CAAA;AAItB,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,CAAC,OAAO,KAAK,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,CAMpD,CAAA"}
@@ -1,18 +0,0 @@
1
- const Units = [
2
- "seconds",
3
- "minutes",
4
- "hours",
5
- "days",
6
- "months"
7
- ];
8
- const multiplier = {
9
- days: 24,
10
- hours: 1,
11
- minutes: 1 / 60,
12
- months: 730,
13
- seconds: 1 / 60 / 60
14
- };
15
- export {
16
- Units,
17
- multiplier
18
- };
@@ -1,28 +0,0 @@
1
- import type { CurrencyType, ItemsType, LocalesFormatType, PriceTypeSingle, SubCategoryType, TimeUnit } from './types';
2
- export declare const formatNumber: (number: number, locale: LocalesFormatType, currency: CurrencyType, fractionDigits?: number) => string;
3
- type CalculatePriceProps = {
4
- price: number;
5
- amount: number;
6
- amountFree?: number;
7
- timeUnit: TimeUnit;
8
- timeAmount: number;
9
- discount?: number;
10
- fixedPrice?: boolean;
11
- };
12
- export declare const calculatePrice: ({ price, amount, amountFree, timeUnit, timeAmount, discount, fixedPrice, }: CalculatePriceProps) => number;
13
- export declare const calculateSubCategoryPrice: (subCategory: SubCategoryType, hideTimeUnit: boolean, timePeriodAmount: number, timePeriodUnit: TimeUnit) => {
14
- discounted: [number, number];
15
- default: [number, number];
16
- };
17
- export declare const calculateCategoryPrice: (category: ItemsType, hideTimeUnit: boolean, timePeriodAmount: number, timePeriodUnit: TimeUnit) => {
18
- categoryPrice: [number, number];
19
- discountedPrice: [number, number];
20
- };
21
- type DisplayPriceProps = {
22
- price: PriceTypeSingle;
23
- beforeOrAfter: 'before' | 'after';
24
- divisor?: number;
25
- };
26
- export declare const DisplayPrice: ({ price, beforeOrAfter, divisor, }: DisplayPriceProps) => string;
27
- export {};
28
- //# sourceMappingURL=helpers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/components/OrderSummary/helpers.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,QAAQ,EACT,MAAM,SAAS,CAAA;AAEhB,eAAO,MAAM,YAAY,GACvB,QAAQ,MAAM,EACd,QAAQ,iBAAiB,EACzB,UAAU,YAAY,EACtB,uBAAmB,WASpB,CAAA;AAED,KAAK,mBAAmB,GAAG;IACzB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,QAAQ,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA;AAMD,eAAO,MAAM,cAAc,GAAI,4EAQ5B,mBAAmB,WAYrB,CAAA;AAED,eAAO,MAAM,yBAAyB,GACpC,aAAa,eAAe,EAC5B,cAAc,OAAO,EACrB,kBAAkB,MAAM,EACxB,gBAAgB,QAAQ,KACvB;IAAE,UAAU,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAAC,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAgF3D,CAAA;AAED,eAAO,MAAM,sBAAsB,GACjC,UAAU,SAAS,EACnB,cAAc,OAAO,EACrB,kBAAkB,MAAM,EACxB,gBAAgB,QAAQ,KACvB;IAAE,aAAa,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAAC,eAAe,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAmDtE,CAAA;AAED,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE,eAAe,CAAA;IACtB,aAAa,EAAE,QAAQ,GAAG,OAAO,CAAA;IACjC,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,eAAO,MAAM,YAAY,GAAI,oCAI1B,iBAAiB,WAuBnB,CAAA"}