@onereach/ui-components 20.1.1 → 20.1.2

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 (601) hide show
  1. package/dist/esm/components/OrAutocompleteV3-8c6de221.js +910 -0
  2. package/dist/{esm-deps/components/or-editor-tabs-v3/index.js → esm/components/OrEditorTabsV3-7f1eb4be.js} +124 -34
  3. package/dist/esm/components/OrInlineInputV3-061441a3.js +292 -0
  4. package/dist/{esm-deps → esm}/components/index.js +51 -83
  5. package/dist/esm/components/or-autocomplete-v3/index.js +29 -0
  6. package/dist/{esm-deps → esm}/components/or-avatar-v3/index.js +48 -4
  7. package/dist/{esm-deps → esm}/components/or-bottom-sheet-v3/index.js +50 -4
  8. package/dist/esm/components/or-button-group-v3/index.js +92 -0
  9. package/dist/{esm-deps → esm}/components/or-button-v3/index.js +84 -4
  10. package/dist/{esm-deps → esm}/components/or-card-collection-v3/index.js +96 -87
  11. package/dist/{esm-deps → esm}/components/or-card-v3/index.js +13 -1
  12. package/dist/esm/components/or-checkbox-group-v3/index.js +116 -0
  13. package/dist/esm/components/or-checkbox-tree-v3/index.js +235 -0
  14. package/dist/{esm-deps → esm}/components/or-checkbox-v3/index.js +66 -5
  15. package/dist/esm/components/or-code-v3/index.js +496 -0
  16. package/dist/esm/components/or-combined-input-v3/index.js +123 -0
  17. package/dist/{esm-deps → esm}/components/or-confirm-v3/index.js +84 -40
  18. package/dist/{esm-deps → esm}/components/or-context-menu-v3/index.js +42 -11
  19. package/dist/esm/components/or-data-grid-v3/index.js +1376 -0
  20. package/dist/esm/components/or-date-format-v3/index.js +93 -0
  21. package/dist/esm/components/or-date-picker-v3/index.js +345 -0
  22. package/dist/esm/components/or-date-range-picker-v3/index.js +430 -0
  23. package/dist/esm/components/or-date-time-format-v3/index.js +100 -0
  24. package/dist/esm/components/or-date-time-picker-v3/index.js +1522 -0
  25. package/dist/{esm-deps → esm}/components/or-drawer-v3/index.js +43 -4
  26. package/dist/{esm-deps → esm}/components/or-drop-area-v3/index.js +84 -5
  27. package/dist/esm/components/or-editor-tabs-v3/index.js +31 -0
  28. package/dist/{esm-deps → esm}/components/or-empty-state-v3/index.js +24 -1
  29. package/dist/esm/components/or-error-tag-v3/index.js +53 -0
  30. package/dist/{esm-deps → esm}/components/or-error-v3/index.js +17 -1
  31. package/dist/{esm-deps → esm}/components/or-expansion-panel-v3/index.js +70 -5
  32. package/dist/esm/components/or-fab-v3/index.js +114 -0
  33. package/dist/{esm-deps/components/or-filter-v3 → esm/components/or-filter-popover-v3}/index.js +144 -129
  34. package/dist/{esm-deps → esm}/components/or-filter-trigger-v3/index.js +54 -15
  35. package/dist/esm/components/or-filter-v3/index.js +128 -0
  36. package/dist/esm/components/or-form-group-v3/index.js +111 -0
  37. package/dist/{esm-deps → esm}/components/or-hint-v3/index.js +17 -1
  38. package/dist/{esm-deps → esm}/components/or-icon-button-v3/index.js +53 -13
  39. package/dist/{esm-deps → esm}/components/or-icon-v3/index.js +12 -1
  40. package/dist/{esm-deps → esm}/components/or-indicator-v3/index.js +15 -2
  41. package/dist/{esm-deps → esm}/components/or-inline-input-box-v3/index.js +14 -1
  42. package/dist/esm/components/or-inline-input-v3/index.js +29 -0
  43. package/dist/esm/components/or-inline-textarea-v3/index.js +248 -0
  44. package/dist/{esm-deps → esm}/components/or-input-box-v3/index.js +54 -6
  45. package/dist/{esm-deps/OrInput-4fcaf87c.js → esm/components/or-input-v3/index.js} +202 -3
  46. package/dist/{esm-deps → esm}/components/or-label-v3/index.js +24 -1
  47. package/dist/{esm-deps → esm}/components/or-link-v3/index.js +18 -1
  48. package/dist/esm/components/or-list-v3/index.js +294 -0
  49. package/dist/esm/components/or-loader-v3/index.js +190 -0
  50. package/dist/{esm-deps → esm}/components/or-menu-item-v3/index.js +61 -13
  51. package/dist/esm/components/or-menu-v3/index.js +127 -0
  52. package/dist/{esm-deps → esm}/components/or-modal-v3/index.js +61 -20
  53. package/dist/{esm-deps → esm}/components/or-notification-v3/index.js +47 -16
  54. package/dist/esm/components/or-overlay-v3/index.js +92 -0
  55. package/dist/esm/components/or-pagination-v3/index.js +356 -0
  56. package/dist/esm/components/or-popover-v3/index.js +442 -0
  57. package/dist/{esm-deps → esm}/components/or-progress-v3/index.js +101 -3
  58. package/dist/esm/components/or-radio-group-v3/index.js +116 -0
  59. package/dist/{esm-deps → esm}/components/or-radio-v3/index.js +70 -5
  60. package/dist/{esm-deps → esm}/components/or-range-slider-v3/index.js +120 -11
  61. package/dist/{esm-deps → esm}/components/or-rating-v3/index.js +60 -5
  62. package/dist/{esm-deps → esm}/components/or-resizeable-panel-v3/index.js +56 -13
  63. package/dist/esm/components/or-rich-text-editor-v3/index.js +1250 -0
  64. package/dist/{esm-deps → esm}/components/or-rich-tooltip-v3/index.js +58 -9
  65. package/dist/{esm-deps → esm}/components/or-search-v3/index.js +38 -22
  66. package/dist/{esm-deps → esm}/components/or-segmented-control-v3/index.js +51 -6
  67. package/dist/{esm-deps → esm}/components/or-select-v3/index.js +293 -99
  68. package/dist/{esm-deps → esm}/components/or-sidebar-v3/index.js +58 -52
  69. package/dist/esm/components/or-skeleton-v3/index.js +250 -0
  70. package/dist/{esm-deps → esm}/components/or-slider-v3/index.js +103 -11
  71. package/dist/esm/components/or-sorting-v3/index.js +137 -0
  72. package/dist/{esm-deps → esm}/components/or-status-v3/index.js +18 -3
  73. package/dist/{esm-deps → esm}/components/or-switch-v3/index.js +77 -6
  74. package/dist/{esm-deps → esm}/components/or-tab-v3/index.js +18 -1
  75. package/dist/{esm-deps → esm}/components/or-tabs-v3/index.js +94 -42
  76. package/dist/{esm-deps → esm}/components/or-tag-input-v3/index.js +142 -22
  77. package/dist/{esm-deps → esm}/components/or-tag-v3/index.js +51 -16
  78. package/dist/esm/components/or-tags-v3/index.js +252 -0
  79. package/dist/esm/components/or-teleport-v3/index.js +27 -0
  80. package/dist/{esm-deps → esm}/components/or-text-v3/index.js +17 -1
  81. package/dist/esm/components/or-textarea-v3/index.js +265 -0
  82. package/dist/esm/components/or-time-format-v3/index.js +93 -0
  83. package/dist/esm/components/or-time-picker-v3/index.js +340 -0
  84. package/dist/esm/components/or-time-range-picker-v3/index.js +415 -0
  85. package/dist/{esm-deps → esm}/components/or-toast-v3/index.js +61 -21
  86. package/dist/{esm-deps → esm}/components/or-tooltip-v3/index.js +53 -10
  87. package/dist/{esm-deps → esm}/components/or-tree-v3/index.js +55 -8
  88. package/dist/esm/constants.d.ts +2 -0
  89. package/dist/esm/index.js +129 -0
  90. package/package.json +11 -12
  91. package/src/constants.ts +1 -1
  92. package/dist/esm-deps/OrButton-91f48227.js +0 -39
  93. package/dist/esm-deps/OrCheckbox-cfd587f1.js +0 -43
  94. package/dist/esm-deps/OrDateTimePicker.vue_vue_type_script_lang-92237043.js +0 -275
  95. package/dist/esm-deps/OrDateTimePickerMonthSelect-8ff9ca1b.js +0 -507
  96. package/dist/esm-deps/OrDateTimePickerPopoverHeader-b4f2d13e.js +0 -162
  97. package/dist/esm-deps/OrDateTimePickerTimeSelect-92ce3cf8.js +0 -382
  98. package/dist/esm-deps/OrFormGroup-081248a1.js +0 -38
  99. package/dist/esm-deps/OrHint-fcdf591c.js +0 -35
  100. package/dist/esm-deps/OrIcon-cd8db2b5.js +0 -13
  101. package/dist/esm-deps/OrIconButton-b7d4175c.js +0 -34
  102. package/dist/esm-deps/OrIndicator-c4efdee9.js +0 -16
  103. package/dist/esm-deps/OrInlineInputBox-d9dc104a.js +0 -15
  104. package/dist/esm-deps/OrInputBox-e79531c2.js +0 -34
  105. package/dist/esm-deps/OrLabel-d50a3ebb.js +0 -25
  106. package/dist/esm-deps/OrLoader-4e331586.js +0 -75
  107. package/dist/esm-deps/OrMenu-13beee12.js +0 -26
  108. package/dist/esm-deps/OrMenuItem-c40a275b.js +0 -44
  109. package/dist/esm-deps/OrModal-b06077ec.js +0 -37
  110. package/dist/esm-deps/OrOverlay-d67e7093.js +0 -19
  111. package/dist/esm-deps/OrPopover-bd078650.js +0 -38
  112. package/dist/esm-deps/OrSearch-8e817fad.js +0 -25
  113. package/dist/esm-deps/OrSkeletonText.vue_vue_type_script_lang-890c25e3.js +0 -104
  114. package/dist/esm-deps/OrTagInput-4439b294.js +0 -133
  115. package/dist/esm-deps/OrTags-995e4846.js +0 -73
  116. package/dist/esm-deps/OrTooltip-62181b78.js +0 -32
  117. package/dist/esm-deps/components/or-autocomplete-v3/index.js +0 -383
  118. package/dist/esm-deps/components/or-button-group-v3/index.js +0 -55
  119. package/dist/esm-deps/components/or-checkbox-group-v3/index.js +0 -155
  120. package/dist/esm-deps/components/or-checkbox-tree-v3/index.js +0 -148
  121. package/dist/esm-deps/components/or-code-v3/index.js +0 -1413
  122. package/dist/esm-deps/components/or-combined-input-v3/index.js +0 -83
  123. package/dist/esm-deps/components/or-data-grid-v3/index.js +0 -2111
  124. package/dist/esm-deps/components/or-date-format-v3/index.js +0 -55
  125. package/dist/esm-deps/components/or-date-picker-v3/index.js +0 -232
  126. package/dist/esm-deps/components/or-date-range-picker-v3/index.js +0 -278
  127. package/dist/esm-deps/components/or-date-time-format-v3/index.js +0 -63
  128. package/dist/esm-deps/components/or-date-time-picker-v3/index.js +0 -48
  129. package/dist/esm-deps/components/or-error-tag-v3/index.js +0 -37
  130. package/dist/esm-deps/components/or-fab-v3/index.js +0 -64
  131. package/dist/esm-deps/components/or-filter-popover-v3/index.js +0 -146
  132. package/dist/esm-deps/components/or-form-group-v3/index.js +0 -77
  133. package/dist/esm-deps/components/or-inline-input-v3/index.js +0 -220
  134. package/dist/esm-deps/components/or-inline-textarea-v3/index.js +0 -174
  135. package/dist/esm-deps/components/or-input-v3/index.js +0 -206
  136. package/dist/esm-deps/components/or-list-v3/index.js +0 -3307
  137. package/dist/esm-deps/components/or-loader-v3/index.js +0 -117
  138. package/dist/esm-deps/components/or-menu-v3/index.js +0 -90
  139. package/dist/esm-deps/components/or-overlay-v3/index.js +0 -63
  140. package/dist/esm-deps/components/or-pagination-v3/index.js +0 -232
  141. package/dist/esm-deps/components/or-popover-v3/index.js +0 -1010
  142. package/dist/esm-deps/components/or-radio-group-v3/index.js +0 -115
  143. package/dist/esm-deps/components/or-rich-text-editor-v3/index.js +0 -14305
  144. package/dist/esm-deps/components/or-skeleton-v3/index.js +0 -91
  145. package/dist/esm-deps/components/or-sorting-v3/index.js +0 -92
  146. package/dist/esm-deps/components/or-tags-v3/index.js +0 -210
  147. package/dist/esm-deps/components/or-teleport-v3/index.js +0 -17
  148. package/dist/esm-deps/components/or-textarea-v3/index.js +0 -174
  149. package/dist/esm-deps/components/or-time-format-v3/index.js +0 -55
  150. package/dist/esm-deps/components/or-time-picker-v3/index.js +0 -226
  151. package/dist/esm-deps/components/or-time-range-picker-v3/index.js +0 -265
  152. package/dist/esm-deps/constants-57e8b5da.js +0 -6
  153. package/dist/esm-deps/constants.d.ts +0 -2
  154. package/dist/esm-deps/dom-CwV-xS38-5babad01.js +0 -72
  155. package/dist/esm-deps/dropdown-open-k6cFnrqA-b1726667.js +0 -17
  156. package/dist/esm-deps/extractCssVarName-IHa2pGlF-614fb8d2.js +0 -85
  157. package/dist/esm-deps/formatDate-0536a8d5.js +0 -11
  158. package/dist/esm-deps/formatTime-6d5fedb0.js +0 -14
  159. package/dist/esm-deps/getNextMonthDate-25fe3c1a.js +0 -6
  160. package/dist/esm-deps/index-df637b06.js +0 -407
  161. package/dist/esm-deps/index-f0e8521b.js +0 -19754
  162. package/dist/esm-deps/index.js +0 -2658
  163. package/dist/esm-deps/props-bba3dca8.js +0 -21
  164. package/dist/esm-deps/searchItemsByLabel-BhinsABA-b8049fb6.js +0 -11
  165. package/dist/esm-deps/style-inject.es-87955792.js +0 -26
  166. package/dist/esm-deps/types-75a1cc13.js +0 -14
  167. package/dist/esm-deps/types-98e9a758.js +0 -18
  168. package/dist/esm-deps/useValidationAttributes-DxhcSj_h-3380c3cf.js +0 -4004
  169. /package/dist/{esm-deps → esm}/components/index.d.ts +0 -0
  170. /package/dist/{esm-deps → esm}/components/or-autocomplete-v3/OrAutocomplete.vue.d.ts +0 -0
  171. /package/dist/{esm-deps → esm}/components/or-autocomplete-v3/index.d.ts +0 -0
  172. /package/dist/{esm-deps → esm}/components/or-autocomplete-v3/styles.d.ts +0 -0
  173. /package/dist/{esm-deps → esm}/components/or-autocomplete-v3/types.d.ts +0 -0
  174. /package/dist/{esm-deps → esm}/components/or-avatar-v3/OrAvatar.vue.d.ts +0 -0
  175. /package/dist/{esm-deps → esm}/components/or-avatar-v3/index.d.ts +0 -0
  176. /package/dist/{esm-deps → esm}/components/or-avatar-v3/props.d.ts +0 -0
  177. /package/dist/{esm-deps → esm}/components/or-avatar-v3/styles.d.ts +0 -0
  178. /package/dist/{esm-deps → esm}/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +0 -0
  179. /package/dist/{esm-deps → esm}/components/or-bottom-sheet-v3/hooks/useBottomSheetSwipeState.d.ts +0 -0
  180. /package/dist/{esm-deps → esm}/components/or-bottom-sheet-v3/index.d.ts +0 -0
  181. /package/dist/{esm-deps → esm}/components/or-bottom-sheet-v3/props.d.ts +0 -0
  182. /package/dist/{esm-deps → esm}/components/or-bottom-sheet-v3/styles.d.ts +0 -0
  183. /package/dist/{esm-deps → esm}/components/or-button-group-v3/OrButtonGroup.vue.d.ts +0 -0
  184. /package/dist/{esm-deps → esm}/components/or-button-group-v3/index.d.ts +0 -0
  185. /package/dist/{esm-deps → esm}/components/or-button-group-v3/styles.d.ts +0 -0
  186. /package/dist/{esm-deps → esm}/components/or-button-v3/OrButton.vue.d.ts +0 -0
  187. /package/dist/{esm-deps → esm}/components/or-button-v3/constants.d.ts +0 -0
  188. /package/dist/{esm-deps → esm}/components/or-button-v3/index.d.ts +0 -0
  189. /package/dist/{esm-deps → esm}/components/or-button-v3/props.d.ts +0 -0
  190. /package/dist/{esm-deps → esm}/components/or-button-v3/styles.d.ts +0 -0
  191. /package/dist/{esm-deps → esm}/components/or-card-collection-v3/OrCardCollection.vue.d.ts +0 -0
  192. /package/dist/{esm-deps → esm}/components/or-card-collection-v3/index.d.ts +0 -0
  193. /package/dist/{esm-deps → esm}/components/or-card-collection-v3/partials/OrCardCollectionView.vue3.vue.d.ts +0 -0
  194. /package/dist/{esm-deps → esm}/components/or-card-collection-v3/props.d.ts +0 -0
  195. /package/dist/{esm-deps → esm}/components/or-card-collection-v3/styles.d.ts +0 -0
  196. /package/dist/{esm-deps → esm}/components/or-card-collection-v3/types.d.ts +0 -0
  197. /package/dist/{esm-deps → esm}/components/or-card-v3/OrCard.vue.d.ts +0 -0
  198. /package/dist/{esm-deps → esm}/components/or-card-v3/index.d.ts +0 -0
  199. /package/dist/{esm-deps → esm}/components/or-card-v3/props.d.ts +0 -0
  200. /package/dist/{esm-deps → esm}/components/or-card-v3/styles.d.ts +0 -0
  201. /package/dist/{esm-deps → esm}/components/or-checkbox-group-v3/OrCheckboxGroup.vue.d.ts +0 -0
  202. /package/dist/{esm-deps → esm}/components/or-checkbox-group-v3/index.d.ts +0 -0
  203. /package/dist/{esm-deps → esm}/components/or-checkbox-tree-v3/OrCheckboxTree.vue.d.ts +0 -0
  204. /package/dist/{esm-deps → esm}/components/or-checkbox-tree-v3/index.d.ts +0 -0
  205. /package/dist/{esm-deps → esm}/components/or-checkbox-tree-v3/styles.d.ts +0 -0
  206. /package/dist/{esm-deps → esm}/components/or-checkbox-tree-v3/types.d.ts +0 -0
  207. /package/dist/{esm-deps → esm}/components/or-checkbox-tree-v3/utils/extractChildrenValues.d.ts +0 -0
  208. /package/dist/{esm-deps → esm}/components/or-checkbox-v3/OrCheckbox.vue.d.ts +0 -0
  209. /package/dist/{esm-deps → esm}/components/or-checkbox-v3/index.d.ts +0 -0
  210. /package/dist/{esm-deps → esm}/components/or-checkbox-v3/styles.d.ts +0 -0
  211. /package/dist/{esm-deps → esm}/components/or-checkbox-v3/types.d.ts +0 -0
  212. /package/dist/{esm-deps → esm}/components/or-code-v3/OrCode.vue.d.ts +0 -0
  213. /package/dist/{esm-deps → esm}/components/or-code-v3/index.d.ts +0 -0
  214. /package/dist/{esm-deps → esm}/components/or-code-v3/libs.d.ts +0 -0
  215. /package/dist/{esm-deps → esm}/components/or-code-v3/partials/OrCodeControl.vue.d.ts +0 -0
  216. /package/dist/{esm-deps → esm}/components/or-code-v3/props.d.ts +0 -0
  217. /package/dist/{esm-deps → esm}/components/or-code-v3/styles.d.ts +0 -0
  218. /package/dist/{esm-deps → esm}/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -0
  219. /package/dist/{esm-deps → esm}/components/or-combined-input-v3/index.d.ts +0 -0
  220. /package/dist/{esm-deps → esm}/components/or-combined-input-v3/styles.d.ts +0 -0
  221. /package/dist/{esm-deps → esm}/components/or-confirm-v3/OrConfirm.vue.d.ts +0 -0
  222. /package/dist/{esm-deps → esm}/components/or-confirm-v3/index.d.ts +0 -0
  223. /package/dist/{esm-deps → esm}/components/or-confirm-v3/props.d.ts +0 -0
  224. /package/dist/{esm-deps → esm}/components/or-confirm-v3/styles.d.ts +0 -0
  225. /package/dist/{esm-deps → esm}/components/or-context-menu-v3/OrContextMenu.vue.d.ts +0 -0
  226. /package/dist/{esm-deps → esm}/components/or-context-menu-v3/index.d.ts +0 -0
  227. /package/dist/{esm-deps → esm}/components/or-data-grid-v3/OrDataGrid.vue.d.ts +0 -0
  228. /package/dist/{esm-deps → esm}/components/or-data-grid-v3/index.d.ts +0 -0
  229. /package/dist/{esm-deps → esm}/components/or-data-grid-v3/partials/index.d.ts +0 -0
  230. /package/dist/{esm-deps → esm}/components/or-data-grid-v3/partials/or-data-grid-footer/OrDataGridFooter.vue.d.ts +0 -0
  231. /package/dist/{esm-deps → esm}/components/or-data-grid-v3/partials/or-data-grid-footer/styles.d.ts +0 -0
  232. /package/dist/{esm-deps → esm}/components/or-data-grid-v3/partials/or-data-grid-header/OrDataGridHeader.vue.d.ts +0 -0
  233. /package/dist/{esm-deps → esm}/components/or-data-grid-v3/partials/or-data-grid-header/styles.d.ts +0 -0
  234. /package/dist/{esm-deps → esm}/components/or-data-grid-v3/partials/or-data-grid-table/OrDataGridTable.vue.d.ts +0 -0
  235. /package/dist/{esm-deps → esm}/components/or-data-grid-v3/partials/or-data-grid-table/styles.d.ts +0 -0
  236. /package/dist/{esm-deps → esm}/components/or-data-grid-v3/partials/or-data-grid-table-content/OrDataGridTableContent.vue.d.ts +0 -0
  237. /package/dist/{esm-deps → esm}/components/or-data-grid-v3/partials/or-data-grid-table-content/styles.d.ts +0 -0
  238. /package/dist/{esm-deps → esm}/components/or-data-grid-v3/partials/or-data-grid-table-content-cell/OrDataGridTableContentCell.vue.d.ts +0 -0
  239. /package/dist/{esm-deps → esm}/components/or-data-grid-v3/partials/or-data-grid-table-content-cell/styles.d.ts +0 -0
  240. /package/dist/{esm-deps → esm}/components/or-data-grid-v3/partials/or-data-grid-table-content-row/OrDataGridTableContentRow.vue.d.ts +0 -0
  241. /package/dist/{esm-deps → esm}/components/or-data-grid-v3/partials/or-data-grid-table-content-row/styles.d.ts +0 -0
  242. /package/dist/{esm-deps → esm}/components/or-data-grid-v3/partials/or-data-grid-table-footer/OrDataGridTableFooter.vue.d.ts +0 -0
  243. /package/dist/{esm-deps → esm}/components/or-data-grid-v3/partials/or-data-grid-table-footer/styles.d.ts +0 -0
  244. /package/dist/{esm-deps → esm}/components/or-data-grid-v3/partials/or-data-grid-table-footer-cell/OrDataGridTableFooterCell.vue.d.ts +0 -0
  245. /package/dist/{esm-deps → esm}/components/or-data-grid-v3/partials/or-data-grid-table-footer-cell/styles.d.ts +0 -0
  246. /package/dist/{esm-deps → esm}/components/or-data-grid-v3/partials/or-data-grid-table-footer-row/OrDataGridTableFooterRow.vue.d.ts +0 -0
  247. /package/dist/{esm-deps → esm}/components/or-data-grid-v3/partials/or-data-grid-table-footer-row/styles.d.ts +0 -0
  248. /package/dist/{esm-deps → esm}/components/or-data-grid-v3/partials/or-data-grid-table-header/OrDataGridTableHeader.vue.d.ts +0 -0
  249. /package/dist/{esm-deps → esm}/components/or-data-grid-v3/partials/or-data-grid-table-header/styles.d.ts +0 -0
  250. /package/dist/{esm-deps → esm}/components/or-data-grid-v3/partials/or-data-grid-table-header-cell/OrDataGridTableHeaderCell.vue.d.ts +0 -0
  251. /package/dist/{esm-deps → esm}/components/or-data-grid-v3/partials/or-data-grid-table-header-cell/styles.d.ts +0 -0
  252. /package/dist/{esm-deps → esm}/components/or-data-grid-v3/partials/or-data-grid-table-header-row/OrDataGridTableHeaderRow.vue.d.ts +0 -0
  253. /package/dist/{esm-deps → esm}/components/or-data-grid-v3/partials/or-data-grid-table-header-row/styles.d.ts +0 -0
  254. /package/dist/{esm-deps → esm}/components/or-data-grid-v3/partials/or-data-grid-table-placeholder/OrDataGridTablePlaceholder.vue.d.ts +0 -0
  255. /package/dist/{esm-deps → esm}/components/or-data-grid-v3/partials/or-data-grid-table-placeholder/styles.d.ts +0 -0
  256. /package/dist/{esm-deps → esm}/components/or-data-grid-v3/partials/or-data-grid-toolbar/OrDataGridToolbar.vue.d.ts +0 -0
  257. /package/dist/{esm-deps → esm}/components/or-data-grid-v3/partials/or-data-grid-toolbar/styles.d.ts +0 -0
  258. /package/dist/{esm-deps → esm}/components/or-data-grid-v3/styles.d.ts +0 -0
  259. /package/dist/{esm-deps → esm}/components/or-data-grid-v3/types.d.ts +0 -0
  260. /package/dist/{esm-deps → esm}/components/or-date-format-v3/OrDateFormat.vue.d.ts +0 -0
  261. /package/dist/{esm-deps → esm}/components/or-date-format-v3/index.d.ts +0 -0
  262. /package/dist/{esm-deps → esm}/components/or-date-format-v3/styles.d.ts +0 -0
  263. /package/dist/{esm-deps → esm}/components/or-date-picker-v3/OrDatePicker.vue.d.ts +0 -0
  264. /package/dist/{esm-deps → esm}/components/or-date-picker-v3/index.d.ts +0 -0
  265. /package/dist/{esm-deps → esm}/components/or-date-picker-v3/styles.d.ts +0 -0
  266. /package/dist/{esm-deps → esm}/components/or-date-range-picker-v3/OrDateRangePicker.vue.d.ts +0 -0
  267. /package/dist/{esm-deps → esm}/components/or-date-range-picker-v3/index.d.ts +0 -0
  268. /package/dist/{esm-deps → esm}/components/or-date-range-picker-v3/styles.d.ts +0 -0
  269. /package/dist/{esm-deps → esm}/components/or-date-range-picker-v3/types.d.ts +0 -0
  270. /package/dist/{esm-deps → esm}/components/or-date-time-format-v3/OrDateTimeFormat.vue.d.ts +0 -0
  271. /package/dist/{esm-deps → esm}/components/or-date-time-format-v3/index.d.ts +0 -0
  272. /package/dist/{esm-deps → esm}/components/or-date-time-format-v3/styles.d.ts +0 -0
  273. /package/dist/{esm-deps → esm}/components/or-date-time-picker-v3/OrDateTimePicker.vue.d.ts +0 -0
  274. /package/dist/{esm-deps → esm}/components/or-date-time-picker-v3/index.d.ts +0 -0
  275. /package/dist/{esm-deps → esm}/components/or-date-time-picker-v3/partials/index.d.ts +0 -0
  276. /package/dist/{esm-deps → esm}/components/or-date-time-picker-v3/partials/or-date-time-picker-date-control/OrDateTimePickerDateControl.vue.d.ts +0 -0
  277. /package/dist/{esm-deps → esm}/components/or-date-time-picker-v3/partials/or-date-time-picker-date-control/styles.d.ts +0 -0
  278. /package/dist/{esm-deps → esm}/components/or-date-time-picker-v3/partials/or-date-time-picker-date-select/OrDateTimePickerDateSelect.vue.d.ts +0 -0
  279. /package/dist/{esm-deps → esm}/components/or-date-time-picker-v3/partials/or-date-time-picker-date-select/styles.d.ts +0 -0
  280. /package/dist/{esm-deps → esm}/components/or-date-time-picker-v3/partials/or-date-time-picker-mobile-control/OrDateTimePickerMobileControl.vue.d.ts +0 -0
  281. /package/dist/{esm-deps → esm}/components/or-date-time-picker-v3/partials/or-date-time-picker-mobile-control/styles.d.ts +0 -0
  282. /package/dist/{esm-deps → esm}/components/or-date-time-picker-v3/partials/or-date-time-picker-month-select/OrDateTimePickerMonthSelect.vue.d.ts +0 -0
  283. /package/dist/{esm-deps → esm}/components/or-date-time-picker-v3/partials/or-date-time-picker-month-select/styles.d.ts +0 -0
  284. /package/dist/{esm-deps → esm}/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-footer/OrDateTimePickerPopoverFooter.vue.d.ts +0 -0
  285. /package/dist/{esm-deps → esm}/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-footer/styles.d.ts +0 -0
  286. /package/dist/{esm-deps → esm}/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-header/OrDateTimePickerPopoverHeader.vue.d.ts +0 -0
  287. /package/dist/{esm-deps → esm}/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-header/styles.d.ts +0 -0
  288. /package/dist/{esm-deps → esm}/components/or-date-time-picker-v3/partials/or-date-time-picker-time-control/OrDateTimePickerTimeControl.vue.d.ts +0 -0
  289. /package/dist/{esm-deps → esm}/components/or-date-time-picker-v3/partials/or-date-time-picker-time-control/styles.d.ts +0 -0
  290. /package/dist/{esm-deps → esm}/components/or-date-time-picker-v3/partials/or-date-time-picker-time-select/OrDateTimePickerTimeSelect.vue.d.ts +0 -0
  291. /package/dist/{esm-deps → esm}/components/or-date-time-picker-v3/partials/or-date-time-picker-time-select/styles.d.ts +0 -0
  292. /package/dist/{esm-deps → esm}/components/or-date-time-picker-v3/styles.d.ts +0 -0
  293. /package/dist/{esm-deps → esm}/components/or-date-time-picker-v3/types.d.ts +0 -0
  294. /package/dist/{esm-deps → esm}/components/or-date-time-picker-v3/utils/formatDate.d.ts +0 -0
  295. /package/dist/{esm-deps → esm}/components/or-date-time-picker-v3/utils/formatMobileDate.d.ts +0 -0
  296. /package/dist/{esm-deps → esm}/components/or-date-time-picker-v3/utils/formatMobileTime.d.ts +0 -0
  297. /package/dist/{esm-deps → esm}/components/or-date-time-picker-v3/utils/formatTime.d.ts +0 -0
  298. /package/dist/{esm-deps → esm}/components/or-date-time-picker-v3/utils/getCurrentDate.d.ts +0 -0
  299. /package/dist/{esm-deps → esm}/components/or-date-time-picker-v3/utils/getNextMonthDate.d.ts +0 -0
  300. /package/dist/{esm-deps → esm}/components/or-date-time-picker-v3/utils/index.d.ts +0 -0
  301. /package/dist/{esm-deps → esm}/components/or-date-time-picker-v3/utils/scrollToElementWithinContainer.d.ts +0 -0
  302. /package/dist/{esm-deps → esm}/components/or-drawer-v3/OrDrawer.vue.d.ts +0 -0
  303. /package/dist/{esm-deps → esm}/components/or-drawer-v3/index.d.ts +0 -0
  304. /package/dist/{esm-deps → esm}/components/or-drawer-v3/styles.d.ts +0 -0
  305. /package/dist/{esm-deps → esm}/components/or-drawer-v3/types.d.ts +0 -0
  306. /package/dist/{esm-deps → esm}/components/or-drop-area-v3/OrDropArea.vue.d.ts +0 -0
  307. /package/dist/{esm-deps → esm}/components/or-drop-area-v3/index.d.ts +0 -0
  308. /package/dist/{esm-deps → esm}/components/or-drop-area-v3/props.d.ts +0 -0
  309. /package/dist/{esm-deps → esm}/components/or-drop-area-v3/styles.d.ts +0 -0
  310. /package/dist/{esm-deps → esm}/components/or-drop-area-v3/utils/approximateFileSize.d.ts +0 -0
  311. /package/dist/{esm-deps → esm}/components/or-drop-area-v3/utils/index.d.ts +0 -0
  312. /package/dist/{esm-deps → esm}/components/or-editor-tabs-v3/OrEditorTabs.vue.d.ts +0 -0
  313. /package/dist/{esm-deps → esm}/components/or-editor-tabs-v3/constants.d.ts +0 -0
  314. /package/dist/{esm-deps → esm}/components/or-editor-tabs-v3/index.d.ts +0 -0
  315. /package/dist/{esm-deps → esm}/components/or-editor-tabs-v3/partials/index.d.ts +0 -0
  316. /package/dist/{esm-deps → esm}/components/or-editor-tabs-v3/partials/or-editor-tabs-item/OrEditorTabsItem.vue.d.ts +0 -0
  317. /package/dist/{esm-deps → esm}/components/or-editor-tabs-v3/partials/or-editor-tabs-item/styles.d.ts +0 -0
  318. /package/dist/{esm-deps → esm}/components/or-editor-tabs-v3/props.d.ts +0 -0
  319. /package/dist/{esm-deps → esm}/components/or-editor-tabs-v3/styles.d.ts +0 -0
  320. /package/dist/{esm-deps → esm}/components/or-empty-state-v3/OrEmptyState.vue.d.ts +0 -0
  321. /package/dist/{esm-deps → esm}/components/or-empty-state-v3/index.d.ts +0 -0
  322. /package/dist/{esm-deps → esm}/components/or-empty-state-v3/props.d.ts +0 -0
  323. /package/dist/{esm-deps → esm}/components/or-empty-state-v3/styles.d.ts +0 -0
  324. /package/dist/{esm-deps → esm}/components/or-empty-state-v3/types.d.ts +0 -0
  325. /package/dist/{esm-deps → esm}/components/or-error-tag-v3/OrErrorTag.vue.d.ts +0 -0
  326. /package/dist/{esm-deps → esm}/components/or-error-tag-v3/index.d.ts +0 -0
  327. /package/dist/{esm-deps → esm}/components/or-error-tag-v3/styles.d.ts +0 -0
  328. /package/dist/{esm-deps → esm}/components/or-error-v3/OrError.vue.d.ts +0 -0
  329. /package/dist/{esm-deps → esm}/components/or-error-v3/index.d.ts +0 -0
  330. /package/dist/{esm-deps → esm}/components/or-error-v3/styles.d.ts +0 -0
  331. /package/dist/{esm-deps → esm}/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +0 -0
  332. /package/dist/{esm-deps → esm}/components/or-expansion-panel-v3/index.d.ts +0 -0
  333. /package/dist/{esm-deps → esm}/components/or-expansion-panel-v3/props.d.ts +0 -0
  334. /package/dist/{esm-deps → esm}/components/or-expansion-panel-v3/styles.d.ts +0 -0
  335. /package/dist/{esm-deps → esm}/components/or-fab-v3/OrFab.vue.d.ts +0 -0
  336. /package/dist/{esm-deps → esm}/components/or-fab-v3/constants.d.ts +0 -0
  337. /package/dist/{esm-deps → esm}/components/or-fab-v3/index.d.ts +0 -0
  338. /package/dist/{esm-deps → esm}/components/or-fab-v3/props.d.ts +0 -0
  339. /package/dist/{esm-deps → esm}/components/or-fab-v3/styles.d.ts +0 -0
  340. /package/dist/{esm-deps → esm}/components/or-filter-popover-v3/OrFilterPopover.vue.d.ts +0 -0
  341. /package/dist/{esm-deps → esm}/components/or-filter-popover-v3/index.d.ts +0 -0
  342. /package/dist/{esm-deps → esm}/components/or-filter-popover-v3/styles.d.ts +0 -0
  343. /package/dist/{esm-deps → esm}/components/or-filter-trigger-v3/OrFilterTrigger.vue.d.ts +0 -0
  344. /package/dist/{esm-deps → esm}/components/or-filter-trigger-v3/index.d.ts +0 -0
  345. /package/dist/{esm-deps → esm}/components/or-filter-trigger-v3/styles.d.ts +0 -0
  346. /package/dist/{esm-deps → esm}/components/or-filter-v3/OrFilter.vue.d.ts +0 -0
  347. /package/dist/{esm-deps → esm}/components/or-filter-v3/index.d.ts +0 -0
  348. /package/dist/{esm-deps → esm}/components/or-filter-v3/styles.d.ts +0 -0
  349. /package/dist/{esm-deps → esm}/components/or-form-group-v3/OrFormGroup.vue.d.ts +0 -0
  350. /package/dist/{esm-deps → esm}/components/or-form-group-v3/index.d.ts +0 -0
  351. /package/dist/{esm-deps → esm}/components/or-form-group-v3/styles.d.ts +0 -0
  352. /package/dist/{esm-deps → esm}/components/or-form-group-v3/types.d.ts +0 -0
  353. /package/dist/{esm-deps → esm}/components/or-hint-v3/OrHint.vue.d.ts +0 -0
  354. /package/dist/{esm-deps → esm}/components/or-hint-v3/index.d.ts +0 -0
  355. /package/dist/{esm-deps → esm}/components/or-hint-v3/styles.d.ts +0 -0
  356. /package/dist/{esm-deps → esm}/components/or-icon-button-v3/OrIconButton.vue.d.ts +0 -0
  357. /package/dist/{esm-deps → esm}/components/or-icon-button-v3/constants.d.ts +0 -0
  358. /package/dist/{esm-deps → esm}/components/or-icon-button-v3/index.d.ts +0 -0
  359. /package/dist/{esm-deps → esm}/components/or-icon-button-v3/props.d.ts +0 -0
  360. /package/dist/{esm-deps → esm}/components/or-icon-button-v3/styles.d.ts +0 -0
  361. /package/dist/{esm-deps → esm}/components/or-icon-v3/OrIcon.vue.d.ts +0 -0
  362. /package/dist/{esm-deps → esm}/components/or-icon-v3/index.d.ts +0 -0
  363. /package/dist/{esm-deps → esm}/components/or-icon-v3/props.d.ts +0 -0
  364. /package/dist/{esm-deps → esm}/components/or-icon-v3/styles.d.ts +0 -0
  365. /package/dist/{esm-deps → esm}/components/or-indicator-v3/OrIndicator.vue.d.ts +0 -0
  366. /package/dist/{esm-deps → esm}/components/or-indicator-v3/index.d.ts +0 -0
  367. /package/dist/{esm-deps → esm}/components/or-indicator-v3/props.d.ts +0 -0
  368. /package/dist/{esm-deps → esm}/components/or-indicator-v3/styles.d.ts +0 -0
  369. /package/dist/{esm-deps → esm}/components/or-inline-input-box-v3/OrInlineInputBox.vue.d.ts +0 -0
  370. /package/dist/{esm-deps → esm}/components/or-inline-input-box-v3/index.d.ts +0 -0
  371. /package/dist/{esm-deps → esm}/components/or-inline-input-box-v3/props.d.ts +0 -0
  372. /package/dist/{esm-deps → esm}/components/or-inline-input-box-v3/styles.d.ts +0 -0
  373. /package/dist/{esm-deps → esm}/components/or-inline-input-v3/OrInlineInput.vue.d.ts +0 -0
  374. /package/dist/{esm-deps → esm}/components/or-inline-input-v3/index.d.ts +0 -0
  375. /package/dist/{esm-deps → esm}/components/or-inline-input-v3/styles.d.ts +0 -0
  376. /package/dist/{esm-deps → esm}/components/or-inline-input-v3/types.d.ts +0 -0
  377. /package/dist/{esm-deps → esm}/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +0 -0
  378. /package/dist/{esm-deps → esm}/components/or-inline-textarea-v3/index.d.ts +0 -0
  379. /package/dist/{esm-deps → esm}/components/or-inline-textarea-v3/styles.d.ts +0 -0
  380. /package/dist/{esm-deps → esm}/components/or-inline-textarea-v3/types.d.ts +0 -0
  381. /package/dist/{esm-deps → esm}/components/or-input-box-v3/OrInputBox.vue.d.ts +0 -0
  382. /package/dist/{esm-deps → esm}/components/or-input-box-v3/index.d.ts +0 -0
  383. /package/dist/{esm-deps → esm}/components/or-input-box-v3/partials/or-input-box-addon/OrInputBoxAddon.vue.d.ts +0 -0
  384. /package/dist/{esm-deps → esm}/components/or-input-box-v3/partials/or-input-box-addon/styles.d.ts +0 -0
  385. /package/dist/{esm-deps → esm}/components/or-input-box-v3/styles.d.ts +0 -0
  386. /package/dist/{esm-deps → esm}/components/or-input-box-v3/types.d.ts +0 -0
  387. /package/dist/{esm-deps → esm}/components/or-input-v3/OrInput.vue.d.ts +0 -0
  388. /package/dist/{esm-deps → esm}/components/or-input-v3/index.d.ts +0 -0
  389. /package/dist/{esm-deps → esm}/components/or-input-v3/styles.d.ts +0 -0
  390. /package/dist/{esm-deps → esm}/components/or-input-v3/types.d.ts +0 -0
  391. /package/dist/{esm-deps → esm}/components/or-label-v3/OrLabel.vue.d.ts +0 -0
  392. /package/dist/{esm-deps → esm}/components/or-label-v3/index.d.ts +0 -0
  393. /package/dist/{esm-deps → esm}/components/or-label-v3/styles.d.ts +0 -0
  394. /package/dist/{esm-deps → esm}/components/or-label-v3/types.d.ts +0 -0
  395. /package/dist/{esm-deps → esm}/components/or-link-v3/OrLink.vue.d.ts +0 -0
  396. /package/dist/{esm-deps → esm}/components/or-link-v3/index.d.ts +0 -0
  397. /package/dist/{esm-deps → esm}/components/or-link-v3/props.d.ts +0 -0
  398. /package/dist/{esm-deps → esm}/components/or-link-v3/styles.d.ts +0 -0
  399. /package/dist/{esm-deps → esm}/components/or-list-v3/OrList.vue.d.ts +0 -0
  400. /package/dist/{esm-deps → esm}/components/or-list-v3/index.d.ts +0 -0
  401. /package/dist/{esm-deps → esm}/components/or-list-v3/partials/index.d.ts +0 -0
  402. /package/dist/{esm-deps → esm}/components/or-list-v3/partials/or-list-item/OrListItem.vue.d.ts +0 -0
  403. /package/dist/{esm-deps → esm}/components/or-list-v3/partials/or-list-item/styles.d.ts +0 -0
  404. /package/dist/{esm-deps → esm}/components/or-list-v3/styles.d.ts +0 -0
  405. /package/dist/{esm-deps → esm}/components/or-list-v3/types.d.ts +0 -0
  406. /package/dist/{esm-deps → esm}/components/or-loader-v3/OrLoader.vue.d.ts +0 -0
  407. /package/dist/{esm-deps → esm}/components/or-loader-v3/index.d.ts +0 -0
  408. /package/dist/{esm-deps → esm}/components/or-loader-v3/props.d.ts +0 -0
  409. /package/dist/{esm-deps → esm}/components/or-loader-v3/styles.d.ts +0 -0
  410. /package/dist/{esm-deps → esm}/components/or-menu-item-v3/OrMenuItem.vue.d.ts +0 -0
  411. /package/dist/{esm-deps → esm}/components/or-menu-item-v3/index.d.ts +0 -0
  412. /package/dist/{esm-deps → esm}/components/or-menu-item-v3/styles.d.ts +0 -0
  413. /package/dist/{esm-deps → esm}/components/or-menu-v3/OrMenu.vue.d.ts +0 -0
  414. /package/dist/{esm-deps → esm}/components/or-menu-v3/index.d.ts +0 -0
  415. /package/dist/{esm-deps → esm}/components/or-menu-v3/styles.d.ts +0 -0
  416. /package/dist/{esm-deps → esm}/components/or-modal-v3/OrModal.vue.d.ts +0 -0
  417. /package/dist/{esm-deps → esm}/components/or-modal-v3/index.d.ts +0 -0
  418. /package/dist/{esm-deps → esm}/components/or-modal-v3/partials/or-modal-content/OrModalContent.vue.d.ts +0 -0
  419. /package/dist/{esm-deps → esm}/components/or-modal-v3/partials/or-modal-content/styles.d.ts +0 -0
  420. /package/dist/{esm-deps → esm}/components/or-modal-v3/partials/or-modal-footer/OrModalFooter.vue.d.ts +0 -0
  421. /package/dist/{esm-deps → esm}/components/or-modal-v3/partials/or-modal-footer/styles.d.ts +0 -0
  422. /package/dist/{esm-deps → esm}/components/or-modal-v3/partials/or-modal-header/OrModalHeader.vue.d.ts +0 -0
  423. /package/dist/{esm-deps → esm}/components/or-modal-v3/partials/or-modal-header/styles.d.ts +0 -0
  424. /package/dist/{esm-deps → esm}/components/or-modal-v3/props.d.ts +0 -0
  425. /package/dist/{esm-deps → esm}/components/or-modal-v3/styles.d.ts +0 -0
  426. /package/dist/{esm-deps → esm}/components/or-notification-v3/OrNotification.vue.d.ts +0 -0
  427. /package/dist/{esm-deps → esm}/components/or-notification-v3/index.d.ts +0 -0
  428. /package/dist/{esm-deps → esm}/components/or-notification-v3/props.d.ts +0 -0
  429. /package/dist/{esm-deps → esm}/components/or-notification-v3/styles.d.ts +0 -0
  430. /package/dist/{esm-deps → esm}/components/or-overlay-v3/OrOverlay.vue.d.ts +0 -0
  431. /package/dist/{esm-deps → esm}/components/or-overlay-v3/constants.d.ts +0 -0
  432. /package/dist/{esm-deps → esm}/components/or-overlay-v3/index.d.ts +0 -0
  433. /package/dist/{esm-deps → esm}/components/or-overlay-v3/styles.d.ts +0 -0
  434. /package/dist/{esm-deps → esm}/components/or-pagination-v3/OrPagination.vue.d.ts +0 -0
  435. /package/dist/{esm-deps → esm}/components/or-pagination-v3/index.d.ts +0 -0
  436. /package/dist/{esm-deps → esm}/components/or-pagination-v3/styles.d.ts +0 -0
  437. /package/dist/{esm-deps → esm}/components/or-pagination-v3/types.d.ts +0 -0
  438. /package/dist/{esm-deps → esm}/components/or-popover-v3/OrPopover.vue.d.ts +0 -0
  439. /package/dist/{esm-deps → esm}/components/or-popover-v3/hooks/types.d.ts +0 -0
  440. /package/dist/{esm-deps → esm}/components/or-popover-v3/hooks/useFloating.d.ts +0 -0
  441. /package/dist/{esm-deps → esm}/components/or-popover-v3/index.d.ts +0 -0
  442. /package/dist/{esm-deps → esm}/components/or-popover-v3/props.d.ts +0 -0
  443. /package/dist/{esm-deps → esm}/components/or-popover-v3/styles.d.ts +0 -0
  444. /package/dist/{esm-deps → esm}/components/or-popover-v3/utils/index.d.ts +0 -0
  445. /package/dist/{esm-deps → esm}/components/or-popover-v3/utils/isPrevented.d.ts +0 -0
  446. /package/dist/{esm-deps → esm}/components/or-progress-v3/OrProgress.vue.d.ts +0 -0
  447. /package/dist/{esm-deps → esm}/components/or-progress-v3/index.d.ts +0 -0
  448. /package/dist/{esm-deps → esm}/components/or-progress-v3/props.d.ts +0 -0
  449. /package/dist/{esm-deps → esm}/components/or-progress-v3/styles.d.ts +0 -0
  450. /package/dist/{esm-deps → esm}/components/or-radio-group-v3/OrRadioGroup.vue.d.ts +0 -0
  451. /package/dist/{esm-deps → esm}/components/or-radio-group-v3/index.d.ts +0 -0
  452. /package/dist/{esm-deps → esm}/components/or-radio-group-v3/types.d.ts +0 -0
  453. /package/dist/{esm-deps → esm}/components/or-radio-v3/OrRadio.vue.d.ts +0 -0
  454. /package/dist/{esm-deps → esm}/components/or-radio-v3/index.d.ts +0 -0
  455. /package/dist/{esm-deps → esm}/components/or-radio-v3/styles.d.ts +0 -0
  456. /package/dist/{esm-deps → esm}/components/or-radio-v3/types.d.ts +0 -0
  457. /package/dist/{esm-deps → esm}/components/or-range-slider-v3/OrRangeSlider.vue.d.ts +0 -0
  458. /package/dist/{esm-deps → esm}/components/or-range-slider-v3/index.d.ts +0 -0
  459. /package/dist/{esm-deps → esm}/components/or-range-slider-v3/styles.d.ts +0 -0
  460. /package/dist/{esm-deps → esm}/components/or-range-slider-v3/types.d.ts +0 -0
  461. /package/dist/{esm-deps → esm}/components/or-rating-v3/OrRating.vue.d.ts +0 -0
  462. /package/dist/{esm-deps → esm}/components/or-rating-v3/index.d.ts +0 -0
  463. /package/dist/{esm-deps → esm}/components/or-rating-v3/styles.d.ts +0 -0
  464. /package/dist/{esm-deps → esm}/components/or-rating-v3/types.d.ts +0 -0
  465. /package/dist/{esm-deps → esm}/components/or-resizeable-panel-v3/OrResizeablePanel.vue.d.ts +0 -0
  466. /package/dist/{esm-deps → esm}/components/or-resizeable-panel-v3/index.d.ts +0 -0
  467. /package/dist/{esm-deps → esm}/components/or-resizeable-panel-v3/props.d.ts +0 -0
  468. /package/dist/{esm-deps → esm}/components/or-resizeable-panel-v3/styles.d.ts +0 -0
  469. /package/dist/{esm-deps → esm}/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +0 -0
  470. /package/dist/{esm-deps → esm}/components/or-rich-text-editor-v3/index.d.ts +0 -0
  471. /package/dist/{esm-deps → esm}/components/or-rich-text-editor-v3/props.d.ts +0 -0
  472. /package/dist/{esm-deps → esm}/components/or-rich-text-editor-v3/styles.d.ts +0 -0
  473. /package/dist/{esm-deps → esm}/components/or-rich-text-editor-v3/utils/codemirror/codemirrorNode.d.ts +0 -0
  474. /package/dist/{esm-deps → esm}/components/or-rich-text-editor-v3/utils/codemirror/codemirrorView.d.ts +0 -0
  475. /package/dist/{esm-deps → esm}/components/or-rich-text-editor-v3/utils/codemirror/index.d.ts +0 -0
  476. /package/dist/{esm-deps → esm}/components/or-rich-text-editor-v3/utils/codemirror/theme.d.ts +0 -0
  477. /package/dist/{esm-deps → esm}/components/or-rich-text-editor-v3/utils/codemirror/types.d.ts +0 -0
  478. /package/dist/{esm-deps → esm}/components/or-rich-text-editor-v3/utils/markdown.d.ts +0 -0
  479. /package/dist/{esm-deps → esm}/components/or-rich-tooltip-v3/OrRichTooltip.vue.d.ts +0 -0
  480. /package/dist/{esm-deps → esm}/components/or-rich-tooltip-v3/index.d.ts +0 -0
  481. /package/dist/{esm-deps → esm}/components/or-rich-tooltip-v3/styles.d.ts +0 -0
  482. /package/dist/{esm-deps → esm}/components/or-rich-tooltip-v3/types.d.ts +0 -0
  483. /package/dist/{esm-deps → esm}/components/or-search-v3/OrSearch.vue.d.ts +0 -0
  484. /package/dist/{esm-deps → esm}/components/or-search-v3/index.d.ts +0 -0
  485. /package/dist/{esm-deps → esm}/components/or-search-v3/types.d.ts +0 -0
  486. /package/dist/{esm-deps → esm}/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts +0 -0
  487. /package/dist/{esm-deps → esm}/components/or-segmented-control-v3/constants.d.ts +0 -0
  488. /package/dist/{esm-deps → esm}/components/or-segmented-control-v3/index.d.ts +0 -0
  489. /package/dist/{esm-deps → esm}/components/or-segmented-control-v3/partials/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +0 -0
  490. /package/dist/{esm-deps → esm}/components/or-segmented-control-v3/partials/or-segmented-control-item/styles.d.ts +0 -0
  491. /package/dist/{esm-deps → esm}/components/or-segmented-control-v3/props.d.ts +0 -0
  492. /package/dist/{esm-deps → esm}/components/or-segmented-control-v3/styles.d.ts +0 -0
  493. /package/dist/{esm-deps → esm}/components/or-segmented-control-v3/types.d.ts +0 -0
  494. /package/dist/{esm-deps → esm}/components/or-select-v3/OrSelect.vue.d.ts +0 -0
  495. /package/dist/{esm-deps → esm}/components/or-select-v3/index.d.ts +0 -0
  496. /package/dist/{esm-deps → esm}/components/or-select-v3/partials/index.d.ts +0 -0
  497. /package/dist/{esm-deps → esm}/components/or-select-v3/partials/or-select-control-input/OrSelectControlInput.vue.d.ts +0 -0
  498. /package/dist/{esm-deps → esm}/components/or-select-v3/partials/or-select-control-input/index.d.ts +0 -0
  499. /package/dist/{esm-deps → esm}/components/or-select-v3/partials/or-select-control-input/styles.d.ts +0 -0
  500. /package/dist/{esm-deps → esm}/components/or-select-v3/partials/or-select-multiple-control/OrSelectMultipleControl.vue.d.ts +0 -0
  501. /package/dist/{esm-deps → esm}/components/or-select-v3/partials/or-select-multiple-control/index.d.ts +0 -0
  502. /package/dist/{esm-deps → esm}/components/or-select-v3/partials/or-select-multiple-control/styles.d.ts +0 -0
  503. /package/dist/{esm-deps → esm}/components/or-select-v3/partials/or-select-placeholder/OrSelectPlaceholder.vue.d.ts +0 -0
  504. /package/dist/{esm-deps → esm}/components/or-select-v3/partials/or-select-placeholder/index.d.ts +0 -0
  505. /package/dist/{esm-deps → esm}/components/or-select-v3/partials/or-select-placeholder/styles.d.ts +0 -0
  506. /package/dist/{esm-deps → esm}/components/or-select-v3/partials/or-select-single-control/OrSelectSingleControl.vue.d.ts +0 -0
  507. /package/dist/{esm-deps → esm}/components/or-select-v3/partials/or-select-single-control/index.d.ts +0 -0
  508. /package/dist/{esm-deps → esm}/components/or-select-v3/partials/or-select-single-control/styles.d.ts +0 -0
  509. /package/dist/{esm-deps → esm}/components/or-select-v3/styles.d.ts +0 -0
  510. /package/dist/{esm-deps → esm}/components/or-select-v3/types.d.ts +0 -0
  511. /package/dist/{esm-deps → esm}/components/or-sidebar-v3/OrSidebar.vue.d.ts +0 -0
  512. /package/dist/{esm-deps → esm}/components/or-sidebar-v3/index.d.ts +0 -0
  513. /package/dist/{esm-deps → esm}/components/or-sidebar-v3/props.d.ts +0 -0
  514. /package/dist/{esm-deps → esm}/components/or-sidebar-v3/styles.d.ts +0 -0
  515. /package/dist/{esm-deps → esm}/components/or-skeleton-v3/index.d.ts +0 -0
  516. /package/dist/{esm-deps → esm}/components/or-skeleton-v3/or-skeleton-circle-v3/OrSkeletonCircle.vue.d.ts +0 -0
  517. /package/dist/{esm-deps → esm}/components/or-skeleton-v3/or-skeleton-circle-v3/index.d.ts +0 -0
  518. /package/dist/{esm-deps → esm}/components/or-skeleton-v3/or-skeleton-rect-v3/OrSkeletonRect.vue.d.ts +0 -0
  519. /package/dist/{esm-deps → esm}/components/or-skeleton-v3/or-skeleton-rect-v3/index.d.ts +0 -0
  520. /package/dist/{esm-deps → esm}/components/or-skeleton-v3/or-skeleton-text-v3/OrSkeletonText.vue.d.ts +0 -0
  521. /package/dist/{esm-deps → esm}/components/or-skeleton-v3/or-skeleton-text-v3/index.d.ts +0 -0
  522. /package/dist/{esm-deps → esm}/components/or-skeleton-v3/styles.d.ts +0 -0
  523. /package/dist/{esm-deps → esm}/components/or-slider-v3/OrSlider.vue.d.ts +0 -0
  524. /package/dist/{esm-deps → esm}/components/or-slider-v3/index.d.ts +0 -0
  525. /package/dist/{esm-deps → esm}/components/or-slider-v3/styles.d.ts +0 -0
  526. /package/dist/{esm-deps → esm}/components/or-slider-v3/types.d.ts +0 -0
  527. /package/dist/{esm-deps → esm}/components/or-sorting-v3/OrSorting.vue.d.ts +0 -0
  528. /package/dist/{esm-deps → esm}/components/or-sorting-v3/index.d.ts +0 -0
  529. /package/dist/{esm-deps → esm}/components/or-sorting-v3/styles.d.ts +0 -0
  530. /package/dist/{esm-deps → esm}/components/or-sorting-v3/types.d.ts +0 -0
  531. /package/dist/{esm-deps → esm}/components/or-status-v3/OrStatus.vue.d.ts +0 -0
  532. /package/dist/{esm-deps → esm}/components/or-status-v3/index.d.ts +0 -0
  533. /package/dist/{esm-deps → esm}/components/or-status-v3/props.d.ts +0 -0
  534. /package/dist/{esm-deps → esm}/components/or-status-v3/styles.d.ts +0 -0
  535. /package/dist/{esm-deps → esm}/components/or-switch-v3/OrSwitch.vue.d.ts +0 -0
  536. /package/dist/{esm-deps → esm}/components/or-switch-v3/index.d.ts +0 -0
  537. /package/dist/{esm-deps → esm}/components/or-switch-v3/styles.d.ts +0 -0
  538. /package/dist/{esm-deps → esm}/components/or-switch-v3/types.d.ts +0 -0
  539. /package/dist/{esm-deps → esm}/components/or-tab-v3/OrTab.vue.d.ts +0 -0
  540. /package/dist/{esm-deps → esm}/components/or-tab-v3/index.d.ts +0 -0
  541. /package/dist/{esm-deps → esm}/components/or-tab-v3/styles.d.ts +0 -0
  542. /package/dist/{esm-deps → esm}/components/or-tabs-v3/OrTabs.vue.d.ts +0 -0
  543. /package/dist/{esm-deps → esm}/components/or-tabs-v3/index.d.ts +0 -0
  544. /package/dist/{esm-deps → esm}/components/or-tabs-v3/props.d.ts +0 -0
  545. /package/dist/{esm-deps → esm}/components/or-tabs-v3/styles.d.ts +0 -0
  546. /package/dist/{esm-deps → esm}/components/or-tabs-v3/types.d.ts +0 -0
  547. /package/dist/{esm-deps → esm}/components/or-tag-input-v3/OrTagInput.vue.d.ts +0 -0
  548. /package/dist/{esm-deps → esm}/components/or-tag-input-v3/index.d.ts +0 -0
  549. /package/dist/{esm-deps → esm}/components/or-tag-input-v3/styles.d.ts +0 -0
  550. /package/dist/{esm-deps → esm}/components/or-tag-input-v3/types.d.ts +0 -0
  551. /package/dist/{esm-deps → esm}/components/or-tag-v3/OrTag.vue.d.ts +0 -0
  552. /package/dist/{esm-deps → esm}/components/or-tag-v3/index.d.ts +0 -0
  553. /package/dist/{esm-deps → esm}/components/or-tag-v3/props.d.ts +0 -0
  554. /package/dist/{esm-deps → esm}/components/or-tag-v3/styles.d.ts +0 -0
  555. /package/dist/{esm-deps → esm}/components/or-tags-v3/OrTags.vue.d.ts +0 -0
  556. /package/dist/{esm-deps → esm}/components/or-tags-v3/index.d.ts +0 -0
  557. /package/dist/{esm-deps → esm}/components/or-tags-v3/props.d.ts +0 -0
  558. /package/dist/{esm-deps → esm}/components/or-tags-v3/styles.d.ts +0 -0
  559. /package/dist/{esm-deps → esm}/components/or-tags-v3/types.d.ts +0 -0
  560. /package/dist/{esm-deps → esm}/components/or-tags-v3/utils/castToTag.d.ts +0 -0
  561. /package/dist/{esm-deps → esm}/components/or-teleport-v3/OrTeleport.vue3.vue.d.ts +0 -0
  562. /package/dist/{esm-deps → esm}/components/or-teleport-v3/index.d.ts +0 -0
  563. /package/dist/{esm-deps → esm}/components/or-text-v3/OrText.vue.d.ts +0 -0
  564. /package/dist/{esm-deps → esm}/components/or-text-v3/index.d.ts +0 -0
  565. /package/dist/{esm-deps → esm}/components/or-text-v3/styles.d.ts +0 -0
  566. /package/dist/{esm-deps → esm}/components/or-textarea-v3/OrTextarea.vue.d.ts +0 -0
  567. /package/dist/{esm-deps → esm}/components/or-textarea-v3/index.d.ts +0 -0
  568. /package/dist/{esm-deps → esm}/components/or-textarea-v3/styles.d.ts +0 -0
  569. /package/dist/{esm-deps → esm}/components/or-textarea-v3/types.d.ts +0 -0
  570. /package/dist/{esm-deps → esm}/components/or-time-format-v3/OrTimeFormat.vue.d.ts +0 -0
  571. /package/dist/{esm-deps → esm}/components/or-time-format-v3/index.d.ts +0 -0
  572. /package/dist/{esm-deps → esm}/components/or-time-format-v3/styles.d.ts +0 -0
  573. /package/dist/{esm-deps → esm}/components/or-time-picker-v3/OrTimePicker.vue.d.ts +0 -0
  574. /package/dist/{esm-deps → esm}/components/or-time-picker-v3/index.d.ts +0 -0
  575. /package/dist/{esm-deps → esm}/components/or-time-picker-v3/styles.d.ts +0 -0
  576. /package/dist/{esm-deps → esm}/components/or-time-range-picker-v3/OrTimeRangePicker.vue.d.ts +0 -0
  577. /package/dist/{esm-deps → esm}/components/or-time-range-picker-v3/index.d.ts +0 -0
  578. /package/dist/{esm-deps → esm}/components/or-time-range-picker-v3/styles.d.ts +0 -0
  579. /package/dist/{esm-deps → esm}/components/or-time-range-picker-v3/types.d.ts +0 -0
  580. /package/dist/{esm-deps → esm}/components/or-toast-v3/OrToast.vue.d.ts +0 -0
  581. /package/dist/{esm-deps → esm}/components/or-toast-v3/Timer.d.ts +0 -0
  582. /package/dist/{esm-deps → esm}/components/or-toast-v3/composable/index.d.ts +0 -0
  583. /package/dist/{esm-deps → esm}/components/or-toast-v3/composable/useQueue.d.ts +0 -0
  584. /package/dist/{esm-deps → esm}/components/or-toast-v3/composable/useToast.d.ts +0 -0
  585. /package/dist/{esm-deps → esm}/components/or-toast-v3/composable/useToastEventBus.d.ts +0 -0
  586. /package/dist/{esm-deps → esm}/components/or-toast-v3/index.d.ts +0 -0
  587. /package/dist/{esm-deps → esm}/components/or-toast-v3/or-toast-container-v3/OrToastContainer.vue.d.ts +0 -0
  588. /package/dist/{esm-deps → esm}/components/or-toast-v3/or-toast-container-v3/index.d.ts +0 -0
  589. /package/dist/{esm-deps → esm}/components/or-toast-v3/props.d.ts +0 -0
  590. /package/dist/{esm-deps → esm}/components/or-toast-v3/styles.d.ts +0 -0
  591. /package/dist/{esm-deps → esm}/components/or-toast-v3/types.d.ts +0 -0
  592. /package/dist/{esm-deps → esm}/components/or-tooltip-v3/OrTooltip.vue.d.ts +0 -0
  593. /package/dist/{esm-deps → esm}/components/or-tooltip-v3/index.d.ts +0 -0
  594. /package/dist/{esm-deps → esm}/components/or-tooltip-v3/styles.d.ts +0 -0
  595. /package/dist/{esm-deps → esm}/components/or-tree-v3/OrTree.vue.d.ts +0 -0
  596. /package/dist/{esm-deps → esm}/components/or-tree-v3/index.d.ts +0 -0
  597. /package/dist/{esm-deps → esm}/components/or-tree-v3/partials/or-tree-node/OrTreeNode.vue.d.ts +0 -0
  598. /package/dist/{esm-deps → esm}/components/or-tree-v3/partials/or-tree-node/styles.d.ts +0 -0
  599. /package/dist/{esm-deps → esm}/components/or-tree-v3/partials/or-tree-node/utils.d.ts +0 -0
  600. /package/dist/{esm-deps → esm}/components/or-tree-v3/types.d.ts +0 -0
  601. /package/dist/{esm-deps → esm}/index.d.ts +0 -0
