@94ai/nf-double-half-year 4.0.13 → 4.0.16

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.
@@ -1,160 +1,160 @@
1
- import { HalfYearItem } from './types';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
- value?: string[] | undefined;
4
- size?: "small" | "mini" | "medium" | "large" | undefined;
5
- rangeSeparator?: string | undefined;
6
- readonly?: boolean | undefined;
7
- clearable?: boolean | undefined;
8
- startPlaceholder?: string | undefined;
9
- endPlaceholder?: string | undefined;
10
- format?: Function | undefined;
11
- disabled?: boolean | undefined;
12
- prefixIcon?: string | undefined;
13
- clearIcon?: string | undefined;
14
- transition?: string | undefined;
15
- placement?: string | undefined;
16
- popperClass?: string | undefined;
17
- trigger?: string | undefined;
18
- offset?: number | undefined;
19
- visibleArrow?: boolean | undefined;
20
- popperOptions?: Object | undefined;
21
- openDelay?: number | undefined;
22
- closeDelay?: number | undefined;
23
- tabindex?: number | undefined;
24
- appendToBody?: boolean | undefined;
25
- }>, {
26
- value: undefined;
27
- rangeSeparator: string;
28
- readonly: boolean;
29
- clearable: boolean;
30
- startPlaceholder: string;
31
- endPlaceholder: string;
32
- disabled: boolean;
33
- offset: number;
34
- prefixIcon: string;
35
- clearIcon: string;
36
- transition: string;
37
- placement: string;
38
- popperClass: string;
39
- trigger: string;
40
- visibleArrow: boolean;
41
- openDelay: undefined;
42
- closeDelay: number;
43
- tabindex: number;
44
- appendToBody: boolean;
45
- format: (data: string) => string;
46
- popperOptions: () => {
47
- boundariesElement: string;
48
- gpuAcceleration: boolean;
49
- };
50
- }>, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
51
- "update:value": (val: string[] | null) => void;
52
- input: (val: string[] | null) => void;
53
- change: (value: (HalfYearItem & {
54
- startDate: string;
55
- endDate: string;
56
- })[]) => void;
57
- show: (value: undefined) => void;
58
- "after-enter": (value: undefined) => void;
59
- hide: (value: undefined) => void;
60
- "after-leave": (value: undefined) => void;
61
- blur: (value: any) => void;
62
- focus: (value: any) => void;
63
- }, string, Readonly<import("vue-demi").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
64
- value?: string[] | undefined;
65
- size?: "small" | "mini" | "medium" | "large" | undefined;
66
- rangeSeparator?: string | undefined;
67
- readonly?: boolean | undefined;
68
- clearable?: boolean | undefined;
69
- startPlaceholder?: string | undefined;
70
- endPlaceholder?: string | undefined;
71
- format?: Function | undefined;
72
- disabled?: boolean | undefined;
73
- prefixIcon?: string | undefined;
74
- clearIcon?: string | undefined;
75
- transition?: string | undefined;
76
- placement?: string | undefined;
77
- popperClass?: string | undefined;
78
- trigger?: string | undefined;
79
- offset?: number | undefined;
80
- visibleArrow?: boolean | undefined;
81
- popperOptions?: Object | undefined;
82
- openDelay?: number | undefined;
83
- closeDelay?: number | undefined;
84
- tabindex?: number | undefined;
85
- appendToBody?: boolean | undefined;
86
- }>, {
87
- value: undefined;
88
- rangeSeparator: string;
89
- readonly: boolean;
90
- clearable: boolean;
91
- startPlaceholder: string;
92
- endPlaceholder: string;
93
- disabled: boolean;
94
- offset: number;
95
- prefixIcon: string;
96
- clearIcon: string;
97
- transition: string;
98
- placement: string;
99
- popperClass: string;
100
- trigger: string;
101
- visibleArrow: boolean;
102
- openDelay: undefined;
103
- closeDelay: number;
104
- tabindex: number;
105
- appendToBody: boolean;
106
- format: (data: string) => string;
107
- popperOptions: () => {
108
- boundariesElement: string;
109
- gpuAcceleration: boolean;
110
- };
111
- }>>>, {
112
- offset: number;
113
- transition: string;
114
- value: string[];
115
- rangeSeparator: string;
116
- readonly: boolean;
117
- clearable: boolean;
118
- startPlaceholder: string;
119
- endPlaceholder: string;
120
- format: Function;
121
- disabled: boolean;
122
- prefixIcon: string;
123
- clearIcon: string;
124
- placement: string;
125
- popperClass: string;
126
- trigger: string;
127
- visibleArrow: boolean;
128
- popperOptions: Object;
129
- openDelay: number;
130
- closeDelay: number;
131
- tabindex: number;
132
- appendToBody: boolean;
133
- }>, {
134
- "range-separator"?(_: {
135
- slot: string;
136
- }): any;
137
- }>;
138
- export default _default;
139
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
140
- declare type __VLS_TypePropsToRuntimeProps<T> = {
141
- [K in keyof T]-?: {} extends Pick<T, K> ? {
142
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
143
- } : {
144
- type: import('vue').PropType<T[K]>;
145
- required: true;
146
- };
147
- };
148
- declare type __VLS_WithDefaults<P, D> = {
149
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
150
- default: D[K];
151
- }> : P[K];
152
- };
153
- declare type __VLS_Prettify<T> = {
154
- [K in keyof T]: T[K];
155
- } & {};
156
- declare type __VLS_WithTemplateSlots<T, S> = T & {
157
- new (): {
158
- $scopedSlots: S;
159
- };
160
- };
1
+ import { HalfYearItem } from './types';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ value?: string[] | undefined;
4
+ size?: "small" | "mini" | "medium" | "large" | undefined;
5
+ rangeSeparator?: string | undefined;
6
+ readonly?: boolean | undefined;
7
+ clearable?: boolean | undefined;
8
+ startPlaceholder?: string | undefined;
9
+ endPlaceholder?: string | undefined;
10
+ format?: Function | undefined;
11
+ disabled?: boolean | undefined;
12
+ prefixIcon?: string | undefined;
13
+ clearIcon?: string | undefined;
14
+ transition?: string | undefined;
15
+ placement?: string | undefined;
16
+ popperClass?: string | undefined;
17
+ trigger?: string | undefined;
18
+ offset?: number | undefined;
19
+ visibleArrow?: boolean | undefined;
20
+ popperOptions?: Object | undefined;
21
+ openDelay?: number | undefined;
22
+ closeDelay?: number | undefined;
23
+ tabindex?: number | undefined;
24
+ appendToBody?: boolean | undefined;
25
+ }>, {
26
+ value: undefined;
27
+ rangeSeparator: string;
28
+ readonly: boolean;
29
+ clearable: boolean;
30
+ startPlaceholder: string;
31
+ endPlaceholder: string;
32
+ disabled: boolean;
33
+ offset: number;
34
+ prefixIcon: string;
35
+ clearIcon: string;
36
+ transition: string;
37
+ placement: string;
38
+ popperClass: string;
39
+ trigger: string;
40
+ visibleArrow: boolean;
41
+ openDelay: undefined;
42
+ closeDelay: number;
43
+ tabindex: number;
44
+ appendToBody: boolean;
45
+ format: (data: string) => string;
46
+ popperOptions: () => {
47
+ boundariesElement: string;
48
+ gpuAcceleration: boolean;
49
+ };
50
+ }>, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
51
+ "update:value": (val: string[] | null) => void;
52
+ input: (val: string[] | null) => void;
53
+ change: (value: (HalfYearItem & {
54
+ startDate: string;
55
+ endDate: string;
56
+ })[]) => void;
57
+ show: (value: undefined) => void;
58
+ "after-enter": (value: undefined) => void;
59
+ hide: (value: undefined) => void;
60
+ "after-leave": (value: undefined) => void;
61
+ blur: (value: any) => void;
62
+ focus: (value: any) => void;
63
+ }, string, Readonly<import("vue-demi").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
64
+ value?: string[] | undefined;
65
+ size?: "small" | "mini" | "medium" | "large" | undefined;
66
+ rangeSeparator?: string | undefined;
67
+ readonly?: boolean | undefined;
68
+ clearable?: boolean | undefined;
69
+ startPlaceholder?: string | undefined;
70
+ endPlaceholder?: string | undefined;
71
+ format?: Function | undefined;
72
+ disabled?: boolean | undefined;
73
+ prefixIcon?: string | undefined;
74
+ clearIcon?: string | undefined;
75
+ transition?: string | undefined;
76
+ placement?: string | undefined;
77
+ popperClass?: string | undefined;
78
+ trigger?: string | undefined;
79
+ offset?: number | undefined;
80
+ visibleArrow?: boolean | undefined;
81
+ popperOptions?: Object | undefined;
82
+ openDelay?: number | undefined;
83
+ closeDelay?: number | undefined;
84
+ tabindex?: number | undefined;
85
+ appendToBody?: boolean | undefined;
86
+ }>, {
87
+ value: undefined;
88
+ rangeSeparator: string;
89
+ readonly: boolean;
90
+ clearable: boolean;
91
+ startPlaceholder: string;
92
+ endPlaceholder: string;
93
+ disabled: boolean;
94
+ offset: number;
95
+ prefixIcon: string;
96
+ clearIcon: string;
97
+ transition: string;
98
+ placement: string;
99
+ popperClass: string;
100
+ trigger: string;
101
+ visibleArrow: boolean;
102
+ openDelay: undefined;
103
+ closeDelay: number;
104
+ tabindex: number;
105
+ appendToBody: boolean;
106
+ format: (data: string) => string;
107
+ popperOptions: () => {
108
+ boundariesElement: string;
109
+ gpuAcceleration: boolean;
110
+ };
111
+ }>>>, {
112
+ offset: number;
113
+ transition: string;
114
+ value: string[];
115
+ rangeSeparator: string;
116
+ readonly: boolean;
117
+ clearable: boolean;
118
+ startPlaceholder: string;
119
+ endPlaceholder: string;
120
+ format: Function;
121
+ disabled: boolean;
122
+ prefixIcon: string;
123
+ clearIcon: string;
124
+ placement: string;
125
+ popperClass: string;
126
+ trigger: string;
127
+ visibleArrow: boolean;
128
+ popperOptions: Object;
129
+ openDelay: number;
130
+ closeDelay: number;
131
+ tabindex: number;
132
+ appendToBody: boolean;
133
+ }>, {
134
+ "range-separator"?(_: {
135
+ slot: string;
136
+ }): any;
137
+ }>;
138
+ export default _default;
139
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
140
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
141
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
142
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
143
+ } : {
144
+ type: import('vue').PropType<T[K]>;
145
+ required: true;
146
+ };
147
+ };
148
+ declare type __VLS_WithDefaults<P, D> = {
149
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
150
+ default: D[K];
151
+ }> : P[K];
152
+ };
153
+ declare type __VLS_Prettify<T> = {
154
+ [K in keyof T]: T[K];
155
+ } & {};
156
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
157
+ new (): {
158
+ $scopedSlots: S;
159
+ };
160
+ };
@@ -1,49 +1,49 @@
1
- import { HalfYearItem } from './types';
2
- declare const _default: import("vue-demi").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
- year?: number | undefined;
4
- halfYear?: string[] | undefined;
5
- showLeft?: boolean | undefined;
6
- showRight?: boolean | undefined;
7
- }>, {
8
- year: number;
9
- halfYear: () => never[];
10
- showLeft: boolean;
11
- showRight: boolean;
12
- }>, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
13
- "on-half-year-click": (val: HalfYearItem) => void;
14
- "update:year": (value: number) => void;
15
- "on-year-change": (value: number) => void;
16
- }, string, Readonly<import("vue-demi").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
17
- year?: number | undefined;
18
- halfYear?: string[] | undefined;
19
- showLeft?: boolean | undefined;
20
- showRight?: boolean | undefined;
21
- }>, {
22
- year: number;
23
- halfYear: () => never[];
24
- showLeft: boolean;
25
- showRight: boolean;
26
- }>>>, {
27
- year: number;
28
- halfYear: string[];
29
- showLeft: boolean;
30
- showRight: boolean;
31
- }>;
32
- export default _default;
33
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
34
- declare type __VLS_TypePropsToRuntimeProps<T> = {
35
- [K in keyof T]-?: {} extends Pick<T, K> ? {
36
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
37
- } : {
38
- type: import('vue').PropType<T[K]>;
39
- required: true;
40
- };
41
- };
42
- declare type __VLS_WithDefaults<P, D> = {
43
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
44
- default: D[K];
45
- }> : P[K];
46
- };
47
- declare type __VLS_Prettify<T> = {
48
- [K in keyof T]: T[K];
49
- } & {};
1
+ import { HalfYearItem } from './types';
2
+ declare const _default: import("vue-demi").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ year?: number | undefined;
4
+ halfYear?: string[] | undefined;
5
+ showLeft?: boolean | undefined;
6
+ showRight?: boolean | undefined;
7
+ }>, {
8
+ year: number;
9
+ halfYear: () => never[];
10
+ showLeft: boolean;
11
+ showRight: boolean;
12
+ }>, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
13
+ "on-half-year-click": (val: HalfYearItem) => void;
14
+ "update:year": (value: number) => void;
15
+ "on-year-change": (value: number) => void;
16
+ }, string, Readonly<import("vue-demi").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
17
+ year?: number | undefined;
18
+ halfYear?: string[] | undefined;
19
+ showLeft?: boolean | undefined;
20
+ showRight?: boolean | undefined;
21
+ }>, {
22
+ year: number;
23
+ halfYear: () => never[];
24
+ showLeft: boolean;
25
+ showRight: boolean;
26
+ }>>>, {
27
+ year: number;
28
+ halfYear: string[];
29
+ showLeft: boolean;
30
+ showRight: boolean;
31
+ }>;
32
+ export default _default;
33
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
34
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
35
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
36
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
37
+ } : {
38
+ type: import('vue').PropType<T[K]>;
39
+ required: true;
40
+ };
41
+ };
42
+ declare type __VLS_WithDefaults<P, D> = {
43
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
44
+ default: D[K];
45
+ }> : P[K];
46
+ };
47
+ declare type __VLS_Prettify<T> = {
48
+ [K in keyof T]: T[K];
49
+ } & {};
@@ -1 +1 @@
1
-
1
+
@@ -1 +1 @@
1
-
1
+
package/lib/types.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- export interface HalfYearItem {
2
- label: '上半年' | '下半年';
3
- value: string;
4
- year: number;
5
- halfYear: 1 | 2;
6
- }
1
+ export interface HalfYearItem {
2
+ label: '上半年' | '下半年';
3
+ value: string;
4
+ year: number;
5
+ halfYear: 1 | 2;
6
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/nf-double-half-year",
3
- "version": "4.0.13",
3
+ "version": "4.0.16",
4
4
  "description": "> TODO: description",
5
5
  "keywords": [],
6
6
  "author": "zoujiahe <zoujiahe@94ai.com>",
@@ -14,8 +14,8 @@
14
14
  "url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
15
15
  },
16
16
  "dependencies": {
17
- "@94ai/common-utils": "^4.0.13",
18
- "@94ai/nf-theme-chalk": "^4.0.13",
17
+ "@94ai/common-utils": "^4.0.16",
18
+ "@94ai/nf-theme-chalk": "^4.0.16",
19
19
  "vue-demi": "^0.14.5"
20
20
  },
21
21
  "peerDependenciesMeta": {
@@ -31,5 +31,5 @@
31
31
  "types": "lib/index.d.ts",
32
32
  "main": "lib/nf-double-half-year.cjs.js",
33
33
  "module": "lib/nf-double-half-year.esm-bundler.js",
34
- "gitHead": "2c108ff0cff11d3b94b8f84c0ede3b54e50e538c"
34
+ "gitHead": "d471e0b9b19168d34c609f6cb7c8a2b692d342b2"
35
35
  }