origam 0.3.5 → 0.3.6

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 (226) hide show
  1. package/dist/src/components/Dialog/OrigamDialog.vue +1 -1
  2. package/dist/src/components/Dialog/OrigamDialogConfirmation.vue +1 -1
  3. package/dist/src/components/Divider/OrigamDivider.vue +1 -1
  4. package/dist/src/components/Drawer/OrigamDrawer.vue +13 -13
  5. package/dist/src/components/ExpansionPanel/OrigamExpansionPanel.vue +1 -1
  6. package/dist/src/components/ExpansionPanel/OrigamExpansionPanelContent.vue +1 -1
  7. package/dist/src/components/ExpansionPanel/OrigamExpansionPanelHeader.vue +1 -1
  8. package/dist/src/components/ExpansionPanel/OrigamExpansionPanels.vue +1 -1
  9. package/dist/src/components/Field/OrigamField.vue +1 -1
  10. package/dist/src/components/FileField/OrigamFileField.vue +1 -1
  11. package/dist/src/components/Form/OrigamForm.vue +1 -1
  12. package/dist/src/components/Grids/OrigamRow.vue +1 -1
  13. package/dist/src/components/Grids/OrigamSpacer.vue +1 -1
  14. package/dist/src/components/Highlight/OrigamHighlight.vue +1 -1
  15. package/dist/src/components/Icon/OrigamIcon.vue +1 -1
  16. package/dist/src/components/Icon/OrigamLigatureIcon.vue +1 -1
  17. package/dist/src/components/Icon/OrigamSvgIcon.vue +4 -4
  18. package/dist/src/components/Img/OrigamImg.vue +6 -6
  19. package/dist/src/components/InfiniteScroll/OrigamInfiniteScroll.vue +8 -2
  20. package/dist/src/components/InfiniteScroll/OrigamInfiniteScrollIntersect.vue +1 -1
  21. package/dist/src/components/Input/OrigamInput.vue +1 -1
  22. package/dist/src/components/Label/OrigamLabel.vue +1 -1
  23. package/dist/src/components/Layout/OrigamLayout.vue +1 -1
  24. package/dist/src/components/Lazy/OrigamLazy.vue +1 -1
  25. package/dist/src/components/List/OrigamList.vue +1 -1
  26. package/dist/src/components/List/OrigamListChildren.vue +1 -1
  27. package/dist/src/components/List/OrigamListGroup.vue +1 -1
  28. package/dist/src/components/List/OrigamListGroupActivator.vue +1 -1
  29. package/dist/src/components/List/OrigamListItem.vue +1 -1
  30. package/dist/src/components/List/OrigamListSubheader.vue +1 -1
  31. package/dist/src/components/Loader/OrigamLoader.vue +1 -1
  32. package/dist/src/components/Main/OrigamMain.vue +1 -1
  33. package/dist/src/components/Menu/OrigamMenu.vue +1 -1
  34. package/dist/src/components/Messages/OrigamMessages.vue +1 -1
  35. package/dist/src/components/NumberField/OrigamNumberField.vue +1 -1
  36. package/dist/src/components/OtpInputField/OrigamOtpInputField.vue +1 -1
  37. package/dist/src/components/Overlay/OrigamOverlay.vue +1 -1
  38. package/dist/src/components/Overlay/OrigamOverlayScrim.vue +1 -1
  39. package/dist/src/components/PageBuilder/OrigamEditWrapper.vue +1 -1
  40. package/dist/src/components/PageBuilder/OrigamPageBuilder.vue +1 -1
  41. package/dist/src/components/Pagination/OrigamPagination.vue +1 -1
  42. package/dist/src/components/Parallax/OrigamParallax.vue +1 -1
  43. package/dist/src/components/Parallax/OrigamParallaxElement.vue +1 -1
  44. package/dist/src/components/PasswordField/OrigamPasswordField.vue +1 -1
  45. package/dist/src/components/Picker/OrigamPicker.vue +1 -1
  46. package/dist/src/components/Picker/OrigamPickerTitle.vue +1 -1
  47. package/dist/src/components/Progress/OrigamProgress.vue +1 -1
  48. package/dist/src/components/Progress/OrigamProgressCircular.vue +1 -1
  49. package/dist/src/components/Progress/OrigamProgressLinear.vue +1 -1
  50. package/dist/src/components/Radio/OrigamRadio.vue +1 -1
  51. package/dist/src/components/Radio/OrigamRadioBtn.vue +1 -1
  52. package/dist/src/components/Radio/OrigamRadioGroup.vue +1 -1
  53. package/dist/src/components/RatingField/OrigamRatingField.vue +1 -1
  54. package/dist/src/components/RatingField/OrigamRatingFieldItem.vue +1 -1
  55. package/dist/src/components/Responsive/OrigamResponsive.vue +9 -1
  56. package/dist/src/components/Select/OrigamSelect.vue +13 -13
  57. package/dist/src/components/SelectionControl/OrigamSelectionControl.vue +1 -1
  58. package/dist/src/components/SelectionControl/OrigamSelectionControlGroup.vue +1 -1
  59. package/dist/src/components/Sheet/OrigamSheet.vue +1 -1
  60. package/dist/src/components/Slide/OrigamSlideGroup.vue +1 -1
  61. package/dist/src/components/SliderField/OrigamSliderField.vue +1 -1
  62. package/dist/src/components/SliderField/OrigamSliderFieldThumb.vue +1 -1
  63. package/dist/src/components/SliderField/OrigamSliderFieldTrack.vue +1 -1
  64. package/dist/src/components/Snackbar/OrigamSnackbar.vue +13 -13
  65. package/dist/src/components/Switch/OrigamSwitch.vue +8 -2
  66. package/dist/src/components/SystemBar/OrigamSystemBar.vue +1 -1
  67. package/dist/src/components/Table/OrigamTable.vue +1 -1
  68. package/dist/src/components/TextField/OrigamTextField.vue +1 -1
  69. package/dist/src/components/TextareaField/OrigamTextareaField.vue +5 -5
  70. package/dist/src/components/Title/OrigamTitle.vue +1 -1
  71. package/dist/src/components/Toolbar/OrigamToolbar.vue +1 -1
  72. package/dist/src/components/Tooltip/OrigamTooltip.vue +1 -1
  73. package/dist/src/components/Transition/OrigamExpandX.vue +1 -1
  74. package/dist/src/components/Transition/OrigamExpandY.vue +1 -1
  75. package/dist/src/components/Transition/OrigamTransition.vue +1 -1
  76. package/dist/src/components/Transition/OrigamTranslateScale.vue +1 -1
  77. package/dist/src/components/VirtualScroll/OrigamVirtualScroll.vue +1 -1
  78. package/dist/src/components/VirtualScroll/OrigamVirtualScrollItem.vue +1 -1
  79. package/dist/src/components/Window/OrigamWindow.vue +1 -1
  80. package/dist/src/components/Window/OrigamWindowItem.vue +1 -1
  81. package/dist/src/composables/Commons/activator.composable.cjs +1 -1
  82. package/dist/src/composables/Commons/activator.composable.d.ts +1 -1
  83. package/dist/src/composables/Commons/activator.composable.js +1 -1
  84. package/dist/src/composables/Commons/active.composable.cjs +1 -1
  85. package/dist/src/composables/Commons/active.composable.js +1 -1
  86. package/dist/src/composables/Commons/adjacent.composable.cjs +1 -1
  87. package/dist/src/composables/Commons/adjacent.composable.d.ts +1 -1
  88. package/dist/src/composables/Commons/adjacent.composable.js +1 -1
  89. package/dist/src/composables/Commons/border.composable.cjs +1 -1
  90. package/dist/src/composables/Commons/border.composable.d.ts +1 -1
  91. package/dist/src/composables/Commons/border.composable.js +1 -1
  92. package/dist/src/composables/Commons/calendar.composable.cjs +1 -1
  93. package/dist/src/composables/Commons/calendar.composable.js +1 -1
  94. package/dist/src/composables/Commons/color.composable.cjs +1 -1
  95. package/dist/src/composables/Commons/color.composable.d.ts +1 -1
  96. package/dist/src/composables/Commons/color.composable.js +1 -1
  97. package/dist/src/composables/Commons/date.composable.cjs +1 -1
  98. package/dist/src/composables/Commons/date.composable.js +1 -1
  99. package/dist/src/composables/Commons/density.composable.cjs +1 -1
  100. package/dist/src/composables/Commons/density.composable.d.ts +1 -1
  101. package/dist/src/composables/Commons/density.composable.js +1 -1
  102. package/dist/src/composables/Commons/dimension.composable.cjs +1 -1
  103. package/dist/src/composables/Commons/dimension.composable.js +1 -1
  104. package/dist/src/composables/Commons/display.composable.cjs +1 -1
  105. package/dist/src/composables/Commons/display.composable.js +1 -1
  106. package/dist/src/composables/Commons/dragResizer.composable.cjs +1 -1
  107. package/dist/src/composables/Commons/dragResizer.composable.d.ts +1 -1
  108. package/dist/src/composables/Commons/dragResizer.composable.js +1 -1
  109. package/dist/src/composables/Commons/elevation.composable.cjs +1 -1
  110. package/dist/src/composables/Commons/elevation.composable.d.ts +1 -1
  111. package/dist/src/composables/Commons/elevation.composable.js +1 -1
  112. package/dist/src/composables/Commons/eventListener.composable.cjs +1 -1
  113. package/dist/src/composables/Commons/eventListener.composable.js +1 -1
  114. package/dist/src/composables/Commons/filters.composable.cjs +1 -1
  115. package/dist/src/composables/Commons/filters.composable.d.ts +1 -1
  116. package/dist/src/composables/Commons/filters.composable.js +1 -1
  117. package/dist/src/composables/Commons/focus.composable.cjs +1 -1
  118. package/dist/src/composables/Commons/focus.composable.js +1 -1
  119. package/dist/src/composables/Commons/goTo.composable.cjs +1 -1
  120. package/dist/src/composables/Commons/goTo.composable.d.ts +1 -1
  121. package/dist/src/composables/Commons/goTo.composable.js +1 -1
  122. package/dist/src/composables/Commons/group.composable.cjs +1 -1
  123. package/dist/src/composables/Commons/group.composable.d.ts +1 -1
  124. package/dist/src/composables/Commons/group.composable.js +11 -11
  125. package/dist/src/composables/Commons/hotkey.composable.cjs +1 -1
  126. package/dist/src/composables/Commons/hotkey.composable.d.ts +1 -1
  127. package/dist/src/composables/Commons/hotkey.composable.js +1 -1
  128. package/dist/src/composables/Commons/hover.composable.cjs +1 -1
  129. package/dist/src/composables/Commons/hover.composable.js +1 -1
  130. package/dist/src/composables/Commons/hydration.composable.cjs +1 -1
  131. package/dist/src/composables/Commons/hydration.composable.js +1 -1
  132. package/dist/src/composables/Commons/intersectionObserver.composable.cjs +1 -1
  133. package/dist/src/composables/Commons/intersectionObserver.composable.js +1 -1
  134. package/dist/src/composables/Commons/items.composable.cjs +1 -1
  135. package/dist/src/composables/Commons/items.composable.js +1 -1
  136. package/dist/src/composables/Commons/layout.composable.cjs +1 -1
  137. package/dist/src/composables/Commons/layout.composable.d.ts +1 -1
  138. package/dist/src/composables/Commons/layout.composable.js +3 -3
  139. package/dist/src/composables/Commons/loader.composable.cjs +1 -1
  140. package/dist/src/composables/Commons/loader.composable.js +1 -1
  141. package/dist/src/composables/Commons/locale.composable.cjs +2 -2
  142. package/dist/src/composables/Commons/locale.composable.js +2 -2
  143. package/dist/src/composables/Commons/location.composable.cjs +1 -1
  144. package/dist/src/composables/Commons/location.composable.js +1 -1
  145. package/dist/src/composables/Commons/margin.composable.cjs +1 -1
  146. package/dist/src/composables/Commons/margin.composable.js +1 -1
  147. package/dist/src/composables/Commons/padding.composable.cjs +1 -1
  148. package/dist/src/composables/Commons/padding.composable.js +1 -1
  149. package/dist/src/composables/DataTable/expand.composable.cjs +1 -1
  150. package/dist/src/composables/DataTable/expand.composable.js +1 -1
  151. package/dist/src/composables/DataTable/group.composable.cjs +1 -1
  152. package/dist/src/composables/DataTable/group.composable.d.ts +1 -1
  153. package/dist/src/composables/DataTable/group.composable.js +1 -1
  154. package/dist/src/composables/DataTable/headers.composable.cjs +1 -1
  155. package/dist/src/composables/DataTable/headers.composable.d.ts +1 -1
  156. package/dist/src/composables/DataTable/headers.composable.js +1 -1
  157. package/dist/src/composables/DataTable/items.composable.cjs +1 -1
  158. package/dist/src/composables/DataTable/items.composable.d.ts +1 -1
  159. package/dist/src/composables/DataTable/items.composable.js +1 -1
  160. package/dist/src/composables/DataTable/pagination.composable.cjs +1 -1
  161. package/dist/src/composables/DataTable/pagination.composable.d.ts +1 -1
  162. package/dist/src/composables/DataTable/pagination.composable.js +1 -1
  163. package/dist/src/composables/Form/form.composable.cjs +1 -1
  164. package/dist/src/composables/Form/form.composable.js +1 -1
  165. package/dist/src/composables/Icon/icon.composable.cjs +1 -1
  166. package/dist/src/composables/Icon/icon.composable.d.ts +1 -1
  167. package/dist/src/composables/Icon/icon.composable.js +1 -1
  168. package/dist/src/composables/List/list.composable.cjs +1 -1
  169. package/dist/src/composables/List/list.composable.js +1 -1
  170. package/dist/src/composables/PageBuilder/editor.composable.cjs +1 -1
  171. package/dist/src/composables/PageBuilder/editor.composable.js +1 -1
  172. package/dist/src/consts/Btn/btn-toggle.const.d.ts +1 -1
  173. package/dist/src/consts/Commons/commons.const.d.ts +1 -1
  174. package/dist/src/consts/Commons/date.const.d.ts +1 -1
  175. package/dist/src/consts/Commons/display.const.d.ts +1 -1
  176. package/dist/src/consts/Commons/goTo.const.d.ts +1 -1
  177. package/dist/src/consts/Commons/layout.const.d.ts +1 -1
  178. package/dist/src/consts/Commons/locale.const.d.ts +1 -1
  179. package/dist/src/consts/DataTable/expand.const.d.ts +1 -1
  180. package/dist/src/consts/DataTable/group.const.d.ts +1 -1
  181. package/dist/src/consts/DataTable/headers.const.d.ts +1 -1
  182. package/dist/src/consts/ExpansionPanel/expansion-panel.const.d.ts +1 -1
  183. package/dist/src/consts/Form/form.const.d.ts +1 -1
  184. package/dist/src/consts/Icon/icon.const.d.ts +1 -1
  185. package/dist/src/consts/Icon/mdi.const.cjs +1 -1
  186. package/dist/src/consts/Icon/mdi.const.js +1 -1
  187. package/dist/src/consts/Menu/menu.const.d.ts +1 -1
  188. package/dist/src/consts/PageBuilder/edit.const.d.ts +1 -1
  189. package/dist/src/interfaces/Commons/activator.interface.d.ts +1 -1
  190. package/dist/src/interfaces/Commons/commons.interface.d.ts +1 -1
  191. package/dist/src/interfaces/Commons/display.interface.d.ts +1 -1
  192. package/dist/src/interfaces/Commons/intersect.interface.d.ts +1 -1
  193. package/dist/src/interfaces/Commons/layout.interface.d.ts +1 -1
  194. package/dist/src/interfaces/Commons/location.interface.d.ts +1 -1
  195. package/dist/src/interfaces/DataTable/data-table.interface.d.ts +1 -1
  196. package/dist/src/interfaces/DataTable/expand.interface.d.ts +1 -1
  197. package/dist/src/interfaces/DataTable/group.interface.d.ts +1 -1
  198. package/dist/src/interfaces/DataTable/headers.interface.d.ts +1 -1
  199. package/dist/src/interfaces/DataTable/items.interface.d.ts +1 -1
  200. package/dist/src/interfaces/ExpensionPanel/expansion-panel-content.interface.d.ts +1 -1
  201. package/dist/src/interfaces/Form/form.interface.d.ts +1 -1
  202. package/dist/src/types/Commons/commons.type.d.ts +1 -1
  203. package/dist/src/types/Commons/layout.type.d.ts +1 -1
  204. package/dist/src/types/Commons/location.type.d.ts +1 -1
  205. package/dist/src/types/Icon/icon.type.d.ts +1 -1
  206. package/dist/src/utils/Commons/activator.util.cjs +1 -1
  207. package/dist/src/utils/Commons/activator.util.d.ts +1 -1
  208. package/dist/src/utils/Commons/activator.util.js +1 -1
  209. package/dist/src/utils/Commons/commons.util.cjs +1 -1
  210. package/dist/src/utils/Commons/commons.util.d.ts +1 -1
  211. package/dist/src/utils/Commons/commons.util.js +3 -3
  212. package/dist/src/utils/Commons/date.util.cjs +1 -1
  213. package/dist/src/utils/Commons/date.util.js +1 -1
  214. package/dist/src/utils/Commons/forwardRefs.util.d.ts +1 -1
  215. package/dist/src/utils/Commons/getCurrentInstance.util.cjs +1 -1
  216. package/dist/src/utils/Commons/getCurrentInstance.util.js +1 -1
  217. package/dist/src/utils/Commons/goTo.util.d.ts +1 -1
  218. package/dist/src/utils/Commons/group.util.d.ts +1 -1
  219. package/dist/src/utils/Commons/layout.util.d.ts +1 -1
  220. package/dist/src/utils/Commons/locale.util.cjs +1 -1
  221. package/dist/src/utils/Commons/locale.util.d.ts +1 -1
  222. package/dist/src/utils/Commons/locale.util.js +1 -1
  223. package/dist/src/utils/Commons/location.util.cjs +1 -1
  224. package/dist/src/utils/Commons/location.util.d.ts +1 -1
  225. package/dist/src/utils/Commons/location.util.js +1 -1
  226. package/package.json +2 -3
@@ -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[];
@@ -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.6",
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",