origam 0.3.5 → 0.3.7

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 (244) hide show
  1. package/dist/composables/Commons/hotkey.composable.d.ts.map +1 -1
  2. package/dist/composables/index.d.ts +2 -2
  3. package/dist/composables/index.d.ts.map +1 -1
  4. package/dist/consts/Commons/hotkey.const.d.ts.map +1 -1
  5. package/dist/consts/index.d.ts +1 -0
  6. package/dist/consts/index.d.ts.map +1 -1
  7. package/dist/src/components/Dialog/OrigamDialog.vue +1 -1
  8. package/dist/src/components/Dialog/OrigamDialogConfirmation.vue +1 -1
  9. package/dist/src/components/Divider/OrigamDivider.vue +1 -1
  10. package/dist/src/components/Drawer/OrigamDrawer.vue +13 -13
  11. package/dist/src/components/ExpansionPanel/OrigamExpansionPanel.vue +1 -1
  12. package/dist/src/components/ExpansionPanel/OrigamExpansionPanelContent.vue +1 -1
  13. package/dist/src/components/ExpansionPanel/OrigamExpansionPanelHeader.vue +1 -1
  14. package/dist/src/components/ExpansionPanel/OrigamExpansionPanels.vue +1 -1
  15. package/dist/src/components/Field/OrigamField.vue +1 -1
  16. package/dist/src/components/FileField/OrigamFileField.vue +1 -1
  17. package/dist/src/components/Form/OrigamForm.vue +1 -1
  18. package/dist/src/components/Grids/OrigamRow.vue +1 -1
  19. package/dist/src/components/Grids/OrigamSpacer.vue +1 -1
  20. package/dist/src/components/Highlight/OrigamHighlight.vue +1 -1
  21. package/dist/src/components/Icon/OrigamIcon.vue +1 -1
  22. package/dist/src/components/Icon/OrigamLigatureIcon.vue +1 -1
  23. package/dist/src/components/Icon/OrigamSvgIcon.vue +4 -4
  24. package/dist/src/components/Img/OrigamImg.vue +6 -6
  25. package/dist/src/components/InfiniteScroll/OrigamInfiniteScroll.vue +8 -2
  26. package/dist/src/components/InfiniteScroll/OrigamInfiniteScrollIntersect.vue +1 -1
  27. package/dist/src/components/Input/OrigamInput.vue +1 -1
  28. package/dist/src/components/Label/OrigamLabel.vue +1 -1
  29. package/dist/src/components/Layout/OrigamLayout.vue +1 -1
  30. package/dist/src/components/Lazy/OrigamLazy.vue +1 -1
  31. package/dist/src/components/List/OrigamList.vue +1 -1
  32. package/dist/src/components/List/OrigamListChildren.vue +1 -1
  33. package/dist/src/components/List/OrigamListGroup.vue +1 -1
  34. package/dist/src/components/List/OrigamListGroupActivator.vue +1 -1
  35. package/dist/src/components/List/OrigamListItem.vue +1 -1
  36. package/dist/src/components/List/OrigamListSubheader.vue +1 -1
  37. package/dist/src/components/Loader/OrigamLoader.vue +1 -1
  38. package/dist/src/components/Main/OrigamMain.vue +1 -1
  39. package/dist/src/components/Menu/OrigamMenu.vue +1 -1
  40. package/dist/src/components/Messages/OrigamMessages.vue +1 -1
  41. package/dist/src/components/NumberField/OrigamNumberField.vue +1 -1
  42. package/dist/src/components/OtpInputField/OrigamOtpInputField.vue +1 -1
  43. package/dist/src/components/Overlay/OrigamOverlay.vue +1 -1
  44. package/dist/src/components/Overlay/OrigamOverlayScrim.vue +1 -1
  45. package/dist/src/components/PageBuilder/OrigamEditWrapper.vue +1 -1
  46. package/dist/src/components/PageBuilder/OrigamPageBuilder.vue +1 -1
  47. package/dist/src/components/Pagination/OrigamPagination.vue +1 -1
  48. package/dist/src/components/Parallax/OrigamParallax.vue +1 -1
  49. package/dist/src/components/Parallax/OrigamParallaxElement.vue +1 -1
  50. package/dist/src/components/PasswordField/OrigamPasswordField.vue +1 -1
  51. package/dist/src/components/Picker/OrigamPicker.vue +1 -1
  52. package/dist/src/components/Picker/OrigamPickerTitle.vue +1 -1
  53. package/dist/src/components/Progress/OrigamProgress.vue +1 -1
  54. package/dist/src/components/Progress/OrigamProgressCircular.vue +1 -1
  55. package/dist/src/components/Progress/OrigamProgressLinear.vue +1 -1
  56. package/dist/src/components/Radio/OrigamRadio.vue +1 -1
  57. package/dist/src/components/Radio/OrigamRadioBtn.vue +1 -1
  58. package/dist/src/components/Radio/OrigamRadioGroup.vue +1 -1
  59. package/dist/src/components/RatingField/OrigamRatingField.vue +1 -1
  60. package/dist/src/components/RatingField/OrigamRatingFieldItem.vue +1 -1
  61. package/dist/src/components/Responsive/OrigamResponsive.vue +9 -1
  62. package/dist/src/components/Select/OrigamSelect.vue +13 -13
  63. package/dist/src/components/SelectionControl/OrigamSelectionControl.vue +1 -1
  64. package/dist/src/components/SelectionControl/OrigamSelectionControlGroup.vue +1 -1
  65. package/dist/src/components/Sheet/OrigamSheet.vue +1 -1
  66. package/dist/src/components/Slide/OrigamSlideGroup.vue +1 -1
  67. package/dist/src/components/SliderField/OrigamSliderField.vue +1 -1
  68. package/dist/src/components/SliderField/OrigamSliderFieldThumb.vue +1 -1
  69. package/dist/src/components/SliderField/OrigamSliderFieldTrack.vue +1 -1
  70. package/dist/src/components/Snackbar/OrigamSnackbar.vue +13 -13
  71. package/dist/src/components/Switch/OrigamSwitch.vue +8 -2
  72. package/dist/src/components/SystemBar/OrigamSystemBar.vue +1 -1
  73. package/dist/src/components/Table/OrigamTable.vue +1 -1
  74. package/dist/src/components/TextField/OrigamTextField.vue +1 -1
  75. package/dist/src/components/TextareaField/OrigamTextareaField.vue +5 -5
  76. package/dist/src/components/Title/OrigamTitle.vue +1 -1
  77. package/dist/src/components/Toolbar/OrigamToolbar.vue +1 -1
  78. package/dist/src/components/Tooltip/OrigamTooltip.vue +1 -1
  79. package/dist/src/components/Transition/OrigamExpandX.vue +1 -1
  80. package/dist/src/components/Transition/OrigamExpandY.vue +1 -1
  81. package/dist/src/components/Transition/OrigamTransition.vue +1 -1
  82. package/dist/src/components/Transition/OrigamTranslateScale.vue +1 -1
  83. package/dist/src/components/VirtualScroll/OrigamVirtualScroll.vue +1 -1
  84. package/dist/src/components/VirtualScroll/OrigamVirtualScrollItem.vue +1 -1
  85. package/dist/src/components/Window/OrigamWindow.vue +1 -1
  86. package/dist/src/components/Window/OrigamWindowItem.vue +1 -1
  87. package/dist/src/composables/Commons/activator.composable.cjs +1 -1
  88. package/dist/src/composables/Commons/activator.composable.d.ts +1 -1
  89. package/dist/src/composables/Commons/activator.composable.js +1 -1
  90. package/dist/src/composables/Commons/active.composable.cjs +1 -1
  91. package/dist/src/composables/Commons/active.composable.js +1 -1
  92. package/dist/src/composables/Commons/adjacent.composable.cjs +1 -1
  93. package/dist/src/composables/Commons/adjacent.composable.d.ts +1 -1
  94. package/dist/src/composables/Commons/adjacent.composable.js +1 -1
  95. package/dist/src/composables/Commons/border.composable.cjs +1 -1
  96. package/dist/src/composables/Commons/border.composable.d.ts +1 -1
  97. package/dist/src/composables/Commons/border.composable.js +1 -1
  98. package/dist/src/composables/Commons/border.composable.spec.cjs +1 -1
  99. package/dist/src/composables/Commons/border.composable.spec.js +1 -1
  100. package/dist/src/composables/Commons/calendar.composable.cjs +1 -1
  101. package/dist/src/composables/Commons/calendar.composable.js +1 -1
  102. package/dist/src/composables/Commons/color.composable.cjs +1 -1
  103. package/dist/src/composables/Commons/color.composable.d.ts +1 -1
  104. package/dist/src/composables/Commons/color.composable.js +1 -1
  105. package/dist/src/composables/Commons/date.composable.cjs +1 -1
  106. package/dist/src/composables/Commons/date.composable.js +1 -1
  107. package/dist/src/composables/Commons/density.composable.cjs +1 -1
  108. package/dist/src/composables/Commons/density.composable.d.ts +1 -1
  109. package/dist/src/composables/Commons/density.composable.js +1 -1
  110. package/dist/src/composables/Commons/dimension.composable.cjs +1 -1
  111. package/dist/src/composables/Commons/dimension.composable.js +1 -1
  112. package/dist/src/composables/Commons/display.composable.cjs +1 -1
  113. package/dist/src/composables/Commons/display.composable.js +1 -1
  114. package/dist/src/composables/Commons/dragResizer.composable.cjs +1 -1
  115. package/dist/src/composables/Commons/dragResizer.composable.d.ts +1 -1
  116. package/dist/src/composables/Commons/dragResizer.composable.js +1 -1
  117. package/dist/src/composables/Commons/elevation.composable.cjs +1 -1
  118. package/dist/src/composables/Commons/elevation.composable.d.ts +1 -1
  119. package/dist/src/composables/Commons/elevation.composable.js +1 -1
  120. package/dist/src/composables/Commons/eventListener.composable.cjs +1 -1
  121. package/dist/src/composables/Commons/eventListener.composable.js +1 -1
  122. package/dist/src/composables/Commons/filters.composable.cjs +1 -1
  123. package/dist/src/composables/Commons/filters.composable.d.ts +1 -1
  124. package/dist/src/composables/Commons/filters.composable.js +1 -1
  125. package/dist/src/composables/Commons/focus.composable.cjs +1 -1
  126. package/dist/src/composables/Commons/focus.composable.js +1 -1
  127. package/dist/src/composables/Commons/goTo.composable.cjs +1 -1
  128. package/dist/src/composables/Commons/goTo.composable.d.ts +1 -1
  129. package/dist/src/composables/Commons/goTo.composable.js +1 -1
  130. package/dist/src/composables/Commons/group.composable.cjs +1 -1
  131. package/dist/src/composables/Commons/group.composable.d.ts +1 -1
  132. package/dist/src/composables/Commons/group.composable.js +11 -11
  133. package/dist/src/composables/Commons/hotkey.composable.cjs +4 -5
  134. package/dist/src/composables/Commons/hotkey.composable.d.ts +1 -1
  135. package/dist/src/composables/Commons/hotkey.composable.js +2 -3
  136. package/dist/src/composables/Commons/hover.composable.cjs +1 -1
  137. package/dist/src/composables/Commons/hover.composable.js +1 -1
  138. package/dist/src/composables/Commons/hydration.composable.cjs +1 -1
  139. package/dist/src/composables/Commons/hydration.composable.js +1 -1
  140. package/dist/src/composables/Commons/intersectionObserver.composable.cjs +1 -1
  141. package/dist/src/composables/Commons/intersectionObserver.composable.js +1 -1
  142. package/dist/src/composables/Commons/items.composable.cjs +1 -1
  143. package/dist/src/composables/Commons/items.composable.js +1 -1
  144. package/dist/src/composables/Commons/layout.composable.cjs +1 -1
  145. package/dist/src/composables/Commons/layout.composable.d.ts +1 -1
  146. package/dist/src/composables/Commons/layout.composable.js +3 -3
  147. package/dist/src/composables/Commons/loader.composable.cjs +1 -1
  148. package/dist/src/composables/Commons/loader.composable.js +1 -1
  149. package/dist/src/composables/Commons/locale.composable.cjs +2 -2
  150. package/dist/src/composables/Commons/locale.composable.js +2 -2
  151. package/dist/src/composables/Commons/location.composable.cjs +1 -1
  152. package/dist/src/composables/Commons/location.composable.js +1 -1
  153. package/dist/src/composables/Commons/margin.composable.cjs +1 -1
  154. package/dist/src/composables/Commons/margin.composable.js +1 -1
  155. package/dist/src/composables/Commons/padding.composable.cjs +1 -1
  156. package/dist/src/composables/Commons/padding.composable.js +1 -1
  157. package/dist/src/composables/DataTable/expand.composable.cjs +1 -1
  158. package/dist/src/composables/DataTable/expand.composable.js +1 -1
  159. package/dist/src/composables/DataTable/group.composable.cjs +1 -1
  160. package/dist/src/composables/DataTable/group.composable.d.ts +1 -1
  161. package/dist/src/composables/DataTable/group.composable.js +1 -1
  162. package/dist/src/composables/DataTable/headers.composable.cjs +1 -1
  163. package/dist/src/composables/DataTable/headers.composable.d.ts +1 -1
  164. package/dist/src/composables/DataTable/headers.composable.js +1 -1
  165. package/dist/src/composables/DataTable/items.composable.cjs +1 -1
  166. package/dist/src/composables/DataTable/items.composable.d.ts +1 -1
  167. package/dist/src/composables/DataTable/items.composable.js +1 -1
  168. package/dist/src/composables/DataTable/pagination.composable.cjs +1 -1
  169. package/dist/src/composables/DataTable/pagination.composable.d.ts +1 -1
  170. package/dist/src/composables/DataTable/pagination.composable.js +1 -1
  171. package/dist/src/composables/Form/form.composable.cjs +1 -1
  172. package/dist/src/composables/Form/form.composable.js +1 -1
  173. package/dist/src/composables/Icon/icon.composable.cjs +1 -1
  174. package/dist/src/composables/Icon/icon.composable.d.ts +1 -1
  175. package/dist/src/composables/Icon/icon.composable.js +1 -1
  176. package/dist/src/composables/List/list.composable.cjs +1 -1
  177. package/dist/src/composables/List/list.composable.js +1 -1
  178. package/dist/src/composables/PageBuilder/editor.composable.cjs +1 -1
  179. package/dist/src/composables/PageBuilder/editor.composable.js +1 -1
  180. package/dist/src/composables/index.cjs +12 -12
  181. package/dist/src/composables/index.d.ts +2 -2
  182. package/dist/src/composables/index.js +2 -2
  183. package/dist/src/consts/Btn/btn-toggle.const.d.ts +1 -1
  184. package/dist/src/consts/Commons/commons.const.d.ts +1 -1
  185. package/dist/src/consts/Commons/date.const.d.ts +1 -1
  186. package/dist/src/consts/Commons/display.const.d.ts +1 -1
  187. package/dist/src/consts/Commons/goTo.const.d.ts +1 -1
  188. package/dist/src/consts/Commons/hotkey.const.cjs +0 -1
  189. package/dist/src/consts/Commons/hotkey.const.js +0 -1
  190. package/dist/src/consts/Commons/layout.const.d.ts +1 -1
  191. package/dist/src/consts/Commons/locale.const.d.ts +1 -1
  192. package/dist/src/consts/DataTable/expand.const.d.ts +1 -1
  193. package/dist/src/consts/DataTable/group.const.d.ts +1 -1
  194. package/dist/src/consts/DataTable/headers.const.d.ts +1 -1
  195. package/dist/src/consts/ExpansionPanel/expansion-panel.const.d.ts +1 -1
  196. package/dist/src/consts/Form/form.const.d.ts +1 -1
  197. package/dist/src/consts/Icon/icon.const.d.ts +1 -1
  198. package/dist/src/consts/Icon/mdi.const.cjs +1 -1
  199. package/dist/src/consts/Icon/mdi.const.js +1 -1
  200. package/dist/src/consts/Menu/menu.const.d.ts +1 -1
  201. package/dist/src/consts/PageBuilder/edit.const.d.ts +1 -1
  202. package/dist/src/consts/index.cjs +11 -0
  203. package/dist/src/consts/index.d.ts +1 -0
  204. package/dist/src/consts/index.js +1 -0
  205. package/dist/src/interfaces/Commons/activator.interface.d.ts +1 -1
  206. package/dist/src/interfaces/Commons/commons.interface.d.ts +1 -1
  207. package/dist/src/interfaces/Commons/display.interface.d.ts +1 -1
  208. package/dist/src/interfaces/Commons/intersect.interface.d.ts +1 -1
  209. package/dist/src/interfaces/Commons/layout.interface.d.ts +1 -1
  210. package/dist/src/interfaces/Commons/location.interface.d.ts +1 -1
  211. package/dist/src/interfaces/DataTable/data-table.interface.d.ts +1 -1
  212. package/dist/src/interfaces/DataTable/expand.interface.d.ts +1 -1
  213. package/dist/src/interfaces/DataTable/group.interface.d.ts +1 -1
  214. package/dist/src/interfaces/DataTable/headers.interface.d.ts +1 -1
  215. package/dist/src/interfaces/DataTable/items.interface.d.ts +1 -1
  216. package/dist/src/interfaces/ExpensionPanel/expansion-panel-content.interface.d.ts +1 -1
  217. package/dist/src/interfaces/Form/form.interface.d.ts +1 -1
  218. package/dist/src/types/Commons/commons.type.d.ts +1 -1
  219. package/dist/src/types/Commons/layout.type.d.ts +1 -1
  220. package/dist/src/types/Commons/location.type.d.ts +1 -1
  221. package/dist/src/types/Icon/icon.type.d.ts +1 -1
  222. package/dist/src/utils/Commons/activator.util.cjs +1 -1
  223. package/dist/src/utils/Commons/activator.util.d.ts +1 -1
  224. package/dist/src/utils/Commons/activator.util.js +1 -1
  225. package/dist/src/utils/Commons/commons.util.cjs +1 -1
  226. package/dist/src/utils/Commons/commons.util.d.ts +1 -1
  227. package/dist/src/utils/Commons/commons.util.js +3 -3
  228. package/dist/src/utils/Commons/date.util.cjs +1 -1
  229. package/dist/src/utils/Commons/date.util.js +1 -1
  230. package/dist/src/utils/Commons/forwardRefs.util.d.ts +1 -1
  231. package/dist/src/utils/Commons/getCurrentInstance.util.cjs +1 -1
  232. package/dist/src/utils/Commons/getCurrentInstance.util.js +1 -1
  233. package/dist/src/utils/Commons/goTo.util.d.ts +1 -1
  234. package/dist/src/utils/Commons/group.util.d.ts +1 -1
  235. package/dist/src/utils/Commons/hotkey.util.cjs +2 -2
  236. package/dist/src/utils/Commons/hotkey.util.js +1 -1
  237. package/dist/src/utils/Commons/layout.util.d.ts +1 -1
  238. package/dist/src/utils/Commons/locale.util.cjs +1 -1
  239. package/dist/src/utils/Commons/locale.util.d.ts +1 -1
  240. package/dist/src/utils/Commons/locale.util.js +1 -1
  241. package/dist/src/utils/Commons/location.util.cjs +1 -1
  242. package/dist/src/utils/Commons/location.util.d.ts +1 -1
  243. package/dist/src/utils/Commons/location.util.js +1 -1
  244. package/package.json +2 -3
