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,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());
|
|
@@ -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>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IDataTableGroup, IDataTableItem, IDataTableSortItem } from '../../interfaces';
|
|
2
1
|
import type { InjectionKey, Ref } from 'vue';
|
|
2
|
+
import type { IDataTableGroup, IDataTableItem, IDataTableSortItem } from '../../interfaces';
|
|
3
3
|
export declare const ORIGAM_DATA_TABLE_GROUP_KEY: InjectionKey<{
|
|
4
4
|
opened: Ref<Set<string>>;
|
|
5
5
|
toggleGroup: (group: IDataTableGroup) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IInternalDataTableHeader } from '../../interfaces';
|
|
2
1
|
import type { InjectionKey, Ref } from 'vue';
|
|
2
|
+
import type { IInternalDataTableHeader } from '../../interfaces';
|
|
3
3
|
export declare const ORIGAM_DATA_TABLE_HEADERS_KEY: InjectionKey<{
|
|
4
4
|
headers: Ref<Array<Array<IInternalDataTableHeader>>>;
|
|
5
5
|
columns: Ref<Array<IInternalDataTableHeader>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { InjectionKey } from 'vue';
|
|
1
2
|
import type { IIconSet } from '../../interfaces';
|
|
2
3
|
import type { TIconOptions } from '../../types';
|
|
3
|
-
import type { InjectionKey } from 'vue';
|
|
4
4
|
export declare const ORIGAM_ICONS_KEY: InjectionKey<Required<TIconOptions>>;
|
|
5
5
|
export declare const DEFAULT_SETS: Record<string, IIconSet>;
|
|
@@ -4,9 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.MDI_ALIASES = exports.MDI = void 0;
|
|
7
|
+
var _vue = require("vue");
|
|
7
8
|
var _components = require("../../components/index.cjs");
|
|
8
9
|
var _enums = require("../../enums/index.cjs");
|
|
9
|
-
var _vue = require("vue");
|
|
10
10
|
const MDI = exports.MDI = {
|
|
11
11
|
// Not using mergeProps here, functional components merge props by default (?)
|
|
12
12
|
component: props => (0, _vue.h)(_components.OrigamClassIcon, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { h } from "vue";
|
|
1
2
|
import { OrigamClassIcon } from "../../components/index.js";
|
|
2
3
|
import { MDI_ICONS } from "../../enums/index.js";
|
|
3
|
-
import { h } from "vue";
|
|
4
4
|
export const MDI = {
|
|
5
5
|
// Not using mergeProps here, functional components merge props by default (?)
|
|
6
6
|
component: (props) => h(OrigamClassIcon, { ...props, class: "mdi" })
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IDelayProps } from '../../interfaces';
|
|
2
1
|
import type { ComponentPublicInstance } from 'vue';
|
|
2
|
+
import type { IDelayProps } from '../../interfaces';
|
|
3
3
|
export interface IActivatorProps extends IDelayProps {
|
|
4
4
|
target?: 'parent' | 'cursor' | (string & {}) | Element | ComponentPublicInstance | [x: number, y: number] | undefined;
|
|
5
5
|
activator?: 'parent' | 'cursor' | (string & {}) | Element | ComponentPublicInstance;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import type { ExtractPropTypes, StyleValue } from 'vue';
|
|
1
2
|
import type * as Components from "../../components";
|
|
2
3
|
import type * as Directives from "../../directives";
|
|
3
4
|
import type { IDateOptions, IDisplayOptions, IGoToOptions, ILocaleOptions, IRtlOptions } from '../../interfaces';
|
|
4
5
|
import { TIconOptions, TOrigamPluginOptionsImport, TSSROptions } from '../../types';
|
|
5
|
-
import type { ExtractPropTypes, StyleValue } from 'vue';
|
|
6
6
|
export interface IOrigamOptions {
|
|
7
7
|
aliases?: any;
|
|
8
8
|
blueprint?: IBlueprint;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { TObserveHandler } from '../../types';
|
|
2
1
|
import type { DirectiveBinding } from 'vue';
|
|
2
|
+
import type { TObserveHandler } from '../../types';
|
|
3
3
|
export interface IIntersectDirectiveBinding extends Omit<DirectiveBinding, 'modifiers' | 'value'> {
|
|
4
4
|
value?: TObserveHandler | {
|
|
5
5
|
handler: TObserveHandler;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { ComponentInternalInstance, ComputedRef, CSSProperties, Ref } from 'vue';
|
|
1
2
|
import type { ICommonsComponentProps } from '../../interfaces';
|
|
2
3
|
import type { TDirectionBoth } from '../../types';
|
|
3
|
-
import type { ComponentInternalInstance, ComputedRef, CSSProperties, Ref } from 'vue';
|
|
4
4
|
export interface ILayoutProvide {
|
|
5
5
|
register: (vm: ComponentInternalInstance, options: {
|
|
6
6
|
id: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { Ref } from 'vue';
|
|
1
2
|
import type { IDimensionProps } from '../../interfaces';
|
|
2
3
|
import type { TAnchor, TLocationStrategy, TLocationStrategyFn } from '../../types';
|
|
3
|
-
import type { Ref } from 'vue';
|
|
4
4
|
export interface ILocationProps {
|
|
5
5
|
location?: TAnchor;
|
|
6
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IDataTableExpandProps, IDataTableFooterProps, IDataTableGroup, IDataTableGroupProps, IDataTableHeaderProps, IDataTableHeadersProps, IDataTableItem, IDataTableItemsProps, IDataTablePaginationProps, IDataTableProvideExpanded, IDataTableProvideGroup, IDataTableProvidePagination, IDataTableProvideSelection, IDataTableProvideSort, IDataTableRowProps, IDataTableSelectProps, IDataTableSortProps, IFiltersProps, IInternalDataTableHeader, ITableProps } from '../../interfaces';
|
|
2
1
|
import type { UnwrapRef } from 'vue';
|
|
2
|
+
import type { IDataTableExpandProps, IDataTableFooterProps, IDataTableGroup, IDataTableGroupProps, IDataTableHeaderProps, IDataTableHeadersProps, IDataTableItem, IDataTableItemsProps, IDataTablePaginationProps, IDataTableProvideExpanded, IDataTableProvideGroup, IDataTableProvidePagination, IDataTableProvideSelection, IDataTableProvideSort, IDataTableRowProps, IDataTableSelectProps, IDataTableSortProps, IFiltersProps, IInternalDataTableHeader, ITableProps } from '../../interfaces';
|
|
3
3
|
export interface IDataTableProps extends ITableProps, IDataTableRowProps, IDataTableExpandProps, IDataTableGroupProps, IDataTableHeaderProps, IDataTableItemsProps, IDataTableSelectProps, IDataTableSortProps, IDataTableHeadersProps, IDataTablePaginationProps, IFiltersProps, IDataTableFooterProps {
|
|
4
4
|
hideDefaultBody?: boolean;
|
|
5
5
|
hideDefaultFooter?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IColorProps, ICommonsComponentProps, IDataTableItem, IDataTableItemBase, IDataTableSelectableItem, IDataTableSortItem, IInternalDataTableHeader, IPaddingProps } from '../../interfaces';
|
|
2
1
|
import type { ComputedRef, Ref } from 'vue';
|
|
2
|
+
import type { IColorProps, ICommonsComponentProps, IDataTableItem, IDataTableItemBase, IDataTableSelectableItem, IDataTableSortItem, IInternalDataTableHeader, IPaddingProps } from '../../interfaces';
|
|
3
3
|
export interface IDataTableGroupProps {
|
|
4
4
|
groupBy?: Array<IDataTableSortItem>;
|
|
5
5
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import type { ComputedRef, Ref, UnwrapRef } from 'vue';
|
|
1
2
|
import { ALIGN } from '../../enums';
|
|
2
3
|
import type { IColorProps, ICommonsComponentProps, IDataTableItem, IDataTableSortItem, IDisplayProps, ILoaderProps } from '../../interfaces';
|
|
3
4
|
import type { TAlign, TDataTableCompareFunction, TDataTableHeaderCell, TFilterFunction, TIcon, TSelectItemKey } from '../../types';
|
|
4
|
-
import type { ComputedRef, Ref, UnwrapRef } from 'vue';
|
|
5
5
|
export interface IHeaderCellProps extends ICommonsComponentProps, IColorProps {
|
|
6
6
|
disableSort?: boolean;
|
|
7
7
|
headerProps?: any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { ComputedRef, Ref } from 'vue';
|
|
1
2
|
import type { IDataTableGroupableItem, IDataTableSelectableItem, IDataTableSortItem, IInternalDataTableHeader, IInternalItem } from '../../interfaces';
|
|
2
3
|
import type { TDataTableCell, TDataTableRow, TIcon, TSelectItemKey } from '../../types';
|
|
3
|
-
import type { ComputedRef, Ref } from 'vue';
|
|
4
4
|
export interface IDataTableItemsProps {
|
|
5
5
|
items?: Array<IDataTableItem>;
|
|
6
6
|
itemValue?: TSelectItemKey;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IBorderProps, IColorProps, ICommonsComponentProps, IDensityProps, ILazyProps, ILoaderProps, IMarginProps, IPaddingProps, IRoundedProps, ITagProps } from '../../interfaces';
|
|
2
1
|
import { Component } from 'vue';
|
|
2
|
+
import type { IBorderProps, IColorProps, ICommonsComponentProps, IDensityProps, ILazyProps, ILoaderProps, IMarginProps, IPaddingProps, IRoundedProps, ITagProps } from '../../interfaces';
|
|
3
3
|
export interface IExpansionPanelContentProps extends IColorProps, ITagProps, ICommonsComponentProps, IDensityProps, IRoundedProps, IBorderProps, IPaddingProps, IMarginProps, ILazyProps, ILoaderProps {
|
|
4
4
|
content?: string | Component;
|
|
5
5
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { ComponentInternalInstance, ComputedRef, Raw, Ref } from 'vue';
|
|
1
2
|
import type { ICommonsComponentProps } from '../../interfaces';
|
|
2
3
|
import type { TValidateOn } from '../../types';
|
|
3
|
-
import type { ComponentInternalInstance, ComputedRef, Raw, Ref } from 'vue';
|
|
4
4
|
export interface IFormProvide {
|
|
5
5
|
register: (item: {
|
|
6
6
|
id: number | string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { ComponentPublicInstance } from 'vue';
|
|
1
2
|
import { CLIENT_POSITION, FOCUS_LOCATION } from '../../enums';
|
|
2
3
|
import { IOrigamPluginOptionsObject } from "../../interfaces";
|
|
3
|
-
import { ComponentPublicInstance } from 'vue';
|
|
4
4
|
export type TNotAUnion<T> = [T] extends [infer U] ? _TNotAUnion<U, U> : never;
|
|
5
5
|
export type _TNotAUnion<T, U> = U extends any ? [T] extends [U] ? unknown : never : never;
|
|
6
6
|
export type TEventProp<T extends Array<any> = Array<any>, F = (...args: T) => void> = F;
|