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
@@ -1,5 +1,5 @@
1
- import type { IDataTableGroup, IDataTableItem, IDataTableSortItem } from '../../interfaces';
2
1
  import type { InjectionKey, Ref } from 'vue';
2
+ import type { IDataTableGroup, IDataTableItem, IDataTableSortItem } from '../../interfaces';
3
3
  export declare const ORIGAM_DATA_TABLE_GROUP_KEY: InjectionKey<{
4
4
  opened: Ref<Set<string>>;
5
5
  toggleGroup: (group: IDataTableGroup) => void;
@@ -1,5 +1,5 @@
1
- import type { IInternalDataTableHeader } from '../../interfaces';
2
1
  import type { InjectionKey, Ref } from 'vue';
2
+ import type { IInternalDataTableHeader } from '../../interfaces';
3
3
  export declare const ORIGAM_DATA_TABLE_HEADERS_KEY: InjectionKey<{
4
4
  headers: Ref<Array<Array<IInternalDataTableHeader>>>;
5
5
  columns: Ref<Array<IInternalDataTableHeader>>;
@@ -1,3 +1,3 @@
1
- import type { IGroupItemProvide } from '../../interfaces';
2
1
  import type { InjectionKey } from 'vue';
2
+ import type { IGroupItemProvide } from '../../interfaces';
3
3
  export declare const ORIGAM_EXPANSION_PANEL_KEY: InjectionKey<IGroupItemProvide>;
@@ -1,3 +1,3 @@
1
- import type { IFormProvide } from '../../interfaces';
2
1
  import type { InjectionKey } from 'vue';
2
+ import type { IFormProvide } from '../../interfaces';
3
3
  export declare const ORIGAM_FORM_KEY: InjectionKey<IFormProvide>;
@@ -1,5 +1,5 @@
1
+ import type { InjectionKey } from 'vue';
1
2
  import type { IIconSet } from '../../interfaces';
2
3
  import type { TIconOptions } from '../../types';
3
- import type { InjectionKey } from 'vue';
4
4
  export declare const ORIGAM_ICONS_KEY: InjectionKey<Required<TIconOptions>>;
5
5
  export declare const DEFAULT_SETS: Record<string, IIconSet>;
@@ -4,9 +4,9 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.MDI_ALIASES = exports.MDI = void 0;
7
+ var _vue = require("vue");
7
8
  var _components = require("../../components/index.cjs");
8
9
  var _enums = require("../../enums/index.cjs");
9
- var _vue = require("vue");
10
10
  const MDI = exports.MDI = {
11
11
  // Not using mergeProps here, functional components merge props by default (?)
12
12
  component: props => (0, _vue.h)(_components.OrigamClassIcon, {
@@ -1,6 +1,6 @@
1
+ import { h } from "vue";
1
2
  import { OrigamClassIcon } from "../../components/index.js";
2
3
  import { MDI_ICONS } from "../../enums/index.js";
3
- import { h } from "vue";
4
4
  export const MDI = {
5
5
  // Not using mergeProps here, functional components merge props by default (?)
6
6
  component: (props) => h(OrigamClassIcon, { ...props, class: "mdi" })
@@ -1,3 +1,3 @@
1
- import type { IMenuProvide } from '../../interfaces';
2
1
  import type { InjectionKey } from 'vue';
2
+ import type { IMenuProvide } from '../../interfaces';
3
3
  export declare const ORIGAM_MENU_KEY: InjectionKey<IMenuProvide>;
@@ -1,4 +1,4 @@
1
- import type { TEditorProvide } from '../../types';
2
1
  import type { InjectionKey } from 'vue';
2
+ import type { TEditorProvide } from '../../types';
3
3
  export declare const ORIGAM_EDIT_KEY: InjectionKey<TEditorProvide>;
4
4
  export declare const EMPTY_EDIT: TEditorProvide;
@@ -223,6 +223,17 @@ Object.keys(_display).forEach(function (key) {
223
223
  }
224
224
  });
225
225
  });
226
+ var _hotkey = require("./Commons/hotkey.const.cjs");
227
+ Object.keys(_hotkey).forEach(function (key) {
228
+ if (key === "default" || key === "__esModule") return;
229
+ if (key in exports && exports[key] === _hotkey[key]) return;
230
+ Object.defineProperty(exports, key, {
231
+ enumerable: true,
232
+ get: function () {
233
+ return _hotkey[key];
234
+ }
235
+ });
236
+ });
226
237
  var _hover = require("./Commons/hover.const.cjs");
227
238
  Object.keys(_hover).forEach(function (key) {
228
239
  if (key === "default" || key === "__esModule") return;
@@ -18,6 +18,7 @@ export * from './Commons/scroll.const';
18
18
  export * from './Commons/stack.const';
19
19
  export * from './Commons/bindProps.const';
20
20
  export * from './Commons/display.const';
21
+ export * from './Commons/hotkey.const';
21
22
  export * from './Commons/hover.const';
22
23
  export * from './Commons/goTo.const';
23
24
  export * from './Commons/virtual.const';
@@ -18,6 +18,7 @@ export * from "./Commons/scroll.const.js";
18
18
  export * from "./Commons/stack.const.js";
19
19
  export * from "./Commons/bindProps.const.js";
20
20
  export * from "./Commons/display.const.js";
21
+ export * from "./Commons/hotkey.const.js";
21
22
  export * from "./Commons/hover.const.js";
22
23
  export * from "./Commons/goTo.const.js";
23
24
  export * from "./Commons/virtual.const.js";
@@ -1,5 +1,5 @@
1
- import type { IDelayProps } from '../../interfaces';
2
1
  import type { ComponentPublicInstance } from 'vue';
2
+ import type { IDelayProps } from '../../interfaces';
3
3
  export interface IActivatorProps extends IDelayProps {
4
4
  target?: 'parent' | 'cursor' | (string & {}) | Element | ComponentPublicInstance | [x: number, y: number] | undefined;
5
5
  activator?: 'parent' | 'cursor' | (string & {}) | Element | ComponentPublicInstance;
@@ -1,8 +1,8 @@
1
+ import type { ExtractPropTypes, StyleValue } from 'vue';
1
2
  import type * as Components from "../../components";
2
3
  import type * as Directives from "../../directives";
3
4
  import type { IDateOptions, IDisplayOptions, IGoToOptions, ILocaleOptions, IRtlOptions } from '../../interfaces';
4
5
  import { TIconOptions, TOrigamPluginOptionsImport, TSSROptions } from '../../types';
5
- import type { ExtractPropTypes, StyleValue } from 'vue';
6
6
  export interface IOrigamOptions {
7
7
  aliases?: any;
8
8
  blueprint?: IBlueprint;
@@ -1,5 +1,5 @@
1
- import type { TBreakpoint, TDisplayThresholds } from '../../types';
2
1
  import type { Ref } from 'vue';
2
+ import type { TBreakpoint, TDisplayThresholds } from '../../types';
3
3
  export interface IDisplayProps {
4
4
  mobileBreakpoint?: number | TBreakpoint;
5
5
  }
@@ -1,5 +1,5 @@
1
- import type { TObserveHandler } from '../../types';
2
1
  import type { DirectiveBinding } from 'vue';
2
+ import type { TObserveHandler } from '../../types';
3
3
  export interface IIntersectDirectiveBinding extends Omit<DirectiveBinding, 'modifiers' | 'value'> {
4
4
  value?: TObserveHandler | {
5
5
  handler: TObserveHandler;
@@ -1,6 +1,6 @@
1
+ import type { ComponentInternalInstance, ComputedRef, CSSProperties, Ref } from 'vue';
1
2
  import type { ICommonsComponentProps } from '../../interfaces';
2
3
  import type { TDirectionBoth } from '../../types';
3
- import type { ComponentInternalInstance, ComputedRef, CSSProperties, Ref } from 'vue';
4
4
  export interface ILayoutProvide {
5
5
  register: (vm: ComponentInternalInstance, options: {
6
6
  id: string;
@@ -1,6 +1,6 @@
1
+ import type { Ref } from 'vue';
1
2
  import type { IDimensionProps } from '../../interfaces';
2
3
  import type { TAnchor, TLocationStrategy, TLocationStrategyFn } from '../../types';
3
- import type { Ref } from 'vue';
4
4
  export interface ILocationProps {
5
5
  location?: TAnchor;
6
6
  }
@@ -1,5 +1,5 @@
1
- import type { IDataTableExpandProps, IDataTableFooterProps, IDataTableGroup, IDataTableGroupProps, IDataTableHeaderProps, IDataTableHeadersProps, IDataTableItem, IDataTableItemsProps, IDataTablePaginationProps, IDataTableProvideExpanded, IDataTableProvideGroup, IDataTableProvidePagination, IDataTableProvideSelection, IDataTableProvideSort, IDataTableRowProps, IDataTableSelectProps, IDataTableSortProps, IFiltersProps, IInternalDataTableHeader, ITableProps } from '../../interfaces';
2
1
  import type { UnwrapRef } from 'vue';
2
+ import type { IDataTableExpandProps, IDataTableFooterProps, IDataTableGroup, IDataTableGroupProps, IDataTableHeaderProps, IDataTableHeadersProps, IDataTableItem, IDataTableItemsProps, IDataTablePaginationProps, IDataTableProvideExpanded, IDataTableProvideGroup, IDataTableProvidePagination, IDataTableProvideSelection, IDataTableProvideSort, IDataTableRowProps, IDataTableSelectProps, IDataTableSortProps, IFiltersProps, IInternalDataTableHeader, ITableProps } from '../../interfaces';
3
3
  export interface IDataTableProps extends ITableProps, IDataTableRowProps, IDataTableExpandProps, IDataTableGroupProps, IDataTableHeaderProps, IDataTableItemsProps, IDataTableSelectProps, IDataTableSortProps, IDataTableHeadersProps, IDataTablePaginationProps, IFiltersProps, IDataTableFooterProps {
4
4
  hideDefaultBody?: boolean;
5
5
  hideDefaultFooter?: boolean;
@@ -1,6 +1,6 @@
1
+ import type { Ref } from 'vue';
1
2
  import type { IDataTableItem } from '../../interfaces';
2
3
  import type { TVModel } from '../../types';
3
- import type { Ref } from 'vue';
4
4
  export interface IDataTableExpandProps {
5
5
  expandOnClick?: boolean;
6
6
  showExpand?: boolean;
@@ -1,5 +1,5 @@
1
- import type { IColorProps, ICommonsComponentProps, IDataTableItem, IDataTableItemBase, IDataTableSelectableItem, IDataTableSortItem, IInternalDataTableHeader, IPaddingProps } from '../../interfaces';
2
1
  import type { ComputedRef, Ref } from 'vue';
2
+ import type { IColorProps, ICommonsComponentProps, IDataTableItem, IDataTableItemBase, IDataTableSelectableItem, IDataTableSortItem, IInternalDataTableHeader, IPaddingProps } from '../../interfaces';
3
3
  export interface IDataTableGroupProps {
4
4
  groupBy?: Array<IDataTableSortItem>;
5
5
  }
@@ -1,7 +1,7 @@
1
+ import type { ComputedRef, Ref, UnwrapRef } from 'vue';
1
2
  import { ALIGN } from '../../enums';
2
3
  import type { IColorProps, ICommonsComponentProps, IDataTableItem, IDataTableSortItem, IDisplayProps, ILoaderProps } from '../../interfaces';
3
4
  import type { TAlign, TDataTableCompareFunction, TDataTableHeaderCell, TFilterFunction, TIcon, TSelectItemKey } from '../../types';
4
- import type { ComputedRef, Ref, UnwrapRef } from 'vue';
5
5
  export interface IHeaderCellProps extends ICommonsComponentProps, IColorProps {
6
6
  disableSort?: boolean;
7
7
  headerProps?: any;
@@ -1,6 +1,6 @@
1
+ import type { ComputedRef, Ref } from 'vue';
1
2
  import type { IDataTableGroupableItem, IDataTableSelectableItem, IDataTableSortItem, IInternalDataTableHeader, IInternalItem } from '../../interfaces';
2
3
  import type { TDataTableCell, TDataTableRow, TIcon, TSelectItemKey } from '../../types';
3
- import type { ComputedRef, Ref } from 'vue';
4
4
  export interface IDataTableItemsProps {
5
5
  items?: Array<IDataTableItem>;
6
6
  itemValue?: TSelectItemKey;
@@ -1,5 +1,5 @@
1
- import type { IBorderProps, IColorProps, ICommonsComponentProps, IDensityProps, ILazyProps, ILoaderProps, IMarginProps, IPaddingProps, IRoundedProps, ITagProps } from '../../interfaces';
2
1
  import { Component } from 'vue';
2
+ import type { IBorderProps, IColorProps, ICommonsComponentProps, IDensityProps, ILazyProps, ILoaderProps, IMarginProps, IPaddingProps, IRoundedProps, ITagProps } from '../../interfaces';
3
3
  export interface IExpansionPanelContentProps extends IColorProps, ITagProps, ICommonsComponentProps, IDensityProps, IRoundedProps, IBorderProps, IPaddingProps, IMarginProps, ILazyProps, ILoaderProps {
4
4
  content?: string | Component;
5
5
  }
@@ -1,6 +1,6 @@
1
+ import type { ComponentInternalInstance, ComputedRef, Raw, Ref } from 'vue';
1
2
  import type { ICommonsComponentProps } from '../../interfaces';
2
3
  import type { TValidateOn } from '../../types';
3
- import type { ComponentInternalInstance, ComputedRef, Raw, Ref } from 'vue';
4
4
  export interface IFormProvide {
5
5
  register: (item: {
6
6
  id: number | string;
@@ -1,6 +1,6 @@
1
+ import { ComponentPublicInstance } from 'vue';
1
2
  import { CLIENT_POSITION, FOCUS_LOCATION } from '../../enums';
2
3
  import { IOrigamPluginOptionsObject } from "../../interfaces";
3
- import { ComponentPublicInstance } from 'vue';
4
4
  export type TNotAUnion<T> = [T] extends [infer U] ? _TNotAUnion<U, U> : never;
5
5
  export type _TNotAUnion<T, U> = U extends any ? [T] extends [U] ? unknown : never : never;
6
6
  export type TEventProp<T extends Array<any> = Array<any>, F = (...args: T) => void> = F;
@@ -1,5 +1,5 @@
1
- import type { TIfAny } from '../../types';
2
1
  import { ComponentObjectPropsOptions, Prop, PropType } from 'vue';
2
+ import type { TIfAny } from '../../types';
3
3
  export type TPartialKeys<T> = {
4
4
  [P in keyof T]?: unknown;
5
5
  };
@@ -1,6 +1,6 @@
1
+ import { Ref } from 'vue';
1
2
  import { LOCATION_STRATEGIES } from '../../enums';
2
3
  import type { ILocationStrategyData, ILocationStrategyProps } from '../../interfaces';
3
- import { Ref } from 'vue';
4
4
  export type TLocationStrategyFn = (data: ILocationStrategyData, props: ILocationStrategyProps, contentStyles: Ref<Record<string, string>>) => undefined | {
5
5
  updateLocation: (e: Event) => void;
6
6
  };
@@ -1,6 +1,6 @@
1
+ import type { Component } from 'vue';
1
2
  import { OrigamIcon } from "../../components";
2
3
  import type { IIconAliases, IIconProps, IIconSet } from '../../interfaces';
3
- import type { Component } from 'vue';
4
4
  export type TIcon = string | Array<(string | [path: string, opacity: number])> | Component;
5
5
  export type TIconOptions = {
6
6
  defaultSet?: string;
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.activator = activator;
7
7
  exports.getTargetActivator = getTargetActivator;
8
- var _utils = require("../../utils/index.cjs");
9
8
  var _vue = require("vue");
9
+ var _utils = require("../../utils/index.cjs");
10
10
  function activator(props, vm, {
11
11
  activatorEl,
12
12
  activatorEvents
@@ -1,5 +1,5 @@
1
+ import { ComponentInternalInstance, ComponentPublicInstance } from 'vue';
1
2
  import { useActivator } from '../../composables';
2
3
  import type { IActivatorProps } from '../../interfaces';
3
- import { ComponentInternalInstance, ComponentPublicInstance } from 'vue';
4
4
  export declare function activator(props: IActivatorProps, vm: ComponentInternalInstance, { activatorEl, activatorEvents }: Pick<ReturnType<typeof useActivator>, 'activatorEl' | 'activatorEvents'>): void;
5
5
  export declare function getTargetActivator<T extends 'parent' | string | Element | ComponentPublicInstance | [x: number, y: number] | undefined>(selector: T, vm: ComponentInternalInstance): HTMLElement | undefined | [x: number, y: number];
@@ -1,5 +1,5 @@
1
- import { bindProps, unbindProps } from "../../utils/index.js";
2
1
  import { mergeProps, nextTick, onScopeDispose, watch } from "vue";
2
+ import { bindProps, unbindProps } from "../../utils/index.js";
3
3
  export function activator(props, vm, { activatorEl, activatorEvents }) {
4
4
  watch(() => props.activator, (val, oldVal) => {
5
5
  if (oldVal && val !== oldVal) {
@@ -50,10 +50,10 @@ exports.toKebabCase = toKebabCase;
50
50
  exports.tryOnMounted = tryOnMounted;
51
51
  exports.tryOnScopeDispose = tryOnScopeDispose;
52
52
  exports.wrapInArray = wrapInArray;
53
+ var _vue = require("vue");
53
54
  var _consts = require("../../consts/index.cjs");
54
55
  var _enums = require("../../enums/index.cjs");
55
56
  var _utils = require("../../utils/index.cjs");
56
- var _vue = require("vue");
57
57
  function convertToUnit(str, unit = "px") {
58
58
  if (str == null || str === "") {
59
59
  return void 0;
@@ -1,5 +1,5 @@
1
- import { TClientPosition, TFn, TFocusLocation, TNotAUnion, TSelectItemKey, TTemplateRef, TWrapInArrayResult } from '../../types';
2
1
  import { ComponentInternalInstance, ComponentPublicInstance, ComputedGetter, InjectionKey, MaybeRef, ToRefs, VNode, VNodeChild } from 'vue';
2
+ import { TClientPosition, TFn, TFocusLocation, TNotAUnion, TSelectItemKey, TTemplateRef, TWrapInArrayResult } from '../../types';
3
3
  export declare function convertToUnit(str: number, unit?: string): string;
4
4
  export declare function convertToUnit(str: string | number | null | undefined, unit?: string): string | undefined;
5
5
  export declare function refElement(obj?: ComponentPublicInstance<any> | HTMLElement): HTMLElement | undefined;
@@ -1,6 +1,3 @@
1
- import { IN_BROWSER, ON_REGEX } from "../../consts/index.js";
2
- import { FOCUS_LOCATION } from "../../enums/index.js";
3
- import { getLifeCycleTarget } from "../../utils/index.js";
4
1
  import {
5
2
  capitalize,
6
3
  computed,
@@ -15,6 +12,9 @@ import {
15
12
  unref,
16
13
  watchEffect
17
14
  } from "vue";
15
+ import { IN_BROWSER, ON_REGEX } from "../../consts/index.js";
16
+ import { FOCUS_LOCATION } from "../../enums/index.js";
17
+ import { getLifeCycleTarget } from "../../utils/index.js";
18
18
  export function convertToUnit(str, unit = "px") {
19
19
  if (str == null || str === "") {
20
20
  return void 0;
@@ -47,9 +47,9 @@ exports.startOfMonth = startOfMonth;
47
47
  exports.startOfWeek = startOfWeek;
48
48
  exports.startOfYear = startOfYear;
49
49
  exports.toISO = toISO;
50
+ var _vue = require("vue");
50
51
  var _consts = require("../../consts/index.cjs");
51
52
  var _utils = require("../../utils/index.cjs");
52
- var _vue = require("vue");
53
53
  function createInstance(options, locale) {
54
54
  const instance = (0, _vue.reactive)(typeof options.adapter === "function" ? new options.adapter({
55
55
  locale: options.locale[locale.current.value] ?? locale.current.value,
@@ -1,6 +1,6 @@
1
+ import { reactive, watch } from "vue";
1
2
  import { DATE_2000_JUNARY_SUNDAY, FIRST_DAY, REGEX_DATE_YYYY_MM_DD } from "../../consts/index.js";
2
3
  import { createRange, padStart } from "../../utils/index.js";
3
- import { reactive, watch } from "vue";
4
4
  export function createInstance(options, locale) {
5
5
  const instance = reactive(
6
6
  typeof options.adapter === "function" ? new options.adapter({
@@ -1,5 +1,5 @@
1
- import type { TOmitPrefix, TOmitProps, TUnionToIntersection } from '../../types';
2
1
  import { ComponentPublicInstance, Ref, UnwrapRef } from 'vue';
2
+ import type { TOmitPrefix, TOmitProps, TUnionToIntersection } from '../../types';
3
3
  export declare function forwardRefs<T extends Record<string, unknown>, U extends Ref<HTMLElement | Omit<ComponentPublicInstance, '$emit' | '$slots'> | undefined>[]>(target: T, ...refs: U): T & TUnionToIntersection<{
4
4
  [K in keyof U]: TOmitPrefix<TOmitProps<NonNullable<UnwrapRef<U[K]>>>, '$'>;
5
5
  }[number]>;
@@ -7,8 +7,8 @@ exports.getCurrentInstance = getCurrentInstance;
7
7
  exports.getCurrentInstanceName = getCurrentInstanceName;
8
8
  exports.getLifeCycleTarget = getLifeCycleTarget;
9
9
  exports.getUid = getUid;
10
- var _utils = require("../../utils/index.cjs");
11
10
  var _vue = require("vue");
11
+ var _utils = require("../../utils/index.cjs");
12
12
  function getLifeCycleTarget(target) {
13
13
  return target || (0, _vue.getCurrentInstance)();
14
14
  }
@@ -1,5 +1,5 @@
1
- import { toKebabCase } from "../../utils/index.js";
2
1
  import { getCurrentInstance as _getCurrentInstance } from "vue";
2
+ import { toKebabCase } from "../../utils/index.js";
3
3
  export function getLifeCycleTarget(target) {
4
4
  return target || _getCurrentInstance();
5
5
  }
@@ -1,5 +1,5 @@
1
- import type { IGoToInstance, IGoToOptions } from '../../interfaces';
2
1
  import { ComponentPublicInstance } from 'vue';
2
+ import type { IGoToInstance, IGoToOptions } from '../../interfaces';
3
3
  export declare function genDefaults(): Partial<IGoToOptions>;
4
4
  export declare function getContainer(el?: ComponentPublicInstance | HTMLElement | string): HTMLElement;
5
5
  export declare function getTarget(el: ComponentPublicInstance | HTMLElement | string | undefined): HTMLElement | null | undefined;
@@ -1,5 +1,5 @@
1
- import type { IGroupItem } from '../../interfaces';
2
1
  import { UnwrapRef } from 'vue';
2
+ import type { IGroupItem } from '../../interfaces';
3
3
  export declare function getItemIndex(items: UnwrapRef<Array<IGroupItem>>, value: unknown): number;
4
4
  export declare function getIds(items: UnwrapRef<Array<IGroupItem>>, modelValue: Array<any>): number[];
5
5
  export declare function getValues(items: UnwrapRef<Array<IGroupItem>>, ids: Array<any>): unknown[];
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.normalizeKey = normalizeKey;
7
7
  exports.splitKeyCombination = splitKeyCombination;
8
8
  exports.splitKeySequence = splitKeySequence;
9
- var _hotkeyConst = require("../../consts/Commons/hotkey.const.ts");
9
+ var _consts = require("../../consts/index.cjs");
10
10
  var _utils = require("../../utils/index.cjs");
11
11
  function splitKeyCombination(combination, isInternal = false) {
12
12
  if (!combination) {
@@ -126,5 +126,5 @@ function splitKeySequence(str) {
126
126
  }
127
127
  function normalizeKey(key) {
128
128
  const lowerKey = key.toLowerCase();
129
- return _hotkeyConst.KEYBOARD_ALIASES[lowerKey] || lowerKey;
129
+ return _consts.KEYBOARD_ALIASES[lowerKey] || lowerKey;
130
130
  }
@@ -1,4 +1,4 @@
1
- import { KEYBOARD_ALIASES } from "../../consts/Commons/hotkey.const.ts";
1
+ import { KEYBOARD_ALIASES } from "../../consts/index.js";
2
2
  import { consoleWarn } from "../../utils/index.js";
3
3
  export function splitKeyCombination(combination, isInternal = false) {
4
4
  if (!combination) {
@@ -1,6 +1,6 @@
1
+ import type { Ref } from 'vue';
1
2
  import type { ILayer } from '../../interfaces';
2
3
  import type { TDirectionBoth } from '../../types';
3
- import type { Ref } from 'vue';
4
4
  export declare function generateLayers(layout: Array<string>, positions: Map<string, Ref<TDirectionBoth>>, layoutSizes: Map<string, Ref<number | string>>, activeItems: Map<string, Ref<boolean>>): Array<{
5
5
  id: string;
6
6
  layer: ILayer;
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.createProvideFunction = createProvideFunction;
7
7
  exports.createVueI18nAdapter = createVueI18nAdapter;
8
8
  exports.useProvided = useProvided;
9
- var _composables = require("../../composables/index.cjs");
10
9
  var _vue = require("vue");
10
+ var _composables = require("../../composables/index.cjs");
11
11
  function createVueI18nAdapter({
12
12
  i18n,
13
13
  useI18n: useI18n2
@@ -1,6 +1,6 @@
1
- import type { ILocaleI18n, ILocaleInstance, ILocaleMessages, ILocaleProps } from "../../interfaces";
2
1
  import { ComputedRef, Ref } from "vue";
3
2
  import { useI18n } from "vue-i18n";
3
+ import type { ILocaleI18n, ILocaleInstance, ILocaleMessages, ILocaleProps } from "../../interfaces";
4
4
  export declare function createVueI18nAdapter({ i18n, useI18n }: ILocaleI18n): ILocaleInstance;
5
5
  export declare function createProvideFunction(data: {
6
6
  current: Ref<string>;
@@ -1,5 +1,5 @@
1
- import { useVModel } from "../../composables/index.js";
2
1
  import { watch } from "vue";
2
+ import { useVModel } from "../../composables/index.js";
3
3
  export function createVueI18nAdapter({ i18n, useI18n: useI18n2 }) {
4
4
  const current = i18n.global.locale;
5
5
  const fallback = i18n.global.fallbackLocale;
@@ -9,10 +9,10 @@ exports.isFixedPosition = isFixedPosition;
9
9
  exports.pixelCeil = pixelCeil;
10
10
  exports.pixelRound = pixelRound;
11
11
  exports.staticLocationStrategy = staticLocationStrategy;
12
+ var _vue = require("vue");
12
13
  var _enums = require("../../enums/index.cjs");
13
14
  var _services = require("../../services/index.cjs");
14
15
  var _utils = require("../../utils/index.cjs");
15
- var _vue = require("vue");
16
16
  function staticLocationStrategy() {}
17
17
  function connectedLocationStrategy(data, props, contentStyles) {
18
18
  const activatorFixed = Array.isArray(data.target.value) || isFixedPosition(data.target.value);
@@ -1,5 +1,5 @@
1
- import type { IBox, ILocationStrategyData, ILocationStrategyProps } from '../../interfaces';
2
1
  import { Ref } from 'vue';
2
+ import type { IBox, ILocationStrategyData, ILocationStrategyProps } from '../../interfaces';
3
3
  export declare function staticLocationStrategy(): void;
4
4
  export declare function connectedLocationStrategy(data: ILocationStrategyData, props: ILocationStrategyProps, contentStyles: Ref<Record<string, string>>): {
5
5
  updateLocation: () => {
@@ -1,3 +1,4 @@
1
+ import { computed, nextTick, onScopeDispose, watch } from "vue";
1
2
  import { AXIS } from "../../enums/index.js";
2
3
  import { Box } from "../../services/index.js";
3
4
  import {
@@ -17,7 +18,6 @@ import {
17
18
  nullifyTransforms,
18
19
  parseAnchor
19
20
  } from "../../utils/index.js";
20
- import { computed, nextTick, onScopeDispose, watch } from "vue";
21
21
  export function staticLocationStrategy() {
22
22
  }
23
23
  export function connectedLocationStrategy(data, props, contentStyles) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "origam",
3
- "version": "0.3.5",
3
+ "version": "0.3.7",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -47,8 +47,7 @@
47
47
  "test:unit": "vitest",
48
48
  "test:e2e": "cypress",
49
49
  "test:open": "cypress open",
50
- "clean": "rm -rf dist node_modules package-lock.json",
51
- "alias": "tsc-alias"
50
+ "clean": "rm -rf dist node_modules package-lock.json"
52
51
  },
53
52
  "dependencies": {
54
53
  "@mdi/font": "^7.4.47",