@stephenchenorg/astro 8.4.0 → 8.4.1
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/company-setting/{index.d.mts → index.d.ts} +2 -2
- package/dist/form-validator/{index.d.mts → index.d.ts} +9 -9
- package/dist/pagination-vue-client-side/{index.d.mts → index.d.ts} +7 -7
- package/dist/pagination-vue-server-side/{index.d.mts → index.d.ts} +11 -11
- package/package.json +20 -20
- /package/dist/api/{index.d.mts → index.d.ts} +0 -0
- /package/dist/api/{index.mjs → index.js} +0 -0
- /package/dist/company-setting/{index.mjs → index.js} +0 -0
- /package/dist/form-validator/{index.mjs → index.js} +0 -0
- /package/dist/image/{index.d.mts → index.d.ts} +0 -0
- /package/dist/image/{index.mjs → index.js} +0 -0
- /package/dist/page/{index.d.mts → index.d.ts} +0 -0
- /package/dist/page/{index.mjs → index.js} +0 -0
- /package/dist/pagination-astro/{index.d.mts → index.d.ts} +0 -0
- /package/dist/pagination-astro/{index.mjs → index.js} +0 -0
- /package/dist/pagination-vue-client-side/{index.mjs → index.js} +0 -0
- /package/dist/pagination-vue-server-side/{index.mjs → index.js} +0 -0
- /package/dist/query-params/{index.d.mts → index.d.ts} +0 -0
- /package/dist/query-params/{index.mjs → index.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as graphql2 from "graphql";
|
|
2
2
|
|
|
3
3
|
//#region src/company-setting/types.d.ts
|
|
4
4
|
interface DataCompanySetting {
|
|
@@ -42,6 +42,6 @@ declare function createCompanySetting(companySetting: Partial<CompanySetting>):
|
|
|
42
42
|
};
|
|
43
43
|
//#endregion
|
|
44
44
|
//#region src/company-setting/fragments.d.ts
|
|
45
|
-
declare const companySettingFields:
|
|
45
|
+
declare const companySettingFields: graphql2.DocumentNode;
|
|
46
46
|
//#endregion
|
|
47
47
|
export { CompanySetting, DataCompanySetting, companySettingFields, createCompanySetting };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue15 from "vue";
|
|
2
2
|
import { PropType, SlotsType } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/form-validator/types.d.ts
|
|
@@ -23,7 +23,7 @@ declare class FormValidator {
|
|
|
23
23
|
}
|
|
24
24
|
//#endregion
|
|
25
25
|
//#region src/form-validator/components/FormField.d.ts
|
|
26
|
-
declare const FormField:
|
|
26
|
+
declare const FormField: vue15.DefineComponent<vue15.ExtractPropTypes<{
|
|
27
27
|
id: {
|
|
28
28
|
type: StringConstructor;
|
|
29
29
|
required: true;
|
|
@@ -32,9 +32,9 @@ declare const FormField: vue9.DefineComponent<vue9.ExtractPropTypes<{
|
|
|
32
32
|
type: PropType<FormRule[]>;
|
|
33
33
|
default: () => never[];
|
|
34
34
|
};
|
|
35
|
-
}>, () =>
|
|
35
|
+
}>, () => vue15.VNode<vue15.RendererNode, vue15.RendererElement, {
|
|
36
36
|
[key: string]: any;
|
|
37
|
-
}>[], {}, {}, {},
|
|
37
|
+
}>[], {}, {}, {}, vue15.ComponentOptionsMixin, vue15.ComponentOptionsMixin, {}, string, vue15.PublicProps, Readonly<vue15.ExtractPropTypes<{
|
|
38
38
|
id: {
|
|
39
39
|
type: StringConstructor;
|
|
40
40
|
required: true;
|
|
@@ -49,20 +49,20 @@ declare const FormField: vue9.DefineComponent<vue9.ExtractPropTypes<{
|
|
|
49
49
|
default: {
|
|
50
50
|
error: string | null;
|
|
51
51
|
};
|
|
52
|
-
}>, {}, {}, string,
|
|
52
|
+
}>, {}, {}, string, vue15.ComponentProvideOptions, true, {}, any>;
|
|
53
53
|
//#endregion
|
|
54
54
|
//#region src/form-validator/components/FormValidatorProvider.d.ts
|
|
55
55
|
interface FormValidatorProviderExposed {
|
|
56
56
|
formValidator: () => FormValidator;
|
|
57
57
|
}
|
|
58
|
-
declare const FormValidatorProvider:
|
|
58
|
+
declare const FormValidatorProvider: vue15.DefineComponent<vue15.ExtractPropTypes<{
|
|
59
59
|
errors: {
|
|
60
60
|
type: PropType<FormErrors>;
|
|
61
61
|
default: () => {};
|
|
62
62
|
};
|
|
63
|
-
}>, () =>
|
|
63
|
+
}>, () => vue15.VNode<vue15.RendererNode, vue15.RendererElement, {
|
|
64
64
|
[key: string]: any;
|
|
65
|
-
}>[], {}, {}, {},
|
|
65
|
+
}>[], {}, {}, {}, vue15.ComponentOptionsMixin, vue15.ComponentOptionsMixin, {}, string, vue15.PublicProps, Readonly<vue15.ExtractPropTypes<{
|
|
66
66
|
errors: {
|
|
67
67
|
type: PropType<FormErrors>;
|
|
68
68
|
default: () => {};
|
|
@@ -73,7 +73,7 @@ declare const FormValidatorProvider: vue9.DefineComponent<vue9.ExtractPropTypes<
|
|
|
73
73
|
default: {
|
|
74
74
|
errors: FormErrors;
|
|
75
75
|
};
|
|
76
|
-
}>, {}, {}, string,
|
|
76
|
+
}>, {}, {}, string, vue15.ComponentProvideOptions, true, {}, any>;
|
|
77
77
|
//#endregion
|
|
78
78
|
//#region src/form-validator/useFormValidator.d.ts
|
|
79
79
|
declare function useFormValidator(): FormValidator;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue0 from "vue";
|
|
2
2
|
import { MaybeRefOrGetter } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/pagination-vue-client-side/types.d.ts
|
|
@@ -16,12 +16,12 @@ declare function usePagination(options: {
|
|
|
16
16
|
visiblePages?: MaybeRefOrGetter<number | undefined>;
|
|
17
17
|
onChange?: (page: number) => void;
|
|
18
18
|
}): {
|
|
19
|
-
items:
|
|
20
|
-
showPagination:
|
|
21
|
-
canFirst:
|
|
22
|
-
canPrev:
|
|
23
|
-
canNext:
|
|
24
|
-
canLast:
|
|
19
|
+
items: vue0.ComputedRef<number[]>;
|
|
20
|
+
showPagination: vue0.ComputedRef<boolean>;
|
|
21
|
+
canFirst: vue0.ComputedRef<boolean>;
|
|
22
|
+
canPrev: vue0.ComputedRef<boolean>;
|
|
23
|
+
canNext: vue0.ComputedRef<boolean>;
|
|
24
|
+
canLast: vue0.ComputedRef<boolean>;
|
|
25
25
|
gotoFirst: () => void;
|
|
26
26
|
gotoPrev: () => void;
|
|
27
27
|
gotoNext: () => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue5 from "vue";
|
|
2
2
|
import { MaybeRefOrGetter } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/pagination-vue-server-side/types.d.ts
|
|
@@ -16,16 +16,16 @@ declare function usePagination(options: {
|
|
|
16
16
|
perPage?: MaybeRefOrGetter<number | undefined>;
|
|
17
17
|
visiblePages?: MaybeRefOrGetter<number | undefined>;
|
|
18
18
|
}): {
|
|
19
|
-
items:
|
|
20
|
-
showPagination:
|
|
21
|
-
canFirst:
|
|
22
|
-
canPrev:
|
|
23
|
-
canNext:
|
|
24
|
-
canLast:
|
|
25
|
-
firstUrl:
|
|
26
|
-
prevUrl:
|
|
27
|
-
nextUrl:
|
|
28
|
-
lastUrl:
|
|
19
|
+
items: vue5.ComputedRef<number[]>;
|
|
20
|
+
showPagination: vue5.ComputedRef<boolean>;
|
|
21
|
+
canFirst: vue5.ComputedRef<boolean>;
|
|
22
|
+
canPrev: vue5.ComputedRef<boolean>;
|
|
23
|
+
canNext: vue5.ComputedRef<boolean>;
|
|
24
|
+
canLast: vue5.ComputedRef<boolean>;
|
|
25
|
+
firstUrl: vue5.ComputedRef<string>;
|
|
26
|
+
prevUrl: vue5.ComputedRef<string>;
|
|
27
|
+
nextUrl: vue5.ComputedRef<string>;
|
|
28
|
+
lastUrl: vue5.ComputedRef<string>;
|
|
29
29
|
getUrl: (page: number) => string;
|
|
30
30
|
};
|
|
31
31
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stephenchenorg/astro",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "8.4.
|
|
4
|
+
"version": "8.4.1",
|
|
5
5
|
"description": "Stephenchenorg Astro 前端通用套件",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://stephenchenorg-astro.netlify.app",
|
|
@@ -20,43 +20,43 @@
|
|
|
20
20
|
],
|
|
21
21
|
"exports": {
|
|
22
22
|
"./api": {
|
|
23
|
-
"types": "./dist/api/index.d.
|
|
24
|
-
"import": "./dist/api/index.
|
|
23
|
+
"types": "./dist/api/index.d.ts",
|
|
24
|
+
"import": "./dist/api/index.js"
|
|
25
25
|
},
|
|
26
26
|
"./company-setting": {
|
|
27
|
-
"types": "./dist/company-setting/index.d.
|
|
28
|
-
"import": "./dist/company-setting/index.
|
|
27
|
+
"types": "./dist/company-setting/index.d.ts",
|
|
28
|
+
"import": "./dist/company-setting/index.js"
|
|
29
29
|
},
|
|
30
30
|
"./form-validator": {
|
|
31
|
-
"types": "./dist/form-validator/index.d.
|
|
32
|
-
"import": "./dist/form-validator/index.
|
|
31
|
+
"types": "./dist/form-validator/index.d.ts",
|
|
32
|
+
"import": "./dist/form-validator/index.js"
|
|
33
33
|
},
|
|
34
34
|
"./image": {
|
|
35
|
-
"types": "./dist/image/index.d.
|
|
36
|
-
"import": "./dist/image/index.
|
|
35
|
+
"types": "./dist/image/index.d.ts",
|
|
36
|
+
"import": "./dist/image/index.js"
|
|
37
37
|
},
|
|
38
38
|
"./image/components/Image.astro": "./dist/image/components/Image.astro",
|
|
39
39
|
"./image/components/ResponsiveImage.astro": "./dist/image/components/ResponsiveImage.astro",
|
|
40
40
|
"./page": {
|
|
41
|
-
"types": "./dist/page/index.d.
|
|
42
|
-
"import": "./dist/page/index.
|
|
41
|
+
"types": "./dist/page/index.d.ts",
|
|
42
|
+
"import": "./dist/page/index.js"
|
|
43
43
|
},
|
|
44
44
|
"./page/components/PageFieldRender.astro": "./dist/page/components/PageFieldRender.astro",
|
|
45
45
|
"./pagination-astro": {
|
|
46
|
-
"types": "./dist/pagination-astro/index.d.
|
|
47
|
-
"import": "./dist/pagination-astro/index.
|
|
46
|
+
"types": "./dist/pagination-astro/index.d.ts",
|
|
47
|
+
"import": "./dist/pagination-astro/index.js"
|
|
48
48
|
},
|
|
49
49
|
"./pagination-vue-client-side": {
|
|
50
|
-
"types": "./dist/pagination-vue-client-side/index.d.
|
|
51
|
-
"import": "./dist/pagination-vue-client-side/index.
|
|
50
|
+
"types": "./dist/pagination-vue-client-side/index.d.ts",
|
|
51
|
+
"import": "./dist/pagination-vue-client-side/index.js"
|
|
52
52
|
},
|
|
53
53
|
"./pagination-vue-server-side": {
|
|
54
|
-
"types": "./dist/pagination-vue-server-side/index.d.
|
|
55
|
-
"import": "./dist/pagination-vue-server-side/index.
|
|
54
|
+
"types": "./dist/pagination-vue-server-side/index.d.ts",
|
|
55
|
+
"import": "./dist/pagination-vue-server-side/index.js"
|
|
56
56
|
},
|
|
57
57
|
"./query-params": {
|
|
58
|
-
"types": "./dist/query-params/index.d.
|
|
59
|
-
"import": "./dist/query-params/index.
|
|
58
|
+
"types": "./dist/query-params/index.d.ts",
|
|
59
|
+
"import": "./dist/query-params/index.js"
|
|
60
60
|
},
|
|
61
61
|
"./query-params/components/ProvideUrlConfig.astro": "./dist/query-params/components/ProvideUrlConfig.astro"
|
|
62
62
|
},
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"devDependencies": {
|
|
105
105
|
"@astrojs/check": "^0.9.5",
|
|
106
106
|
"@astrojs/vue": "^5.1.3",
|
|
107
|
-
"@ycs77/eslint-config": "^6.
|
|
107
|
+
"@ycs77/eslint-config": "^6.1.0",
|
|
108
108
|
"astro": "^5.15.9",
|
|
109
109
|
"bumpp": "^10.3.1",
|
|
110
110
|
"eslint": "^9.39.1",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|