eco-vue-js 0.9.23 → 0.9.25
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/components/InfiniteList/WInfiniteList.vue.d.ts +7 -1
- package/dist/components/InfiniteList/WInfiniteList.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/WInfiniteList.vue.js +4 -3
- package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts +2 -0
- package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPage.vue.js +5 -13
- package/dist/components/InfiniteList/components/InfiniteListPages.vue.d.ts +7 -1
- package/dist/components/InfiniteList/components/InfiniteListPages.vue.d.ts.map +1 -1
- package/dist/components/InfiniteList/components/InfiniteListPages.vue.js +6 -5
- package/dist/components/List/WList.vue.d.ts +10 -2
- package/dist/components/List/WList.vue.d.ts.map +1 -1
- package/dist/components/List/WList.vue.js +3 -2
- package/dist/components/Page/WPage.vue.d.ts +45 -0
- package/dist/components/Page/WPage.vue.d.ts.map +1 -0
- package/dist/components/Page/WPage.vue.js +148 -0
- package/dist/components/Page/WPage.vue2.js +5 -0
- package/dist/components/Page/WPageNumerator.vue.d.ts +17 -0
- package/dist/components/Page/WPageNumerator.vue.d.ts.map +1 -0
- package/dist/components/Page/WPageNumerator.vue.js +15 -0
- package/dist/components/Page/WPageTitle.vue.d.ts +9 -0
- package/dist/components/Page/WPageTitle.vue.d.ts.map +1 -0
- package/dist/components/Page/WPageTitle.vue.js +21 -0
- package/dist/components/Page/WPageTitle.vue2.js +5 -0
- package/dist/imports/componentsPlugin.d.ts +4 -1
- package/dist/imports/componentsPlugin.d.ts.map +1 -1
- package/dist/main.js +3 -0
- package/package.json +10 -1
@@ -1,12 +1,17 @@
|
|
1
|
+
import { ApiError } from '../../utils/api';
|
1
2
|
declare const _default: <Model extends number | string, Data extends DefaultData, QueryParams>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
2
3
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
3
4
|
readonly onSelect?: ((values: Model[]) => any) | undefined;
|
4
5
|
readonly "onUpdate:count"?: ((value: number) => any) | undefined;
|
5
6
|
readonly "onUpdate:header-padding"?: ((value: number) => any) | undefined;
|
7
|
+
readonly "onUpdate:error"?: ((value: ApiError<{}, {
|
8
|
+
detail?: string | undefined;
|
9
|
+
non_field_errors?: string[] | undefined;
|
10
|
+
}>) => any) | undefined;
|
6
11
|
readonly "onUpdate:page"?: ((value: number | undefined) => any) | undefined;
|
7
12
|
readonly "onSelect-reverse"?: ((values: Model[]) => any) | undefined;
|
8
13
|
readonly "onSelect-range"?: ((value: SelectedRange<Model>) => any) | undefined;
|
9
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onSelect" | "onUpdate:count" | "onUpdate:header-padding" | "onUpdate:page" | "onSelect-reverse" | "onSelect-range"> & {
|
14
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onSelect" | "onUpdate:count" | "onUpdate:header-padding" | "onUpdate:error" | "onUpdate:page" | "onSelect-reverse" | "onSelect-range"> & {
|
10
15
|
useQueryFn: UseQueryPaginated<Data, QueryParams>;
|
11
16
|
queryParams: QueryParams;
|
12
17
|
skeletonLength?: number;
|
@@ -88,6 +93,7 @@ declare const _default: <Model extends number | string, Data extends DefaultData
|
|
88
93
|
(e: "select", values: Model[]): void;
|
89
94
|
(e: "select-reverse", values: Model[]): void;
|
90
95
|
(e: "select-range", value: SelectedRange<Model>): void;
|
96
|
+
(e: "update:error", value: ApiError): void;
|
91
97
|
};
|
92
98
|
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
93
99
|
[key: string]: any;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WInfiniteList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/InfiniteList/WInfiniteList.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WInfiniteList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/InfiniteList/WInfiniteList.vue"],"names":[],"mappings":"AA6OA,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,aAAa,CAAA;yBAaxB,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,WAAW,eACvE,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WA6ZxD,mBAAmB,CAAC;;;;;;;;;;;;oBAzZd,iBAAiB,CAAC,IAAI,EAAE,WAAW,CAAC;qBACnC,WAAW;yBACP,MAAM;wBACP,OAAO;uBACR,MAAM;eACd,OAAO;gBACN,OAAO;qBACF,OAAO;2BACD,OAAO,GAAG,IAAI;0BACf,OAAO;oBACb,OAAO;oBACP,OAAO;wBACH,CAAC,MAAM,WAAW,CAAC,EAAE;oBACzB,MAAM;oBACN,MAAM;mBACP,MAAM;0BACC,MAAM,GAAG,KAAK;uBACjB,OAAO,CAAC,YAAY,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC;qBAEhD,MAAM;gBACX,MAAM;sBAEA,OAAO;2BACF,OAAO;sBAEZ,CAAC,IAAI,EAAE,IAAI,KAAK,KAAK;mBACxB,KAAK,EAAE;wBACF,aAAa,CAAC,KAAK,CAAC;kBAC1B,OAAO;qBAE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,MAAM,UAiEzB;YACjB,cAAc,iBAA6B;SAC5C,KAAK,IAAI;;;YAnFN,aAAa,SAAS,MAAM,GAAG,SAAS,GAAG,IAAI;YAC/C,uBAAuB,SAAS,MAAM,GAAG,IAAI;YAC7C,cAAc,SAAS,MAAM,GAAG,IAAI;YAEpC,QAAQ,UAAU,KAAK,EAAE,GAAG,IAAI;YAChC,gBAAgB,UAAU,KAAK,EAAE,GAAG,IAAI;YACxC,cAAc,SAAS,aAAa,CAAC,KAAK,CAAC,GAAG,IAAI;YAClD,cAAc,SAAS,QAAQ,GAAG,IAAI;;;;;YAgWA,OAAO,CAAC,OAAO,WAAW,CAAC;;AAvavE,wBAua4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -40,7 +40,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
40
40
|
reverseSelection: { type: Boolean },
|
41
41
|
allowPageSelection: { type: Boolean }
|
42
42
|
},
|
43
|
-
emits: ["update:page", "update:header-padding", "update:count", "select", "select-reverse", "select-range"],
|
43
|
+
emits: ["update:page", "update:header-padding", "update:count", "select", "select-reverse", "select-range", "update:error"],
|
44
44
|
setup(__props, { expose: __expose, emit: __emit }) {
|
45
45
|
const props = __props;
|
46
46
|
const emit = __emit;
|
@@ -91,7 +91,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
91
91
|
"scrolling-element": _ctx.scrollingElement,
|
92
92
|
"header-margin": _ctx.headerMargin,
|
93
93
|
"init-is-intersecting": props.queryParams instanceof Object && "page" in props.queryParams && Number.isInteger(props.queryParams.page) && props.queryParams.page > 1 ? false : void 0,
|
94
|
-
"onUpdate:headerPadding": _cache[
|
94
|
+
"onUpdate:headerPadding": _cache[4] || (_cache[4] = ($event) => _ctx.$emit("update:header-padding", $event))
|
95
95
|
}, {
|
96
96
|
header: withCtx(() => [
|
97
97
|
renderSlot(_ctx.$slots, "header", normalizeProps(guardReactiveProps({ selectAllValue: unref(selectAllValue), goto })))
|
@@ -126,7 +126,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
126
126
|
"allow-page-selection": _ctx.allowPageSelection,
|
127
127
|
"onUpdate:selected": _cache[0] || (_cache[0] = ($event) => _ctx.$emit("select", $event)),
|
128
128
|
"onUpdate:count": _cache[1] || (_cache[1] = ($event) => _ctx.$emit("update:count", $event)),
|
129
|
-
"onUpdate:page": _cache[2] || (_cache[2] = ($event) => _ctx.$emit("update:page", $event))
|
129
|
+
"onUpdate:page": _cache[2] || (_cache[2] = ($event) => _ctx.$emit("update:page", $event)),
|
130
|
+
"onUpdate:error": _cache[3] || (_cache[3] = ($event) => _ctx.$emit("update:error", $event))
|
130
131
|
}, {
|
131
132
|
default: withCtx(({ item, value, setter, skeleton, refetch, previous, next, first, last, resetting, page, index }) => [
|
132
133
|
(openBlock(), createBlock(resolveDynamicComponent(skeleton ? _sfc_main$1 : _sfc_main$4), {
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { ApiError } from '../../../utils/api';
|
1
2
|
declare const _default: <Model extends number | string, Data extends DefaultData, QueryParams>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
2
3
|
props: __VLS_PrettifyLocal<any & {
|
3
4
|
queryParams: QueryParams;
|
@@ -69,6 +70,7 @@ declare const _default: <Model extends number | string, Data extends DefaultData
|
|
69
70
|
(e: "update-from-header:scroll"): void;
|
70
71
|
(e: "update:selected", values: Model[]): void;
|
71
72
|
(e: "fetched"): void;
|
73
|
+
(e: "update:error", value: ApiError): void;
|
72
74
|
};
|
73
75
|
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
74
76
|
[key: string]: any;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"InfiniteListPage.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteList/components/InfiniteListPage.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"InfiniteListPage.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteList/components/InfiniteListPage.vue"],"names":[],"mappings":"AA6WA,OAAO,EAAC,QAAQ,EAAC,MAAM,aAAa,CAAA;yBAMnB,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,WAAW,eACvE,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WA+cxD,mBAAmB,CAAC;qBA3cb,WAAW;oBACZ,iBAAiB,CAAC,IAAI,EAAE,WAAW,CAAC;wBAChC,MAAM;mBACX,OAAO;kBACR,OAAO;wBACD,OAAO;eAChB,OAAO;gBACN,OAAO;qBACF,OAAO;oBACR,OAAO;oBACP,MAAM;oBACN,OAAO;oBACP,OAAO;oBACP,MAAM;0BACA,MAAM,GAAG,KAAK;2BACb,OAAO,GAAG,IAAI;uBAClB,OAAO,CAAC,YAAY,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC;mBAElD,KAAK,EAAE;qBACL,CAAC,IAAI,EAAE,IAAI,KAAK,KAAK;qBACrB,OAAO;uBACL,OAAO;2BACH,OAAO;6BACL,OAAO;KAobuD,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB;;;;2BAnWvB,MAAM;MAmWuC,GAAG,IAAI;WACpE,GAAG;;kBA5O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AAO,CAAC,OAAO,WAAW,CAAC;;AAzdvE,wBAyd4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -1,19 +1,8 @@
|
|
1
1
|
import { defineComponent, useTemplateRef, ref, toRef, computed, watch, onMounted, nextTick, onBeforeUnmount, openBlock, createElementBlock, unref, Fragment, createElementVNode, normalizeClass, createBlock, createCommentVNode, resolveDynamicComponent, TransitionGroup, normalizeProps, mergeProps, withCtx, renderList, renderSlot, toDisplayString } from 'vue';
|
2
2
|
import _sfc_main$3 from '../../EmptyComponent/WEmptyComponent.vue.js';
|
3
|
-
import '../../Button/WButtonAction.vue.js';
|
4
|
-
import '../../Button/WButton.vue.js';
|
5
|
-
import '../../Button/WButtonDropdown.vue.js';
|
6
|
-
import '../../../utils/supportsPassive.js';
|
7
|
-
import '../../Dropdown/utils/DropdownStyle.js';
|
8
|
-
import 'vue-router';
|
9
|
-
import '../../../utils/Modal.js';
|
10
3
|
import { ApiError } from '../../../utils/api.js';
|
11
|
-
import '../../Input/WInputSuggest.vue.js';
|
12
4
|
import _sfc_main$1 from './InfiniteListPageSelection.vue.js';
|
13
5
|
import _sfc_main$2 from './InfiniteListPageTitle.vue.js';
|
14
|
-
import '../../Input/WInputDate.vue.js';
|
15
|
-
import '../../Link/WLink.vue.js';
|
16
|
-
import '@tanstack/vue-query';
|
17
6
|
|
18
7
|
const _hoisted_1 = {
|
19
8
|
ref: "element",
|
@@ -47,7 +36,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
47
36
|
reverseSelection: { type: Boolean },
|
48
37
|
allowPageSelection: { type: Boolean }
|
49
38
|
},
|
50
|
-
emits: ["update:count", "update:pages-count", "update:next-page", "update:previous-page", "update:scroll", "remove:page", "refetch", "update-from-header:scroll", "update:selected", "fetched"],
|
39
|
+
emits: ["update:count", "update:pages-count", "update:next-page", "update:previous-page", "update:scroll", "remove:page", "refetch", "update-from-header:scroll", "update:selected", "fetched", "update:error"],
|
51
40
|
setup(__props, { expose: __expose, emit: __emit }) {
|
52
41
|
const props = __props;
|
53
42
|
const emit = __emit;
|
@@ -116,8 +105,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
116
105
|
}, 100);
|
117
106
|
}
|
118
107
|
}, { immediate: true });
|
108
|
+
const errorStatusList = [404, 400];
|
119
109
|
watch(error, (error2) => {
|
120
|
-
if (error2 instanceof ApiError
|
110
|
+
if (!(error2 instanceof ApiError)) return;
|
111
|
+
if (errorStatusList.includes(error2.response?.status) && page.value !== null) emit("remove:page", page.value);
|
112
|
+
emit("update:error", error2);
|
121
113
|
}, { immediate: true });
|
122
114
|
watch(isFetching, (value) => {
|
123
115
|
if (value) return;
|
@@ -1,9 +1,14 @@
|
|
1
|
+
import { ApiError } from '../../../utils/api';
|
1
2
|
declare const _default: <Model extends number | string, Data extends DefaultData, QueryParams>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
2
3
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
3
4
|
readonly "onUpdate:count"?: ((value: number) => any) | undefined;
|
4
5
|
readonly "onUpdate:selected"?: ((values: Model[]) => any) | undefined;
|
6
|
+
readonly "onUpdate:error"?: ((value: ApiError<{}, {
|
7
|
+
detail?: string | undefined;
|
8
|
+
non_field_errors?: string[] | undefined;
|
9
|
+
}>) => any) | undefined;
|
5
10
|
readonly "onUpdate:page"?: ((value: number | undefined) => any) | undefined;
|
6
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:count" | "onUpdate:selected" | "onUpdate:page"> & {
|
11
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:count" | "onUpdate:selected" | "onUpdate:error" | "onUpdate:page"> & {
|
7
12
|
useQueryFn: UseQueryPaginated<Data, QueryParams>;
|
8
13
|
queryParams: QueryParams;
|
9
14
|
skeletonLength?: number;
|
@@ -70,6 +75,7 @@ declare const _default: <Model extends number | string, Data extends DefaultData
|
|
70
75
|
(e: "update:page", value: number | undefined): void;
|
71
76
|
(e: "update:count", value: number): void;
|
72
77
|
(e: "update:selected", values: Model[]): void;
|
78
|
+
(e: "update:error", value: ApiError): void;
|
73
79
|
};
|
74
80
|
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
75
81
|
[key: string]: any;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"InfiniteListPages.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteList/components/InfiniteListPages.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"InfiniteListPages.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/InfiniteList/components/InfiniteListPages.vue"],"names":[],"mappings":"AAmUA,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,aAAa,CAAA;yBAcxB,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,WAAW,eACvE,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WAgnBxD,mBAAmB,CAAC;;;;;;;;;oBA5mBd,iBAAiB,CAAC,IAAI,EAAE,WAAW,CAAC;qBACnC,WAAW;yBACP,MAAM;wBACP,OAAO;eAChB,O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I,CAAA;YACX,KAAK,EAAE,OAAO,CAAA;YACd,IAAI,EAAE,OAAO,CAAA;YACb,SAAS,EAAE,OAAO,CAAA;YAClB,IAAI,EAAE,MAAM,CAAA;YACZ,KAAK,EAAE,MAAM,CAAA;YACb,KAAK,EAAE,KAAK,CAAA;SACb,KAAK,IAAI;;;YAjLN,aAAa,SAAS,MAAM,GAAG,SAAS,GAAG,IAAI;YAC/C,cAAc,SAAS,MAAM,GAAG,IAAI;YACpC,iBAAiB,UAAU,KAAK,EAAE,GAAG,IAAI;YACzC,cAAc,SAAS,QAAQ,GAAG,IAAI;;;;;YAkkBA,OAAO,CAAC,OAAO,WAAW,CAAC;;AA1nBvE,wBA0nB4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
@@ -35,7 +35,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
35
35
|
reverseSelection: { type: Boolean },
|
36
36
|
allowPageSelection: { type: Boolean }
|
37
37
|
},
|
38
|
-
emits: ["update:page", "update:count", "update:selected"],
|
38
|
+
emits: ["update:page", "update:count", "update:selected", "update:error"],
|
39
39
|
setup(__props, { expose: __expose, emit: __emit }) {
|
40
40
|
const props = __props;
|
41
41
|
const emit = __emit;
|
@@ -100,8 +100,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
100
100
|
const removePage = (page) => {
|
101
101
|
const index = pages.value.indexOf(page);
|
102
102
|
if (index === -1) return;
|
103
|
-
const newPages = pages.value.slice(0,
|
104
|
-
pages.value = newPages
|
103
|
+
const newPages = pages.value.slice(0, index);
|
104
|
+
pages.value = newPages;
|
105
105
|
if (pagesCount.value >= page) pagesCount.value = page - 1;
|
106
106
|
if (nextPage.value === page) nextPage.value = null;
|
107
107
|
emit("update:page", pages.value[pages.value.length - 1]);
|
@@ -199,7 +199,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
199
199
|
"onUpdateFromHeader:scroll": _cache[6] || (_cache[6] = ($event) => _ctx.headerTop > 0 && nextTick(() => updateScroll(_ctx.headerTop))),
|
200
200
|
"onRemove:page": removePage,
|
201
201
|
onRefetch: ($event) => unref(refetchNextPages)(index),
|
202
|
-
onFetched: _cache[7] || (_cache[7] = ($event) => isResettingPage.value = false)
|
202
|
+
onFetched: _cache[7] || (_cache[7] = ($event) => isResettingPage.value = false),
|
203
|
+
"onUpdate:error": _cache[8] || (_cache[8] = ($event) => _ctx.$emit("update:error", $event))
|
203
204
|
}, {
|
204
205
|
default: withCtx(({ item, setter, skeleton, refetch, previous, next, first, last, page: itemPage, index: itemIndex }) => [
|
205
206
|
renderSlot(_ctx.$slots, "default", {
|
@@ -223,7 +224,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
223
224
|
count.value !== 0 && nextPage.value ? (openBlock(), createBlock(_sfc_main$2, {
|
224
225
|
key: 1,
|
225
226
|
onClick: addNextPage,
|
226
|
-
onCheck: _cache[
|
227
|
+
onCheck: _cache[9] || (_cache[9] = ($event) => unref(infiniteScrollRef)?.checkIsScrollDown())
|
227
228
|
})) : createCommentVNode("", true)
|
228
229
|
]),
|
229
230
|
_: 3
|
@@ -1,8 +1,13 @@
|
|
1
1
|
import { BulkComponent, FieldComponent, FieldConfigMap, ListFields, MenuComponent } from './types';
|
2
|
+
import { ApiError } from '../../utils/api';
|
2
3
|
declare const _default: <Data extends DefaultData, QueryParams, Fields extends ListFields<Data, QueryParams>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
3
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
4
5
|
readonly "onUpdate:header-padding"?: ((value: number) => any) | undefined;
|
5
|
-
|
6
|
+
readonly "onUpdate:error"?: ((value: ApiError<{}, {
|
7
|
+
detail?: string | undefined;
|
8
|
+
non_field_errors?: string[] | undefined;
|
9
|
+
}>) => any) | undefined;
|
10
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:header-padding" | "onUpdate:error"> & {
|
6
11
|
count?: number;
|
7
12
|
fields: Fields;
|
8
13
|
expansion?: FieldComponent<Data>;
|
@@ -35,7 +40,10 @@ declare const _default: <Data extends DefaultData, QueryParams, Fields extends L
|
|
35
40
|
count: number | undefined;
|
36
41
|
}): any;
|
37
42
|
};
|
38
|
-
emit:
|
43
|
+
emit: {
|
44
|
+
(e: "update:header-padding", value: number): void;
|
45
|
+
(e: "update:error", value: ApiError): void;
|
46
|
+
};
|
39
47
|
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
40
48
|
[key: string]: any;
|
41
49
|
}> & {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/List/WList.vue"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"WList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/List/WList.vue"],"names":[],"mappings":"AAqUA,OAAO,KAAK,EAAC,aAAa,EAAE,cAAc,EAAE,cAAc,EAAE,UAAU,EAAE,aAAa,EAAC,MAAM,SAAS,CAAA;AACrG,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,aAAa,CAAA;yBAqBxB,IAAI,SAAS,WAAW,EAAE,WAAW,EAAE,MAAM,SAAS,UAAU,CAAC,IAAI,EAAE,WAAW,CAAC,eACtF,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CA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NameGetter: { type: Function }
|
43
43
|
},
|
44
|
-
emits: ["update:header-padding"],
|
44
|
+
emits: ["update:header-padding", "update:error"],
|
45
45
|
setup(__props) {
|
46
46
|
const isMobile = getIsMobile();
|
47
47
|
const props = __props;
|
@@ -121,7 +121,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
121
121
|
onSelectReverse: unref(setSelectedReverse),
|
122
122
|
onSelectRange: unref(setSelectedRange),
|
123
123
|
"onUpdate:headerPadding": _cache[6] || (_cache[6] = ($event) => _ctx.$emit("update:header-padding", $event)),
|
124
|
-
"onUpdate:count": _cache[7] || (_cache[7] = ($event) => listCount.value = $event)
|
124
|
+
"onUpdate:count": _cache[7] || (_cache[7] = ($event) => listCount.value = $event),
|
125
|
+
"onUpdate:error": _cache[8] || (_cache[8] = ($event) => _ctx.$emit("update:error", $event))
|
125
126
|
}, {
|
126
127
|
header: withCtx(({ selectAllValue }) => [
|
127
128
|
renderSlot(_ctx.$slots, "header", { count: listCount.value }),
|
@@ -0,0 +1,45 @@
|
|
1
|
+
import { Component } from 'vue';
|
2
|
+
declare function __VLS_template(): {
|
3
|
+
slots: {
|
4
|
+
header?(_: {}): any;
|
5
|
+
header?(_: {}): any;
|
6
|
+
default?(_: {
|
7
|
+
updateOverflow: () => void;
|
8
|
+
INNER_CLASS: "w-page-inner";
|
9
|
+
}): any;
|
10
|
+
};
|
11
|
+
refs: {
|
12
|
+
container: HTMLDivElement;
|
13
|
+
};
|
14
|
+
attrs: Partial<{}>;
|
15
|
+
};
|
16
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
17
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
18
|
+
title?: string;
|
19
|
+
empty?: boolean;
|
20
|
+
centerLogo?: boolean;
|
21
|
+
logoComponent?: Component;
|
22
|
+
topTitle?: boolean;
|
23
|
+
date?: Date;
|
24
|
+
prerendered?: HTMLElement[];
|
25
|
+
skeleton?: boolean;
|
26
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
27
|
+
title?: string;
|
28
|
+
empty?: boolean;
|
29
|
+
centerLogo?: boolean;
|
30
|
+
logoComponent?: Component;
|
31
|
+
topTitle?: boolean;
|
32
|
+
date?: Date;
|
33
|
+
prerendered?: HTMLElement[];
|
34
|
+
skeleton?: boolean;
|
35
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
36
|
+
container: HTMLDivElement;
|
37
|
+
}, any>;
|
38
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
39
|
+
export default _default;
|
40
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
41
|
+
new (): {
|
42
|
+
$slots: S;
|
43
|
+
};
|
44
|
+
};
|
45
|
+
//# sourceMappingURL=WPage.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WPage.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Page/WPage.vue"],"names":[],"mappings":"AA8LA,OAAO,EAAC,KAAK,SAAS,EAAuC,MAAM,KAAK,CAAA;AA4HxE,iBAAS,cAAc;;wBAuHK,GAAG;wBAEF,GAAG;;kCAhNL,IAAI;;YA+MF,GAAG;;;;;WAWlB,OAAO,IAA6B;EAEjD;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;YApQX,MAAM;YACN,OAAO;iBACF,OAAO;oBACJ,SAAS;eACd,OAAO;WACX,IAAI;kBACG,WAAW,EAAE;eAChB,OAAO;;YAPV,MAAM;YACN,OAAO;iBACF,OAAO;oBACJ,SAAS;eACd,OAAO;WACX,IAAI;kBACG,WAAW,EAAE;eAChB,OAAO;;;OAoQlB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -0,0 +1,148 @@
|
|
1
|
+
import { defineComponent, useTemplateRef, ref, watch, nextTick, resolveComponent, openBlock, createElementBlock, Fragment, createElementVNode, normalizeClass, createVNode, createCommentVNode, renderSlot, normalizeProps, guardReactiveProps, createBlock, resolveDynamicComponent, toDisplayString, unref, createSlots, withCtx } from 'vue';
|
2
|
+
import { dateFormat } from '../../utils/dateTime.js';
|
3
|
+
import _sfc_main$1 from './WPageTitle.vue.js';
|
4
|
+
|
5
|
+
const _hoisted_1 = {
|
6
|
+
key: 0,
|
7
|
+
class: "mb-8"
|
8
|
+
};
|
9
|
+
const _hoisted_2 = {
|
10
|
+
ref: "container",
|
11
|
+
class: "row-start-2 overflow-hidden"
|
12
|
+
};
|
13
|
+
const _hoisted_3 = {
|
14
|
+
key: 2,
|
15
|
+
class: "absolute inset-x-[1cm] bottom-[1cm] text-center text-xs"
|
16
|
+
};
|
17
|
+
const _hoisted_4 = {
|
18
|
+
key: 3,
|
19
|
+
class: "absolute inset-x-[1cm] top-[1cm] text-xs font-semibold before:text-gray-400 before:[content:counters(section,'.',decimal-leading-zero)]"
|
20
|
+
};
|
21
|
+
const INNER_CLASS = "w-page-inner";
|
22
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
23
|
+
__name: "WPage",
|
24
|
+
props: {
|
25
|
+
title: {},
|
26
|
+
empty: { type: Boolean },
|
27
|
+
centerLogo: { type: Boolean },
|
28
|
+
logoComponent: {},
|
29
|
+
topTitle: { type: Boolean },
|
30
|
+
date: {},
|
31
|
+
prerendered: {},
|
32
|
+
skeleton: { type: Boolean }
|
33
|
+
},
|
34
|
+
setup(__props) {
|
35
|
+
const props = __props;
|
36
|
+
const containerRef = useTemplateRef("container");
|
37
|
+
const overflow = ref([]);
|
38
|
+
const getElements = (item, inner = false) => {
|
39
|
+
return Array.from(item.children).filter((item2) => item2 instanceof HTMLElement).flatMap(
|
40
|
+
(item2) => inner && item2.childElementCount > 1 ? getElements(item2) : item2.className.includes(INNER_CLASS) ? getElements(item2, true) : item2
|
41
|
+
);
|
42
|
+
};
|
43
|
+
const updateOverflow = () => {
|
44
|
+
if (!containerRef.value) return;
|
45
|
+
if (containerRef.value.scrollHeight <= containerRef.value.offsetHeight) {
|
46
|
+
if (overflow.value.length) overflow.value = [];
|
47
|
+
return;
|
48
|
+
}
|
49
|
+
const top = containerRef.value.offsetHeight + containerRef.value.offsetTop;
|
50
|
+
const result = getElements(containerRef.value).filter((item, index) => index > 2 && item.offsetTop + item.offsetHeight > top && !overflow.value.includes(item));
|
51
|
+
overflow.value.push(...result);
|
52
|
+
};
|
53
|
+
const isSimilar = (current, element) => {
|
54
|
+
return current?.tagName === element?.tagName && current?.className === current?.className;
|
55
|
+
};
|
56
|
+
const moveElements = (value) => {
|
57
|
+
let wrapper = null;
|
58
|
+
value.forEach((item) => {
|
59
|
+
if (item.parentElement?.className.includes(INNER_CLASS) && !isSimilar(wrapper, item.parentElement)) {
|
60
|
+
wrapper = document.createElement(item.parentElement.tagName);
|
61
|
+
wrapper.className = item.parentElement.className;
|
62
|
+
containerRef.value?.appendChild(wrapper);
|
63
|
+
}
|
64
|
+
if (item.parentElement?.parentElement?.className.includes(INNER_CLASS) && !isSimilar(wrapper, item.parentElement)) {
|
65
|
+
wrapper = document.createElement(item.parentElement.tagName);
|
66
|
+
wrapper.className = item.parentElement.className;
|
67
|
+
const parent = document.createElement(item.parentElement.parentElement.tagName);
|
68
|
+
parent.className = item.parentElement.parentElement.className;
|
69
|
+
parent.appendChild(wrapper);
|
70
|
+
containerRef.value?.appendChild(parent);
|
71
|
+
}
|
72
|
+
if (wrapper) wrapper.appendChild(item);
|
73
|
+
else containerRef.value?.appendChild(item);
|
74
|
+
});
|
75
|
+
nextTick().then(updateOverflow);
|
76
|
+
};
|
77
|
+
watch(() => props.prerendered, async (value) => {
|
78
|
+
if (!value) return;
|
79
|
+
await nextTick();
|
80
|
+
if (containerRef.value?.children.length) {
|
81
|
+
Array.from(containerRef.value.children).forEach((item) => containerRef.value?.removeChild(item));
|
82
|
+
}
|
83
|
+
await nextTick();
|
84
|
+
moveElements(value);
|
85
|
+
});
|
86
|
+
watch(() => props.prerendered?.length, async () => {
|
87
|
+
if (!props.prerendered) return;
|
88
|
+
await nextTick();
|
89
|
+
moveElements(props.prerendered);
|
90
|
+
}, { immediate: true });
|
91
|
+
watch(() => props.skeleton, async (value) => {
|
92
|
+
if (value) return;
|
93
|
+
await nextTick();
|
94
|
+
updateOverflow();
|
95
|
+
}, { immediate: true });
|
96
|
+
return (_ctx, _cache) => {
|
97
|
+
const _component_WPage = resolveComponent("WPage", true);
|
98
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
99
|
+
createElementVNode("div", {
|
100
|
+
class: normalizeClass(["not-print:shadow-md bg-default text-black-default light relative grid h-[29.62cm] w-[21.01cm] break-before-page grid-cols-1 grid-rows-[auto,1fr] overflow-hidden px-[1cm] py-[2cm]", {
|
101
|
+
"[counter-increment:page] after:absolute after:bottom-[1cm] after:right-[1cm] after:text-xs after:[--tw-content:counter(page)]": !_ctx.empty
|
102
|
+
}])
|
103
|
+
}, [
|
104
|
+
_ctx.title && !_ctx.topTitle ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
105
|
+
createVNode(_sfc_main$1, {
|
106
|
+
title: _ctx.title,
|
107
|
+
big: ""
|
108
|
+
}, null, 8, ["title"])
|
109
|
+
])) : createCommentVNode("", true),
|
110
|
+
createElementVNode("div", _hoisted_2, [
|
111
|
+
renderSlot(_ctx.$slots, "header"),
|
112
|
+
renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({ updateOverflow, INNER_CLASS })))
|
113
|
+
], 512),
|
114
|
+
_ctx.logoComponent ? (openBlock(), createElementBlock("div", {
|
115
|
+
key: 1,
|
116
|
+
class: normalizeClass(["absolute bottom-[1cm] left-[1cm] flex items-center justify-center gap-3", {
|
117
|
+
"right-[1cm]": _ctx.centerLogo
|
118
|
+
}])
|
119
|
+
}, [
|
120
|
+
(openBlock(), createBlock(resolveDynamicComponent(_ctx.logoComponent)))
|
121
|
+
], 2)) : createCommentVNode("", true),
|
122
|
+
!_ctx.centerLogo && _ctx.date ? (openBlock(), createElementBlock("div", _hoisted_3, toDisplayString(unref(dateFormat)(_ctx.date)), 1)) : createCommentVNode("", true),
|
123
|
+
_ctx.title && _ctx.topTitle ? (openBlock(), createElementBlock("span", _hoisted_4, " " + toDisplayString(_ctx.title), 1)) : createCommentVNode("", true)
|
124
|
+
], 2),
|
125
|
+
overflow.value.length !== 0 ? (openBlock(), createBlock(_component_WPage, {
|
126
|
+
key: 0,
|
127
|
+
prerendered: overflow.value,
|
128
|
+
title: _ctx.title,
|
129
|
+
"top-title": "",
|
130
|
+
"center-logo": _ctx.centerLogo,
|
131
|
+
"logo-component": _ctx.logoComponent,
|
132
|
+
date: _ctx.date,
|
133
|
+
empty: _ctx.empty
|
134
|
+
}, createSlots({ _: 2 }, [
|
135
|
+
_ctx.$slots.header ? {
|
136
|
+
name: "header",
|
137
|
+
fn: withCtx(() => [
|
138
|
+
renderSlot(_ctx.$slots, "header")
|
139
|
+
]),
|
140
|
+
key: "0"
|
141
|
+
} : void 0
|
142
|
+
]), 1032, ["prerendered", "title", "center-logo", "logo-component", "date", "empty"])) : createCommentVNode("", true)
|
143
|
+
], 64);
|
144
|
+
};
|
145
|
+
}
|
146
|
+
});
|
147
|
+
|
148
|
+
export { _sfc_main as default };
|
@@ -0,0 +1,17 @@
|
|
1
|
+
declare function __VLS_template(): {
|
2
|
+
slots: {
|
3
|
+
default?(_: {}): any;
|
4
|
+
};
|
5
|
+
refs: {};
|
6
|
+
attrs: Partial<{}>;
|
7
|
+
};
|
8
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
9
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
10
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
11
|
+
export default _default;
|
12
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
13
|
+
new (): {
|
14
|
+
$slots: S;
|
15
|
+
};
|
16
|
+
};
|
17
|
+
//# sourceMappingURL=WPageNumerator.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WPageNumerator.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Page/WPageNumerator.vue"],"names":[],"mappings":"AAKA;AAgBA,iBAAS,cAAc;;yBA2BM,GAAG;;;WASlB,OAAO,IAA6B;EAEjD;AAOD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,+QAKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { openBlock, createElementBlock, renderSlot } from 'vue';
|
2
|
+
import _export_sfc from '../../_virtual/_plugin-vue_export-helper.js';
|
3
|
+
|
4
|
+
const _sfc_main = {};
|
5
|
+
|
6
|
+
const _hoisted_1 = { class: "[counter-reset:section]" };
|
7
|
+
|
8
|
+
function _sfc_render(_ctx, _cache) {
|
9
|
+
return (openBlock(), createElementBlock("div", _hoisted_1, [
|
10
|
+
renderSlot(_ctx.$slots, "default")
|
11
|
+
]))
|
12
|
+
}
|
13
|
+
const WPageNumerator = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render]]);
|
14
|
+
|
15
|
+
export { WPageNumerator as default };
|
@@ -0,0 +1,9 @@
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
2
|
+
title: string;
|
3
|
+
big?: boolean;
|
4
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
5
|
+
title: string;
|
6
|
+
big?: boolean;
|
7
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
8
|
+
export default _default;
|
9
|
+
//# sourceMappingURL=WPageTitle.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WPageTitle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Page/WPageTitle.vue"],"names":[],"mappings":";WAuBS,MAAM;UACP,OAAO;;WADN,MAAM;UACP,OAAO;;AAiEf,wBAMG"}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, normalizeClass, toDisplayString } from 'vue';
|
2
|
+
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
4
|
+
__name: "WPageTitle",
|
5
|
+
props: {
|
6
|
+
title: {},
|
7
|
+
big: { type: Boolean }
|
8
|
+
},
|
9
|
+
setup(__props) {
|
10
|
+
return (_ctx, _cache) => {
|
11
|
+
return openBlock(), createElementBlock("span", {
|
12
|
+
class: normalizeClass(["text-black-default tracking-tight [counter-increment:section] before:[--tw-content:counters(section,'.',var(--w-report-counter-style,null))]", {
|
13
|
+
"font-semibold before:text-gray-400": !_ctx.big,
|
14
|
+
"text-6xl font-bold before:text-gray-300 before:[--w-report-counter-style:decimal-leading-zero]": _ctx.big
|
15
|
+
}])
|
16
|
+
}, " " + toDisplayString(_ctx.title), 3);
|
17
|
+
};
|
18
|
+
}
|
19
|
+
});
|
20
|
+
|
21
|
+
export { _sfc_main as default };
|
@@ -61,6 +61,9 @@ import { default as WNavItemExpand } from '../components/Nav/WNavItemExpand.vue'
|
|
61
61
|
import { default as WNavItemTransition } from '../components/Nav/WNavItemTransition.vue';
|
62
62
|
import { default as WNotify } from '../components/Notify/WNotify.vue';
|
63
63
|
import { default as WNumberFormatter } from '../components/NumberFormatter/WNumberFormatter.vue';
|
64
|
+
import { default as WPage } from '../components/Page/WPage.vue';
|
65
|
+
import { default as WPageNumerator } from '../components/Page/WPageNumerator.vue';
|
66
|
+
import { default as WPageTitle } from '../components/Page/WPageTitle.vue';
|
64
67
|
import { default as WProgress } from '../components/Progress/WProgress.vue';
|
65
68
|
import { default as WSelect } from '../components/Select/WSelect.vue';
|
66
69
|
import { default as WSelectAsync } from '../components/Select/WSelectAsync.vue';
|
@@ -80,5 +83,5 @@ declare const _default: {
|
|
80
83
|
install: (app: App | any) => void;
|
81
84
|
};
|
82
85
|
export default _default;
|
83
|
-
export { WActionsBar, WBottomSheet, WButton, WButtonAction, WButtonCopy, WButtonDropdown, WButtonGroup, WButtonMore, WButtonMoreItem, WButtonSelection, WButtonSelectionAction, WCheckbox, WChip, WClickOutside, WCounter, WDatePicker, WDatePickerSingle, WDropdown, WDropdownMenu, WEmptyComponent, WExpansion, WExpansionItem, WFieldWrapper, WFilePicker, WFilterWrapper, WForm, WFormAsyncButtonGroup, WFormAsyncInput, WFormAsyncSelect, WFormAsyncSelectInfiniteSingle, WFormAsyncSelectSingle, WFormAsyncSelectStringified, WFormAsyncToggle, WFormValidator, WHeaderBar, WImageViewer, WInfiniteList, WInfiniteListWrapper, WInfoCard, WInfoCardNegative, WInput, WInputAsync, WInputDate, WInputOptions, WInputSuggest, WLink, WLinkArrow, WList, WListCard, WListCardField, WListHeader, WListHeaderItem, WMenuItem, WModal, WModalStepper, WModalWrapper, WNavBar, WNavItem, WNavItemExpand, WNavItemTransition, WNotify, WNumberFormatter, WProgress, WSelect, WSelectAsync, WSelectAsyncList, WSelectAsyncSingle, WSelectSingle, WSelectStringified, WSkeleton, WSpinner, WTabs, WTabsColumns, WTabsItem, WToggle, WTooltip, WTooltipContainer, };
|
86
|
+
export { WActionsBar, WBottomSheet, WButton, WButtonAction, WButtonCopy, WButtonDropdown, WButtonGroup, WButtonMore, WButtonMoreItem, WButtonSelection, WButtonSelectionAction, WCheckbox, WChip, WClickOutside, WCounter, WDatePicker, WDatePickerSingle, WDropdown, WDropdownMenu, WEmptyComponent, WExpansion, WExpansionItem, WFieldWrapper, WFilePicker, WFilterWrapper, WForm, WFormAsyncButtonGroup, WFormAsyncInput, WFormAsyncSelect, WFormAsyncSelectInfiniteSingle, WFormAsyncSelectSingle, WFormAsyncSelectStringified, WFormAsyncToggle, WFormValidator, WHeaderBar, WImageViewer, WInfiniteList, WInfiniteListWrapper, WInfoCard, WInfoCardNegative, WInput, WInputAsync, WInputDate, WInputOptions, WInputSuggest, WLink, WLinkArrow, WList, WListCard, WListCardField, WListHeader, WListHeaderItem, WMenuItem, WModal, WModalStepper, WModalWrapper, WNavBar, WNavItem, WNavItemExpand, WNavItemTransition, WNotify, WNumberFormatter, WPage, WPageNumerator, WPageTitle, WProgress, WSelect, WSelectAsync, WSelectAsyncList, WSelectAsyncSingle, WSelectSingle, WSelectStringified, WSkeleton, WSpinner, WTabs, WTabsColumns, WTabsItem, WToggle, WTooltip, WTooltipContainer, };
|
84
87
|
//# sourceMappingURL=componentsPlugin.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"componentsPlugin.d.ts","sourceRoot":"","sources":["../../src/imports/componentsPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,GAAG,EAAC,MAAM,KAAK,CAAA;AAE5B,OAAO,WAAW,MAAM,yCAAyC,CAAA;AACjE,OAAO,YAAY,MAAM,2CAA2C,CAAA;AACpE,OAAO,OAAO,MAAM,iCAAiC,CAAA;AACrD,OAAO,aAAa,MAAM,uCAAuC,CAAA;AACjE,OAAO,WAAW,MAAM,qCAAq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AA;AACxD,OAAO,iBAAiB,MAAM,4CAA4C,CAAA;;mBAIzD,GAAG,GAAG,GAAG;;AAF1B,wBAoFC;AAED,OAAO,EACL,WAAW,EACX,YAAY,EACZ,OAAO,EACP,aAAa,EACb,WAAW,EACX,eAAe,EACf,YAAY,EACZ,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,sBAAsB,EACtB,SAAS,EACT,KAAK,EACL,aAAa,EACb,QAAQ,EACR,WAAW,EACX,iBAAiB,EACjB,SAAS,EACT,aAAa,EACb,eAAe,EACf,UAAU,EACV,cAAc,EACd,aAAa,EACb,WAAW,EACX,cAAc,EACd,KAAK,EACL,qBAAqB,EACrB,eAAe,EACf,gBAAgB,EAChB,8BAA8B,EAC9B,sBAAsB,EACtB,2BAA2B,EAC3B,gBAAgB,EAChB,cAAc,EACd,UAAU,EACV,YAAY,EACZ,aAAa,EACb,oBAAoB,EACpB,SAAS,EACT,iBAAiB,EACjB,MAAM,EACN,WAAW,EACX,UAAU,EACV,aAAa,EACb,aAAa,EACb,KAAK,EACL,UAAU,EACV,KAAK,EACL,SAAS,EACT,cAAc,EACd,WAAW,EACX,eAAe,EACf,SAAS,EACT,MAAM,EACN,aAAa,EACb,aAAa,EACb,OAAO,EACP,QAAQ,EACR,cAAc,EACd,kBAAkB,EAClB,OAAO,EACP,gBAAgB,EAChB,KAAK,EACL,cAAc,EACd,UAAU,EACV,SAAS,EACT,OAAO,EACP,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,aAAa,EACb,kBAAkB,EAClB,SAAS,EACT,QAAQ,EACR,KAAK,EACL,YAAY,EACZ,SAAS,EACT,OAAO,EACP,QAAQ,EACR,iBAAiB,GAClB,CAAA"}
|
package/dist/main.js
CHANGED
@@ -64,6 +64,9 @@ export { default as WNavItemExpand } from './components/Nav/WNavItemExpand.vue.j
|
|
64
64
|
export { default as WNavItemTransition } from './components/Nav/WNavItemTransition.vue.js';
|
65
65
|
export { default as WNotify } from './components/Notify/WNotify.vue.js';
|
66
66
|
export { default as WNumberFormatter } from './components/NumberFormatter/WNumberFormatter.vue.js';
|
67
|
+
export { default as WPage } from './components/Page/WPage.vue.js';
|
68
|
+
export { default as WPageNumerator } from './components/Page/WPageNumerator.vue.js';
|
69
|
+
export { default as WPageTitle } from './components/Page/WPageTitle.vue.js';
|
67
70
|
export { default as WProgress } from './components/Progress/WProgress.vue.js';
|
68
71
|
export { default as WSelect } from './components/Select/WSelect.vue.js';
|
69
72
|
export { default as WSelectAsync } from './components/Select/WSelectAsync.vue.js';
|
package/package.json
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
"type": "git",
|
5
5
|
"url": "https://github.com/rsmple/eco-vue-js.git"
|
6
6
|
},
|
7
|
-
"version": "0.9.
|
7
|
+
"version": "0.9.25",
|
8
8
|
"scripts": {
|
9
9
|
"build": "run-p type-check \"build-only {@}\" --",
|
10
10
|
"preview": "vite preview",
|
@@ -341,6 +341,15 @@
|
|
341
341
|
"./dist/components/NumberFormatter/WNumberFormatter.vue": {
|
342
342
|
"import": "./dist/components/NumberFormatter/WNumberFormatter.vue.js"
|
343
343
|
},
|
344
|
+
"./dist/components/Page/WPage.vue": {
|
345
|
+
"import": "./dist/components/Page/WPage.vue.js"
|
346
|
+
},
|
347
|
+
"./dist/components/Page/WPageNumerator.vue": {
|
348
|
+
"import": "./dist/components/Page/WPageNumerator.vue.js"
|
349
|
+
},
|
350
|
+
"./dist/components/Page/WPageTitle.vue": {
|
351
|
+
"import": "./dist/components/Page/WPageTitle.vue.js"
|
352
|
+
},
|
344
353
|
"./dist/components/Progress/WProgress.vue": {
|
345
354
|
"import": "./dist/components/Progress/WProgress.vue.js"
|
346
355
|
},
|