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.
- package/dist/composables/Commons/hotkey.composable.d.ts.map +1 -1
- package/dist/composables/index.d.ts +2 -2
- package/dist/composables/index.d.ts.map +1 -1
- package/dist/consts/Commons/hotkey.const.d.ts.map +1 -1
- package/dist/consts/index.d.ts +1 -0
- package/dist/consts/index.d.ts.map +1 -1
- 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/border.composable.spec.cjs +1 -1
- package/dist/src/composables/Commons/border.composable.spec.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 +4 -5
- package/dist/src/composables/Commons/hotkey.composable.d.ts +1 -1
- package/dist/src/composables/Commons/hotkey.composable.js +2 -3
- 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/composables/index.cjs +12 -12
- package/dist/src/composables/index.d.ts +2 -2
- package/dist/src/composables/index.js +2 -2
- 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/hotkey.const.cjs +0 -1
- package/dist/src/consts/Commons/hotkey.const.js +0 -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/consts/index.cjs +11 -0
- package/dist/src/consts/index.d.ts +1 -0
- package/dist/src/consts/index.js +1 -0
- 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/hotkey.util.cjs +2 -2
- package/dist/src/utils/Commons/hotkey.util.js +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 { onMounted, shallowRef } from "vue";
|
|
1
2
|
import { useDisplay } from "../../composables/index.js";
|
|
2
3
|
import { IN_BROWSER } from "../../consts/index.js";
|
|
3
|
-
import { onMounted, shallowRef } from "vue";
|
|
4
4
|
export function useHydration() {
|
|
5
5
|
if (!IN_BROWSER) return shallowRef(false);
|
|
6
6
|
const { ssr } = useDisplay();
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.useIntersectionObserver = useIntersectionObserver;
|
|
7
|
-
var _consts = require("../../consts/index.cjs");
|
|
8
7
|
var _vue = require("vue");
|
|
8
|
+
var _consts = require("../../consts/index.cjs");
|
|
9
9
|
function useIntersectionObserver(callback, options) {
|
|
10
10
|
const intersectionRef = (0, _vue.ref)();
|
|
11
11
|
const isIntersecting = (0, _vue.shallowRef)(false);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SUPPORTS_INTERSECTION } from "../../consts/index.js";
|
|
2
1
|
import { onBeforeUnmount, ref, shallowRef, watch } from "vue";
|
|
2
|
+
import { SUPPORTS_INTERSECTION } from "../../consts/index.js";
|
|
3
3
|
export function useIntersectionObserver(callback, options) {
|
|
4
4
|
const intersectionRef = ref();
|
|
5
5
|
const isIntersecting = shallowRef(false);
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.useItems = useItems;
|
|
7
|
-
var _utils = require("../../utils/index.cjs");
|
|
8
7
|
var _vue = require("vue");
|
|
8
|
+
var _utils = require("../../utils/index.cjs");
|
|
9
9
|
function useItems(props) {
|
|
10
10
|
const items = (0, _vue.computed)(() => {
|
|
11
11
|
if (props.items) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { deepEqual, transformListItem, transformListItems } from "../../utils/index.js";
|
|
2
1
|
import { computed } from "vue";
|
|
2
|
+
import { deepEqual, transformListItem, transformListItems } from "../../utils/index.js";
|
|
3
3
|
export function useItems(props) {
|
|
4
4
|
const items = computed(() => {
|
|
5
5
|
if (props.items) {
|
|
@@ -6,10 +6,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.useCreateLayout = useCreateLayout;
|
|
7
7
|
exports.useLayout = useLayout;
|
|
8
8
|
exports.useLayoutItem = useLayoutItem;
|
|
9
|
+
var _vue = require("vue");
|
|
9
10
|
var _composables = require("../../composables/index.cjs");
|
|
10
11
|
var _consts = require("../../consts/index.cjs");
|
|
11
12
|
var _utils = require("../../utils/index.cjs");
|
|
12
|
-
var _vue = require("vue");
|
|
13
13
|
function useLayout() {
|
|
14
14
|
const layout = (0, _vue.inject)(_consts.ORIGAM_LAYOUT_KEY);
|
|
15
15
|
if (!layout) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { TDirectionBoth } from "../../types";
|
|
2
1
|
import type { ComputedRef, CSSProperties, Ref, StyleValue } from 'vue';
|
|
2
|
+
import type { TDirectionBoth } from "../../types";
|
|
3
3
|
export declare function useLayout(): {
|
|
4
4
|
getLayoutItem: (id: string) => import("../../interfaces").ILayerItem | undefined;
|
|
5
5
|
mainRect: Ref<import("../../interfaces").ILayer, import("../../interfaces").ILayer>;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { useResizeObserver } from "../../composables/index.js";
|
|
2
|
-
import { ORIGAM_LAYOUT_ITEM_KEY, ORIGAM_LAYOUT_KEY, ROOT_ZINDEX } from "../../consts/index.js";
|
|
3
|
-
import { convertToUnit, findChildrenWithProvide, generateLayers, getCurrentInstance, getUid, int } from "../../utils/index.js";
|
|
4
1
|
import {
|
|
5
2
|
computed,
|
|
6
3
|
inject,
|
|
@@ -13,6 +10,9 @@ import {
|
|
|
13
10
|
ref,
|
|
14
11
|
shallowRef
|
|
15
12
|
} from "vue";
|
|
13
|
+
import { useResizeObserver } from "../../composables/index.js";
|
|
14
|
+
import { ORIGAM_LAYOUT_ITEM_KEY, ORIGAM_LAYOUT_KEY, ROOT_ZINDEX } from "../../consts/index.js";
|
|
15
|
+
import { convertToUnit, findChildrenWithProvide, generateLayers, getCurrentInstance, getUid, int } from "../../utils/index.js";
|
|
16
16
|
export function useLayout() {
|
|
17
17
|
const layout = inject(ORIGAM_LAYOUT_KEY);
|
|
18
18
|
if (!layout) {
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.useLoader = useLoader;
|
|
7
|
-
var _utils = require("../../utils/index.cjs");
|
|
8
7
|
var _vue = require("vue");
|
|
8
|
+
var _utils = require("../../utils/index.cjs");
|
|
9
9
|
function useLoader(props, name = (0, _utils.getCurrentInstanceName)()) {
|
|
10
10
|
const loaderClasses = (0, _vue.computed)(() => ({
|
|
11
11
|
[`${name}--loading`]: props.loading
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getCurrentInstanceName } from "../../utils/index.js";
|
|
2
1
|
import { computed } from "vue";
|
|
2
|
+
import { getCurrentInstanceName } from "../../utils/index.js";
|
|
3
3
|
export function useLoader(props, name = getCurrentInstanceName()) {
|
|
4
4
|
const loaderClasses = computed(() => ({
|
|
5
5
|
[`${name}--loading`]: props.loading
|
|
@@ -9,11 +9,11 @@ exports.provideLocale = provideLocale;
|
|
|
9
9
|
exports.provideRtl = provideRtl;
|
|
10
10
|
exports.useLocale = useLocale;
|
|
11
11
|
exports.useRtl = useRtl;
|
|
12
|
+
var _vue = require("vue");
|
|
13
|
+
var _vueI18n = require("vue-i18n");
|
|
12
14
|
var origamMessages = _interopRequireWildcard(require("../../assets/locales/index.cjs"));
|
|
13
15
|
var _consts = require("../../consts/index.cjs");
|
|
14
16
|
var _utils = require("../../utils/index.cjs");
|
|
15
|
-
var _vue = require("vue");
|
|
16
|
-
var _vueI18n = require("vue-i18n");
|
|
17
17
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
18
18
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
19
19
|
function createLocale(options) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { computed, inject, provide, ref } from "vue";
|
|
2
|
+
import { createI18n, useI18n } from "vue-i18n";
|
|
1
3
|
import * as origamMessages from "../../assets/locales/index.js";
|
|
2
4
|
import { LOCALE_RTL_DEFAULT, ORIGAM_LOCALE_KEY } from "../../consts/index.js";
|
|
3
5
|
import { createVueI18nAdapter, getCurrentInstanceName, mergeDeep } from "../../utils/index.js";
|
|
4
|
-
import { computed, inject, provide, ref } from "vue";
|
|
5
|
-
import { createI18n, useI18n } from "vue-i18n";
|
|
6
6
|
export function createLocale(options) {
|
|
7
7
|
const i18nOptions = mergeDeep({
|
|
8
8
|
locale: "en",
|
|
@@ -5,10 +5,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.useLocation = useLocation;
|
|
7
7
|
exports.useLocationStrategies = useLocationStrategies;
|
|
8
|
+
var _vue = require("vue");
|
|
8
9
|
var _composables = require("../../composables/index.cjs");
|
|
9
10
|
var _consts = require("../../consts/index.cjs");
|
|
10
11
|
var _utils = require("../../utils/index.cjs");
|
|
11
|
-
var _vue = require("vue");
|
|
12
12
|
function useLocation(props, opposite = false, offset) {
|
|
13
13
|
const locationStyles = (0, _vue.computed)(() => {
|
|
14
14
|
if (!props.location) return {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { computed, onScopeDispose, ref, watch } from "vue";
|
|
1
2
|
import { useToggleScope } from "../../composables/index.js";
|
|
2
3
|
import { IN_BROWSER, LOCATION_STRATEGIES, OPPOSITE_MAP } from "../../consts/index.js";
|
|
3
4
|
import { parseAnchor } from "../../utils/index.js";
|
|
4
|
-
import { computed, onScopeDispose, ref, watch } from "vue";
|
|
5
5
|
export function useLocation(props, opposite = false, offset) {
|
|
6
6
|
const locationStyles = computed(() => {
|
|
7
7
|
if (!props.location) return {};
|
|
@@ -4,9 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.useMargin = useMargin;
|
|
7
|
+
var _vue = require("vue");
|
|
7
8
|
var _consts = require("../../consts/index.cjs");
|
|
8
9
|
var _utils = require("../../utils/index.cjs");
|
|
9
|
-
var _vue = require("vue");
|
|
10
10
|
function useMargin(props, name = (0, _utils.getCurrentInstanceName)()) {
|
|
11
11
|
const marginClasses = (0, _vue.computed)(() => {
|
|
12
12
|
const margin = props.margin;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { computed } from "vue";
|
|
1
2
|
import { MARGIN_REGEX } from "../../consts/index.js";
|
|
2
3
|
import { convertToUnit, formatMarginStylesVar, getCurrentInstanceName } from "../../utils/index.js";
|
|
3
|
-
import { computed } from "vue";
|
|
4
4
|
export function useMargin(props, name = getCurrentInstanceName()) {
|
|
5
5
|
const marginClasses = computed(() => {
|
|
6
6
|
const margin = props.margin;
|
|
@@ -4,9 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.usePadding = usePadding;
|
|
7
|
+
var _vue = require("vue");
|
|
7
8
|
var _consts = require("../../consts/index.cjs");
|
|
8
9
|
var _utils = require("../../utils/index.cjs");
|
|
9
|
-
var _vue = require("vue");
|
|
10
10
|
function usePadding(props, name = (0, _utils.getCurrentInstanceName)()) {
|
|
11
11
|
const paddingClasses = (0, _vue.computed)(() => {
|
|
12
12
|
const padding = props.padding;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { computed } from "vue";
|
|
1
2
|
import { PADDING_REGEX } from "../../consts/index.js";
|
|
2
3
|
import { convertToUnit, formatPaddingStylesVar, getCurrentInstanceName } from "../../utils/index.js";
|
|
3
|
-
import { computed } from "vue";
|
|
4
4
|
export function usePadding(props, name = getCurrentInstanceName()) {
|
|
5
5
|
const paddingClasses = computed(() => {
|
|
6
6
|
const padding = props.padding;
|
|
@@ -5,9 +5,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.provideExpanded = provideExpanded;
|
|
7
7
|
exports.useExpanded = useExpanded;
|
|
8
|
+
var _vue = require("vue");
|
|
8
9
|
var _composables = require("../../composables/index.cjs");
|
|
9
10
|
var _consts = require("../../consts/index.cjs");
|
|
10
|
-
var _vue = require("vue");
|
|
11
11
|
function provideExpanded(props) {
|
|
12
12
|
const expandOnClick = (0, _vue.toRef)(props, "expandOnClick");
|
|
13
13
|
const expanded = (0, _composables.useVModel)(props, "expanded", props.expanded, v => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { inject, provide, toRef } from "vue";
|
|
1
2
|
import { useVModel } from "../../composables/index.js";
|
|
2
3
|
import { ORIGAM_DATA_TABLE_EXPAND_KEY } from "../../consts/index.js";
|
|
3
|
-
import { inject, provide, toRef } from "vue";
|
|
4
4
|
export function provideExpanded(props) {
|
|
5
5
|
const expandOnClick = toRef(props, "expandOnClick");
|
|
6
6
|
const expanded = useVModel(props, "expanded", props.expanded, (v) => {
|
|
@@ -7,10 +7,10 @@ exports.createGroupBy = createGroupBy;
|
|
|
7
7
|
exports.provideGroupBy = provideGroupBy;
|
|
8
8
|
exports.useGroupBy = useGroupBy;
|
|
9
9
|
exports.useGroupedItems = useGroupedItems;
|
|
10
|
+
var _vue = require("vue");
|
|
10
11
|
var _composables = require("../../composables/index.cjs");
|
|
11
12
|
var _consts = require("../../consts/index.cjs");
|
|
12
13
|
var _utils = require("../../utils/index.cjs");
|
|
13
|
-
var _vue = require("vue");
|
|
14
14
|
function createGroupBy(props) {
|
|
15
15
|
const groupBy = (0, _composables.useVModel)(props, "groupBy", []);
|
|
16
16
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IDataTableGroup, IDataTableGroupableItem, IDataTableGroupProps, IDataTableProvideGroup, IDataTableSortItem } from '../../interfaces';
|
|
2
1
|
import { ComputedRef, Ref } from 'vue';
|
|
2
|
+
import type { IDataTableGroup, IDataTableGroupableItem, IDataTableGroupProps, IDataTableProvideGroup, IDataTableSortItem } from '../../interfaces';
|
|
3
3
|
export declare function createGroupBy(props: IDataTableGroupProps): {
|
|
4
4
|
groupBy: import("../../types").TVModel<IDataTableGroupProps, "groupBy", IDataTableSortItem[] | undefined>;
|
|
5
5
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { computed, inject, provide, ref } from "vue";
|
|
1
2
|
import { useVModel } from "../../composables/index.js";
|
|
2
3
|
import { ORIGAM_DATA_TABLE_GROUP_KEY } from "../../consts/index.js";
|
|
3
4
|
import { flattenItems, groupItems } from "../../utils/index.js";
|
|
4
|
-
import { computed, inject, provide, ref } from "vue";
|
|
5
5
|
export function createGroupBy(props) {
|
|
6
6
|
const groupBy = useVModel(props, "groupBy", []);
|
|
7
7
|
return { groupBy };
|
|
@@ -6,11 +6,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.createHeaders = createHeaders;
|
|
7
7
|
exports.useHeaders = useHeaders;
|
|
8
8
|
exports.useHeadersCell = useHeadersCell;
|
|
9
|
+
var _vue = require("vue");
|
|
9
10
|
var _composables = require("../../composables/index.cjs");
|
|
10
11
|
var _consts = require("../../consts/index.cjs");
|
|
11
12
|
var _enums = require("../../enums/index.cjs");
|
|
12
13
|
var _utils = require("../../utils/index.cjs");
|
|
13
|
-
var _vue = require("vue");
|
|
14
14
|
function createHeaders(props, options) {
|
|
15
15
|
const headers = (0, _vue.ref)([]);
|
|
16
16
|
const columns = (0, _vue.ref)([]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
1
2
|
import type { IDataTableHeaderProps, IDataTableSortItem, IHeaderCellProps, IInternalDataTableHeader } from '../../interfaces';
|
|
2
3
|
import type { TDataTableCompareFunction, TFilterKeyFunctions } from '../../types';
|
|
3
|
-
import { Ref } from 'vue';
|
|
4
4
|
export declare function createHeaders(props: IDataTableHeaderProps, options?: {
|
|
5
5
|
groupBy?: Ref<Array<IDataTableSortItem>> | undefined;
|
|
6
6
|
showSelect?: Ref<boolean>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { capitalize, inject, provide, ref, watchEffect } from "vue";
|
|
1
2
|
import { useSort } from "../../composables/index.js";
|
|
2
3
|
import { ORIGAM_DATA_TABLE_HEADERS_KEY } from "../../consts/index.js";
|
|
3
4
|
import { SORT_DIRECTION } from "../../enums/index.js";
|
|
4
5
|
import { convertToInternalHeaders, extractKeys, getHeaderDepth, parseFixedColumns, parseHeaderItems } from "../../utils/index.js";
|
|
5
|
-
import { capitalize, inject, provide, ref, watchEffect } from "vue";
|
|
6
6
|
export function createHeaders(props, options) {
|
|
7
7
|
const headers = ref([]);
|
|
8
8
|
const columns = ref([]);
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.useDataTableItems = useDataTableItems;
|
|
7
|
-
var _utils = require("../../utils/index.cjs");
|
|
8
7
|
var _vue = require("vue");
|
|
8
|
+
var _utils = require("../../utils/index.cjs");
|
|
9
9
|
function useDataTableItems(props, columns) {
|
|
10
10
|
const items = (0, _vue.computed)(() => (0, _utils.transformDataTableItems)(props, props.items, columns.value));
|
|
11
11
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IDataTableItemsProps, IInternalDataTableHeader } from '../../interfaces';
|
|
2
1
|
import { Ref } from 'vue';
|
|
2
|
+
import type { IDataTableItemsProps, IInternalDataTableHeader } from '../../interfaces';
|
|
3
3
|
export declare function useDataTableItems(props: IDataTableItemsProps, columns: Ref<Array<IInternalDataTableHeader>>): {
|
|
4
4
|
items: import("vue").ComputedRef<import("../../interfaces").IDataTableItem<any>[]>;
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { transformDataTableItems } from "../../utils/index.js";
|
|
2
1
|
import { computed } from "vue";
|
|
2
|
+
import { transformDataTableItems } from "../../utils/index.js";
|
|
3
3
|
export function useDataTableItems(props, columns) {
|
|
4
4
|
const items = computed(() => transformDataTableItems(props, props.items, columns.value));
|
|
5
5
|
return { items };
|
|
@@ -7,10 +7,10 @@ exports.createPagination = createPagination;
|
|
|
7
7
|
exports.providePagination = providePagination;
|
|
8
8
|
exports.usePaginatedItems = usePaginatedItems;
|
|
9
9
|
exports.usePagination = usePagination;
|
|
10
|
+
var _vue = require("vue");
|
|
10
11
|
var _composables = require("../../composables/index.cjs");
|
|
11
12
|
var _consts = require("../../consts/index.cjs");
|
|
12
13
|
var _utils = require("../../utils/index.cjs");
|
|
13
|
-
var _vue = require("vue");
|
|
14
14
|
function createPagination(props) {
|
|
15
15
|
const page = (0, _composables.useVModel)(props, "page", void 0, value => +(value ?? 1));
|
|
16
16
|
const itemsPerPage = (0, _composables.useVModel)(props, "itemsPerPage", void 0, value => +(value ?? 10));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IDataTableGroup, IDataTablePaginationProps, IDataTableProvidePagination } from '../../interfaces';
|
|
2
1
|
import { Ref } from 'vue';
|
|
2
|
+
import type { IDataTableGroup, IDataTablePaginationProps, IDataTableProvidePagination } from '../../interfaces';
|
|
3
3
|
export declare function createPagination(props: IDataTablePaginationProps): {
|
|
4
4
|
page: import("../../types").TVModel<IDataTablePaginationProps, "page", number>;
|
|
5
5
|
itemsPerPage: import("../../types").TVModel<IDataTablePaginationProps, "itemsPerPage", number>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { computed, inject, provide, watch, watchEffect } from "vue";
|
|
1
2
|
import { useVModel } from "../../composables/index.js";
|
|
2
3
|
import { ORIGAM_DATA_TABLE_PAGINATION_KEY } from "../../consts/index.js";
|
|
3
4
|
import { clamp, getCurrentInstance } from "../../utils/index.js";
|
|
4
|
-
import { computed, inject, provide, watch, watchEffect } from "vue";
|
|
5
5
|
export function createPagination(props) {
|
|
6
6
|
const page = useVModel(props, "page", void 0, (value) => +(value ?? 1));
|
|
7
7
|
const itemsPerPage = useVModel(props, "itemsPerPage", void 0, (value) => +(value ?? 10));
|
|
@@ -4,10 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.useForm = useForm;
|
|
7
|
+
var _vue = require("vue");
|
|
7
8
|
var _composables = require("../../composables/index.cjs");
|
|
8
9
|
var _consts = require("../../consts/index.cjs");
|
|
9
10
|
var _utils = require("../../utils/index.cjs");
|
|
10
|
-
var _vue = require("vue");
|
|
11
11
|
function useForm(props) {
|
|
12
12
|
const model = (0, _composables.useVModel)(props, "modelValue");
|
|
13
13
|
const isDisabled = (0, _vue.computed)(() => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { computed, markRaw, provide, ref, shallowRef, toRef, watch } from "vue";
|
|
1
2
|
import { useVModel } from "../../composables/index.js";
|
|
2
3
|
import { ORIGAM_FORM_KEY } from "../../consts/index.js";
|
|
3
4
|
import { consoleWarn } from "../../utils/index.js";
|
|
4
|
-
import { computed, markRaw, provide, ref, shallowRef, toRef, watch } from "vue";
|
|
5
5
|
export function useForm(props) {
|
|
6
6
|
const model = useVModel(props, "modelValue");
|
|
7
7
|
const isDisabled = computed(() => {
|
|
@@ -5,10 +5,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.createIcons = createIcons;
|
|
7
7
|
exports.useIcon = void 0;
|
|
8
|
+
var _vue = require("vue");
|
|
8
9
|
var _components = require("../../components/index.cjs");
|
|
9
10
|
var _consts = require("../../consts/index.cjs");
|
|
10
11
|
var _utils = require("../../utils/index.cjs");
|
|
11
|
-
var _vue = require("vue");
|
|
12
12
|
const useIcon = props => {
|
|
13
13
|
const icons = (0, _vue.inject)(_consts.ORIGAM_ICONS_KEY);
|
|
14
14
|
if (!icons) throw new Error("Missing Origam Icons provide!");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { TIcon, TIconInstance, TIconOptions } from '../../types';
|
|
2
1
|
import { Ref } from 'vue';
|
|
2
|
+
import type { TIcon, TIconInstance, TIconOptions } from '../../types';
|
|
3
3
|
export declare const useIcon: (props: Ref<TIcon | undefined>) => {
|
|
4
4
|
iconData: import("vue").ComputedRef<TIconInstance>;
|
|
5
5
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { computed, inject, unref } from "vue";
|
|
1
2
|
import { OrigamComponentIcon, OrigamSvgIcon } from "../../components/index.js";
|
|
2
3
|
import { DEFAULT_SETS, MDI, MDI_ALIASES, ORIGAM_ICONS_KEY } from "../../consts/index.js";
|
|
3
4
|
import { mergeDeep } from "../../utils/index.js";
|
|
4
|
-
import { computed, inject, unref } from "vue";
|
|
5
5
|
export const useIcon = (props) => {
|
|
6
6
|
const icons = inject(ORIGAM_ICONS_KEY);
|
|
7
7
|
if (!icons) throw new Error("Missing Origam Icons provide!");
|
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.useCreateList = useCreateList;
|
|
7
7
|
exports.useList = useList;
|
|
8
|
-
var _consts = require("../../consts/index.cjs");
|
|
9
8
|
var _vue = require("vue");
|
|
9
|
+
var _consts = require("../../consts/index.cjs");
|
|
10
10
|
function useCreateList() {
|
|
11
11
|
const parent = (0, _vue.inject)(_consts.ORIGAM_LIST_KEY, {
|
|
12
12
|
hasPrepend: (0, _vue.shallowRef)(false),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ORIGAM_LIST_KEY } from "../../consts/index.js";
|
|
2
1
|
import { inject, provide, shallowRef } from "vue";
|
|
2
|
+
import { ORIGAM_LIST_KEY } from "../../consts/index.js";
|
|
3
3
|
export function useCreateList() {
|
|
4
4
|
const parent = inject(ORIGAM_LIST_KEY, {
|
|
5
5
|
hasPrepend: shallowRef(false),
|
|
@@ -5,10 +5,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.createEditor = createEditor;
|
|
7
7
|
exports.useEditor = useEditor;
|
|
8
|
+
var _vue = require("vue");
|
|
8
9
|
var _composables = require("../../composables/index.cjs");
|
|
9
10
|
var _consts = require("../../consts/index.cjs");
|
|
10
11
|
var _utils = require("../../utils/index.cjs");
|
|
11
|
-
var _vue = require("vue");
|
|
12
12
|
function createEditor(props, name = (0, _utils.getCurrentInstanceName)()) {
|
|
13
13
|
const children = (0, _vue.ref)(/* @__PURE__ */new Map());
|
|
14
14
|
const parents = (0, _vue.ref)(/* @__PURE__ */new Map());
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { computed, inject, provide, ref } from "vue";
|
|
1
2
|
import { useVModel } from "../../composables/index.js";
|
|
2
3
|
import { EMPTY_EDIT, ORIGAM_EDIT_KEY } from "../../consts/index.js";
|
|
3
4
|
import { getCurrentInstanceName, getUid } from "../../utils/index.js";
|
|
4
|
-
import { computed, inject, provide, ref } from "vue";
|
|
5
5
|
export function createEditor(props, name = getCurrentInstanceName()) {
|
|
6
6
|
const children = ref(/* @__PURE__ */ new Map());
|
|
7
7
|
const parents = ref(/* @__PURE__ */ new Map());
|
|
@@ -234,14 +234,14 @@ Object.keys(_refs).forEach(function (key) {
|
|
|
234
234
|
}
|
|
235
235
|
});
|
|
236
236
|
});
|
|
237
|
-
var
|
|
238
|
-
Object.keys(
|
|
237
|
+
var _vModel = require("./Commons/vModel.composable.cjs");
|
|
238
|
+
Object.keys(_vModel).forEach(function (key) {
|
|
239
239
|
if (key === "default" || key === "__esModule") return;
|
|
240
|
-
if (key in exports && exports[key] ===
|
|
240
|
+
if (key in exports && exports[key] === _vModel[key]) return;
|
|
241
241
|
Object.defineProperty(exports, key, {
|
|
242
242
|
enumerable: true,
|
|
243
243
|
get: function () {
|
|
244
|
-
return
|
|
244
|
+
return _vModel[key];
|
|
245
245
|
}
|
|
246
246
|
});
|
|
247
247
|
});
|
|
@@ -454,14 +454,14 @@ Object.keys(_lazy).forEach(function (key) {
|
|
|
454
454
|
}
|
|
455
455
|
});
|
|
456
456
|
});
|
|
457
|
-
var
|
|
458
|
-
Object.keys(
|
|
457
|
+
var _items = require("./Commons/items.composable.cjs");
|
|
458
|
+
Object.keys(_items).forEach(function (key) {
|
|
459
459
|
if (key === "default" || key === "__esModule") return;
|
|
460
|
-
if (key in exports && exports[key] ===
|
|
460
|
+
if (key in exports && exports[key] === _items[key]) return;
|
|
461
461
|
Object.defineProperty(exports, key, {
|
|
462
462
|
enumerable: true,
|
|
463
463
|
get: function () {
|
|
464
|
-
return
|
|
464
|
+
return _items[key];
|
|
465
465
|
}
|
|
466
466
|
});
|
|
467
467
|
});
|
|
@@ -751,14 +751,14 @@ Object.keys(_headers).forEach(function (key) {
|
|
|
751
751
|
}
|
|
752
752
|
});
|
|
753
753
|
});
|
|
754
|
-
var
|
|
755
|
-
Object.keys(
|
|
754
|
+
var _items2 = require("./DataTable/items.composable.cjs");
|
|
755
|
+
Object.keys(_items2).forEach(function (key) {
|
|
756
756
|
if (key === "default" || key === "__esModule") return;
|
|
757
|
-
if (key in exports && exports[key] ===
|
|
757
|
+
if (key in exports && exports[key] === _items2[key]) return;
|
|
758
758
|
Object.defineProperty(exports, key, {
|
|
759
759
|
enumerable: true,
|
|
760
760
|
get: function () {
|
|
761
|
-
return
|
|
761
|
+
return _items2[key];
|
|
762
762
|
}
|
|
763
763
|
});
|
|
764
764
|
});
|
|
@@ -19,7 +19,7 @@ export * from './Commons/nested.composable';
|
|
|
19
19
|
export * from './Commons/position.composable';
|
|
20
20
|
export * from './Commons/resizeObserver.composable';
|
|
21
21
|
export * from './Commons/refs.composable';
|
|
22
|
-
export * from './Commons/vModel.composable
|
|
22
|
+
export * from './Commons/vModel.composable';
|
|
23
23
|
export * from './Commons/rounded.composable';
|
|
24
24
|
export * from './Commons/router.composable';
|
|
25
25
|
export * from './Commons/scopeId.composable';
|
|
@@ -39,7 +39,7 @@ export * from './Commons/velocity.composable';
|
|
|
39
39
|
export * from './Commons/padding.composable';
|
|
40
40
|
export * from './Commons/margin.composable';
|
|
41
41
|
export * from './Commons/lazy.composable';
|
|
42
|
-
export * from './Commons/items.composable
|
|
42
|
+
export * from './Commons/items.composable';
|
|
43
43
|
export * from './Commons/teleport.composable';
|
|
44
44
|
export * from './Commons/hydration.composable';
|
|
45
45
|
export * from './Commons/stack.composable';
|
|
@@ -19,7 +19,7 @@ export * from "./Commons/nested.composable.js";
|
|
|
19
19
|
export * from "./Commons/position.composable.js";
|
|
20
20
|
export * from "./Commons/resizeObserver.composable.js";
|
|
21
21
|
export * from "./Commons/refs.composable.js";
|
|
22
|
-
export * from "./Commons/vModel.composable.
|
|
22
|
+
export * from "./Commons/vModel.composable.js";
|
|
23
23
|
export * from "./Commons/rounded.composable.js";
|
|
24
24
|
export * from "./Commons/router.composable.js";
|
|
25
25
|
export * from "./Commons/scopeId.composable.js";
|
|
@@ -39,7 +39,7 @@ export * from "./Commons/velocity.composable.js";
|
|
|
39
39
|
export * from "./Commons/padding.composable.js";
|
|
40
40
|
export * from "./Commons/margin.composable.js";
|
|
41
41
|
export * from "./Commons/lazy.composable.js";
|
|
42
|
-
export * from "./Commons/items.composable.
|
|
42
|
+
export * from "./Commons/items.composable.js";
|
|
43
43
|
export * from "./Commons/teleport.composable.js";
|
|
44
44
|
export * from "./Commons/hydration.composable.js";
|
|
45
45
|
export * from "./Commons/stack.composable.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { TEventProp } from '../../types';
|
|
2
1
|
import { PropType } from 'vue';
|
|
2
|
+
import type { TEventProp } from '../../types';
|
|
3
3
|
export declare const IN_BROWSER: boolean;
|
|
4
4
|
export declare const DEFAULT_DOCUMENT: Document | undefined;
|
|
5
5
|
export declare const EVENT_PROP: <T extends Array<any> = Array<any>>() => PropType<TEventProp<T>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IDateInstance, IDateOptions } from "../../interfaces";
|
|
2
1
|
import type { InjectionKey } from "vue";
|
|
2
|
+
import type { IDateInstance, IDateOptions } from "../../interfaces";
|
|
3
3
|
export declare const ORIGAM_DATE_OPTIONS_KEY: InjectionKey<IDateOptions>;
|
|
4
4
|
export declare const ORIGAM_DATE_ADAPTER_KEY: InjectionKey<IDateInstance>;
|
|
5
5
|
export declare const REGEX_DATE_YYYY_MM_DD: RegExp;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { InjectionKey } from 'vue';
|
|
1
2
|
import type { IDisplayInstance, IDisplayOptions } from '../../interfaces';
|
|
2
3
|
import type { TBreakpoint } from '../../types';
|
|
3
|
-
import type { InjectionKey } from 'vue';
|
|
4
4
|
export declare const ORIGAM_DISPLAY_KEY: InjectionKey<IDisplayInstance>;
|
|
5
5
|
export declare const DEFAULT_DISPLAY_OPTIONS: IDisplayOptions;
|
|
6
6
|
export declare const BREAKPOINTS_ARRAY: Array<TBreakpoint>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ILayoutProvide } from '../../interfaces';
|
|
2
1
|
import type { InjectionKey, ShallowRef } from 'vue';
|
|
2
|
+
import type { ILayoutProvide } from '../../interfaces';
|
|
3
3
|
export declare const ORIGAM_LAYOUT_KEY: InjectionKey<ILayoutProvide>;
|
|
4
4
|
export declare const ORIGAM_LAYOUT_ITEM_KEY: InjectionKey<ShallowRef<{
|
|
5
5
|
id: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ILocaleInstance, IRtlInstance } from "../../interfaces";
|
|
2
1
|
import type { InjectionKey } from "vue";
|
|
2
|
+
import type { ILocaleInstance, IRtlInstance } from "../../interfaces";
|
|
3
3
|
export declare const ORIGAM_LOCALE_KEY: InjectionKey<ILocaleInstance & IRtlInstance>;
|
|
4
4
|
export declare const LOCALE_RTL_DEFAULT: Readonly<{
|
|
5
5
|
af: false;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IDataTableItem } from '../../interfaces';
|
|
2
1
|
import type { InjectionKey, Ref } from 'vue';
|
|
2
|
+
import type { IDataTableItem } from '../../interfaces';
|
|
3
3
|
export declare const ORIGAM_DATA_TABLE_EXPAND_KEY: InjectionKey<{
|
|
4
4
|
expand: (item: IDataTableItem, value: boolean) => void;
|
|
5
5
|
expanded: Ref<Set<string>>;
|