@@ -47,6 +47,7 @@
47
47
  </template>
48
48
 
49
49
  <script setup>
50
+ import { computed, mergeProps, onBeforeUnmount, ref, StyleValue, toRef, watch } from "vue";
50
51
  import { OrigamFade, OrigamOverlayScrim, OrigamTransition } from "../../components";
51
52
  import {
52
53
  useActivator,
@@ -70,7 +71,6 @@ import { IN_BROWSER } from "../../consts";
70
71
  import { vClickOutside } from "../../directives";
71
72
  import { BLOCK, EASING, KEYBOARD_VALUES, LOCATION_STRATEGIES, SCROLL_STRATEGIES } from "../../enums";
72
73
  import { animate, convertToUnit, getScrollParent } from "../../utils";
73
- import { computed, mergeProps, onBeforeUnmount, ref, StyleValue, toRef, watch } from "vue";
74
74
  const props = defineProps({
75
75
  absolute: { type: Boolean, required: false },
76
76
  attach: { type: [Boolean, String], required: false, skipCheck: true },
@@ -13,9 +13,9 @@
13
13
  </template>
14
14
 
15
15
  <script setup>
16
+ import { computed, StyleValue } from "vue";
16
17
  import { OrigamFade, OrigamTransition } from "../../components";
17
18
  import { useBackgroundColor, useProps } from "../../composables";
18
- import { computed, StyleValue } from "vue";
19
19
  const props = defineProps({
20
20
  active: { type: Boolean, required: false },
21
21
  id: { type: String, required: false },
@@ -10,9 +10,9 @@
10
10
  </template>
11
11
 
12
12
  <script setup>
13
+ import { computed, ref, StyleValue, useSlots, watch } from "vue";
13
14
  import { useProps } from "../../composables";
14
15
  import { scanForAutoProps } from "../../utils";
15
- import { computed, ref, StyleValue, useSlots, watch } from "vue";
16
16
  const props = defineProps({
17
17
  slotName: { type: String, required: false, default: "default" },
18
18
  autoDetectProps: { type: Boolean, required: false, default: true },
@@ -11,9 +11,9 @@
11
11
  </template>
12
12
 
13
13
  <script setup>
14
+ import { computed, StyleValue } from "vue";
14
15
  import { OrigamLayout } from "../../components";
15
16
  import { useProps } from "../../composables";
16
- import { computed, StyleValue } from "vue";
17
17
  const props = defineProps({
18
18
  overlaps: { type: Array, required: false },
19
19
  fullHeight: { type: Boolean, required: false, default: true },
@@ -84,11 +84,11 @@
84
84
  </template>
85
85
 
86
86
  <script setup>
87
+ import { ComponentPublicInstance, computed, nextTick, shallowRef, StyleValue } from "vue";
87
88
  import { OrigamBtn } from "../../components";
88
89
  import { useDisplay, useLocale, useProps, useRefs, useResizeObserver, useVModel } from "../../composables";
89
90
  import { KEYBOARD_VALUES, MDI_ICONS } from "../../enums";
90
91
  import { createRange, int } from "../../utils";
91
- import { ComponentPublicInstance, computed, nextTick, shallowRef, StyleValue } from "vue";
92
92
  const props = defineProps({
93
93
  start: { type: Number, required: false, default: 1 },
94
94
  modelValue: { type: Number, required: false, default: 1 },
@@ -21,6 +21,7 @@
21
21
  </template>
22
22
 
23
23
  <script setup>
24
+ import { computed, onBeforeUnmount, onMounted, provide, ref, StyleValue, toRef } from "vue";
24
25
  import {
25
26
  useAudio,
26
27
  useBorder,
@@ -36,7 +37,6 @@ import {
36
37
  import { ORIGAM_PARALLAX_KEY } from "../../consts";
37
38
  import { PARALLAX_EVENT } from "../../enums";
38
39
  import { getCenter, getTargetBox, inViewport } from "../../utils";
39
- import { computed, onBeforeUnmount, onMounted, provide, ref, StyleValue, toRef } from "vue";
40
40
  const props = defineProps({
41
41
  animationDuration: { type: Number, required: false },
42
42
  easing: { type: String, required: false, default: "cubic-bezier(0.23, 1, 0.32, 1)" },
@@ -9,11 +9,11 @@
9
9
  </template>
10
10
 
11
11
  <script setup>
12
+ import { computed, inject, StyleValue } from "vue";
12
13
  import { useParallaxTransform, useProps } from "../../composables";
13
14
  import { ORIGAM_PARALLAX_KEY } from "../../consts";
14
15
  import { AXIS, PARALLAX_ELEMENT_TYPE } from "../../enums";
15
16
  import { cyclicMovement, elementMovement } from "../../utils";
16
- import { computed, inject, StyleValue } from "vue";
17
17
  const props = defineProps({
18
18
  transformOrigin: { type: null, required: false, default: "center" },
19
19
  originX: { type: Number, required: false, default: 50 },
@@ -189,12 +189,12 @@
189
189
  </template>
190
190
 
191
191
  <script setup>
192
+ import { computed, nextTick, ref, StyleValue, useAttrs, useSlots } from "vue";
192
193
  import { OrigamCounter, OrigamField, OrigamIcon, OrigamInput } from "../../components";
193
194
  import { useAdjacentInner, useFocus, useProps, useVModel } from "../../composables";
194
195
  import { vIntersect } from "../../directives";
195
196
  import { DENSITY, DIRECTION, MDI_ICONS, TEXT_FIELD_TYPE } from "../../enums";
196
197
  import { filterInputAttrs, forwardRefs } from "../../utils";
197
- import { computed, nextTick, ref, StyleValue, useAttrs, useSlots } from "vue";
198
198
  const props = defineProps({
199
199
  onIcon: { type: null, required: false, default: MDI_ICONS.EYE_OUTLINE },
200
200
  offIcon: { type: null, required: false, default: MDI_ICONS.EYE_OFF_OUTLINE },
@@ -43,9 +43,9 @@
43
43
  </template>
44
44
 
45
45
  <script setup>
46
+ import { computed, ref, StyleValue, toRef, useSlots } from "vue";
46
47
  import { OrigamPickerTitle, OrigamSheet } from "../../components";
47
48
  import { useBackgroundColor, useProps } from "../../composables";
48
- import { computed, ref, StyleValue, toRef, useSlots } from "vue";
49
49
  const props = defineProps({
50
50
  landscape: { type: Boolean, required: false },
51
51
  hideHeader: { type: Boolean, required: false },
@@ -11,8 +11,8 @@
11
11
  </template>
12
12
 
13
13
  <script setup>
14
- import { useProps } from "../../composables";
15
14
  import { computed, StyleValue } from "vue";
15
+ import { useProps } from "../../composables";
16
16
  const props = defineProps({
17
17
  title: { type: String, required: false },
18
18
  id: { type: String, required: false },
@@ -21,10 +21,10 @@
21
21
  </template>
22
22
 
23
23
  <script setup>
24
+ import { computed, ref, StyleValue } from "vue";
24
25
  import { OrigamProgressCircular, OrigamProgressLinear } from "../../components";
25
26
  import { useProgress, useProps, useSize } from "../../composables";
26
27
  import { PROGRESS_TYPE, SIZES } from "../../enums";
27
- import { computed, ref, StyleValue } from "vue";
28
28
  const props = defineProps({
29
29
  type: { type: null, required: false },
30
30
  bufferValue: { type: [Number, String], required: false },
@@ -48,6 +48,7 @@
48
48
  </template>
49
49
 
50
50
  <script setup>
51
+ import { computed, ref, StyleValue, toRef, watchEffect } from "vue";
51
52
  import {
52
53
  useIntersectionObserver,
53
54
  useProgress,
@@ -58,7 +59,6 @@ import {
58
59
  } from "../../composables";
59
60
  import { CIRCUMFERENCE, MAGIC_RADIUS } from "../../consts";
60
61
  import { convertToUnit } from "../../utils";
61
- import { computed, ref, StyleValue, toRef, watchEffect } from "vue";
62
62
  const props = defineProps({
63
63
  rotate: { type: [String, Number], required: false },
64
64
  indeterminate: { type: Boolean, required: false },
@@ -50,6 +50,7 @@
50
50
  </template>
51
51
 
52
52
  <script setup>
53
+ import { computed, StyleValue, toRef } from "vue";
53
54
  import { OrigamFade, OrigamSlideX, OrigamTransition } from "../../components";
54
55
  import {
55
56
  useBackgroundColor,
@@ -61,7 +62,6 @@ import {
61
62
  useRtl
62
63
  } from "../../composables";
63
64
  import { convertToUnit } from "../../utils";
64
- import { computed, StyleValue, toRef } from "vue";
65
65
  const props = defineProps({
66
66
  bufferValue: { type: [Number, String], required: false },
67
67
  clickable: { type: Boolean, required: false },
@@ -100,11 +100,11 @@
100
100
  </template>
101
101
 
102
102
  <script setup>
103
+ import { computed, ref, StyleValue, useAttrs, useSlots } from "vue";
103
104
  import { OrigamInput, OrigamRadioBtn } from "../../components";
104
105
  import { useFocus, useProps, useVModel } from "../../composables";
105
106
  import { DENSITY } from "../../enums";
106
107
  import { filterInputAttrs, getUid } from "../../utils";
107
- import { computed, ref, StyleValue, useAttrs, useSlots } from "vue";
108
108
  const props = defineProps({
109
109
  id: { type: String, required: false },
110
110
  class: { type: [String, Array, Object], required: false },
@@ -37,10 +37,10 @@
37
37
  </template>
38
38
 
39
39
  <script setup>
40
+ import { computed, ref, StyleValue, useSlots } from "vue";
40
41
  import { OrigamSelectionControl } from "../../components";
41
42
  import { useProps, useVModel } from "../../composables";
42
43
  import { DENSITY, MDI_ICONS } from "../../enums";
43
- import { computed, ref, StyleValue, useSlots } from "vue";
44
44
  const props = defineProps({
45
45
  id: { type: String, required: false },
46
46
  class: { type: [String, Array, Object], required: false },
@@ -58,11 +58,11 @@
58
58
  </template>
59
59
 
60
60
  <script setup>
61
+ import { computed, ref, StyleValue, useAttrs } from "vue";
61
62
  import { OrigamInput, OrigamLabel, OrigamRadio, OrigamSelectionControlGroup } from "../../components";
62
63
  import { useProps, useVModel } from "../../composables";
63
64
  import { DENSITY } from "../../enums";
64
65
  import { filterInputAttrs, getUid } from "../../utils";
65
- import { computed, ref, StyleValue, useAttrs } from "vue";
66
66
  const props = defineProps({
67
67
  id: { type: String, required: false },
68
68
  class: { type: [String, Array, Object], required: false },
@@ -127,11 +127,11 @@
127
127
  </template>
128
128
 
129
129
  <script setup>
130
+ import { computed, ref, shallowRef, StyleValue, useAttrs, useSlots } from "vue";
130
131
  import { OrigamInput, OrigamLabel, OrigamRatingFieldItem } from "../../components";
131
132
  import { useProps, useVModel } from "../../composables";
132
133
  import { BLOCK, DENSITY, SIZES } from "../../enums";
133
134
  import { clamp, createRange, filterInputAttrs, getUid } from "../../utils";
134
- import { computed, ref, shallowRef, StyleValue, useAttrs, useSlots } from "vue";
135
135
  const props = defineProps({
136
136
  name: { type: String, required: false },
137
137
  itemAriaLabel: { type: String, required: false },
@@ -36,10 +36,10 @@
36
36
  </template>
37
37
 
38
38
  <script setup>
39
+ import { computed, ref, StyleValue } from "vue";
39
40
  import { OrigamBtn } from "../../components";
40
41
  import { useLocale, useProps } from "../../composables";
41
42
  import { MDI_ICONS } from "../../enums";
42
- import { computed, ref, StyleValue } from "vue";
43
43
  const props = defineProps({
44
44
  name: { type: String, required: false },
45
45
  index: { type: Number, required: false, default: -1 },
@@ -18,8 +18,16 @@
18
18
  </template>
19
19
 
20
20
  <script setup>
21
- import { useAspectRatio, useBorder, useDimension, useMargin, usePadding, useProps, useRounded } from "../../composables";
22
21
  import { computed, StyleValue, useSlots } from "vue";
22
+ import {
23
+ useAspectRatio,
24
+ useBorder,
25
+ useDimension,
26
+ useMargin,
27
+ usePadding,
28
+ useProps,
29
+ useRounded
30
+ } from "../../composables";
23
31
  const props = defineProps({
24
32
  aspectRatio: { type: [String, Number], required: false },
25
33
  contentClass: { type: String, required: false },
@@ -258,6 +258,19 @@
258
258
  </template>
259
259
 
260
260
  <script setup>
261
+ import {
262
+ computed,
263
+ inject,
264
+ mergeProps,
265
+ nextTick,
266
+ ref,
267
+ shallowRef,
268
+ StyleValue,
269
+ toRef,
270
+ useSlots,
271
+ VNodeRef,
272
+ watch
273
+ } from "vue";
261
274
  import {
262
275
  OrigamAvatar,
263
276
  OrigamCheckboxBtn,
@@ -283,19 +296,6 @@ import {
283
296
  TEXT_FIELD_TYPE
284
297
  } from "../../enums";
285
298
  import { deepEqual, forwardRefs, matchesSelector, noop, wrapInArray } from "../../utils";
286
- import {
287
- computed,
288
- inject,
289
- mergeProps,
290
- nextTick,
291
- ref,
292
- shallowRef,
293
- StyleValue,
294
- toRef,
295
- useSlots,
296
- VNodeRef,
297
- watch
298
- } from "vue";
299
299
  const props = defineProps({
300
300
  chips: { type: Boolean, required: false },
301
301
  closableChips: { type: Boolean, required: false },
@@ -62,11 +62,11 @@
62
62
  </template>
63
63
 
64
64
  <script setup>
65
+ import { computed, nextTick, ref, shallowRef, StyleValue, useAttrs } from "vue";
65
66
  import { OrigamIcon, OrigamLabel } from "../../components";
66
67
  import { useProps, useSelectionControl } from "../../composables";
67
68
  import { vRipple } from "../../directives";
68
69
  import { filterInputAttrs, forwardRefs, getUid, matchesSelector } from "../../utils";
69
- import { computed, nextTick, ref, shallowRef, StyleValue, useAttrs } from "vue";
70
70
  const props = defineProps({
71
71
  label: { type: String, required: false },
72
72
  trueValue: { type: null, required: false },
@@ -27,11 +27,11 @@
27
27
  </template>
28
28
 
29
29
  <script setup>
30
+ import { computed, onScopeDispose, provide, StyleValue } from "vue";
30
31
  import { useProps, useVModel } from "../../composables";
31
32
  import { ORIGAM_SELECTION_CONTROL_GROUP_KEY } from "../../consts";
32
33
  import { DENSITY } from "../../enums";
33
34
  import { getUid } from "../../utils";
34
- import { computed, onScopeDispose, provide, StyleValue } from "vue";
35
35
  const props = defineProps({
36
36
  disabled: { type: Boolean, required: false },
37
37
  error: { type: Boolean, required: false },
@@ -9,6 +9,7 @@
9
9
  </template>
10
10
 
11
11
  <script setup>
12
+ import { computed, StyleValue, toRef } from "vue";
12
13
  import {
13
14
  useBorder,
14
15
  useBothColor,
@@ -21,7 +22,6 @@ import {
21
22
  useProps,
22
23
  useRounded
23
24
  } from "../../composables";
24
- import { computed, StyleValue, toRef } from "vue";
25
25
  const props = defineProps({
26
26
  tag: { type: String, required: false, default: "div" },
27
27
  id: { type: String, required: false },
@@ -59,6 +59,7 @@
59
59
  </template>
60
60
 
61
61
  <script setup>
62
+ import { computed, shallowRef, StyleValue, watch } from "vue";
62
63
  import { OrigamFade, OrigamIcon } from "../../components";
63
64
  import {
64
65
  useBorder,
@@ -83,7 +84,6 @@ import {
83
84
  getScrollPosition,
84
85
  getScrollSize
85
86
  } from "../../utils";
86
- import { computed, shallowRef, StyleValue, watch } from "vue";
87
87
  const props = defineProps({
88
88
  centerActive: { type: Boolean, required: false },
89
89
  nextIcon: { type: null, required: false, default: MDI_ICONS.CHEVRON_LEFT },
@@ -181,11 +181,11 @@
181
181
  </template>
182
182
 
183
183
  <script setup>
184
+ import { computed, ref, StyleValue, useSlots, WritableComputedRef } from "vue";
184
185
  import { OrigamInput, OrigamLabel, OrigamSliderFieldThumb, OrigamSliderFieldTrack } from "../../components";
185
186
  import { useFocus, useProps, useRtl, useSlider, useSteps, useVModel } from "../../composables";
186
187
  import { DENSITY, DIRECTION } from "../../enums";
187
188
  import { getSliderFieldOffset, omit } from "../../utils";
188
- import { computed, ref, StyleValue, useSlots, WritableComputedRef } from "vue";
189
189
  const props = defineProps({
190
190
  disabled: { type: Boolean, required: false },
191
191
  required: { type: Boolean, required: false },
@@ -41,13 +41,13 @@
41
41
  </template>
42
42
 
43
43
  <script setup>
44
+ import { computed, inject, StyleValue } from "vue";
44
45
  import { OrigamTranslateScale } from "../../components";
45
46
  import { useBorder, useElevation, useProps, useRounded, useTextColor } from "../../composables";
46
47
  import { ORIGAM_SLIDER_FIELD_KEY } from "../../consts";
47
48
  import { vRipple } from "../../directives";
48
49
  import { KEYBOARD_VALUES } from "../../enums";
49
50
  import { clamp, convertToUnit, int } from "../../utils";
50
- import { computed, inject, StyleValue } from "vue";
51
51
  const props = defineProps({
52
52
  label: { type: [Boolean, String], required: false },
53
53
  min: { type: Number, required: false, default: 0 },
@@ -48,10 +48,10 @@
48
48
  </template>
49
49
 
50
50
  <script setup>
51
+ import { computed, inject, StyleValue, useSlots } from "vue";
51
52
  import { useBackgroundColor, useProps, useRounded } from "../../composables";
52
53
  import { ORIGAM_SLIDER_FIELD_KEY } from "../../consts";
53
54
  import { convertToUnit, int } from "../../utils";
54
- import { computed, inject, StyleValue, useSlots } from "vue";
55
55
  const props = defineProps({
56
56
  start: { type: Number, required: false, default: 0 },
57
57
  stop: { type: Number, required: false, default: 100 },
@@ -75,6 +75,19 @@
75
75
  </template>
76
76
 
77
77
  <script setup>
78
+ import {
79
+ computed,
80
+ inject,
81
+ mergeProps,
82
+ onMounted,
83
+ ref,
84
+ shallowRef,
85
+ StyleValue,
86
+ toRef,
87
+ useSlots,
88
+ watch,
89
+ watchEffect
90
+ } from "vue";
78
91
  import { OrigamIcon, OrigamOverlay, OrigamProgress, OrigamSnack } from "../../components";
79
92
  import {
80
93
  useBorder,
@@ -95,19 +108,6 @@ import {
95
108
  import { ORIGAM_LAYOUT_KEY } from "../../consts";
96
109
  import { PROGRESS_TYPE, SCROLL_STRATEGIES } from "../../enums";
97
110
  import { forwardRefs, refElement } from "../../utils";
98
- import {
99
- computed,
100
- inject,
101
- mergeProps,
102
- onMounted,
103
- ref,
104
- shallowRef,
105
- StyleValue,
106
- toRef,
107
- useSlots,
108
- watch,
109
- watchEffect
110
- } from "vue";
111
111
  const props = defineProps({
112
112
  multiLine: { type: Boolean, required: false },
113
113
  text: { type: String, required: false },
@@ -101,11 +101,17 @@
101
101
  </template>
102
102
 
103
103
  <script setup>
104
- import { OrigamIcon, OrigamInput, OrigamProgress, OrigamSelectionControl, OrigamTranslateScale } from "../../components";
104
+ import { computed, ref, StyleValue, useAttrs, useSlots } from "vue";
105
+ import {
106
+ OrigamIcon,
107
+ OrigamInput,
108
+ OrigamProgress,
109
+ OrigamSelectionControl,
110
+ OrigamTranslateScale
111
+ } from "../../components";
105
112
  import { useFocus, useLoader, useProps, useVModel } from "../../composables";
106
113
  import { DENSITY, PROGRESS_TYPE, SIZES } from "../../enums";
107
114
  import { filterInputAttrs, getUid } from "../../utils";
108
- import { computed, ref, StyleValue, useAttrs, useSlots } from "vue";
109
115
  const props = defineProps({
110
116
  indeterminate: { type: Boolean, required: false },
111
117
  inset: { type: Boolean, required: false },
@@ -9,6 +9,7 @@
9
9
  </template>
10
10
 
11
11
  <script setup>
12
+ import { computed, shallowRef, StyleValue, toRef } from "vue";
12
13
  import {
13
14
  useBorder,
14
15
  useBothColor,
@@ -19,7 +20,6 @@ import {
19
20
  useRounded,
20
21
  useSsrBoot
21
22
  } from "../../composables";
22
- import { computed, shallowRef, StyleValue, toRef } from "vue";
23
23
  const props = defineProps({
24
24
  window: { type: Boolean, required: false },
25
25
  id: { type: String, required: false },
@@ -22,6 +22,7 @@
22
22
  </template>
23
23
 
24
24
  <script setup>
25
+ import { computed, StyleValue, useSlots } from "vue";
25
26
  import {
26
27
  useBorder,
27
28
  useDensity,
@@ -33,7 +34,6 @@ import {
33
34
  useRounded
34
35
  } from "../../composables";
35
36
  import { DENSITY } from "../../enums";
36
- import { computed, StyleValue, useSlots } from "vue";
37
37
  const props = defineProps({
38
38
  fixedHeader: { type: Boolean, required: false },
39
39
  fixedFooter: { type: Boolean, required: false },
@@ -179,13 +179,13 @@
179
179
  </template>
180
180
 
181
181
  <script setup>
182
+ import { computed, nextTick, ref, StyleValue, useAttrs, useSlots } from "vue";
182
183
  import { OrigamCounter, OrigamField, OrigamInput } from "../../components";
183
184
  import { useAdjacentInner, useFocus, useProps, useVModel } from "../../composables";
184
185
  import { ACTIVE_TEXT_FIELD_TYPE, INPUT_TEXT_FIELD_TYPE } from "../../consts";
185
186
  import { vIntersect } from "../../directives";
186
187
  import { DENSITY, DIRECTION, MDI_ICONS, TEXT_FIELD_TYPE } from "../../enums";
187
188
  import { filterInputAttrs, forwardRefs } from "../../utils";
188
- import { computed, nextTick, ref, StyleValue, useAttrs, useSlots } from "vue";
189
189
  const props = defineProps({
190
190
  autofocus: { type: Boolean, required: false },
191
191
  counter: { type: [Boolean, Number, String], required: false },
@@ -196,11 +196,6 @@
196
196
  </template>
197
197
 
198
198
  <script setup>
199
- import { OrigamCounter, OrigamField, OrigamInput } from "../../components";
200
- import { useAdjacentInner, useDragResizer, useFocus, useProps, useVModel } from "../../composables";
201
- import { vIntersect } from "../../directives";
202
- import { AXIS, DENSITY, MDI_ICONS } from "../../enums";
203
- import { clamp, convertToUnit, filterInputAttrs } from "../../utils";
204
199
  import {
205
200
  computed,
206
201
  nextTick,
@@ -213,6 +208,11 @@ import {
213
208
  watch,
214
209
  watchEffect
215
210
  } from "vue";
211
+ import { OrigamCounter, OrigamField, OrigamInput } from "../../components";
212
+ import { useAdjacentInner, useDragResizer, useFocus, useProps, useVModel } from "../../composables";
213
+ import { vIntersect } from "../../directives";
214
+ import { AXIS, DENSITY, MDI_ICONS } from "../../enums";
215
+ import { clamp, convertToUnit, filterInputAttrs } from "../../utils";
216
216
  const props = defineProps({
217
217
  autoGrow: { type: Boolean, required: false },
218
218
  autofocus: { type: Boolean, required: false },
@@ -14,8 +14,8 @@
14
14
  </template>
15
15
 
16
16
  <script setup>
17
- import { useBorder, useBothColor, useDensity, useMargin, usePadding, useProps } from "../../composables";
18
17
  import { computed, StyleValue, toRef, useSlots } from "vue";
18
+ import { useBorder, useBothColor, useDensity, useMargin, usePadding, useProps } from "../../composables";
19
19
  const props = defineProps({
20
20
  text: { type: String, required: false },
21
21
  tag: { type: String, required: false, default: "h1" },
@@ -35,6 +35,7 @@
35
35
  </template>
36
36
 
37
37
  <script setup>
38
+ import { computed, toRef, useSlots } from "vue";
38
39
  import { OrigamTitle } from "../../components";
39
40
  import {
40
41
  useBorder,
@@ -51,7 +52,6 @@ import {
51
52
  useStyle
52
53
  } from "../../composables";
53
54
  import { DENSITY } from "../../enums";
54
- import { computed, toRef, useSlots } from "vue";
55
55
  const props = defineProps({
56
56
  collapse: { type: Boolean, required: false },
57
57
  flat: { type: Boolean, required: false },
@@ -31,11 +31,11 @@
31
31
  </template>
32
32
 
33
33
  <script setup>
34
+ import { computed, mergeProps, ref, StyleValue } from "vue";
34
35
  import { OrigamFade, OrigamOverlay, OrigamTranslateScale } from "../../components";
35
36
  import { useProps, useScopeId, useVModel } from "../../composables";
36
37
  import { INLINE, LOCATION_STRATEGIES, SCROLL_STRATEGIES } from "../../enums";
37
38
  import { forwardRefs, getUid } from "../../utils";
38
- import { computed, mergeProps, ref, StyleValue } from "vue";
39
39
  const props = defineProps({
40
40
  id: { type: String, required: false },
41
41
  text: { type: String, required: false },
@@ -15,9 +15,9 @@
15
15
  </template>
16
16
 
17
17
  <script setup>
18
+ import { camelize } from "vue";
18
19
  import { useProps } from "../../composables";
19
20
  import { TRANSITION_MODE } from "../../enums";
20
- import { camelize } from "vue";
21
21
  const props = defineProps({
22
22
  mode: { type: null, required: false, default: TRANSITION_MODE.IN_OUT },
23
23
  disabled: { type: Boolean, required: false },
@@ -15,9 +15,9 @@
15
15
  </template>
16
16
 
17
17
  <script setup>
18
+ import { camelize } from "vue";
18
19
  import { useProps } from "../../composables";
19
20
  import { TRANSITION_MODE } from "../../enums";
20
- import { camelize } from "vue";
21
21
  const props = defineProps({
22
22
  mode: { type: null, required: false, default: TRANSITION_MODE.IN_OUT },
23
23
  disabled: { type: Boolean, required: false },
@@ -8,10 +8,10 @@
8
8
  </template>
9
9
 
10
10
  <script setup>
11
+ import { computed, mergeProps, Transition, useAttrs } from "vue";
11
12
  import { OrigamFade } from "../../components";
12
13
  import { useProps, useTransition } from "../../composables";
13
14
  import { omit } from "../../utils";
14
- import { computed, mergeProps, Transition, useAttrs } from "vue";
15
15
  const props = defineProps({
16
16
  transition: { type: [Boolean, String, Object], required: false, default: () => ({ component: OrigamFade }) },
17
17
  disabled: { type: Boolean, required: false }
@@ -8,10 +8,10 @@
8
8
  </template>
9
9
 
10
10
  <script setup>
11
+ import { computed } from "vue";
11
12
  import { useProps } from "../../composables";
12
13
  import { EASING, TRANSITION_MODE } from "../../enums";
13
14
  import { animate, getChildren, getDimensions } from "../../utils";
14
- import { computed } from "vue";
15
15
  const props = defineProps({
16
16
  target: { type: null, required: false },
17
17
  mode: { type: null, required: false, default: TRANSITION_MODE.IN_OUT },