@onereach/ui-components 2.63.0-beta.1907.0 → 2.63.1-beta.1936.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (300) hide show
  1. package/dist/v2/OrCardCollection-5d5046f1.js +227 -0
  2. package/dist/v2/{OrConfirm-8d149ece.js → OrConfirm-edc537b3.js} +1 -1
  3. package/dist/v2/{OrIconButton-5883eba0.js → OrIconButton-2088a37f.js} +1 -1
  4. package/dist/v2/{OrInlineInput-16a343c1.js → OrInlineInput-da65c72a.js} +9 -8
  5. package/dist/v2/{OrInlineTextarea-f154bdf5.js → OrInlineTextarea-da66759a.js} +9 -8
  6. package/dist/v2/{OrInput-4a50fe57.js → OrInput-655bed71.js} +9 -7
  7. package/dist/v2/{OrModal-64c5ae2e.js → OrModal-a1452b11.js} +1 -1
  8. package/dist/v2/{OrNotification-9c164908.js → OrNotification-ac420f39.js} +1 -1
  9. package/dist/v2/{OrSearch-a247f072.js → OrSearch-287a08a9.js} +1 -1
  10. package/dist/v2/OrSegmentedControl-17df63b8.js +236 -0
  11. package/dist/v2/{OrSelect-f416b7aa.js → OrSelect-1a353817.js} +4 -4
  12. package/dist/v2/OrSortHeader-a6004b24.js +133 -0
  13. package/dist/v2/{OrTabs-b4a9740b.js → OrTabs-f2a60b41.js} +1 -1
  14. package/dist/v2/{OrTag-ab03c4f7.js → OrTag-1ced4e58.js} +1 -1
  15. package/dist/v2/{OrTextarea-8773d494.js → OrTextarea-cc70afc9.js} +5 -5
  16. package/dist/v2/{OrTooltip-caeac590.js → OrTooltip-afe7030b.js} +33 -3
  17. package/dist/v2/components/index.d.ts +3 -0
  18. package/dist/v2/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +17 -0
  19. package/dist/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +98 -0
  20. package/dist/v2/components/or-card-collection-v3/index.d.ts +3 -0
  21. package/dist/v2/components/or-card-collection-v3/props.d.ts +4 -0
  22. package/dist/v2/components/or-card-collection-v3/styles.d.ts +6 -0
  23. package/dist/v2/components/or-card-collection-v3/types.d.ts +7 -0
  24. package/dist/v2/components/{or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts → or-segmented-control-v3/OrSegmentedControl.stories3.d.ts} +1 -1
  25. package/dist/v2/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +77 -0
  26. package/dist/v2/components/or-segmented-control-v3/components/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +47 -0
  27. package/dist/v2/components/or-segmented-control-v3/components/or-segmented-control-item/styles.d.ts +3 -0
  28. package/dist/v2/components/or-segmented-control-v3/index.d.ts +3 -0
  29. package/dist/v2/components/or-segmented-control-v3/props.d.ts +4 -0
  30. package/dist/v2/components/or-segmented-control-v3/styles.d.ts +3 -0
  31. package/dist/v2/components/or-segmented-control-v3/types.d.ts +4 -0
  32. package/dist/{v3/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.d.ts → v2/components/or-sort-header-v3/OrSortHeader.stories3.d.ts} +1 -1
  33. package/dist/v2/components/or-sort-header-v3/OrSortHeader.vue.d.ts +57 -0
  34. package/dist/v2/components/or-sort-header-v3/index.d.ts +2 -0
  35. package/dist/v2/components/or-sort-header-v3/styles.d.ts +1 -0
  36. package/dist/v2/components/or-sort-header-v3/types.d.ts +4 -0
  37. package/dist/v2/components/or-tooltip-v3/styles.d.ts +2 -0
  38. package/dist/v2/index.js +17 -14
  39. package/dist/v2/index11.js +20 -1
  40. package/dist/v2/index12.js +3 -12
  41. package/dist/v2/index13.js +3 -2
  42. package/dist/v2/index14.js +11 -5
  43. package/dist/v2/index15.js +5 -14
  44. package/dist/v2/index16.js +4 -19
  45. package/dist/v2/index17.js +28 -4
  46. package/dist/v2/index18.js +3 -7
  47. package/dist/v2/index19.js +5 -23
  48. package/dist/v2/index2.js +17 -14
  49. package/dist/v2/index20.js +25 -21
  50. package/dist/v2/index21.js +21 -18
  51. package/dist/v2/index22.js +20 -2
  52. package/dist/v2/index23.js +2 -4
  53. package/dist/v2/index24.js +2 -1
  54. package/dist/v2/index25.js +1 -2
  55. package/dist/v2/index26.js +2 -2
  56. package/dist/v2/index27.js +4 -7
  57. package/dist/v2/index28.js +6 -2
  58. package/dist/v2/index29.js +3 -3
  59. package/dist/v2/index30.js +3 -10
  60. package/dist/v2/index31.js +9 -12
  61. package/dist/v2/index32.js +11 -1
  62. package/dist/v2/index33.js +1 -1
  63. package/dist/v2/index34.js +1 -16
  64. package/dist/v2/index35.js +17 -17
  65. package/dist/v2/index36.js +17 -17
  66. package/dist/v2/index37.js +16 -1
  67. package/dist/v2/index38.js +1 -17
  68. package/dist/v2/index39.js +18 -22
  69. package/dist/v2/index40.js +22 -2
  70. package/dist/v2/index41.js +3 -3
  71. package/dist/v2/index42.js +1 -1
  72. package/dist/v2/index43.js +3 -20
  73. package/dist/v2/index44.js +1 -7
  74. package/dist/v2/index45.js +24 -1
  75. package/dist/v2/index46.js +3 -3
  76. package/dist/v2/index47.js +1 -2
  77. package/dist/v2/index48.js +2 -9
  78. package/dist/v2/index49.js +10 -17
  79. package/dist/v2/index50.js +17 -13
  80. package/dist/v2/index51.js +13 -14
  81. package/dist/v2/index52.js +14 -13
  82. package/dist/v2/index53.js +12 -15
  83. package/dist/v2/index54.js +16 -1
  84. package/dist/v2/index55.js +2 -6
  85. package/dist/v2/index56.js +1 -5
  86. package/dist/v2/index57.js +10 -3
  87. package/dist/v2/index58.js +2 -4
  88. package/dist/v2/index59.js +5 -3
  89. package/dist/v2/index60.js +2 -1
  90. package/dist/v2/index61.js +2 -5
  91. package/dist/v2/index62.js +6 -334
  92. package/dist/v2/index63.js +4 -4
  93. package/dist/v2/index64.js +2 -16
  94. package/dist/v2/index65.js +15 -24
  95. package/dist/v2/index66.js +26 -4
  96. package/dist/v2/index67.js +2 -1
  97. package/dist/v2/index68.js +3 -4
  98. package/dist/v2/index69.js +3 -4
  99. package/dist/v2/index70.js +3 -10
  100. package/dist/v2/index71.js +3 -6
  101. package/dist/v2/index72.js +4 -4
  102. package/dist/v2/index73.js +15 -6
  103. package/dist/v2/index74.js +2 -2
  104. package/dist/v2/index75.js +6 -3
  105. package/dist/v2/index76.js +4 -3
  106. package/dist/v2/index77.js +1 -2
  107. package/dist/v2/index78.js +2 -14
  108. package/dist/v2/index79.js +2 -10
  109. package/dist/v2/index80.js +5 -4
  110. package/dist/v2/index81.js +12 -2
  111. package/dist/v2/index82.js +14 -2
  112. package/dist/v2/index83.js +2 -3
  113. package/dist/v2/index84.js +2 -8
  114. package/dist/v2/index85.js +2 -20
  115. package/dist/v2/index86.js +8 -18
  116. package/dist/v2/index87.js +21 -1
  117. package/dist/v2/index88.js +17 -16
  118. package/dist/v2/index89.js +1 -1
  119. package/dist/v2/index90.js +17 -9
  120. package/dist/v2/index91.js +2 -12
  121. package/dist/v2/index92.js +10 -1
  122. package/dist/v2/index93.js +12 -6
  123. package/dist/v2/index94.js +1 -2
  124. package/dist/v2/index95.js +7 -0
  125. package/dist/v2/index96.js +3 -0
  126. package/dist/v2/{types-fb93ea4e.js → types-89aad7fb.js} +1 -1
  127. package/dist/v3/OrCardCollection-c6f3ac23.js +198 -0
  128. package/dist/v3/{OrConfirm-456ddee1.js → OrConfirm-0bafcc7b.js} +1 -1
  129. package/dist/v3/{OrIconButton-b8066b5d.js → OrIconButton-5fb3a9aa.js} +1 -1
  130. package/dist/v3/{OrInlineInput-280768ba.js → OrInlineInput-d9bbc08c.js} +9 -6
  131. package/dist/v3/{OrInlineTextarea-0f63f344.js → OrInlineTextarea-d5a97ed9.js} +9 -6
  132. package/dist/v3/{OrInput-3eef7945.js → OrInput-db4813b4.js} +11 -6
  133. package/dist/v3/{OrModal-f67d37d3.js → OrModal-3a43b7e7.js} +1 -1
  134. package/dist/v3/{OrNotification-fefa1cb4.js → OrNotification-433d16f7.js} +1 -1
  135. package/dist/v3/{OrSearch-15a70678.js → OrSearch-0c29f499.js} +1 -1
  136. package/dist/v3/OrSegmentedControl-2bbc0f22.js +184 -0
  137. package/dist/v3/{OrSelect-9d300f55.js → OrSelect-323a87b4.js} +7 -5
  138. package/dist/v3/OrSortHeader-5eba50cd.js +104 -0
  139. package/dist/v3/{OrTabs-194ca950.js → OrTabs-ac0be933.js} +1 -1
  140. package/dist/v3/{OrTag-144b4ab8.js → OrTag-deaff080.js} +1 -1
  141. package/dist/v3/{OrTextarea-09aa33dc.js → OrTextarea-98895b2a.js} +6 -4
  142. package/dist/v3/{OrTooltip-30e05f9e.js → OrTooltip-36c6728c.js} +33 -3
  143. package/dist/v3/components/index.d.ts +3 -0
  144. package/dist/v3/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +17 -0
  145. package/dist/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +98 -0
  146. package/dist/v3/components/or-card-collection-v3/index.d.ts +3 -0
  147. package/dist/v3/components/or-card-collection-v3/props.d.ts +4 -0
  148. package/dist/v3/components/or-card-collection-v3/styles.d.ts +6 -0
  149. package/dist/v3/components/or-card-collection-v3/types.d.ts +7 -0
  150. package/dist/v3/components/or-segmented-control-v3/OrSegmentedControl.stories3.d.ts +12 -0
  151. package/dist/v3/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +77 -0
  152. package/dist/v3/components/or-segmented-control-v3/components/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +47 -0
  153. package/dist/v3/components/or-segmented-control-v3/components/or-segmented-control-item/styles.d.ts +3 -0
  154. package/dist/v3/components/or-segmented-control-v3/index.d.ts +3 -0
  155. package/dist/v3/components/or-segmented-control-v3/props.d.ts +4 -0
  156. package/dist/v3/components/or-segmented-control-v3/styles.d.ts +3 -0
  157. package/dist/v3/components/or-segmented-control-v3/types.d.ts +4 -0
  158. package/dist/v3/components/or-sort-header-v3/OrSortHeader.stories3.d.ts +12 -0
  159. package/dist/v3/components/or-sort-header-v3/OrSortHeader.vue.d.ts +57 -0
  160. package/dist/v3/components/or-sort-header-v3/index.d.ts +2 -0
  161. package/dist/v3/components/or-sort-header-v3/styles.d.ts +1 -0
  162. package/dist/v3/components/or-sort-header-v3/types.d.ts +4 -0
  163. package/dist/v3/components/or-tooltip-v3/styles.d.ts +2 -0
  164. package/dist/v3/index.js +17 -14
  165. package/dist/v3/index11.js +19 -1
  166. package/dist/v3/index12.js +3 -11
  167. package/dist/v3/index13.js +3 -2
  168. package/dist/v3/index14.js +9 -4
  169. package/dist/v3/index15.js +4 -11
  170. package/dist/v3/index16.js +3 -17
  171. package/dist/v3/index17.js +25 -4
  172. package/dist/v3/index18.js +3 -6
  173. package/dist/v3/index19.js +5 -20
  174. package/dist/v3/index2.js +17 -14
  175. package/dist/v3/index20.js +21 -20
  176. package/dist/v3/index21.js +20 -15
  177. package/dist/v3/index22.js +16 -1
  178. package/dist/v3/index23.js +2 -4
  179. package/dist/v3/index24.js +2 -1
  180. package/dist/v3/index25.js +1 -2
  181. package/dist/v3/index26.js +2 -2
  182. package/dist/v3/index27.js +4 -6
  183. package/dist/v3/index28.js +5 -2
  184. package/dist/v3/index29.js +3 -3
  185. package/dist/v3/index30.js +3 -9
  186. package/dist/v3/index31.js +8 -11
  187. package/dist/v3/index32.js +10 -1
  188. package/dist/v3/index33.js +1 -1
  189. package/dist/v3/index34.js +1 -15
  190. package/dist/v3/index35.js +16 -14
  191. package/dist/v3/index36.js +14 -16
  192. package/dist/v3/index37.js +16 -2
  193. package/dist/v3/index38.js +2 -17
  194. package/dist/v3/index39.js +17 -17
  195. package/dist/v3/index40.js +16 -1
  196. package/dist/v3/index41.js +3 -3
  197. package/dist/v3/index42.js +1 -1
  198. package/dist/v3/index43.js +3 -16
  199. package/dist/v3/index44.js +1 -7
  200. package/dist/v3/index45.js +20 -1
  201. package/dist/v3/index46.js +3 -3
  202. package/dist/v3/index47.js +1 -2
  203. package/dist/v3/index48.js +2 -8
  204. package/dist/v3/index49.js +9 -14
  205. package/dist/v3/index50.js +14 -12
  206. package/dist/v3/index51.js +12 -11
  207. package/dist/v3/index52.js +11 -12
  208. package/dist/v3/index53.js +11 -11
  209. package/dist/v3/index54.js +12 -1
  210. package/dist/v3/index55.js +2 -5
  211. package/dist/v3/index56.js +1 -5
  212. package/dist/v3/index57.js +9 -3
  213. package/dist/v3/index58.js +2 -4
  214. package/dist/v3/index59.js +5 -3
  215. package/dist/v3/index60.js +2 -1
  216. package/dist/v3/index61.js +1 -4
  217. package/dist/v3/index62.js +6 -307
  218. package/dist/v3/index63.js +4 -4
  219. package/dist/v3/index64.js +2 -15
  220. package/dist/v3/index65.js +13 -22
  221. package/dist/v3/index66.js +24 -3
  222. package/dist/v3/index67.js +2 -1
  223. package/dist/v3/index68.js +3 -4
  224. package/dist/v3/index69.js +3 -4
  225. package/dist/v3/index70.js +3 -9
  226. package/dist/v3/index71.js +3 -4
  227. package/dist/v3/index72.js +4 -4
  228. package/dist/v3/index73.js +11 -5
  229. package/dist/v3/index74.js +2 -2
  230. package/dist/v3/index75.js +5 -2
  231. package/dist/v3/index76.js +4 -3
  232. package/dist/v3/index77.js +1 -2
  233. package/dist/v3/index78.js +2 -13
  234. package/dist/v3/index79.js +2 -9
  235. package/dist/v3/index80.js +5 -4
  236. package/dist/v3/index81.js +11 -1
  237. package/dist/v3/index82.js +13 -1
  238. package/dist/v3/index83.js +1 -3
  239. package/dist/v3/index84.js +1 -8
  240. package/dist/v3/index85.js +2 -17
  241. package/dist/v3/index86.js +7 -14
  242. package/dist/v3/index87.js +18 -1
  243. package/dist/v3/index88.js +14 -15
  244. package/dist/v3/index89.js +1 -1
  245. package/dist/v3/index90.js +15 -6
  246. package/dist/v3/index91.js +2 -11
  247. package/dist/v3/index92.js +8 -1
  248. package/dist/v3/index93.js +11 -6
  249. package/dist/v3/index94.js +1 -2
  250. package/dist/v3/index95.js +7 -0
  251. package/dist/v3/index96.js +3 -0
  252. package/dist/v3/{types-a2a8f948.js → types-d5d4ab32.js} +1 -1
  253. package/package.json +2 -8
  254. package/src/components/index.ts +3 -0
  255. package/src/components/or-card-collection-v3/OrCardCollection.docs.mdx +3 -0
  256. package/src/components/or-card-collection-v3/OrCardCollection.stories3.ts +162 -0
  257. package/src/components/or-card-collection-v3/OrCardCollection.vue +210 -0
  258. package/src/components/or-card-collection-v3/index.ts +3 -0
  259. package/src/components/or-card-collection-v3/props.ts +4 -0
  260. package/src/components/or-card-collection-v3/styles.ts +53 -0
  261. package/src/components/or-card-collection-v3/types.ts +8 -0
  262. package/src/components/or-checkbox-v3/OrCheckbox.stories3.ts +1 -1
  263. package/src/components/or-inline-input-v3/OrInlineInput.vue +14 -12
  264. package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +14 -12
  265. package/src/components/or-input-v3/OrInput.vue +33 -29
  266. package/src/components/or-radio-v3/OrRadio.stories3.ts +1 -1
  267. package/src/components/or-segmented-control-v3/OrSegmentedControl.docs.mdx +7 -0
  268. package/src/components/or-segmented-control-v3/OrSegmentedControl.stories3.ts +106 -0
  269. package/src/components/or-segmented-control-v3/OrSegmentedControl.vue +107 -0
  270. package/src/components/or-segmented-control-v3/components/or-segmented-control-item/OrSegmentedControlItem.vue +64 -0
  271. package/src/components/or-segmented-control-v3/components/or-segmented-control-item/styles.ts +50 -0
  272. package/src/components/or-segmented-control-v3/index.ts +3 -0
  273. package/src/components/or-segmented-control-v3/props.ts +4 -0
  274. package/src/components/or-segmented-control-v3/styles.ts +24 -0
  275. package/src/components/or-segmented-control-v3/types.ts +4 -0
  276. package/src/components/or-select-v3/OrSelect.vue +5 -3
  277. package/src/components/or-sort-header-v3/OrSortHeader.docs.mdx +3 -0
  278. package/src/components/or-sort-header-v3/OrSortHeader.stories3.ts +132 -0
  279. package/src/components/or-sort-header-v3/OrSortHeader.vue +111 -0
  280. package/src/components/or-sort-header-v3/index.ts +2 -0
  281. package/src/components/or-sort-header-v3/styles.ts +23 -0
  282. package/src/components/or-sort-header-v3/types.ts +4 -0
  283. package/src/components/or-switch-v3/OrSwitch.stories3.ts +1 -1
  284. package/src/components/or-tabs-v3/OrTabs.stories3.ts +9 -4
  285. package/src/components/or-tabs-v3/OrTabs.vue +1 -1
  286. package/src/components/or-textarea-v3/OrTextarea.vue +12 -10
  287. package/src/components/or-tooltip-v3/OrTooltip.vue +3 -2
  288. package/src/components/or-tooltip-v3/styles.ts +55 -0
  289. package/src/hooks/useClassAttribute.ts +1 -1
  290. package/dist/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +0 -111
  291. package/dist/v2/components/or-rich-text-editor-v3/index.d.ts +0 -1
  292. package/dist/v2/components/or-rich-text-editor-v3/styles.d.ts +0 -7
  293. package/dist/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +0 -111
  294. package/dist/v3/components/or-rich-text-editor-v3/index.d.ts +0 -1
  295. package/dist/v3/components/or-rich-text-editor-v3/styles.d.ts +0 -7
  296. package/src/components/or-rich-text-editor-v3/OrRichTextEditor.docs.mdx +0 -16
  297. package/src/components/or-rich-text-editor-v3/OrRichTextEditor.stories3.ts +0 -57
  298. package/src/components/or-rich-text-editor-v3/OrRichTextEditor.vue +0 -322
  299. package/src/components/or-rich-text-editor-v3/index.ts +0 -1
  300. package/src/components/or-rich-text-editor-v3/styles.ts +0 -71