@@ -0,0 +1,1522 @@
1
+ import { defineComponent, ref, computed, toRef, openBlock, createElementBlock, normalizeClass, withModifiers, Fragment, createTextVNode, toDisplayString, resolveComponent, createElementVNode, renderList, createBlock, withCtx, createVNode, renderSlot, watch, nextTick, createCommentVNode, resolveDirective, withDirectives, vShow } from 'vue';
2
+ import { h, r as re, G, j as se, s, g as c, k, o as oe, f as X } from '../OrAutocompleteV3-8c6de221.js';
3
+ import { OrButtonV3 as script$9 } from '../or-button-v3/index.js';
4
+ import { OrLabelV3 as script$a } from '../or-label-v3/index.js';
5
+ import { OrIconV3 as script$b } from '../or-icon-v3/index.js';
6
+ import { OrIconButtonV3 as script$c } from '../or-icon-button-v3/index.js';
7
+ import { OrMenuV3 as script$d } from '../or-menu-v3/index.js';
8
+ import { OrMenuItemV3 as script$e } from '../or-menu-item-v3/index.js';
9
+ import { OrErrorV3 as script$f } from '../or-error-v3/index.js';
10
+ import { OrHintV3 as script$g } from '../or-hint-v3/index.js';
11
+ import { OrInputBoxV3 as script$h, InputBoxVariant } from '../or-input-box-v3/index.js';
12
+ import { OrPopoverV3 as script$i } from '../or-popover-v3/index.js';
13
+ import '@vueuse/core';
14
+ import '@onereach/styles/screens.json';
15
+ import '@onereach/styles/tailwind.config.json';
16
+ import 'lodash/get';
17
+ import 'lodash/isElement';
18
+ import '../or-input-v3/index.js';
19
+ import '../OrInlineInputV3-061441a3.js';
20
+ import '../or-inline-input-box-v3/index.js';
21
+ import '../or-text-v3/index.js';
22
+ import '../or-loader-v3/index.js';
23
+ import '../or-tag-input-v3/index.js';
24
+ import '../or-tags-v3/index.js';
25
+ import '../or-tag-v3/index.js';
26
+ import '../or-tooltip-v3/index.js';
27
+ import '@floating-ui/dom';
28
+ import '../or-bottom-sheet-v3/index.js';
29
+ import '../or-overlay-v3/index.js';
30
+ import '../or-teleport-v3/index.js';
31
+
32
+ const formatDate = (value, format, locale) => {
33
+ if (typeof format === 'function') {
34
+ return format(value, locale);
35
+ }
36
+ return value.toLocaleString(locale, {
37
+ dateStyle: format,
38
+ timeZone: 'UTC'
39
+ });
40
+ };
41
+
42
+ const formatMobileDate = (value, format, locale) => {
43
+ return value.toLocaleString(locale, {
44
+ dateStyle: 'medium',
45
+ timeZone: 'UTC'
46
+ });
47
+ };
48
+
49
+ const formatMobileTime = (value, format, locale) => {
50
+ return value.toLocaleString(locale, {
51
+ timeStyle: 'short',
52
+ hourCycle: typeof format !== 'function' && format !== h.Auto ? format : undefined,
53
+ timeZone: 'UTC'
54
+ });
55
+ };
56
+
57
+ const formatTime = (value, format, locale) => {
58
+ if (typeof format === 'function') {
59
+ return format(value, locale);
60
+ }
61
+ return value.toLocaleString(locale, {
62
+ timeStyle: 'short',
63
+ hourCycle: format !== h.Auto ? format : undefined,
64
+ timeZone: 'UTC'
65
+ });
66
+ };
67
+
68
+ const getCurrentDate = () => {
69
+ const currentDate = new Date();
70
+ return new Date(Date.UTC(currentDate.getUTCFullYear(), currentDate.getUTCMonth(), currentDate.getUTCDate()));
71
+ };
72
+
73
+ const getNextMonthDate = () => {
74
+ const currentDate = new Date();
75
+ return new Date(Date.UTC(currentDate.getUTCFullYear(), currentDate.getUTCMonth() + 1, currentDate.getUTCDate()));
76
+ };
77
+
78
+ const scrollToElementWithinContainer = (element, container) => {
79
+ const elementRect = element.getBoundingClientRect();
80
+ const containerRect = container.getBoundingClientRect();
81
+ // Determine if the element is fully visible within the container by comparing their positions.
82
+ const isFullyVisible = elementRect.top >= containerRect.top && elementRect.bottom <= containerRect.bottom;
83
+ if (!isFullyVisible) {
84
+ // Calculate the new scrollTop value to center the element within the container.
85
+ // This involves adjusting for the height of the element and container, ensuring the element is centered.
86
+ container.scrollTop = element.offsetTop - container.offsetTop - container.clientHeight / 2 + element.clientHeight / 2;
87
+ }
88
+ };
89
+
90
+ const DateTimePickerDateControl = [
91
+ // Layout
92
+ 'layout-inline-row',
93
+ // Interactivity
94
+ 'interactivity-click',
95
+ // Theme (focus)
96
+ 'focus-visible:theme-border-inherit focus-visible:border-b-2', 'dark:focus-visible:theme-border-inherit-dark',
97
+ // Theme (selected)
98
+ 'selected:theme-border-inherit selected:border-b-2', 'dark:selected:theme-border-inherit-dark'];
99
+ const DateTimePickerDateControlPlaceholder = [
100
+ // Theme
101
+ 'theme-foreground-outline', 'dark:theme-foreground-outline-dark'];
102
+
103
+ var script$8 = defineComponent({
104
+ name: 'OrDateTimePickerDateControl',
105
+ model: {
106
+ prop: 'modelValue',
107
+ event: 'update:modelValue'
108
+ },
109
+ props: {
110
+ modelValue: {
111
+ type: undefined,
112
+ default: undefined
113
+ },
114
+ format: {
115
+ type: [String, Function],
116
+ required: true
117
+ },
118
+ locale: {
119
+ type: String,
120
+ required: true
121
+ },
122
+ selected: {
123
+ type: Boolean,
124
+ default: false
125
+ },
126
+ required: {
127
+ type: Boolean,
128
+ default: false
129
+ },
130
+ readonly: {
131
+ type: Boolean,
132
+ default: false
133
+ },
134
+ disabled: {
135
+ type: Boolean,
136
+ default: false
137
+ }
138
+ },
139
+ expose: ['root'],
140
+ setup(props, context) {
141
+ // Refs & Styles
142
+ const root = ref();
143
+ const rootStyles = computed(() => ['or-date-time-picker-date-control-v3', ...DateTimePickerDateControl]);
144
+ const placeholderStyles = computed(() => [...DateTimePickerDateControlPlaceholder]);
145
+ // State
146
+ const model = re(toRef(props, 'modelValue'), context.emit);
147
+ const placeholder = G(toRef(props, 'format'), toRef(props, 'locale'));
148
+ return {
149
+ root,
150
+ rootStyles,
151
+ placeholderStyles,
152
+ model,
153
+ placeholder,
154
+ formatDate
155
+ };
156
+ }
157
+ });
158
+
159
+ const _hoisted_1$4 = ["contenteditable", "selected", "required", "readonly", "disabled"];
160
+ const _hoisted_2$1 = ["disabled"];
161
+ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
162
+ return openBlock(), createElementBlock("div", {
163
+ ref: 'root',
164
+ class: normalizeClass(_ctx.rootStyles),
165
+ contenteditable: !_ctx.disabled,
166
+ selected: _ctx.selected,
167
+ required: _ctx.required,
168
+ readonly: _ctx.readonly,
169
+ disabled: _ctx.disabled,
170
+ onKeydown: _cache[0] || (_cache[0] = withModifiers(() => {}, ["prevent"]))
171
+ }, [_ctx.model ? (openBlock(), createElementBlock(Fragment, {
172
+ key: 0
173
+ }, [createTextVNode(toDisplayString(_ctx.formatDate(_ctx.model, _ctx.format, _ctx.locale)), 1 /* TEXT */)], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createElementBlock("span", {
174
+ key: 1,
175
+ class: normalizeClass(_ctx.placeholderStyles),
176
+ disabled: _ctx.disabled
177
+ }, toDisplayString(_ctx.placeholder), 11 /* TEXT, CLASS, PROPS */, _hoisted_2$1))], 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_1$4);
178
+ }
179
+
180
+ script$8.render = render$8;
181
+ script$8.__file = "src/components/or-date-time-picker-v3/partials/or-date-time-picker-date-control/OrDateTimePickerDateControl.vue";
182
+
183
+ const DateTimePickerDateSelect = [
184
+ // Layout
185
+ 'layout-column',
186
+ // Spacing
187
+ 'px-md', 'py-md', 'gap-sm'];
188
+ const DateTimePickerDateSelectButtonGroup = [
189
+ // Layout
190
+ 'grid content-start', 'grid-cols-7',
191
+ // Box
192
+ 'h-[262px]',
193
+ // Spacing
194
+ '-mx-[2px]', '-my-[2px]'];
195
+ const DateTimePickerDateSelectButtonGroupWeekdayItem = [
196
+ // Layout
197
+ 'layout-row justify-center',
198
+ // Interactivity
199
+ 'interactivity-default',
200
+ // Spacing
201
+ 'mx-[2px]', 'my-[2px]', 'px-sm', 'py-sm',
202
+ // Typography
203
+ 'typography-caption-regular',
204
+ // Theme
205
+ 'theme-foreground-outline', 'dark:theme-foreground-outline-dark'];
206
+ const DateTimePickerDateSelectButtonGroupDateItem = [
207
+ // Box
208
+ '!min-w-fit',
209
+ // Spacing
210
+ 'mx-[2px]', 'my-[2px]', '!px-sm', '!py-sm',
211
+ // Typography
212
+ 'typography-caption-regular'];
213
+ const DateTimePickerDateSelectButtonGroupCurrentDateItem = [
214
+ // Theme
215
+ 'theme-foreground-primary', 'dark:theme-foreground-primary-dark', 'theme-outline-primary outline-1', 'dark:theme-outline-primary-dark'];
216
+ const DateTimePickerDateSelectButtonGroupInRangeDateItem = [
217
+ // Spacing
218
+ '!mx-0', '!px-[10px]',
219
+ // Shape
220
+ '!rounded-0',
221
+ // Theme
222
+ 'theme-background-primary-translucent-2', 'dark:theme-background-primary-translucent-2-dark'];
223
+
224
+ var script$7 = defineComponent({
225
+ name: 'OrDateTimePickerDateSelect',
226
+ components: {
227
+ OrButton: script$9
228
+ },
229
+ model: {
230
+ prop: 'modelValue',
231
+ event: 'update:modelValue'
232
+ },
233
+ props: {
234
+ modelValue: {
235
+ type: undefined,
236
+ default: undefined
237
+ },
238
+ initialValue: {
239
+ type: Date,
240
+ required: true
241
+ },
242
+ format: {
243
+ type: [String, Function],
244
+ required: true
245
+ },
246
+ locale: {
247
+ type: String,
248
+ required: true
249
+ },
250
+ dateFilter: {
251
+ type: Function,
252
+ default: undefined
253
+ },
254
+ rangeStart: {
255
+ type: Date,
256
+ default: undefined
257
+ },
258
+ rangeEnd: {
259
+ type: Date,
260
+ default: undefined
261
+ }
262
+ },
263
+ emits: ['update:modelValue'],
264
+ expose: ['root'],
265
+ setup(props, context) {
266
+ // Refs & Styles
267
+ const root = ref();
268
+ const rootStyles = computed(() => ['or-date-time-picker-date-select-v3', ...DateTimePickerDateSelect]);
269
+ const buttonGroupStyles = computed(() => [...DateTimePickerDateSelectButtonGroup]);
270
+ const buttonGroupWeekdayItemStyles = computed(() => [...DateTimePickerDateSelectButtonGroupWeekdayItem]);
271
+ const buttonGroupDateItemStyles = computed(() => [...DateTimePickerDateSelectButtonGroupDateItem]);
272
+ const buttonGroupCurrentDateItemStyles = computed(() => [...DateTimePickerDateSelectButtonGroupCurrentDateItem]);
273
+ const buttonGroupInRangeDateItemStyles = computed(() => [...DateTimePickerDateSelectButtonGroupInRangeDateItem]);
274
+ // State
275
+ const model = re(toRef(props, 'modelValue'), context.emit);
276
+ const dayOptions = computed(() => {
277
+ const monthStartDate = new Date(Date.UTC(props.initialValue.getUTCFullYear(), props.initialValue.getUTCMonth(), 1, props.initialValue.getUTCHours(), props.initialValue.getUTCMinutes()));
278
+ const monthEndDate = new Date(Date.UTC(props.initialValue.getUTCFullYear(), props.initialValue.getUTCMonth() + 1, 0, props.initialValue.getUTCHours(), props.initialValue.getUTCMinutes()));
279
+ const calendarStartDate = new Date(Date.UTC(monthStartDate.getUTCFullYear(), monthStartDate.getUTCMonth(), 1 - monthStartDate.getUTCDay(), monthStartDate.getUTCHours(), monthStartDate.getUTCMinutes()));
280
+ const calendarEndDate = new Date(Date.UTC(monthEndDate.getUTCFullYear(), monthEndDate.getUTCMonth() + 1, 7 - monthEndDate.getUTCDay(), monthEndDate.getUTCHours(), monthEndDate.getUTCMinutes()));
281
+ return (() => {
282
+ let options = [],
283
+ value = calendarStartDate;
284
+ while (Number(value) !== Number(calendarEndDate)) {
285
+ options = [...options, value];
286
+ value = new Date(Date.UTC(value.getUTCFullYear(), value.getUTCMonth(), value.getUTCDate() + 1, value.getUTCHours(), value.getUTCMinutes()));
287
+ }
288
+ return options;
289
+ })();
290
+ });
291
+ const currentDate = computed(() => {
292
+ const value = new Date();
293
+ value.setUTCHours(props.initialValue.getUTCHours());
294
+ value.setUTCMinutes(props.initialValue.getUTCMinutes());
295
+ value.setUTCSeconds(props.initialValue.getUTCSeconds());
296
+ value.setUTCMilliseconds(props.initialValue.getUTCMilliseconds());
297
+ return value;
298
+ });
299
+ // Methods
300
+ function formatWeekday(value) {
301
+ return value.toLocaleString(props.locale, {
302
+ weekday: 'short',
303
+ timeZone: 'UTC'
304
+ });
305
+ }
306
+ function formatDay(value) {
307
+ return value.toLocaleString(props.locale, {
308
+ day: 'numeric',
309
+ timeZone: 'UTC'
310
+ });
311
+ }
312
+ return {
313
+ root,
314
+ rootStyles,
315
+ buttonGroupStyles,
316
+ buttonGroupWeekdayItemStyles,
317
+ buttonGroupDateItemStyles,
318
+ buttonGroupCurrentDateItemStyles,
319
+ buttonGroupInRangeDateItemStyles,
320
+ model,
321
+ dayOptions,
322
+ currentDate,
323
+ formatWeekday,
324
+ formatDay
325
+ };
326
+ }
327
+ });
328
+
329
+ function render$7(_ctx, _cache, $props, $setup, $data, $options) {
330
+ const _component_OrButton = resolveComponent("OrButton");
331
+ return openBlock(), createElementBlock("div", {
332
+ ref: 'root',
333
+ class: normalizeClass(_ctx.rootStyles)
334
+ }, [createElementVNode("div", {
335
+ class: normalizeClass(_ctx.buttonGroupStyles)
336
+ }, [(openBlock(), createElementBlock(Fragment, null, renderList(7, weekday => {
337
+ return createElementVNode("div", {
338
+ key: weekday,
339
+ class: normalizeClass(_ctx.buttonGroupWeekdayItemStyles)
340
+ }, toDisplayString(_ctx.formatWeekday(_ctx.dayOptions[weekday - 1])), 3 /* TEXT, CLASS */);
341
+ }), 64 /* STABLE_FRAGMENT */)), (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.dayOptions, value => {
342
+ return openBlock(), createBlock(_component_OrButton, {
343
+ key: Number(value),
344
+ class: normalizeClass({
345
+ [_ctx.buttonGroupDateItemStyles.join(' ')]: true,
346
+ [_ctx.buttonGroupCurrentDateItemStyles.join(' ')]: Number(value) !== Number(_ctx.model) && Number(value) !== Number(_ctx.rangeStart) && Number(value) !== Number(_ctx.rangeEnd) && Number(value) === Number(_ctx.currentDate),
347
+ [_ctx.buttonGroupInRangeDateItemStyles.join(' ')]: _ctx.rangeStart && Number(value) > Number(_ctx.rangeStart) && _ctx.rangeEnd && Number(value) < Number(_ctx.rangeEnd)
348
+ }),
349
+ variant: Number(value) === Number(_ctx.model) || _ctx.rangeStart && Number(value) === Number(_ctx.rangeStart) || _ctx.rangeEnd && Number(value) === Number(_ctx.rangeEnd) ? 'contained' : 'text',
350
+ color: Number(value) === Number(_ctx.model) || _ctx.rangeStart && Number(value) === Number(_ctx.rangeStart) || _ctx.rangeEnd && Number(value) === Number(_ctx.rangeEnd) ? 'primary' : 'inherit',
351
+ disabled: _ctx.dateFilter && !_ctx.dateFilter(value),
352
+ onClick: withModifiers($event => _ctx.model = value, ["stop"])
353
+ }, {
354
+ default: withCtx(() => [createTextVNode(toDisplayString(_ctx.formatDay(value)), 1 /* TEXT */)]),
355
+ _: 2 /* DYNAMIC */
356
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["class", "variant", "color", "disabled", "onClick"]);
357
+ }), 128 /* KEYED_FRAGMENT */))], 2 /* CLASS */)], 2 /* CLASS */);
358
+ }
359
+
360
+ script$7.render = render$7;
361
+ script$7.__file = "src/components/or-date-time-picker-v3/partials/or-date-time-picker-date-select/OrDateTimePickerDateSelect.vue";
362
+
363
+ const DateTimePickerMobileControl = [
364
+ // Layout
365
+ 'layout-column',
366
+ // Interactivity
367
+ 'interactivity-auto',
368
+ // Spacing
369
+ 'gap-xs',
370
+ // Theme
371
+ 'theme-foreground-outline', 'dark:theme-foreground-outline-dark',
372
+ // Theme (selected)
373
+ 'selected:theme-foreground-default', 'dark:selected:theme-foreground-default-dark'];
374
+ const DateTimePickerMobileControlContent = [
375
+ // Typography
376
+ 'typography-headline-1'];
377
+
378
+ var script$6 = defineComponent({
379
+ name: 'OrDateTimePickerMobileControl',
380
+ components: {
381
+ OrLabel: script$a
382
+ },
383
+ props: {
384
+ label: {
385
+ type: String,
386
+ required: true
387
+ },
388
+ selected: {
389
+ type: Boolean,
390
+ default: false
391
+ }
392
+ },
393
+ expose: ['root'],
394
+ setup() {
395
+ // Refs & Styles
396
+ const root = ref();
397
+ const rootStyles = computed(() => ['or-date-time-picker-mobile-control-v3', ...DateTimePickerMobileControl]);
398
+ const contentStyles = computed(() => [...DateTimePickerMobileControlContent]);
399
+ return {
400
+ root,
401
+ rootStyles,
402
+ contentStyles
403
+ };
404
+ }
405
+ });
406
+
407
+ const _hoisted_1$3 = ["selected"];
408
+ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
409
+ const _component_OrLabel = resolveComponent("OrLabel");
410
+ return openBlock(), createElementBlock("div", {
411
+ ref: 'root',
412
+ class: normalizeClass(_ctx.rootStyles),
413
+ selected: _ctx.selected
414
+ }, [createVNode(_component_OrLabel, null, {
415
+ default: withCtx(() => [createTextVNode(toDisplayString(_ctx.label), 1 /* TEXT */)]),
416
+ _: 1 /* STABLE */
417
+ }), createElementVNode("div", {
418
+ class: normalizeClass(_ctx.contentStyles)
419
+ }, [renderSlot(_ctx.$slots, "default")], 2 /* CLASS */)], 10 /* CLASS, PROPS */, _hoisted_1$3);
420
+ }
421
+
422
+ script$6.render = render$6;
423
+ script$6.__file = "src/components/or-date-time-picker-v3/partials/or-date-time-picker-mobile-control/OrDateTimePickerMobileControl.vue";
424
+
425
+ const DateTimePickerMonthSelect = [
426
+ // Layout
427
+ 'layout-row justify-between',
428
+ // Spacing
429
+ 'px-md', 'py-md', 'gap-md'];
430
+
431
+ var script$5 = defineComponent({
432
+ name: 'OrDateTimePickerMonthSelect',
433
+ components: {
434
+ OrButton: script$9,
435
+ OrIcon: script$b,
436
+ OrIconButton: script$c,
437
+ OrMenu: script$d,
438
+ OrMenuItem: script$e
439
+ },
440
+ model: {
441
+ prop: 'modelValue',
442
+ event: 'update:modelValue'
443
+ },
444
+ props: {
445
+ modelValue: {
446
+ type: undefined,
447
+ required: true
448
+ },
449
+ locale: {
450
+ type: String,
451
+ required: true
452
+ },
453
+ yearFilter: {
454
+ type: Function,
455
+ default: undefined
456
+ },
457
+ monthFilter: {
458
+ type: Function,
459
+ default: undefined
460
+ }
461
+ },
462
+ emits: ['update:modelValue'],
463
+ expose: ['root'],
464
+ setup(props, context) {
465
+ // Refs & Styles
466
+ const root = ref();
467
+ const rootStyles = computed(() => ['or-date-time-picker-month-select-v3', ...DateTimePickerMonthSelect]);
468
+ const yearButton = ref();
469
+ const yearButtonRoot = computed(() => {
470
+ var _a;
471
+ return (_a = yearButton.value) === null || _a === void 0 ? void 0 : _a.root;
472
+ });
473
+ const monthButton = ref();
474
+ const monthButtonRoot = computed(() => {
475
+ var _a;
476
+ return (_a = monthButton.value) === null || _a === void 0 ? void 0 : _a.root;
477
+ });
478
+ const yearMenu = ref();
479
+ const yearMenuState = computed(() => {
480
+ var _a;
481
+ return (_a = yearMenu.value) === null || _a === void 0 ? void 0 : _a.state;
482
+ });
483
+ const monthMenu = ref();
484
+ const monthMenuState = computed(() => {
485
+ var _a;
486
+ return (_a = monthMenu.value) === null || _a === void 0 ? void 0 : _a.state;
487
+ });
488
+ // State
489
+ const model = re(toRef(props, 'modelValue'), context.emit);
490
+ const yearOptions = computed(() => {
491
+ return Array.from({
492
+ length: 11
493
+ }).map((_value, index, {
494
+ length
495
+ }) => {
496
+ const value = model.value.getUTCFullYear() - Math.floor(length / 2) + index;
497
+ return new Date(Date.UTC(value, model.value.getUTCMonth(), model.value.getUTCDate(), model.value.getUTCHours(), model.value.getUTCMinutes()));
498
+ });
499
+ });
500
+ const monthOptions = computed(() => {
501
+ return Array.from({
502
+ length: 12
503
+ }, (_value, index) => {
504
+ const value = index;
505
+ return new Date(Date.UTC(model.value.getUTCFullYear(), value, model.value.getUTCDate(), model.value.getUTCHours(), model.value.getUTCMinutes()));
506
+ });
507
+ });
508
+ // Methods
509
+ function goToNextMonth() {
510
+ model.value = new Date(Date.UTC(model.value.getUTCFullYear(), model.value.getUTCMonth() + 1, model.value.getUTCDate(), model.value.getUTCHours(), model.value.getUTCMinutes()));
511
+ }
512
+ function goToPreviousMonth() {
513
+ model.value = new Date(Date.UTC(model.value.getUTCFullYear(), model.value.getUTCMonth() - 1, model.value.getUTCDate(), model.value.getUTCHours(), model.value.getUTCMinutes()));
514
+ }
515
+ function formatYear(value) {
516
+ return value.toLocaleString(props.locale, {
517
+ year: 'numeric',
518
+ timeZone: 'UTC'
519
+ });
520
+ }
521
+ function formatMonth(value) {
522
+ return value.toLocaleString(props.locale, {
523
+ month: 'long',
524
+ timeZone: 'UTC'
525
+ });
526
+ }
527
+ return {
528
+ root,
529
+ rootStyles,
530
+ yearButton,
531
+ yearButtonRoot,
532
+ monthButton,
533
+ monthButtonRoot,
534
+ yearMenu,
535
+ yearMenuState,
536
+ monthMenu,
537
+ monthMenuState,
538
+ model,
539
+ yearOptions,
540
+ monthOptions,
541
+ goToNextMonth,
542
+ goToPreviousMonth,
543
+ formatYear,
544
+ formatMonth
545
+ };
546
+ }
547
+ });
548
+
549
+ const _hoisted_1$2 = {
550
+ class: /*#__PURE__*/normalizeClass(['layout-row-reverse', 'gap-md'])
551
+ };
552
+ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
553
+ const _component_OrIconButton = resolveComponent("OrIconButton");
554
+ const _component_OrIcon = resolveComponent("OrIcon");
555
+ const _component_OrButton = resolveComponent("OrButton");
556
+ const _component_OrMenuItem = resolveComponent("OrMenuItem");
557
+ const _component_OrMenu = resolveComponent("OrMenu");
558
+ return openBlock(), createElementBlock("div", {
559
+ ref: 'root',
560
+ class: normalizeClass(_ctx.rootStyles)
561
+ }, [createVNode(_component_OrIconButton, {
562
+ icon: 'chevron_left',
563
+ onClick: _cache[0] || (_cache[0] = withModifiers($event => _ctx.goToPreviousMonth(), ["stop"]))
564
+ }), createElementVNode("div", _hoisted_1$2, [createVNode(_component_OrButton, {
565
+ ref: 'yearButton',
566
+ variant: 'link',
567
+ color: 'inherit',
568
+ onClick: _cache[1] || (_cache[1] = withModifiers($event => {
569
+ _ctx.monthMenu && _ctx.monthMenu.close();
570
+ _ctx.yearMenu && _ctx.yearMenu.toggle();
571
+ }, ["stop"]))
572
+ }, {
573
+ default: withCtx(() => [createTextVNode(toDisplayString(_ctx.formatYear(_ctx.model)) + " ", 1 /* TEXT */), createVNode(_component_OrIcon, {
574
+ icon: _ctx.yearMenuState === 'open' ? 'arrow_drop_up' : 'arrow_drop_down'
575
+ }, null, 8 /* PROPS */, ["icon"])]),
576
+ _: 1 /* STABLE */
577
+ }), createVNode(_component_OrButton, {
578
+ ref: 'monthButton',
579
+ variant: 'link',
580
+ color: 'inherit',
581
+ onClick: _cache[2] || (_cache[2] = withModifiers($event => {
582
+ _ctx.yearMenu && _ctx.yearMenu.close();
583
+ _ctx.monthMenu && _ctx.monthMenu.toggle();
584
+ }, ["stop"]))
585
+ }, {
586
+ default: withCtx(() => [createTextVNode(toDisplayString(_ctx.formatMonth(_ctx.model)) + " ", 1 /* TEXT */), createVNode(_component_OrIcon, {
587
+ icon: _ctx.monthMenuState === 'open' ? 'arrow_drop_up' : 'arrow_drop_down'
588
+ }, null, 8 /* PROPS */, ["icon"])]),
589
+ _: 1 /* STABLE */
590
+ }), createVNode(_component_OrMenu, {
591
+ ref: 'yearMenu',
592
+ trigger: _ctx.yearButtonRoot
593
+ }, {
594
+ default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.yearOptions, value => {
595
+ return openBlock(), createBlock(_component_OrMenuItem, {
596
+ key: Number(value),
597
+ selected: Number(value) === Number(_ctx.model),
598
+ disabled: _ctx.yearFilter && !_ctx.yearFilter(value),
599
+ onClick: withModifiers($event => {
600
+ _ctx.model = value;
601
+ _ctx.yearMenu && _ctx.yearMenu.close();
602
+ }, ["stop"])
603
+ }, {
604
+ default: withCtx(() => [createTextVNode(toDisplayString(_ctx.formatYear(value)), 1 /* TEXT */)]),
605
+ _: 2 /* DYNAMIC */
606
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["selected", "disabled", "onClick"]);
607
+ }), 128 /* KEYED_FRAGMENT */))]),
608
+ _: 1 /* STABLE */
609
+ }, 8 /* PROPS */, ["trigger"]), createVNode(_component_OrMenu, {
610
+ ref: 'monthMenu',
611
+ trigger: _ctx.monthButtonRoot
612
+ }, {
613
+ default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.monthOptions, value => {
614
+ return openBlock(), createBlock(_component_OrMenuItem, {
615
+ key: Number(value),
616
+ selected: Number(value) === Number(_ctx.model),
617
+ disabled: _ctx.monthFilter && !_ctx.monthFilter(value),
618
+ onClick: withModifiers($event => {
619
+ _ctx.model = value;
620
+ _ctx.monthMenu && _ctx.monthMenu.close();
621
+ }, ["stop"])
622
+ }, {
623
+ default: withCtx(() => [createTextVNode(toDisplayString(_ctx.formatMonth(value)), 1 /* TEXT */)]),
624
+ _: 2 /* DYNAMIC */
625
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["selected", "disabled", "onClick"]);
626
+ }), 128 /* KEYED_FRAGMENT */))]),
627
+ _: 1 /* STABLE */
628
+ }, 8 /* PROPS */, ["trigger"])]), createVNode(_component_OrIconButton, {
629
+ icon: 'chevron_right',
630
+ onClick: _cache[3] || (_cache[3] = withModifiers($event => _ctx.goToNextMonth(), ["stop"]))
631
+ })], 2 /* CLASS */);
632
+ }
633
+
634
+ script$5.render = render$5;
635
+ script$5.__file = "src/components/or-date-time-picker-v3/partials/or-date-time-picker-month-select/OrDateTimePickerMonthSelect.vue";
636
+
637
+ const DateTimePickerPopoverFooter = [
638
+ // Layout
639
+ 'layout-row-reverse',
640
+ // Layout (children)
641
+ 'children:grow',
642
+ // Spacing
643
+ 'px-md md:px-sm', 'py-md md:py-sm', 'gap-md md:gap-sm',
644
+ // Theme
645
+ 'theme-border-outline-variant border-t-1', 'dark:theme-border-outline-variant-dark'];
646
+
647
+ var script$4 = defineComponent({
648
+ name: 'OrDateTimePickerPopoverFooter',
649
+ components: {
650
+ OrButton: script$9
651
+ },
652
+ props: {
653
+ disabled: {
654
+ type: Boolean,
655
+ default: false
656
+ }
657
+ },
658
+ emits: ['apply', 'reset'],
659
+ expose: ['root'],
660
+ setup() {
661
+ // Refs & Styles
662
+ const root = ref();
663
+ const rootStyles = computed(() => ['or-date-time-picker-popover-footer-v3', ...DateTimePickerPopoverFooter]);
664
+ return {
665
+ root,
666
+ rootStyles
667
+ };
668
+ }
669
+ });
670
+
671
+ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
672
+ const _component_OrButton = resolveComponent("OrButton");
673
+ return openBlock(), createElementBlock("footer", {
674
+ ref: 'root',
675
+ class: normalizeClass(_ctx.rootStyles)
676
+ }, [createVNode(_component_OrButton, {
677
+ variant: 'outlined',
678
+ disabled: _ctx.disabled,
679
+ onClick: _cache[0] || (_cache[0] = withModifiers($event => _ctx.$emit('apply'), ["stop"]))
680
+ }, {
681
+ default: withCtx(() => [createTextVNode(" Done ")]),
682
+ _: 1 /* STABLE */
683
+ }, 8 /* PROPS */, ["disabled"]), createVNode(_component_OrButton, {
684
+ variant: 'text',
685
+ onClick: _cache[1] || (_cache[1] = withModifiers($event => _ctx.$emit('reset'), ["stop"]))
686
+ }, {
687
+ default: withCtx(() => [createTextVNode(" Cancel ")]),
688
+ _: 1 /* STABLE */
689
+ })], 2 /* CLASS */);
690
+ }
691
+
692
+ script$4.render = render$4;
693
+ script$4.__file = "src/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-footer/OrDateTimePickerPopoverFooter.vue";
694
+
695
+ const DateTimePickerPopoverHeader = [
696
+ // Layout
697
+ 'layout-row md:hidden',
698
+ // Spacing
699
+ 'px-md', 'py-md', 'gap-xl'];
700
+
701
+ var script$3 = defineComponent({
702
+ name: 'OrDateTimePickerPopoverHeader',
703
+ expose: ['root'],
704
+ setup() {
705
+ // Refs & Styles
706
+ const root = ref();
707
+ const rootStyles = computed(() => ['or-date-time-picker-popover-header-v3', ...DateTimePickerPopoverHeader]);
708
+ return {
709
+ root,
710
+ rootStyles
711
+ };
712
+ }
713
+ });
714
+
715
+ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
716
+ return openBlock(), createElementBlock("header", {
717
+ ref: 'root',
718
+ class: normalizeClass(_ctx.rootStyles)
719
+ }, [renderSlot(_ctx.$slots, "default")], 2 /* CLASS */);
720
+ }
721
+
722
+ script$3.render = render$3;
723
+ script$3.__file = "src/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-header/OrDateTimePickerPopoverHeader.vue";
724
+
725
+ const DateTimePickerTimeControl = [
726
+ // Layout
727
+ 'layout-inline-row',
728
+ // Interactivity
729
+ 'interactivity-click',
730
+ // Theme (focus)
731
+ 'focus-visible:theme-border-inherit focus-visible:border-b-2', 'dark:focus-visible:theme-border-inherit-dark',
732
+ // Theme (selected)
733
+ 'selected:theme-border-inherit selected:border-b-2', 'dark:selected:theme-border-inherit-dark'];
734
+ const DateTimePickerTimeControlPlaceholder = [
735
+ // Theme
736
+ 'theme-foreground-outline', 'dark:theme-foreground-outline-dark'];
737
+
738
+ var script$2 = defineComponent({
739
+ name: 'OrDateTimePickerTimeControl',
740
+ model: {
741
+ prop: 'modelValue',
742
+ event: 'update:modelValue'
743
+ },
744
+ props: {
745
+ modelValue: {
746
+ type: undefined,
747
+ default: undefined
748
+ },
749
+ format: {
750
+ type: [String, Function],
751
+ required: true
752
+ },
753
+ locale: {
754
+ type: String,
755
+ required: true
756
+ },
757
+ selected: {
758
+ type: Boolean,
759
+ default: false
760
+ },
761
+ required: {
762
+ type: Boolean,
763
+ default: false
764
+ },
765
+ readonly: {
766
+ type: Boolean,
767
+ default: false
768
+ },
769
+ disabled: {
770
+ type: Boolean,
771
+ default: false
772
+ }
773
+ },
774
+ expose: ['root'],
775
+ setup(props, context) {
776
+ // Refs & Styles
777
+ const root = ref();
778
+ const rootStyles = computed(() => ['or-date-time-picker-time-control-v3', ...DateTimePickerTimeControl]);
779
+ const placeholderStyles = computed(() => [...DateTimePickerTimeControlPlaceholder]);
780
+ // State
781
+ const model = re(toRef(props, 'modelValue'), context.emit);
782
+ const placeholder = se(toRef(props, 'format'), toRef(props, 'locale'));
783
+ return {
784
+ root,
785
+ rootStyles,
786
+ placeholderStyles,
787
+ model,
788
+ placeholder,
789
+ formatTime
790
+ };
791
+ }
792
+ });
793
+
794
+ const _hoisted_1$1 = ["contenteditable", "selected", "required", "readonly", "disabled"];
795
+ const _hoisted_2 = ["disabled"];
796
+ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
797
+ return openBlock(), createElementBlock("div", {
798
+ ref: 'root',
799
+ class: normalizeClass(_ctx.rootStyles),
800
+ contenteditable: !_ctx.disabled,
801
+ selected: _ctx.selected,
802
+ required: _ctx.required,
803
+ readonly: _ctx.readonly,
804
+ disabled: _ctx.disabled,
805
+ onKeydown: _cache[0] || (_cache[0] = withModifiers(() => {}, ["prevent"]))
806
+ }, [_ctx.model ? (openBlock(), createElementBlock(Fragment, {
807
+ key: 0
808
+ }, [createTextVNode(toDisplayString(_ctx.formatTime(_ctx.model, _ctx.format, _ctx.locale)), 1 /* TEXT */)], 64 /* STABLE_FRAGMENT */)) : (openBlock(), createElementBlock("span", {
809
+ key: 1,
810
+ class: normalizeClass(_ctx.placeholderStyles),
811
+ disabled: _ctx.disabled
812
+ }, toDisplayString(_ctx.placeholder), 11 /* TEXT, CLASS, PROPS */, _hoisted_2))], 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_1$1);
813
+ }
814
+
815
+ script$2.render = render$2;
816
+ script$2.__file = "src/components/or-date-time-picker-v3/partials/or-date-time-picker-time-control/OrDateTimePickerTimeControl.vue";
817
+
818
+ const DateTimePickerTimeSelect = [
819
+ // Layout
820
+ 'layout-row justify-center',
821
+ // Spacing
822
+ 'px-md', 'py-md', 'gap-sm',
823
+ // Typography
824
+ 'typography-body-2-regular',
825
+ // Theme
826
+ 'theme-foreground-default', 'dark:theme-foreground-default-dark'];
827
+ const DateTimePickerTimeSelectButtonGroup = [
828
+ // Layout
829
+ 'layout-column',
830
+ // Box
831
+ 'h-[294px] md:h-[238px]',
832
+ // Overflow
833
+ 'overflow-x-hidden', 'overflow-y-auto'];
834
+ const DateTimePickerTimeSelectButtonGroupItem = [
835
+ // Box
836
+ '!min-w-fit',
837
+ // Typography
838
+ 'typography-caption-regular'];
839
+
840
+ var script$1 = defineComponent({
841
+ name: 'OrDateTimePickerTimeSelect',
842
+ components: {
843
+ OrButton: script$9
844
+ },
845
+ model: {
846
+ prop: 'modelValue',
847
+ event: 'update:modelValue'
848
+ },
849
+ props: {
850
+ modelValue: {
851
+ type: undefined,
852
+ default: undefined
853
+ },
854
+ initialValue: {
855
+ type: Date,
856
+ required: true
857
+ },
858
+ format: {
859
+ type: [String, Function],
860
+ required: true
861
+ },
862
+ locale: {
863
+ type: String,
864
+ required: true
865
+ },
866
+ hoursFilter: {
867
+ type: Function,
868
+ default: undefined
869
+ },
870
+ minutesFilter: {
871
+ type: Function,
872
+ default: undefined
873
+ },
874
+ hourStep: {
875
+ type: Number,
876
+ default: 1
877
+ },
878
+ minuteStep: {
879
+ type: Number,
880
+ default: 1
881
+ },
882
+ isActive: {
883
+ type: Boolean,
884
+ default: false
885
+ }
886
+ },
887
+ emits: ['update:modelValue'],
888
+ expose: ['root'],
889
+ setup(props, context) {
890
+ var _a;
891
+ // Refs & Styles
892
+ const root = ref();
893
+ const hoursContainer = ref();
894
+ const minutesContainer = ref();
895
+ const hoursButtons = ref([]);
896
+ const minutesButtons = ref([]);
897
+ const rootStyles = computed(() => ['or-date-time-picker-time-select-v3', ...DateTimePickerTimeSelect]);
898
+ const buttonGroupStyles = computed(() => [...DateTimePickerTimeSelectButtonGroup]);
899
+ const buttonGroupItemStyles = computed(() => [...DateTimePickerTimeSelectButtonGroupItem]);
900
+ // State
901
+ const model = re(toRef(props, 'modelValue'), context.emit);
902
+ const dayPeriod = ref(((_a = model.value) !== null && _a !== void 0 ? _a : props.initialValue).getUTCHours() < 12 ? 'am' : 'pm');
903
+ // Effects
904
+ watch(dayPeriod, value => {
905
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
906
+ switch (value) {
907
+ case 'am':
908
+ model.value = new Date(Date.UTC(((_a = model.value) !== null && _a !== void 0 ? _a : props.initialValue).getUTCFullYear(), ((_b = model.value) !== null && _b !== void 0 ? _b : props.initialValue).getUTCMonth(), ((_c = model.value) !== null && _c !== void 0 ? _c : props.initialValue).getUTCDate(), ((_d = model.value) !== null && _d !== void 0 ? _d : props.initialValue).getUTCHours() - 12, ((_e = model.value) !== null && _e !== void 0 ? _e : props.initialValue).getUTCMinutes()));
909
+ break;
910
+ case 'pm':
911
+ model.value = new Date(Date.UTC(((_f = model.value) !== null && _f !== void 0 ? _f : props.initialValue).getUTCFullYear(), ((_g = model.value) !== null && _g !== void 0 ? _g : props.initialValue).getUTCMonth(), ((_h = model.value) !== null && _h !== void 0 ? _h : props.initialValue).getUTCDate(), ((_j = model.value) !== null && _j !== void 0 ? _j : props.initialValue).getUTCHours() + 12, ((_k = model.value) !== null && _k !== void 0 ? _k : props.initialValue).getUTCMinutes()));
912
+ break;
913
+ }
914
+ });
915
+ watch(() => props.isActive, isActive => {
916
+ // Wait for the next DOM update cycle to ensure all refs are correctly updated.
917
+ nextTick(() => {
918
+ if (!isActive || !model.value) {
919
+ return;
920
+ }
921
+ const activeHourButton = getActiveButton(hoursButtons.value, hoursOptions.value);
922
+ const activeMinuteButton = getActiveButton(minutesButtons.value, minutesOptions.value);
923
+ if (activeHourButton && hoursContainer.value) {
924
+ // scroll to the active hour button within the hours container.
925
+ scrollToElementWithinContainer(activeHourButton, hoursContainer.value);
926
+ }
927
+ if (activeMinuteButton && minutesContainer.value) {
928
+ // scroll to the active minute button within the minutes container.
929
+ scrollToElementWithinContainer(activeMinuteButton, minutesContainer.value);
930
+ }
931
+ });
932
+ }, {
933
+ immediate: true
934
+ });
935
+ // Computed
936
+ const proxyTimeFormat = computed(() => {
937
+ if (typeof props.format === 'function' || props.format === h.Auto) {
938
+ const timeSample = new Date(1970, 0);
939
+ if (timeSample.toLocaleTimeString(props.locale).includes('12')) {
940
+ return h.H12;
941
+ }
942
+ return h.H23;
943
+ }
944
+ return props.format;
945
+ });
946
+ const hoursOptions = computed(() => {
947
+ const hourStep = props.hourStep > 0 ? props.hourStep : 1;
948
+ return Array.from({
949
+ length: Math.ceil(24 / hourStep)
950
+ }, (_value, index) => {
951
+ var _a, _b, _c, _d;
952
+ const value = index * hourStep;
953
+ return new Date(Date.UTC(((_a = model.value) !== null && _a !== void 0 ? _a : props.initialValue).getUTCFullYear(), ((_b = model.value) !== null && _b !== void 0 ? _b : props.initialValue).getUTCMonth(), ((_c = model.value) !== null && _c !== void 0 ? _c : props.initialValue).getUTCDate(), value, ((_d = model.value) !== null && _d !== void 0 ? _d : props.initialValue).getUTCMinutes()));
954
+ }).filter(value => {
955
+ if (proxyTimeFormat.value === h.H23) {
956
+ return true;
957
+ }
958
+ switch (dayPeriod.value) {
959
+ case 'am':
960
+ return value.getUTCHours() < 12;
961
+ case 'pm':
962
+ return value.getUTCHours() >= 12;
963
+ }
964
+ });
965
+ });
966
+ const minutesOptions = computed(() => {
967
+ const minuteStep = props.minuteStep > 0 ? props.minuteStep : 1;
968
+ return Array.from({
969
+ length: Math.ceil(60 / minuteStep)
970
+ }, (_value, index) => {
971
+ var _a, _b, _c, _d;
972
+ const value = index * minuteStep;
973
+ return new Date(Date.UTC(((_a = model.value) !== null && _a !== void 0 ? _a : props.initialValue).getUTCFullYear(), ((_b = model.value) !== null && _b !== void 0 ? _b : props.initialValue).getUTCMonth(), ((_c = model.value) !== null && _c !== void 0 ? _c : props.initialValue).getUTCDate(), ((_d = model.value) !== null && _d !== void 0 ? _d : props.initialValue).getUTCHours(), value));
974
+ });
975
+ });
976
+ // Methods
977
+ function formatHours(value) {
978
+ return value.toLocaleString(props.locale, {
979
+ hour: 'numeric',
980
+ hourCycle: typeof props.format !== 'function' && props.format !== h.Auto ? props.format : undefined,
981
+ timeZone: 'UTC'
982
+ }).replace(/\D/g, '');
983
+ }
984
+ function formatMinutes(value) {
985
+ return String(value.getUTCMinutes()).padStart(2, '0');
986
+ }
987
+ function sortElementsByPosition(elements) {
988
+ return [...elements].sort((a, b) => {
989
+ return a.root.compareDocumentPosition(b.root) & 2 ? 1 : -1;
990
+ });
991
+ }
992
+ function getActiveButton(buttons, options) {
993
+ var _a;
994
+ return (_a = sortElementsByPosition(buttons).find((button, index) => Number(model.value) === Number(options[index]))) === null || _a === void 0 ? void 0 : _a.root;
995
+ }
996
+ return {
997
+ root,
998
+ rootStyles,
999
+ hoursContainer,
1000
+ minutesContainer,
1001
+ hoursButtons,
1002
+ minutesButtons,
1003
+ buttonGroupStyles,
1004
+ buttonGroupItemStyles,
1005
+ model,
1006
+ dayPeriod,
1007
+ proxyTimeFormat,
1008
+ hoursOptions,
1009
+ minutesOptions,
1010
+ formatHours,
1011
+ formatMinutes
1012
+ };
1013
+ }
1014
+ });
1015
+
1016
+ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
1017
+ const _component_OrButton = resolveComponent("OrButton");
1018
+ return openBlock(), createElementBlock("div", {
1019
+ ref: 'root',
1020
+ class: normalizeClass(_ctx.rootStyles)
1021
+ }, [createElementVNode("div", {
1022
+ ref: 'hoursContainer',
1023
+ class: normalizeClass(_ctx.buttonGroupStyles)
1024
+ }, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.hoursOptions, value => {
1025
+ return openBlock(), createBlock(_component_OrButton, {
1026
+ ref_for: true,
1027
+ ref: 'hoursButtons',
1028
+ key: Number(value),
1029
+ class: normalizeClass(_ctx.buttonGroupItemStyles),
1030
+ variant: Number(value) === Number(_ctx.model) ? 'contained' : 'text',
1031
+ color: Number(value) === Number(_ctx.model) ? 'primary' : 'inherit',
1032
+ disabled: _ctx.hoursFilter && !_ctx.hoursFilter(value),
1033
+ onClick: withModifiers($event => _ctx.model = value, ["stop"])
1034
+ }, {
1035
+ default: withCtx(() => [createTextVNode(toDisplayString(_ctx.formatHours(value)), 1 /* TEXT */)]),
1036
+ _: 2 /* DYNAMIC */
1037
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["class", "variant", "color", "disabled", "onClick"]);
1038
+ }), 128 /* KEYED_FRAGMENT */))], 2 /* CLASS */), createTextVNode(" : "), createElementVNode("div", {
1039
+ ref: 'minutesContainer',
1040
+ class: normalizeClass(_ctx.buttonGroupStyles)
1041
+ }, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.minutesOptions, value => {
1042
+ return openBlock(), createBlock(_component_OrButton, {
1043
+ ref_for: true,
1044
+ ref: 'minutesButtons',
1045
+ key: Number(value),
1046
+ class: normalizeClass(_ctx.buttonGroupItemStyles),
1047
+ variant: Number(value) === Number(_ctx.model) ? 'contained' : 'text',
1048
+ color: Number(value) === Number(_ctx.model) ? 'primary' : 'inherit',
1049
+ disabled: _ctx.minutesFilter && !_ctx.minutesFilter(value),
1050
+ onClick: withModifiers($event => _ctx.model = value, ["stop"])
1051
+ }, {
1052
+ default: withCtx(() => [createTextVNode(toDisplayString(_ctx.formatMinutes(value)), 1 /* TEXT */)]),
1053
+ _: 2 /* DYNAMIC */
1054
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["class", "variant", "color", "disabled", "onClick"]);
1055
+ }), 128 /* KEYED_FRAGMENT */))], 2 /* CLASS */), _ctx.proxyTimeFormat === 'h12' ? (openBlock(), createElementBlock("div", {
1056
+ key: 0,
1057
+ class: normalizeClass(_ctx.buttonGroupStyles)
1058
+ }, [createVNode(_component_OrButton, {
1059
+ class: normalizeClass(_ctx.buttonGroupItemStyles),
1060
+ variant: _ctx.dayPeriod === 'am' ? 'contained' : 'text',
1061
+ color: _ctx.dayPeriod === 'am' ? 'primary' : 'inherit',
1062
+ onClick: _cache[0] || (_cache[0] = withModifiers($event => _ctx.dayPeriod = 'am', ["stop"]))
1063
+ }, {
1064
+ default: withCtx(() => [createTextVNode(" AM ")]),
1065
+ _: 1 /* STABLE */
1066
+ }, 8 /* PROPS */, ["class", "variant", "color"]), createVNode(_component_OrButton, {
1067
+ class: normalizeClass(_ctx.buttonGroupItemStyles),
1068
+ variant: _ctx.dayPeriod === 'pm' ? 'contained' : 'text',
1069
+ color: _ctx.dayPeriod === 'pm' ? 'primary' : 'inherit',
1070
+ onClick: _cache[1] || (_cache[1] = withModifiers($event => _ctx.dayPeriod = 'pm', ["stop"]))
1071
+ }, {
1072
+ default: withCtx(() => [createTextVNode(" PM ")]),
1073
+ _: 1 /* STABLE */
1074
+ }, 8 /* PROPS */, ["class", "variant", "color"])], 2 /* CLASS */)) : createCommentVNode("v-if", true)], 2 /* CLASS */);
1075
+ }
1076
+
1077
+ script$1.render = render$1;
1078
+ script$1.__file = "src/components/or-date-time-picker-v3/partials/or-date-time-picker-time-select/OrDateTimePickerTimeSelect.vue";
1079
+
1080
+ const DateTimePicker = [
1081
+ // Layout
1082
+ 'layout-column',
1083
+ // Spacing
1084
+ 'gap-xs'];
1085
+ const DateTimePickerDatePopover = [
1086
+ // Box
1087
+ 'w-[298px]'];
1088
+ const DateTimePickerTimePopover = [];
1089
+
1090
+ var script = defineComponent({
1091
+ name: 'OrDateTimePicker',
1092
+ components: {
1093
+ OrDateTimePickerDateControl: script$8,
1094
+ OrDateTimePickerDateSelect: script$7,
1095
+ OrDateTimePickerMobileControl: script$6,
1096
+ OrDateTimePickerMonthSelect: script$5,
1097
+ OrDateTimePickerPopoverFooter: script$4,
1098
+ OrDateTimePickerPopoverHeader: script$3,
1099
+ OrDateTimePickerTimeControl: script$2,
1100
+ OrDateTimePickerTimeSelect: script$1,
1101
+ OrError: script$f,
1102
+ OrHint: script$g,
1103
+ OrIcon: script$b,
1104
+ OrIconButton: script$c,
1105
+ OrInputBox: script$h,
1106
+ OrLabel: script$a,
1107
+ OrPopover: script$i
1108
+ },
1109
+ directives: {
1110
+ DropdownClose: s,
1111
+ DropdownOpen: c
1112
+ },
1113
+ model: {
1114
+ prop: 'modelValue',
1115
+ event: 'update:modelValue'
1116
+ },
1117
+ props: {
1118
+ modelValue: {
1119
+ type: undefined,
1120
+ default: undefined
1121
+ },
1122
+ dateFormat: {
1123
+ type: [String, Function],
1124
+ default: undefined
1125
+ },
1126
+ timeFormat: {
1127
+ type: [String, Function],
1128
+ default: undefined
1129
+ },
1130
+ locale: {
1131
+ type: String,
1132
+ default: undefined
1133
+ },
1134
+ yearFilter: {
1135
+ type: Function,
1136
+ default: undefined
1137
+ },
1138
+ monthFilter: {
1139
+ type: Function,
1140
+ default: undefined
1141
+ },
1142
+ dateFilter: {
1143
+ type: Function,
1144
+ default: undefined
1145
+ },
1146
+ hoursFilter: {
1147
+ type: Function,
1148
+ default: undefined
1149
+ },
1150
+ minutesFilter: {
1151
+ type: Function,
1152
+ default: undefined
1153
+ },
1154
+ hourStep: {
1155
+ type: Number,
1156
+ default: 1
1157
+ },
1158
+ minuteStep: {
1159
+ type: Number,
1160
+ default: 1
1161
+ },
1162
+ variant: {
1163
+ type: String,
1164
+ default: undefined
1165
+ },
1166
+ size: {
1167
+ type: String,
1168
+ default: undefined
1169
+ },
1170
+ anchor: {
1171
+ type: Object,
1172
+ default: undefined
1173
+ },
1174
+ label: {
1175
+ type: String,
1176
+ default: undefined
1177
+ },
1178
+ hint: {
1179
+ type: String,
1180
+ default: undefined
1181
+ },
1182
+ error: {
1183
+ type: [String, Boolean],
1184
+ default: undefined
1185
+ },
1186
+ required: {
1187
+ type: Boolean,
1188
+ default: false
1189
+ },
1190
+ readonly: {
1191
+ type: Boolean,
1192
+ default: false
1193
+ },
1194
+ disabled: {
1195
+ type: Boolean,
1196
+ default: false
1197
+ }
1198
+ },
1199
+ emits: ['update:modelValue', 'input', 'keydown', 'keyup', 'focus', 'blur'],
1200
+ expose: ['root', 'focus', 'blur'],
1201
+ setup(props, context) {
1202
+ var _a;
1203
+ // Refs & Styles
1204
+ const root = ref();
1205
+ const rootStyles = computed(() => ['or-date-time-picker-v3', ...DateTimePicker, ...(props.variant === InputBoxVariant.Embedded ? ['grow'] : [])]);
1206
+ const inputBox = ref();
1207
+ const inputBoxRoot = computed(() => {
1208
+ var _a;
1209
+ return (_a = inputBox.value) === null || _a === void 0 ? void 0 : _a.root;
1210
+ });
1211
+ const datePopover = ref();
1212
+ const datePopoverState = computed(() => {
1213
+ var _a;
1214
+ return (_a = datePopover.value) === null || _a === void 0 ? void 0 : _a.state;
1215
+ });
1216
+ const datePopoverStyles = computed(() => ['or-date-time-picker-date-popover-v3', ...DateTimePickerDatePopover]);
1217
+ const timePopover = ref();
1218
+ const timePopoverState = computed(() => {
1219
+ var _a;
1220
+ return (_a = timePopover.value) === null || _a === void 0 ? void 0 : _a.state;
1221
+ });
1222
+ const timePopoverStyles = computed(() => ['or-date-time-picker-time-popover-v3', ...DateTimePickerTimePopover]);
1223
+ // Options
1224
+ const resolvedDateFormat = k(toRef(props, 'dateFormat'));
1225
+ const resolvedTimeFormat = oe(toRef(props, 'timeFormat'));
1226
+ const resolvedLocale = X(toRef(props, 'locale'));
1227
+ // State
1228
+ const initialValue = ref((_a = props.modelValue) !== null && _a !== void 0 ? _a : getCurrentDate());
1229
+ watch(() => props.modelValue, value => {
1230
+ initialValue.value = value !== null && value !== void 0 ? value : getCurrentDate();
1231
+ });
1232
+ const model = re(toRef(props, 'modelValue'), context.emit);
1233
+ const draft = ref(model.value);
1234
+ watch(model, value => {
1235
+ draft.value = value;
1236
+ });
1237
+ const invalid = computed(() => {
1238
+ if (draft.value) {
1239
+ if (props.yearFilter && !props.yearFilter(draft.value)) {
1240
+ return true;
1241
+ }
1242
+ if (props.monthFilter && !props.monthFilter(draft.value)) {
1243
+ return true;
1244
+ }
1245
+ if (props.dateFilter && !props.dateFilter(draft.value)) {
1246
+ return true;
1247
+ }
1248
+ if (props.hoursFilter && !props.hoursFilter(draft.value)) {
1249
+ return true;
1250
+ }
1251
+ if (props.minutesFilter && !props.minutesFilter(draft.value)) {
1252
+ return true;
1253
+ }
1254
+ return false;
1255
+ }
1256
+ return true;
1257
+ });
1258
+ // Methods
1259
+ function apply() {
1260
+ model.value = draft.value;
1261
+ }
1262
+ function reset() {
1263
+ draft.value = model.value;
1264
+ }
1265
+ function toggleDatePopover() {
1266
+ if (!props.readonly && !props.disabled) {
1267
+ const popoverInstance = datePopover.value;
1268
+ if (popoverInstance) {
1269
+ if (datePopoverState.value === 'open') {
1270
+ popoverInstance.close();
1271
+ } else {
1272
+ popoverInstance.open();
1273
+ }
1274
+ }
1275
+ closeTimePopover();
1276
+ }
1277
+ }
1278
+ function toggleTimePopover() {
1279
+ if (!props.readonly && !props.disabled) {
1280
+ const popoverInstance = timePopover.value;
1281
+ if (popoverInstance) {
1282
+ if (timePopoverState.value === 'open') {
1283
+ popoverInstance.close();
1284
+ } else {
1285
+ popoverInstance.open();
1286
+ }
1287
+ }
1288
+ closeDatePopover();
1289
+ }
1290
+ }
1291
+ function closeDatePopover() {
1292
+ const popoverInstance = datePopover.value;
1293
+ if (popoverInstance) {
1294
+ popoverInstance.close();
1295
+ }
1296
+ }
1297
+ function closeTimePopover() {
1298
+ const popoverInstance = timePopover.value;
1299
+ if (popoverInstance) {
1300
+ popoverInstance.close();
1301
+ }
1302
+ }
1303
+ return {
1304
+ root,
1305
+ rootStyles,
1306
+ inputBox,
1307
+ inputBoxRoot,
1308
+ datePopover,
1309
+ datePopoverState,
1310
+ datePopoverStyles,
1311
+ timePopover,
1312
+ timePopoverState,
1313
+ timePopoverStyles,
1314
+ resolvedDateFormat,
1315
+ resolvedTimeFormat,
1316
+ resolvedLocale,
1317
+ initialValue,
1318
+ model,
1319
+ draft,
1320
+ invalid,
1321
+ apply,
1322
+ reset,
1323
+ toggleDatePopover,
1324
+ toggleTimePopover,
1325
+ closeDatePopover,
1326
+ closeTimePopover,
1327
+ formatMobileDate,
1328
+ formatMobileTime
1329
+ };
1330
+ }
1331
+ });
1332
+
1333
+ const _hoisted_1 = /*#__PURE__*/createElementVNode("div", {
1334
+ class: /*#__PURE__*/normalizeClass(['grow'])
1335
+ }, null, -1 /* HOISTED */);
1336
+ function render(_ctx, _cache, $props, $setup, $data, $options) {
1337
+ const _component_OrLabel = resolveComponent("OrLabel");
1338
+ const _component_OrDateTimePickerDateControl = resolveComponent("OrDateTimePickerDateControl");
1339
+ const _component_OrDateTimePickerTimeControl = resolveComponent("OrDateTimePickerTimeControl");
1340
+ const _component_OrDateTimePickerMobileControl = resolveComponent("OrDateTimePickerMobileControl");
1341
+ const _component_OrDateTimePickerPopoverHeader = resolveComponent("OrDateTimePickerPopoverHeader");
1342
+ const _component_OrDateTimePickerMonthSelect = resolveComponent("OrDateTimePickerMonthSelect");
1343
+ const _component_OrDateTimePickerDateSelect = resolveComponent("OrDateTimePickerDateSelect");
1344
+ const _component_OrDateTimePickerPopoverFooter = resolveComponent("OrDateTimePickerPopoverFooter");
1345
+ const _component_OrPopover = resolveComponent("OrPopover");
1346
+ const _component_OrDateTimePickerTimeSelect = resolveComponent("OrDateTimePickerTimeSelect");
1347
+ const _component_OrIconButton = resolveComponent("OrIconButton");
1348
+ const _component_OrIcon = resolveComponent("OrIcon");
1349
+ const _component_OrInputBox = resolveComponent("OrInputBox");
1350
+ const _component_OrHint = resolveComponent("OrHint");
1351
+ const _component_OrError = resolveComponent("OrError");
1352
+ const _directive_dropdown_open = resolveDirective("dropdown-open");
1353
+ const _directive_dropdown_close = resolveDirective("dropdown-close");
1354
+ return openBlock(), createElementBlock("div", {
1355
+ ref: 'root',
1356
+ class: normalizeClass(_ctx.rootStyles)
1357
+ }, [_ctx.$slots.label || _ctx.$slots.addon || _ctx.label ? (openBlock(), createBlock(_component_OrLabel, {
1358
+ key: 0,
1359
+ variant: 'input',
1360
+ required: _ctx.required,
1361
+ disabled: _ctx.disabled
1362
+ }, {
1363
+ addon: withCtx(() => [renderSlot(_ctx.$slots, "addon")]),
1364
+ default: withCtx(() => [renderSlot(_ctx.$slots, "label", {}, () => [createTextVNode(toDisplayString(_ctx.label), 1 /* TEXT */)])]),
1365
+ _: 3 /* FORWARDED */
1366
+ }, 8 /* PROPS */, ["required", "disabled"])) : createCommentVNode("v-if", true), withDirectives((openBlock(), createBlock(_component_OrInputBox, {
1367
+ ref: 'inputBox',
1368
+ variant: _ctx.variant,
1369
+ size: _ctx.size,
1370
+ invalid: !!_ctx.error,
1371
+ readonly: _ctx.readonly,
1372
+ disabled: _ctx.disabled
1373
+ }, {
1374
+ addon: withCtx(() => [_ctx.modelValue ? (openBlock(), createBlock(_component_OrIconButton, {
1375
+ key: 0,
1376
+ icon: 'close',
1377
+ color: 'inherit',
1378
+ disabled: _ctx.readonly || _ctx.disabled,
1379
+ onClick: _cache[11] || (_cache[11] = withModifiers($event => _ctx.$emit('update:modelValue', undefined), ["stop"]))
1380
+ }, null, 8 /* PROPS */, ["disabled"])) : (openBlock(), createBlock(_component_OrIcon, {
1381
+ key: 1,
1382
+ icon: 'calendar_month',
1383
+ variant: 'outlined'
1384
+ }))]),
1385
+ default: withCtx(() => [withDirectives(createVNode(_component_OrDateTimePickerDateControl, {
1386
+ modelValue: _ctx.draft,
1387
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.draft = $event),
1388
+ format: _ctx.resolvedDateFormat,
1389
+ locale: _ctx.resolvedLocale,
1390
+ selected: _ctx.datePopover && _ctx.datePopover.state === 'open',
1391
+ required: _ctx.required,
1392
+ readonly: _ctx.readonly,
1393
+ disabled: _ctx.disabled
1394
+ }, null, 8 /* PROPS */, ["modelValue", "format", "locale", "selected", "required", "readonly", "disabled"]), [[_directive_dropdown_open, _ctx.toggleDatePopover], [_directive_dropdown_close, _ctx.closeDatePopover]]), withDirectives(createVNode(_component_OrDateTimePickerTimeControl, {
1395
+ modelValue: _ctx.draft,
1396
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = $event => _ctx.draft = $event),
1397
+ format: _ctx.resolvedTimeFormat,
1398
+ locale: _ctx.resolvedLocale,
1399
+ selected: _ctx.timePopover && _ctx.timePopover.state === 'open',
1400
+ required: _ctx.required,
1401
+ readonly: _ctx.readonly,
1402
+ disabled: _ctx.disabled
1403
+ }, null, 8 /* PROPS */, ["modelValue", "format", "locale", "selected", "required", "readonly", "disabled"]), [[_directive_dropdown_open, _ctx.toggleTimePopover], [_directive_dropdown_close, _ctx.closeTimePopover]]), createVNode(_component_OrPopover, {
1404
+ ref: 'datePopover',
1405
+ class: normalizeClass(_ctx.datePopoverStyles),
1406
+ "custom-styles": _ctx.datePopoverStyles,
1407
+ variant: 'auto',
1408
+ "bottom-sheet-props": {
1409
+ variant: 'basic'
1410
+ },
1411
+ trigger: _ctx.anchor || _ctx.inputBoxRoot,
1412
+ placement: 'bottom-start',
1413
+ "fallback-placement": 'start',
1414
+ onClose: _cache[6] || (_cache[6] = $event => _ctx.reset())
1415
+ }, {
1416
+ default: withCtx(() => [createVNode(_component_OrDateTimePickerPopoverHeader, null, {
1417
+ default: withCtx(() => [createVNode(_component_OrDateTimePickerMobileControl, {
1418
+ label: 'Date'
1419
+ }, {
1420
+ default: withCtx(() => [createTextVNode(toDisplayString(_ctx.draft ? _ctx.formatMobileDate(_ctx.draft, _ctx.resolvedDateFormat, _ctx.resolvedLocale) : '--'), 1 /* TEXT */)]),
1421
+ _: 1 /* STABLE */
1422
+ }), createVNode(_component_OrDateTimePickerMobileControl, {
1423
+ label: 'Time'
1424
+ }, {
1425
+ default: withCtx(() => [createTextVNode(toDisplayString(_ctx.draft ? _ctx.formatMobileTime(_ctx.draft, _ctx.resolvedTimeFormat, _ctx.resolvedLocale) : '--'), 1 /* TEXT */)]),
1426
+ _: 1 /* STABLE */
1427
+ })]),
1428
+ _: 1 /* STABLE */
1429
+ }), createVNode(_component_OrDateTimePickerMonthSelect, {
1430
+ modelValue: _ctx.initialValue,
1431
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = $event => _ctx.initialValue = $event),
1432
+ locale: _ctx.resolvedLocale,
1433
+ "year-filter": _ctx.yearFilter,
1434
+ "month-filter": _ctx.monthFilter
1435
+ }, null, 8 /* PROPS */, ["modelValue", "locale", "year-filter", "month-filter"]), createVNode(_component_OrDateTimePickerDateSelect, {
1436
+ modelValue: _ctx.draft,
1437
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = $event => _ctx.draft = $event),
1438
+ "initial-value": _ctx.initialValue,
1439
+ format: _ctx.resolvedDateFormat,
1440
+ locale: _ctx.resolvedLocale,
1441
+ "date-filter": _ctx.dateFilter
1442
+ }, null, 8 /* PROPS */, ["modelValue", "initial-value", "format", "locale", "date-filter"]), createVNode(_component_OrDateTimePickerPopoverFooter, {
1443
+ disabled: _ctx.invalid,
1444
+ onApply: _cache[4] || (_cache[4] = $event => {
1445
+ _ctx.apply();
1446
+ _ctx.datePopover && _ctx.datePopover.close();
1447
+ }),
1448
+ onReset: _cache[5] || (_cache[5] = $event => {
1449
+ _ctx.reset();
1450
+ _ctx.datePopover && _ctx.datePopover.close();
1451
+ })
1452
+ }, null, 8 /* PROPS */, ["disabled"])]),
1453
+ _: 1 /* STABLE */
1454
+ }, 8 /* PROPS */, ["class", "custom-styles", "trigger"]), createVNode(_component_OrPopover, {
1455
+ ref: 'timePopover',
1456
+ class: normalizeClass(_ctx.timePopoverStyles),
1457
+ "custom-styles": _ctx.timePopoverStyles,
1458
+ variant: 'auto',
1459
+ "bottom-sheet-props": {
1460
+ variant: 'basic'
1461
+ },
1462
+ trigger: _ctx.anchor || _ctx.inputBoxRoot,
1463
+ placement: 'bottom-start',
1464
+ "fallback-placement": 'start',
1465
+ onClose: _cache[10] || (_cache[10] = $event => _ctx.reset())
1466
+ }, {
1467
+ default: withCtx(() => [createVNode(_component_OrDateTimePickerPopoverHeader, null, {
1468
+ default: withCtx(() => [createVNode(_component_OrDateTimePickerMobileControl, {
1469
+ label: 'Date'
1470
+ }, {
1471
+ default: withCtx(() => [createTextVNode(toDisplayString(_ctx.draft ? _ctx.formatMobileDate(_ctx.draft, _ctx.resolvedDateFormat, _ctx.resolvedLocale) : '--'), 1 /* TEXT */)]),
1472
+ _: 1 /* STABLE */
1473
+ }), createVNode(_component_OrDateTimePickerMobileControl, {
1474
+ label: 'Time'
1475
+ }, {
1476
+ default: withCtx(() => [createTextVNode(toDisplayString(_ctx.draft ? _ctx.formatMobileTime(_ctx.draft, _ctx.resolvedTimeFormat, _ctx.resolvedLocale) : '--'), 1 /* TEXT */)]),
1477
+ _: 1 /* STABLE */
1478
+ })]),
1479
+ _: 1 /* STABLE */
1480
+ }), createVNode(_component_OrDateTimePickerTimeSelect, {
1481
+ modelValue: _ctx.draft,
1482
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = $event => _ctx.draft = $event),
1483
+ "initial-value": _ctx.initialValue,
1484
+ format: _ctx.resolvedTimeFormat,
1485
+ locale: _ctx.resolvedLocale,
1486
+ "hours-filter": _ctx.hoursFilter,
1487
+ "minutes-filter": _ctx.minutesFilter,
1488
+ "is-active": _ctx.timePopover && _ctx.timePopover.state === 'open',
1489
+ "hour-step": _ctx.hourStep,
1490
+ "minute-step": _ctx.minuteStep
1491
+ }, null, 8 /* PROPS */, ["modelValue", "initial-value", "format", "locale", "hours-filter", "minutes-filter", "is-active", "hour-step", "minute-step"]), createVNode(_component_OrDateTimePickerPopoverFooter, {
1492
+ disabled: _ctx.invalid,
1493
+ onApply: _cache[8] || (_cache[8] = $event => {
1494
+ _ctx.apply();
1495
+ _ctx.timePopover && _ctx.timePopover.close();
1496
+ }),
1497
+ onReset: _cache[9] || (_cache[9] = $event => {
1498
+ _ctx.reset();
1499
+ _ctx.timePopover && _ctx.timePopover.close();
1500
+ })
1501
+ }, null, 8 /* PROPS */, ["disabled"])]),
1502
+ _: 1 /* STABLE */
1503
+ }, 8 /* PROPS */, ["class", "custom-styles", "trigger"]), _hoisted_1]),
1504
+ _: 1 /* STABLE */
1505
+ }, 8 /* PROPS */, ["variant", "size", "invalid", "readonly", "disabled"])), [[_directive_dropdown_open, _ctx.toggleDatePopover], [_directive_dropdown_close, _ctx.closeDatePopover]]), _ctx.$slots.hint || _ctx.hint ? withDirectives((openBlock(), createBlock(_component_OrHint, {
1506
+ key: 1,
1507
+ disabled: _ctx.disabled
1508
+ }, {
1509
+ default: withCtx(() => [renderSlot(_ctx.$slots, "hint", {}, () => [createTextVNode(toDisplayString(_ctx.hint), 1 /* TEXT */)])]),
1510
+ _: 3 /* FORWARDED */
1511
+ }, 8 /* PROPS */, ["disabled"])), [[vShow, !_ctx.error]]) : createCommentVNode("v-if", true), withDirectives(createVNode(_component_OrError, {
1512
+ disabled: _ctx.disabled
1513
+ }, {
1514
+ default: withCtx(() => [createTextVNode(toDisplayString(_ctx.error), 1 /* TEXT */)]),
1515
+ _: 1 /* STABLE */
1516
+ }, 8 /* PROPS */, ["disabled"]), [[vShow, typeof _ctx.error === 'string' && _ctx.error.length > 0]])], 2 /* CLASS */);
1517
+ }
1518
+
1519
+ script.render = render;
1520
+ script.__file = "src/components/or-date-time-picker-v3/OrDateTimePicker.vue";
1521
+
1522
+ export { script$8 as OrDateTimePickerDateControl, script$7 as OrDateTimePickerDateSelect, script$6 as OrDateTimePickerMobileControl, script$5 as OrDateTimePickerMonthSelect, script$4 as OrDateTimePickerPopoverFooter, script$3 as OrDateTimePickerPopoverHeader, script$2 as OrDateTimePickerTimeControl, script$1 as OrDateTimePickerTimeSelect, script as OrDateTimePickerV3, formatDate, formatMobileDate, formatMobileTime, formatTime, getCurrentDate, getNextMonthDate, scrollToElementWithinContainer };