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.
- package/dist/src/components/Dialog/OrigamDialog.vue +1 -1
- package/dist/src/components/Dialog/OrigamDialogConfirmation.vue +1 -1
- package/dist/src/components/Divider/OrigamDivider.vue +1 -1
- package/dist/src/components/Drawer/OrigamDrawer.vue +13 -13
- package/dist/src/components/ExpansionPanel/OrigamExpansionPanel.vue +1 -1
- package/dist/src/components/ExpansionPanel/OrigamExpansionPanelContent.vue +1 -1
- package/dist/src/components/ExpansionPanel/OrigamExpansionPanelHeader.vue +1 -1
- package/dist/src/components/ExpansionPanel/OrigamExpansionPanels.vue +1 -1
- package/dist/src/components/Field/OrigamField.vue +1 -1
- package/dist/src/components/FileField/OrigamFileField.vue +1 -1
- package/dist/src/components/Form/OrigamForm.vue +1 -1
- package/dist/src/components/Grids/OrigamRow.vue +1 -1
- package/dist/src/components/Grids/OrigamSpacer.vue +1 -1
- package/dist/src/components/Highlight/OrigamHighlight.vue +1 -1
- package/dist/src/components/Icon/OrigamIcon.vue +1 -1
- package/dist/src/components/Icon/OrigamLigatureIcon.vue +1 -1
- package/dist/src/components/Icon/OrigamSvgIcon.vue +4 -4
- package/dist/src/components/Img/OrigamImg.vue +6 -6
- package/dist/src/components/InfiniteScroll/OrigamInfiniteScroll.vue +8 -2
- package/dist/src/components/InfiniteScroll/OrigamInfiniteScrollIntersect.vue +1 -1
- package/dist/src/components/Input/OrigamInput.vue +1 -1
- package/dist/src/components/Label/OrigamLabel.vue +1 -1
- package/dist/src/components/Layout/OrigamLayout.vue +1 -1
- package/dist/src/components/Lazy/OrigamLazy.vue +1 -1
- package/dist/src/components/List/OrigamList.vue +1 -1
- package/dist/src/components/List/OrigamListChildren.vue +1 -1
- package/dist/src/components/List/OrigamListGroup.vue +1 -1
- package/dist/src/components/List/OrigamListGroupActivator.vue +1 -1
- package/dist/src/components/List/OrigamListItem.vue +1 -1
- package/dist/src/components/List/OrigamListSubheader.vue +1 -1
- package/dist/src/components/Loader/OrigamLoader.vue +1 -1
- package/dist/src/components/Main/OrigamMain.vue +1 -1
- package/dist/src/components/Menu/OrigamMenu.vue +1 -1
- package/dist/src/components/Messages/OrigamMessages.vue +1 -1
- package/dist/src/components/NumberField/OrigamNumberField.vue +1 -1
- package/dist/src/components/OtpInputField/OrigamOtpInputField.vue +1 -1
- package/dist/src/components/Overlay/OrigamOverlay.vue +1 -1
- package/dist/src/components/Overlay/OrigamOverlayScrim.vue +1 -1
- package/dist/src/components/PageBuilder/OrigamEditWrapper.vue +1 -1
- package/dist/src/components/PageBuilder/OrigamPageBuilder.vue +1 -1
- package/dist/src/components/Pagination/OrigamPagination.vue +1 -1
- package/dist/src/components/Parallax/OrigamParallax.vue +1 -1
- package/dist/src/components/Parallax/OrigamParallaxElement.vue +1 -1
- package/dist/src/components/PasswordField/OrigamPasswordField.vue +1 -1
- package/dist/src/components/Picker/OrigamPicker.vue +1 -1
- package/dist/src/components/Picker/OrigamPickerTitle.vue +1 -1
- package/dist/src/components/Progress/OrigamProgress.vue +1 -1
- package/dist/src/components/Progress/OrigamProgressCircular.vue +1 -1
- package/dist/src/components/Progress/OrigamProgressLinear.vue +1 -1
- package/dist/src/components/Radio/OrigamRadio.vue +1 -1
- package/dist/src/components/Radio/OrigamRadioBtn.vue +1 -1
- package/dist/src/components/Radio/OrigamRadioGroup.vue +1 -1
- package/dist/src/components/RatingField/OrigamRatingField.vue +1 -1
- package/dist/src/components/RatingField/OrigamRatingFieldItem.vue +1 -1
- package/dist/src/components/Responsive/OrigamResponsive.vue +9 -1
- package/dist/src/components/Select/OrigamSelect.vue +13 -13
- package/dist/src/components/SelectionControl/OrigamSelectionControl.vue +1 -1
- package/dist/src/components/SelectionControl/OrigamSelectionControlGroup.vue +1 -1
- package/dist/src/components/Sheet/OrigamSheet.vue +1 -1
- package/dist/src/components/Slide/OrigamSlideGroup.vue +1 -1
- package/dist/src/components/SliderField/OrigamSliderField.vue +1 -1
- package/dist/src/components/SliderField/OrigamSliderFieldThumb.vue +1 -1
- package/dist/src/components/SliderField/OrigamSliderFieldTrack.vue +1 -1
- package/dist/src/components/Snackbar/OrigamSnackbar.vue +13 -13
- package/dist/src/components/Switch/OrigamSwitch.vue +8 -2
- package/dist/src/components/SystemBar/OrigamSystemBar.vue +1 -1
- package/dist/src/components/Table/OrigamTable.vue +1 -1
- package/dist/src/components/TextField/OrigamTextField.vue +1 -1
- package/dist/src/components/TextareaField/OrigamTextareaField.vue +5 -5
- package/dist/src/components/Title/OrigamTitle.vue +1 -1
- package/dist/src/components/Toolbar/OrigamToolbar.vue +1 -1
- package/dist/src/components/Tooltip/OrigamTooltip.vue +1 -1
- package/dist/src/components/Transition/OrigamExpandX.vue +1 -1
- package/dist/src/components/Transition/OrigamExpandY.vue +1 -1
- package/dist/src/components/Transition/OrigamTransition.vue +1 -1
- package/dist/src/components/Transition/OrigamTranslateScale.vue +1 -1
- package/dist/src/components/VirtualScroll/OrigamVirtualScroll.vue +1 -1
- package/dist/src/components/VirtualScroll/OrigamVirtualScrollItem.vue +1 -1
- package/dist/src/components/Window/OrigamWindow.vue +1 -1
- package/dist/src/components/Window/OrigamWindowItem.vue +1 -1
- package/dist/src/composables/Commons/activator.composable.cjs +1 -1
- package/dist/src/composables/Commons/activator.composable.d.ts +1 -1
- package/dist/src/composables/Commons/activator.composable.js +1 -1
- package/dist/src/composables/Commons/active.composable.cjs +1 -1
- package/dist/src/composables/Commons/active.composable.js +1 -1
- package/dist/src/composables/Commons/adjacent.composable.cjs +1 -1
- package/dist/src/composables/Commons/adjacent.composable.d.ts +1 -1
- package/dist/src/composables/Commons/adjacent.composable.js +1 -1
- package/dist/src/composables/Commons/border.composable.cjs +1 -1
- package/dist/src/composables/Commons/border.composable.d.ts +1 -1
- package/dist/src/composables/Commons/border.composable.js +1 -1
- package/dist/src/composables/Commons/calendar.composable.cjs +1 -1
- package/dist/src/composables/Commons/calendar.composable.js +1 -1
- package/dist/src/composables/Commons/color.composable.cjs +1 -1
- package/dist/src/composables/Commons/color.composable.d.ts +1 -1
- package/dist/src/composables/Commons/color.composable.js +1 -1
- package/dist/src/composables/Commons/date.composable.cjs +1 -1
- package/dist/src/composables/Commons/date.composable.js +1 -1
- package/dist/src/composables/Commons/density.composable.cjs +1 -1
- package/dist/src/composables/Commons/density.composable.d.ts +1 -1
- package/dist/src/composables/Commons/density.composable.js +1 -1
- package/dist/src/composables/Commons/dimension.composable.cjs +1 -1
- package/dist/src/composables/Commons/dimension.composable.js +1 -1
- package/dist/src/composables/Commons/display.composable.cjs +1 -1
- package/dist/src/composables/Commons/display.composable.js +1 -1
- package/dist/src/composables/Commons/dragResizer.composable.cjs +1 -1
- package/dist/src/composables/Commons/dragResizer.composable.d.ts +1 -1
- package/dist/src/composables/Commons/dragResizer.composable.js +1 -1
- package/dist/src/composables/Commons/elevation.composable.cjs +1 -1
- package/dist/src/composables/Commons/elevation.composable.d.ts +1 -1
- package/dist/src/composables/Commons/elevation.composable.js +1 -1
- package/dist/src/composables/Commons/eventListener.composable.cjs +1 -1
- package/dist/src/composables/Commons/eventListener.composable.js +1 -1
- package/dist/src/composables/Commons/filters.composable.cjs +1 -1
- package/dist/src/composables/Commons/filters.composable.d.ts +1 -1
- package/dist/src/composables/Commons/filters.composable.js +1 -1
- package/dist/src/composables/Commons/focus.composable.cjs +1 -1
- package/dist/src/composables/Commons/focus.composable.js +1 -1
- package/dist/src/composables/Commons/goTo.composable.cjs +1 -1
- package/dist/src/composables/Commons/goTo.composable.d.ts +1 -1
- package/dist/src/composables/Commons/goTo.composable.js +1 -1
- package/dist/src/composables/Commons/group.composable.cjs +1 -1
- package/dist/src/composables/Commons/group.composable.d.ts +1 -1
- package/dist/src/composables/Commons/group.composable.js +11 -11
- package/dist/src/composables/Commons/hotkey.composable.cjs +1 -1
- package/dist/src/composables/Commons/hotkey.composable.d.ts +1 -1
- package/dist/src/composables/Commons/hotkey.composable.js +1 -1
- package/dist/src/composables/Commons/hover.composable.cjs +1 -1
- package/dist/src/composables/Commons/hover.composable.js +1 -1
- package/dist/src/composables/Commons/hydration.composable.cjs +1 -1
- package/dist/src/composables/Commons/hydration.composable.js +1 -1
- package/dist/src/composables/Commons/intersectionObserver.composable.cjs +1 -1
- package/dist/src/composables/Commons/intersectionObserver.composable.js +1 -1
- package/dist/src/composables/Commons/items.composable.cjs +1 -1
- package/dist/src/composables/Commons/items.composable.js +1 -1
- package/dist/src/composables/Commons/layout.composable.cjs +1 -1
- package/dist/src/composables/Commons/layout.composable.d.ts +1 -1
- package/dist/src/composables/Commons/layout.composable.js +3 -3
- package/dist/src/composables/Commons/loader.composable.cjs +1 -1
- package/dist/src/composables/Commons/loader.composable.js +1 -1
- package/dist/src/composables/Commons/locale.composable.cjs +2 -2
- package/dist/src/composables/Commons/locale.composable.js +2 -2
- package/dist/src/composables/Commons/location.composable.cjs +1 -1
- package/dist/src/composables/Commons/location.composable.js +1 -1
- package/dist/src/composables/Commons/margin.composable.cjs +1 -1
- package/dist/src/composables/Commons/margin.composable.js +1 -1
- package/dist/src/composables/Commons/padding.composable.cjs +1 -1
- package/dist/src/composables/Commons/padding.composable.js +1 -1
- package/dist/src/composables/DataTable/expand.composable.cjs +1 -1
- package/dist/src/composables/DataTable/expand.composable.js +1 -1
- package/dist/src/composables/DataTable/group.composable.cjs +1 -1
- package/dist/src/composables/DataTable/group.composable.d.ts +1 -1
- package/dist/src/composables/DataTable/group.composable.js +1 -1
- package/dist/src/composables/DataTable/headers.composable.cjs +1 -1
- package/dist/src/composables/DataTable/headers.composable.d.ts +1 -1
- package/dist/src/composables/DataTable/headers.composable.js +1 -1
- package/dist/src/composables/DataTable/items.composable.cjs +1 -1
- package/dist/src/composables/DataTable/items.composable.d.ts +1 -1
- package/dist/src/composables/DataTable/items.composable.js +1 -1
- package/dist/src/composables/DataTable/pagination.composable.cjs +1 -1
- package/dist/src/composables/DataTable/pagination.composable.d.ts +1 -1
- package/dist/src/composables/DataTable/pagination.composable.js +1 -1
- package/dist/src/composables/Form/form.composable.cjs +1 -1
- package/dist/src/composables/Form/form.composable.js +1 -1
- package/dist/src/composables/Icon/icon.composable.cjs +1 -1
- package/dist/src/composables/Icon/icon.composable.d.ts +1 -1
- package/dist/src/composables/Icon/icon.composable.js +1 -1
- package/dist/src/composables/List/list.composable.cjs +1 -1
- package/dist/src/composables/List/list.composable.js +1 -1
- package/dist/src/composables/PageBuilder/editor.composable.cjs +1 -1
- package/dist/src/composables/PageBuilder/editor.composable.js +1 -1
- package/dist/src/consts/Btn/btn-toggle.const.d.ts +1 -1
- package/dist/src/consts/Commons/commons.const.d.ts +1 -1
- package/dist/src/consts/Commons/date.const.d.ts +1 -1
- package/dist/src/consts/Commons/display.const.d.ts +1 -1
- package/dist/src/consts/Commons/goTo.const.d.ts +1 -1
- package/dist/src/consts/Commons/layout.const.d.ts +1 -1
- package/dist/src/consts/Commons/locale.const.d.ts +1 -1
- package/dist/src/consts/DataTable/expand.const.d.ts +1 -1
- package/dist/src/consts/DataTable/group.const.d.ts +1 -1
- package/dist/src/consts/DataTable/headers.const.d.ts +1 -1
- package/dist/src/consts/ExpansionPanel/expansion-panel.const.d.ts +1 -1
- package/dist/src/consts/Form/form.const.d.ts +1 -1
- package/dist/src/consts/Icon/icon.const.d.ts +1 -1
- package/dist/src/consts/Icon/mdi.const.cjs +1 -1
- package/dist/src/consts/Icon/mdi.const.js +1 -1
- package/dist/src/consts/Menu/menu.const.d.ts +1 -1
- package/dist/src/consts/PageBuilder/edit.const.d.ts +1 -1
- package/dist/src/interfaces/Commons/activator.interface.d.ts +1 -1
- package/dist/src/interfaces/Commons/commons.interface.d.ts +1 -1
- package/dist/src/interfaces/Commons/display.interface.d.ts +1 -1
- package/dist/src/interfaces/Commons/intersect.interface.d.ts +1 -1
- package/dist/src/interfaces/Commons/layout.interface.d.ts +1 -1
- package/dist/src/interfaces/Commons/location.interface.d.ts +1 -1
- package/dist/src/interfaces/DataTable/data-table.interface.d.ts +1 -1
- package/dist/src/interfaces/DataTable/expand.interface.d.ts +1 -1
- package/dist/src/interfaces/DataTable/group.interface.d.ts +1 -1
- package/dist/src/interfaces/DataTable/headers.interface.d.ts +1 -1
- package/dist/src/interfaces/DataTable/items.interface.d.ts +1 -1
- package/dist/src/interfaces/ExpensionPanel/expansion-panel-content.interface.d.ts +1 -1
- package/dist/src/interfaces/Form/form.interface.d.ts +1 -1
- package/dist/src/types/Commons/commons.type.d.ts +1 -1
- package/dist/src/types/Commons/layout.type.d.ts +1 -1
- package/dist/src/types/Commons/location.type.d.ts +1 -1
- package/dist/src/types/Icon/icon.type.d.ts +1 -1
- package/dist/src/utils/Commons/activator.util.cjs +1 -1
- package/dist/src/utils/Commons/activator.util.d.ts +1 -1
- package/dist/src/utils/Commons/activator.util.js +1 -1
- package/dist/src/utils/Commons/commons.util.cjs +1 -1
- package/dist/src/utils/Commons/commons.util.d.ts +1 -1
- package/dist/src/utils/Commons/commons.util.js +3 -3
- package/dist/src/utils/Commons/date.util.cjs +1 -1
- package/dist/src/utils/Commons/date.util.js +1 -1
- package/dist/src/utils/Commons/forwardRefs.util.d.ts +1 -1
- package/dist/src/utils/Commons/getCurrentInstance.util.cjs +1 -1
- package/dist/src/utils/Commons/getCurrentInstance.util.js +1 -1
- package/dist/src/utils/Commons/goTo.util.d.ts +1 -1
- package/dist/src/utils/Commons/group.util.d.ts +1 -1
- package/dist/src/utils/Commons/layout.util.d.ts +1 -1
- package/dist/src/utils/Commons/locale.util.cjs +1 -1
- package/dist/src/utils/Commons/locale.util.d.ts +1 -1
- package/dist/src/utils/Commons/locale.util.js +1 -1
- package/dist/src/utils/Commons/location.util.cjs +1 -1
- package/dist/src/utils/Commons/location.util.d.ts +1 -1
- package/dist/src/utils/Commons/location.util.js +1 -1
- package/package.json +2 -3
|
@@ -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 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.
|
|
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",
|