@@ -1,11 +1,11 @@
1
- export { _ as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-ab03c4f7.js';
1
+ export { _ as OrTabsV3, T as TabsVariant } from './OrTabs-f2a60b41.js';
2
+ import '@vueuse/core';
2
3
  import 'vue-demi';
3
4
  import './useClassAttribute-47fdb016.js';
4
- import '@vueuse/core';
5
- import './OrIconButton-5883eba0.js';
6
5
  import './OrIcon-124f3bad.js';
7
6
  import './normalize-component-6e8e3d80.js';
8
- import './OrTooltip-caeac590.js';
7
+ import './OrMenuItem-3a28db7b.js';
8
+ import './OrMenu-bb81644d.js';
9
9
  import './OrPopover-9080fc00.js';
10
10
  import '@floating-ui/dom';
11
11
  import './useElevation-0e973238.js';
@@ -14,3 +14,4 @@ import './OrBottomSheet-f09adbbb.js';
14
14
  import './OrOverlay-4838a9b0.js';
15
15
  import './OrTeleport.vue2-fb92f29f.js';
16
16
  import 'portal-vue';
17
+ import './OrTab-4e6ff742.js';
@@ -1,4 +1,14 @@
1
- export { _ as OrTeleport } from './OrTeleportVue2-fce4676d.js';
1
+ export { _ as OrTag } from './OrTag-140d4f72.js';
2
2
  import 'vue-demi';
3
- import 'vue';
3
+ import './OrIcon-7cd10497.js';
4
+ import 'lodash';
5
+ import './OrTooltip.vue_rollup-plugin-vue_styles.0-54c17910.js';
6
+ import './style-inject.es-4c6f2515.js';
4
7
  import './normalize-component-6e8e3d80.js';
8
+ import './OrFloating-b15309d1.js';
9
+ import '@floating-ui/dom';
10
+ import './OrTeleportVue2-fce4676d.js';
11
+ import 'vue';
12
+ import './dom-7a41831b.js';
13
+ import './px-to-rem-0b26b83e.js';
14
+ import './color-1f348774.js';
@@ -1,4 +1,16 @@
1
- export { _ as OrTeleportV3 } from './OrTeleport.vue2-fb92f29f.js';
2
- import 'portal-vue';
1
+ export { _ as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-1ced4e58.js';
3
2
  import 'vue-demi';
3
+ import './useClassAttribute-47fdb016.js';
4
+ import '@vueuse/core';
5
+ import './OrIconButton-2088a37f.js';
6
+ import './OrIcon-124f3bad.js';
4
7
  import './normalize-component-6e8e3d80.js';
8
+ import './OrTooltip-afe7030b.js';
9
+ import './OrPopover-9080fc00.js';
10
+ import '@floating-ui/dom';
11
+ import './useElevation-0e973238.js';
12
+ import './useResponsive-a02e95b7.js';
13
+ import './OrBottomSheet-f09adbbb.js';
14
+ import './OrOverlay-4838a9b0.js';
15
+ import './OrTeleport.vue2-fb92f29f.js';
16
+ import 'portal-vue';
@@ -1,5 +1,4 @@
1
- export { _ as OrTextV3 } from './OrText-ba5a2b6c.js';
1
+ export { _ as OrTeleport } from './OrTeleportVue2-fce4676d.js';
2
2
  import 'vue-demi';
3
- import './useClassAttribute-47fdb016.js';
4
- import '@vueuse/core';
3
+ import 'vue';
5
4
  import './normalize-component-6e8e3d80.js';
@@ -1,10 +1,4 @@
1
- export { _ as OrTextareaV3 } from './OrTextarea-8773d494.js';
2
- export { a as TextareaSize } from './OrInputBox-208dceac.js';
1
+ export { _ as OrTeleportV3 } from './OrTeleport.vue2-fb92f29f.js';
2
+ import 'portal-vue';
3
3
  import 'vue-demi';
4
- import './useClassAttribute-47fdb016.js';
5
- import '@vueuse/core';
6
- import './OrError-be656098.js';
7
4
  import './normalize-component-6e8e3d80.js';
8
- import './OrHint-44356417.js';
9
- import './OrLabel-5670468e.js';
10
- import './style-inject.es-4c6f2515.js';
@@ -1,23 +1,5 @@
1
- export { _ as OrTextbox, T as TextboxTypes } from './OrTextbox-91382d58.js';
1
+ export { _ as OrTextV3 } from './OrText-ba5a2b6c.js';
2
2
  import 'vue-demi';
3
+ import './useClassAttribute-47fdb016.js';
3
4
  import '@vueuse/core';
4
- import './useToggle-29e4d7c7.js';
5
- import './px-to-rem-0b26b83e.js';
6
- import './dom-7a41831b.js';
7
- import 'lodash';
8
- import './OrLabel-931394a5.js';
9
- import './style-inject.es-4c6f2515.js';
10
5
  import './normalize-component-6e8e3d80.js';
11
- import './OrIconButton.vue_rollup-plugin-vue_styles.0-dc224e53.js';
12
- import './OrIcon-7cd10497.js';
13
- import './OrTooltip.vue_rollup-plugin-vue_styles.0-54c17910.js';
14
- import './OrFloating-b15309d1.js';
15
- import '@floating-ui/dom';
16
- import './OrTeleportVue2-fce4676d.js';
17
- import 'vue';
18
- import './OrLoader-212ef381.js';
19
- import './OrTooltip-b31bd78d.js';
20
- import './OrIconButton-cab39659.js';
21
- import './OrHint-fe65fbe6.js';
22
- import './OrError-efc74907.js';
23
- import './OrCollapse-50e3914c.js';
@@ -1,20 +1,10 @@
1
- export { _ as OrToast, a as OrToastContainer } from './OrToastContainer-e285a86c.js';
2
- export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
3
- import './OrIconButton.vue_rollup-plugin-vue_styles.0-dc224e53.js';
1
+ export { _ as OrTextareaV3 } from './OrTextarea-cc70afc9.js';
2
+ export { a as TextareaSize } from './OrInputBox-208dceac.js';
4
3
  import 'vue-demi';
5
- import './OrIcon-7cd10497.js';
6
- import 'lodash';
7
- import './OrTooltip.vue_rollup-plugin-vue_styles.0-54c17910.js';
8
- import './style-inject.es-4c6f2515.js';
9
- import './normalize-component-6e8e3d80.js';
10
- import './OrFloating-b15309d1.js';
11
- import '@floating-ui/dom';
12
- import './OrTeleportVue2-fce4676d.js';
13
- import 'vue';
14
- import './dom-7a41831b.js';
15
- import './px-to-rem-0b26b83e.js';
16
- import './OrLoader-212ef381.js';
17
- import './OrTooltip-b31bd78d.js';
18
- import './OrIconButton-cab39659.js';
19
- import './OrProgress-e6f20dc1.js';
4
+ import './useClassAttribute-47fdb016.js';
20
5
  import '@vueuse/core';
6
+ import './OrError-be656098.js';
7
+ import './normalize-component-6e8e3d80.js';
8
+ import './OrHint-44356417.js';
9
+ import './OrLabel-5670468e.js';
10
+ import './style-inject.es-4c6f2515.js';
@@ -1,3 +1,23 @@
1
- export { a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
1
+ export { _ as OrTextbox, T as TextboxTypes } from './OrTextbox-91382d58.js';
2
2
  import 'vue-demi';
3
3
  import '@vueuse/core';
4
+ import './useToggle-29e4d7c7.js';
5
+ import './px-to-rem-0b26b83e.js';
6
+ import './dom-7a41831b.js';
7
+ import 'lodash';
8
+ import './OrLabel-931394a5.js';
9
+ import './style-inject.es-4c6f2515.js';
10
+ import './normalize-component-6e8e3d80.js';
11
+ import './OrIconButton.vue_rollup-plugin-vue_styles.0-dc224e53.js';
12
+ import './OrIcon-7cd10497.js';
13
+ import './OrTooltip.vue_rollup-plugin-vue_styles.0-54c17910.js';
14
+ import './OrFloating-b15309d1.js';
15
+ import '@floating-ui/dom';
16
+ import './OrTeleportVue2-fce4676d.js';
17
+ import 'vue';
18
+ import './OrLoader-212ef381.js';
19
+ import './OrTooltip-b31bd78d.js';
20
+ import './OrIconButton-cab39659.js';
21
+ import './OrHint-fe65fbe6.js';
22
+ import './OrError-efc74907.js';
23
+ import './OrCollapse-50e3914c.js';
@@ -1,19 +1,20 @@
1
- export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from './types-fb93ea4e.js';
2
- export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
3
- import '@vueuse/core';
1
+ export { _ as OrToast, a as OrToastContainer } from './OrToastContainer-e285a86c.js';
2
+ export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
3
+ import './OrIconButton.vue_rollup-plugin-vue_styles.0-dc224e53.js';
4
4
  import 'vue-demi';
5
- import './OrTeleport.vue2-fb92f29f.js';
6
- import 'portal-vue';
5
+ import './OrIcon-7cd10497.js';
6
+ import 'lodash';
7
+ import './OrTooltip.vue_rollup-plugin-vue_styles.0-54c17910.js';
8
+ import './style-inject.es-4c6f2515.js';
7
9
  import './normalize-component-6e8e3d80.js';
8
- import './OrIconButton-5883eba0.js';
9
- import './useClassAttribute-47fdb016.js';
10
- import './OrIcon-124f3bad.js';
11
- import './OrTooltip-caeac590.js';
12
- import './OrPopover-9080fc00.js';
10
+ import './OrFloating-b15309d1.js';
13
11
  import '@floating-ui/dom';
14
- import './useElevation-0e973238.js';
15
- import './useResponsive-a02e95b7.js';
16
- import './OrBottomSheet-f09adbbb.js';
17
- import './OrOverlay-4838a9b0.js';
18
- import './OrLoader-bd088836.js';
19
- import './style-inject.es-4c6f2515.js';
12
+ import './OrTeleportVue2-fce4676d.js';
13
+ import 'vue';
14
+ import './dom-7a41831b.js';
15
+ import './px-to-rem-0b26b83e.js';
16
+ import './OrLoader-212ef381.js';
17
+ import './OrTooltip-b31bd78d.js';
18
+ import './OrIconButton-cab39659.js';
19
+ import './OrProgress-e6f20dc1.js';
20
+ import '@vueuse/core';
@@ -1,3 +1,3 @@
1
- export { a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
1
+ export { a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
2
2
  import 'vue-demi';
3
3
  import '@vueuse/core';
@@ -1,11 +1,19 @@
1
- export { _ as OrTooltip } from './OrTooltip-b31bd78d.js';
2
- export { _ as OrTooltipContent } from './OrTooltip.vue_rollup-plugin-vue_styles.0-54c17910.js';
3
- import './normalize-component-6e8e3d80.js';
1
+ export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from './types-89aad7fb.js';
2
+ export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
3
+ import '@vueuse/core';
4
4
  import 'vue-demi';
5
- import 'lodash';
6
- import './style-inject.es-4c6f2515.js';
7
- import './OrFloating-b15309d1.js';
5
+ import './OrTeleport.vue2-fb92f29f.js';
6
+ import 'portal-vue';
7
+ import './normalize-component-6e8e3d80.js';
8
+ import './OrIconButton-2088a37f.js';
9
+ import './useClassAttribute-47fdb016.js';
10
+ import './OrIcon-124f3bad.js';
11
+ import './OrTooltip-afe7030b.js';
12
+ import './OrPopover-9080fc00.js';
8
13
  import '@floating-ui/dom';
9
- import './OrTeleportVue2-fce4676d.js';
10
- import 'vue';
11
- import './dom-7a41831b.js';
14
+ import './useElevation-0e973238.js';
15
+ import './useResponsive-a02e95b7.js';
16
+ import './OrBottomSheet-f09adbbb.js';
17
+ import './OrOverlay-4838a9b0.js';
18
+ import './OrLoader-bd088836.js';
19
+ import './style-inject.es-4c6f2515.js';
@@ -1,13 +1,3 @@
1
- export { _ as OrTooltipV3 } from './OrTooltip-caeac590.js';
2
- export { P as TooltipPlacement } from './OrPopover-9080fc00.js';
3
- import '@vueuse/core';
1
+ export { a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
4
2
  import 'vue-demi';
5
- import './useClassAttribute-47fdb016.js';
6
- import './normalize-component-6e8e3d80.js';
7
- import '@floating-ui/dom';
8
- import './useElevation-0e973238.js';
9
- import './useResponsive-a02e95b7.js';
10
- import './OrBottomSheet-f09adbbb.js';
11
- import './OrOverlay-4838a9b0.js';
12
- import './OrTeleport.vue2-fb92f29f.js';
13
- import 'portal-vue';
3
+ import '@vueuse/core';
@@ -1,2 +1,11 @@
1
- export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-0d314aa4.js';
1
+ export { _ as OrTooltip } from './OrTooltip-b31bd78d.js';
2
+ export { _ as OrTooltipContent } from './OrTooltip.vue_rollup-plugin-vue_styles.0-54c17910.js';
3
+ import './normalize-component-6e8e3d80.js';
2
4
  import 'vue-demi';
5
+ import 'lodash';
6
+ import './style-inject.es-4c6f2515.js';
7
+ import './OrFloating-b15309d1.js';
8
+ import '@floating-ui/dom';
9
+ import './OrTeleportVue2-fce4676d.js';
10
+ import 'vue';
11
+ import './dom-7a41831b.js';
@@ -1,7 +1,13 @@
1
- export { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
2
- export { u as useElevation } from './useElevation-0e973238.js';
3
- export { u as useOverflow } from './useOverflow-ac506c65.js';
4
- export { u as useResponsive } from './useResponsive-a02e95b7.js';
5
- export { u as useToggle } from './useToggle-29e4d7c7.js';
6
- import 'vue-demi';
1
+ export { _ as OrTooltipV3 } from './OrTooltip-afe7030b.js';
2
+ export { P as TooltipPlacement } from './OrPopover-9080fc00.js';
7
3
  import '@vueuse/core';
4
+ import 'vue-demi';
5
+ import './useClassAttribute-47fdb016.js';
6
+ import './normalize-component-6e8e3d80.js';
7
+ import '@floating-ui/dom';
8
+ import './useElevation-0e973238.js';
9
+ import './useResponsive-a02e95b7.js';
10
+ import './OrBottomSheet-f09adbbb.js';
11
+ import './OrOverlay-4838a9b0.js';
12
+ import './OrTeleport.vue2-fb92f29f.js';
13
+ import 'portal-vue';
@@ -1,3 +1,2 @@
1
- export { u as useResponsive } from './useResponsive-a02e95b7.js';
2
- import '@vueuse/core';
1
+ export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-0d314aa4.js';
3
2
  import 'vue-demi';
@@ -0,0 +1,7 @@
1
+ export { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
2
+ export { u as useElevation } from './useElevation-0e973238.js';
3
+ export { u as useOverflow } from './useOverflow-ac506c65.js';
4
+ export { u as useResponsive } from './useResponsive-a02e95b7.js';
5
+ export { u as useToggle } from './useToggle-29e4d7c7.js';
6
+ import 'vue-demi';
7
+ import '@vueuse/core';
@@ -0,0 +1,3 @@
1
+ export { u as useResponsive } from './useResponsive-a02e95b7.js';
2
+ import '@vueuse/core';
3
+ import 'vue-demi';
@@ -2,7 +2,7 @@ import { useToggle } from '@vueuse/core';
2
2
  import { defineComponent, ref, computed, onBeforeMount, onBeforeUnmount, nextTick } from 'vue-demi';
3
3
  import { _ as __vue_component__$4 } from './OrTeleport.vue2-fb92f29f.js';
4
4
  import { T as ToastType, P as PositionsX, b as PositionsY, c as TransitionType, d as useToastEventBus, a as useQueue } from './useToast-0665462d.js';
5
- import { _ as __vue_component__$2 } from './OrIconButton-5883eba0.js';
5
+ import { _ as __vue_component__$2 } from './OrIconButton-2088a37f.js';
6
6
  import { _ as __vue_component__$3 } from './OrLoader-bd088836.js';
7
7
  import { s as styleInject } from './style-inject.es-4c6f2515.js';
8
8
  import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
@@ -0,0 +1,198 @@
1
+ import { defineComponent, ref, computed, watch } from 'vue-demi';
2
+ import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
3
+ import '@vueuse/core';
4
+ import { s as script$1 } from './OrCard-b63658a8.js';
5
+ import { s as script$2 } from './OrIconButton-5fb3a9aa.js';
6
+ import { s as script$3 } from './OrInput-db4813b4.js';
7
+ import { s as script$4 } from './OrSortHeader-5eba50cd.js';
8
+ import { resolveComponent, openBlock, createElementBlock, mergeProps, createElementVNode, normalizeClass, Fragment, renderList, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, createVNode, renderSlot, normalizeProps, guardReactiveProps } from 'vue';
9
+
10
+ var CardCollectionView;
11
+ (function (CardCollectionView) {
12
+ CardCollectionView["Grid"] = "grid";
13
+ CardCollectionView["List"] = "list";
14
+ })(CardCollectionView || (CardCollectionView = {}));
15
+
16
+ const CardCollectionRoot = [
17
+ // Layout
18
+ 'flex flex-col',
19
+ // Spacing
20
+ 'gap-md'];
21
+ const CardCollectionToolbar = [
22
+ // Layout
23
+ 'flex', 'justify-between', 'items-center',
24
+ // Typography
25
+ 'typography-body-2-regular',
26
+ // Theme
27
+ 'theme-foreground-default', 'dark:theme-foreground-default-dark'];
28
+ const CardCollectionToolbarPanel = [
29
+ // Layout
30
+ 'flex', 'justify-normal', 'items-center',
31
+ // Spacing
32
+ 'gap-sm'];
33
+ const CardCollectionContent = [
34
+ // Layout
35
+ 'grid',
36
+ // Spacing
37
+ 'gap-sm md:gap-md'];
38
+ const CardCollectionContentViews = {
39
+ 'grid': [
40
+ // Layout
41
+ 'sm:grid-cols-1', 'md:grid-cols-2', 'lg:grid-cols-4', 'xl:grid-cols-6'],
42
+ 'list': []
43
+ };
44
+
45
+ var script = defineComponent({
46
+ name: 'OrCardCollection',
47
+ components: {
48
+ OrCard: script$1,
49
+ OrIconButton: script$2,
50
+ OrInput: script$3,
51
+ OrSortHeader: script$4
52
+ },
53
+ inheritAttrs: false,
54
+ props: {
55
+ items: {
56
+ type: Array,
57
+ default: []
58
+ },
59
+ view: {
60
+ type: String,
61
+ default: CardCollectionView.Grid
62
+ },
63
+ sort: {
64
+ type: Object,
65
+ default: undefined
66
+ },
67
+ sortHeaders: {
68
+ type: Array,
69
+ default: undefined
70
+ },
71
+ search: {
72
+ type: String,
73
+ default: undefined
74
+ }
75
+ },
76
+ emits: ['viewChange', 'sortChange', 'searchChange'],
77
+ expose: ['root'],
78
+ setup(props, context) {
79
+ // Refs
80
+ const root = ref();
81
+ // Styles
82
+ const classAttribute = useClassAttribute();
83
+ const rootStyles = computed(() => ['or-card-collection', ...CardCollectionRoot, classAttribute.value]);
84
+ const toolbarStyles = computed(() => [...CardCollectionToolbar]);
85
+ const toolbarPanelStyles = computed(() => [...CardCollectionToolbarPanel]);
86
+ const contentStyles = computed(() => [...CardCollectionContent, ...CardCollectionContentViews[proxyView.value]]);
87
+ // State
88
+ const proxyView = ref(props.view);
89
+ const proxySort = ref(props.sort);
90
+ const proxySearch = ref(props.search);
91
+ // Methods
92
+ function switchToGridView() {
93
+ proxyView.value = CardCollectionView.Grid;
94
+ }
95
+ function switchToListView() {
96
+ proxyView.value = CardCollectionView.List;
97
+ }
98
+ // Effects
99
+ watch(() => props.view, value => {
100
+ proxyView.value = value;
101
+ });
102
+ watch(proxyView, value => {
103
+ context.emit('viewChange', value);
104
+ });
105
+ watch(() => props.sort, value => {
106
+ proxySort.value = value;
107
+ });
108
+ watch(proxySort, value => {
109
+ context.emit('sortChange', value);
110
+ });
111
+ watch(() => props.search, value => {
112
+ proxySearch.value = value;
113
+ });
114
+ watch(proxySearch, value => {
115
+ context.emit('searchChange', value);
116
+ });
117
+ return {
118
+ root,
119
+ rootStyles,
120
+ toolbarStyles,
121
+ toolbarPanelStyles,
122
+ contentStyles,
123
+ proxyView,
124
+ proxySort,
125
+ proxySearch,
126
+ switchToGridView,
127
+ switchToListView
128
+ };
129
+ }
130
+ });
131
+
132
+ function render(_ctx, _cache, $props, $setup, $data, $options) {
133
+ const _component_OrSortHeader = resolveComponent("OrSortHeader");
134
+ const _component_OrInput = resolveComponent("OrInput");
135
+ const _component_OrIconButton = resolveComponent("OrIconButton");
136
+ const _component_OrCard = resolveComponent("OrCard");
137
+ return openBlock(), createElementBlock("div", mergeProps({
138
+ ref: "root"
139
+ }, _ctx.$attrs, {
140
+ class: _ctx.rootStyles
141
+ }), [createElementVNode("div", {
142
+ class: normalizeClass(_ctx.toolbarStyles)
143
+ }, [createElementVNode("div", {
144
+ class: normalizeClass(_ctx.toolbarPanelStyles)
145
+ }, [_ctx.sortHeaders ? (openBlock(true), createElementBlock(Fragment, {
146
+ key: 0
147
+ }, renderList(_ctx.sortHeaders, header => {
148
+ return openBlock(), createBlock(_component_OrSortHeader, {
149
+ key: header.value,
150
+ modelValue: _ctx.proxySort,
151
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxySort = $event),
152
+ "input-value": header.value
153
+ }, {
154
+ default: withCtx(() => [createTextVNode(toDisplayString(header.label), 1 /* TEXT */)]),
155
+
156
+ _: 2 /* DYNAMIC */
157
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["modelValue", "input-value"]);
158
+ }), 128 /* KEYED_FRAGMENT */)) : createCommentVNode("v-if", true)], 2 /* CLASS */), createElementVNode("div", {
159
+ class: normalizeClass(_ctx.toolbarPanelStyles)
160
+ }, [createVNode(_component_OrInput, {
161
+ modelValue: _ctx.proxySearch,
162
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = $event => _ctx.proxySearch = $event),
163
+ type: 'search',
164
+ placeholder: 'Search',
165
+ size: 's'
166
+ }, null, 8 /* PROPS */, ["modelValue"]), createVNode(_component_OrIconButton, {
167
+ icon: 'grid_view',
168
+ onClick: _cache[2] || (_cache[2] = $event => _ctx.switchToGridView())
169
+ }), createVNode(_component_OrIconButton, {
170
+ icon: 'view_list',
171
+ onClick: _cache[3] || (_cache[3] = $event => _ctx.switchToListView())
172
+ }), renderSlot(_ctx.$slots, "addon")], 2 /* CLASS */)], 2 /* CLASS */), createElementVNode("div", {
173
+ class: normalizeClass(_ctx.contentStyles)
174
+ }, [_ctx.proxyView === 'grid' ? (openBlock(true), createElementBlock(Fragment, {
175
+ key: 0
176
+ }, renderList(_ctx.items, item => {
177
+ return openBlock(), createBlock(_component_OrCard, {
178
+ key: item.id
179
+ }, {
180
+ default: withCtx(() => [renderSlot(_ctx.$slots, "gridItem", normalizeProps(guardReactiveProps(item)))]),
181
+ _: 2 /* DYNAMIC */
182
+ }, 1024 /* DYNAMIC_SLOTS */);
183
+ }), 128 /* KEYED_FRAGMENT */)) : createCommentVNode("v-if", true), _ctx.proxyView === 'list' ? (openBlock(true), createElementBlock(Fragment, {
184
+ key: 1
185
+ }, renderList(_ctx.items, item => {
186
+ return openBlock(), createBlock(_component_OrCard, {
187
+ key: item.id
188
+ }, {
189
+ default: withCtx(() => [renderSlot(_ctx.$slots, "listItem", normalizeProps(guardReactiveProps(item)))]),
190
+ _: 2 /* DYNAMIC */
191
+ }, 1024 /* DYNAMIC_SLOTS */);
192
+ }), 128 /* KEYED_FRAGMENT */)) : createCommentVNode("v-if", true)], 2 /* CLASS */)], 16 /* FULL_PROPS */);
193
+ }
194
+
195
+ script.render = render;
196
+ script.__file = "src/components/or-card-collection-v3/OrCardCollection.vue";
197
+
198
+ export { CardCollectionView as C, script as s };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, ref, computed, watch } from 'vue-demi';
2
2
  import { s as script$2, a as ButtonColor } from './OrButton-12b36e89.js';
3
3
  import { s as script$1 } from './OrOverlay-27050c19.js';
4
- import { s as script$3 } from './OrInput-3eef7945.js';
4
+ import { s as script$3 } from './OrInput-db4813b4.js';
5
5
  import { useMagicKeys, whenever } from '@vueuse/core';
6
6
  import { logicAnd } from '@vueuse/math';
7
7
  import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, normalizeClass, renderSlot, createTextVNode, toDisplayString, createElementBlock, createVNode, createCommentVNode } from 'vue';
@@ -2,7 +2,7 @@ import { defineComponent, ref, computed } from 'vue-demi';
2
2
  import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
3
3
  import '@vueuse/core';
4
4
  import { s as script$1 } from './OrIcon-b3906e35.js';
5
- import { s as script$2 } from './OrTooltip-30e05f9e.js';
5
+ import { s as script$2 } from './OrTooltip-36c6728c.js';
6
6
  import './OrPopover-3525c670.js';
7
7
  import { resolveComponent, openBlock, createBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode, mergeProps, createVNode } from 'vue';
8
8
 
@@ -3,9 +3,9 @@ import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
3
3
  import '@vueuse/core';
4
4
  import { s as script$1 } from './OrError-19a62a18.js';
5
5
  import { s as script$2 } from './OrHint-73835593.js';
6
- import { s as script$3 } from './OrIconButton-b8066b5d.js';
6
+ import { s as script$3 } from './OrIconButton-5fb3a9aa.js';
7
7
  import { s as script$4, I as InlineInputBoxSize } from './OrInlineInputBox-1b473796.js';
8
- import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, withCtx, withDirectives, mergeProps, vModelDynamic, withModifiers, createCommentVNode, createBlock, createSlots, createTextVNode, toDisplayString } from 'vue';
8
+ import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, withCtx, withDirectives, mergeProps, vModelDynamic, withModifiers, createCommentVNode, Fragment, createBlock, createSlots, createTextVNode, toDisplayString } from 'vue';
9
9
  import { s as styleInject } from './style-inject.es-4c6f2515.js';
10
10
 
11
11
  var InlineInputType;
@@ -129,14 +129,15 @@ var script = defineComponent({
129
129
  activated.value = false;
130
130
  }
131
131
  function reset() {
132
+ var _a;
132
133
  if (draftModelValue.value !== proxyModelValue.value) {
133
- draftModelValue.value = proxyModelValue.value;
134
+ draftModelValue.value = (_a = proxyModelValue.value) !== null && _a !== void 0 ? _a : '';
134
135
  }
135
136
  activated.value = false;
136
137
  }
137
138
  // Effects
138
139
  watch(proxyModelValue, value => {
139
- draftModelValue.value = value;
140
+ draftModelValue.value = value !== null && value !== void 0 ? value : '';
140
141
  }, {
141
142
  immediate: true
142
143
  });
@@ -201,7 +202,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
201
202
  icon: 'close',
202
203
  color: 'inherit',
203
204
  onClick: withModifiers(_ctx.reset, ["stop"])
204
- }, null, 8 /* PROPS */, ["onClick"])], 2 /* CLASS */)) : createCommentVNode("v-if", true)]), !_ctx.invalid ? (openBlock(), createBlock(_component_OrHint, {
205
+ }, null, 8 /* PROPS */, ["onClick"])], 2 /* CLASS */)) : createCommentVNode("v-if", true)]), !_ctx.invalid ? (openBlock(), createElementBlock(Fragment, {
206
+ key: 0
207
+ }, [_ctx.hint || _ctx.maxLength ? (openBlock(), createBlock(_component_OrHint, {
205
208
  key: 0
206
209
  }, createSlots({
207
210
  default: withCtx(() => [createTextVNode(toDisplayString(_ctx.hint) + " ", 1 /* TEXT */)]),
@@ -212,7 +215,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
212
215
  fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
213
216
 
214
217
  key: "0"
215
- } : undefined]), 1024 /* DYNAMIC_SLOTS */)) : (openBlock(), createBlock(_component_OrError, {
218
+ } : undefined]), 1024 /* DYNAMIC_SLOTS */)) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createBlock(_component_OrError, {
216
219
  key: 1
217
220
  }, createSlots({
218
221
  default: withCtx(() => [createTextVNode(toDisplayString(_ctx.error) + " ", 1 /* TEXT */)]),
@@ -3,9 +3,9 @@ import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
3
3
  import '@vueuse/core';
4
4
  import { s as script$1 } from './OrError-19a62a18.js';
5
5
  import { s as script$2 } from './OrHint-73835593.js';
6
- import { s as script$3 } from './OrIconButton-b8066b5d.js';
6
+ import { s as script$3 } from './OrIconButton-5fb3a9aa.js';
7
7
  import { s as script$4 } from './OrInlineInputBox-1b473796.js';
8
- import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, withCtx, withDirectives, mergeProps, vModelText, withModifiers, createCommentVNode, createBlock, createSlots, createTextVNode, toDisplayString } from 'vue';
8
+ import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, withCtx, withDirectives, mergeProps, vModelText, withModifiers, createCommentVNode, Fragment, createBlock, createSlots, createTextVNode, toDisplayString } from 'vue';
9
9
  import { s as styleInject } from './style-inject.es-4c6f2515.js';
10
10
 
11
11
  const InlineTextareaRoot = [
@@ -115,14 +115,15 @@ var script = defineComponent({
115
115
  activated.value = false;
116
116
  }
117
117
  function reset() {
118
+ var _a;
118
119
  if (draftModelValue.value !== proxyModelValue.value) {
119
- draftModelValue.value = proxyModelValue.value;
120
+ draftModelValue.value = (_a = proxyModelValue.value) !== null && _a !== void 0 ? _a : '';
120
121
  }
121
122
  activated.value = false;
122
123
  }
123
124
  // Effects
124
125
  watch(proxyModelValue, value => {
125
- draftModelValue.value = value;
126
+ draftModelValue.value = value !== null && value !== void 0 ? value : '';
126
127
  }, {
127
128
  immediate: true
128
129
  });
@@ -186,7 +187,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
186
187
  icon: 'close',
187
188
  color: 'inherit',
188
189
  onClick: withModifiers(_ctx.reset, ["stop"])
189
- }, null, 8 /* PROPS */, ["onClick"])], 2 /* CLASS */)) : createCommentVNode("v-if", true)]), !_ctx.invalid ? (openBlock(), createBlock(_component_OrHint, {
190
+ }, null, 8 /* PROPS */, ["onClick"])], 2 /* CLASS */)) : createCommentVNode("v-if", true)]), !_ctx.invalid ? (openBlock(), createElementBlock(Fragment, {
191
+ key: 0
192
+ }, [_ctx.hint || _ctx.maxLength ? (openBlock(), createBlock(_component_OrHint, {
190
193
  key: 0
191
194
  }, createSlots({
192
195
  default: withCtx(() => [createTextVNode(toDisplayString(_ctx.hint) + " ", 1 /* TEXT */)]),
@@ -197,7 +200,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
197
200
  fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
198
201
 
199
202
  key: "0"
200
- } : undefined]), 1024 /* DYNAMIC_SLOTS */)) : (openBlock(), createBlock(_component_OrError, {
203
+ } : undefined]), 1024 /* DYNAMIC_SLOTS */)) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createBlock(_component_OrError, {
201
204
  key: 1
202
205
  }, createSlots({
203
206
  default: withCtx(() => [createTextVNode(toDisplayString(_ctx.error) + " ", 1 /* TEXT */)]),