@bscjc/webui 1.0.0 → 1.0.2

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.
@@ -0,0 +1,99 @@
1
+ import { Plugin } from 'vue';
2
+ type SFCWithInstall<T> = T & Plugin;
3
+ export declare const JcCascader: SFCWithInstall<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ field: {
5
+ type: StringConstructor;
6
+ required: true;
7
+ default: string;
8
+ };
9
+ options: {
10
+ type: import('vue').PropType<Array<{
11
+ label: string;
12
+ value: string;
13
+ children?: Array<{
14
+ label: string;
15
+ value: string;
16
+ }>;
17
+ }>> | never[];
18
+ default: () => never[];
19
+ };
20
+ keyField: {
21
+ type: any;
22
+ default: () => string[];
23
+ };
24
+ width: {
25
+ type: StringConstructor;
26
+ default: string;
27
+ };
28
+ size: {
29
+ type: import('vue').PropType<"small" | "default" | "large">;
30
+ default: string;
31
+ validator: (value: string) => boolean;
32
+ };
33
+ footerBtnName: {
34
+ type: StringConstructor;
35
+ default: string;
36
+ };
37
+ isNeedFooter: {
38
+ type: BooleanConstructor;
39
+ default: boolean;
40
+ };
41
+ }>, {
42
+ [x: string]: any;
43
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
44
+ field: {
45
+ type: StringConstructor;
46
+ required: true;
47
+ default: string;
48
+ };
49
+ options: {
50
+ type: import('vue').PropType<Array<{
51
+ label: string;
52
+ value: string;
53
+ children?: Array<{
54
+ label: string;
55
+ value: string;
56
+ }>;
57
+ }>> | never[];
58
+ default: () => never[];
59
+ };
60
+ keyField: {
61
+ type: any;
62
+ default: () => string[];
63
+ };
64
+ width: {
65
+ type: StringConstructor;
66
+ default: string;
67
+ };
68
+ size: {
69
+ type: import('vue').PropType<"small" | "default" | "large">;
70
+ default: string;
71
+ validator: (value: string) => boolean;
72
+ };
73
+ footerBtnName: {
74
+ type: StringConstructor;
75
+ default: string;
76
+ };
77
+ isNeedFooter: {
78
+ type: BooleanConstructor;
79
+ default: boolean;
80
+ };
81
+ }>> & Readonly<{}>, {
82
+ size: "small" | "default" | "large";
83
+ field: string;
84
+ options: {
85
+ label: string;
86
+ value: string;
87
+ children?: Array<{
88
+ label: string;
89
+ value: string;
90
+ }>;
91
+ }[];
92
+ keyField: any;
93
+ width: string;
94
+ footerBtnName: string;
95
+ isNeedFooter: boolean;
96
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
97
+ cascaderRef: unknown;
98
+ }, any>>;
99
+ export default JcCascader;
@@ -0,0 +1,86 @@
1
+ import { PropType } from 'vue';
2
+ type Item = {
3
+ label: string;
4
+ value: string;
5
+ };
6
+ type CascaderItem = {
7
+ label: string;
8
+ value: string;
9
+ children?: Array<Item>;
10
+ };
11
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
12
+ field: {
13
+ type: StringConstructor;
14
+ required: true;
15
+ default: string;
16
+ };
17
+ options: {
18
+ type: PropType<Array<CascaderItem>> | never[];
19
+ default: () => never[];
20
+ };
21
+ keyField: {
22
+ type: any;
23
+ default: () => string[];
24
+ };
25
+ width: {
26
+ type: StringConstructor;
27
+ default: string;
28
+ };
29
+ size: {
30
+ type: PropType<"small" | "default" | "large">;
31
+ default: string;
32
+ validator: (value: string) => boolean;
33
+ };
34
+ footerBtnName: {
35
+ type: StringConstructor;
36
+ default: string;
37
+ };
38
+ isNeedFooter: {
39
+ type: BooleanConstructor;
40
+ default: boolean;
41
+ };
42
+ }>, {
43
+ [x: string]: any;
44
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
45
+ field: {
46
+ type: StringConstructor;
47
+ required: true;
48
+ default: string;
49
+ };
50
+ options: {
51
+ type: PropType<Array<CascaderItem>> | never[];
52
+ default: () => never[];
53
+ };
54
+ keyField: {
55
+ type: any;
56
+ default: () => string[];
57
+ };
58
+ width: {
59
+ type: StringConstructor;
60
+ default: string;
61
+ };
62
+ size: {
63
+ type: PropType<"small" | "default" | "large">;
64
+ default: string;
65
+ validator: (value: string) => boolean;
66
+ };
67
+ footerBtnName: {
68
+ type: StringConstructor;
69
+ default: string;
70
+ };
71
+ isNeedFooter: {
72
+ type: BooleanConstructor;
73
+ default: boolean;
74
+ };
75
+ }>> & Readonly<{}>, {
76
+ size: "small" | "default" | "large";
77
+ field: string;
78
+ options: CascaderItem[];
79
+ keyField: any;
80
+ width: string;
81
+ footerBtnName: string;
82
+ isNeedFooter: boolean;
83
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
84
+ cascaderRef: unknown;
85
+ }, any>;
86
+ export default _default;
@@ -1,4 +1,4 @@
1
- import { PropType } from 'vue';
1
+ import { PropType, nextTick } from 'vue';
2
2
  type fieldType = {
3
3
  label: string;
4
4
  value: string;
@@ -340,7 +340,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
340
340
  errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
341
341
  };
342
342
  $forceUpdate: () => void;
343
- $nextTick: typeof import('vue').nextTick;
343
+ $nextTick: typeof nextTick;
344
344
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
345
345
  } & Readonly<{
346
346
  readonly disabled: boolean;
@@ -1,4 +1,4 @@
1
- import { PropType } from 'vue';
1
+ import { PropType, nextTick } from 'vue';
2
2
  type fieldType = {
3
3
  label: string;
4
4
  value: string;
@@ -340,7 +340,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
340
340
  errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
341
341
  };
342
342
  $forceUpdate: () => void;
343
- $nextTick: typeof import('vue').nextTick;
343
+ $nextTick: typeof nextTick;
344
344
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
345
345
  } & Readonly<{
346
346
  readonly disabled: boolean;
@@ -1,4 +1,4 @@
1
- import { PropType } from 'vue';
1
+ import { PropType, nextTick } from 'vue';
2
2
  type fieldType = {
3
3
  label: string;
4
4
  value: string;
@@ -335,7 +335,7 @@ declare function __VLS_template(): {
335
335
  errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
336
336
  };
337
337
  $forceUpdate: () => void;
338
- $nextTick: typeof import('vue').nextTick;
338
+ $nextTick: typeof nextTick;
339
339
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
340
340
  } & Readonly<{
341
341
  readonly disabled: boolean;
@@ -961,7 +961,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
961
961
  errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
962
962
  };
963
963
  $forceUpdate: () => void;
964
- $nextTick: typeof import('vue').nextTick;
964
+ $nextTick: typeof nextTick;
965
965
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
966
966
  } & Readonly<{
967
967
  readonly disabled: boolean;
@@ -1,4 +1,5 @@
1
1
  export * from './JcSelectQuery/index';
2
+ export * from './JcCascader/index';
2
3
  export * from './JcDatePicker/index';
3
4
  export * from './JcInputSwitch/index';
4
5
  export * from './JcInputComplex/index';
@@ -1,8 +1,9 @@
1
1
  import * as components from "./components/index";
2
- declare module '@vue/runtime-core' {
2
+ declare module "@vue/runtime-core" {
3
3
  export interface GlobalComponents {
4
4
  // Auto generated component types
5
5
  JcSelectQuery: typeof components.JcSelectQuery;
6
+ JcCascader: typeof components.JcCascader;
6
7
  JcDatePicker: typeof components.JcDatePicker;
7
8
  JcInputSwitch: typeof components.JcInputSwitch;
8
9
  JcInputComplex: typeof components.JcInputComplex;
@@ -11,10 +12,9 @@ declare module '@vue/runtime-core' {
11
12
  JcListLayout: typeof components.JcListLayout;
12
13
 
13
14
  // Global component extensions
14
- [key: `Jc${string}`]: import('vue').DefineComponent
15
- [key: `jc-${string}`]: import('vue').DefineComponent
15
+ [key: `Jc${string}`]: import("vue").DefineComponent;
16
+ [key: `jc-${string}`]: import("vue").DefineComponent;
16
17
  }
17
18
  }
18
19
 
19
-
20
20
  export {};
@@ -1,4 +1,4 @@
1
- export declare const reactiveQuery: (params?: {}) => {
1
+ export declare const reactiveQuery: (params?: any) => {
2
2
  queryForm: Record<string, any>;
3
3
  setQuery: (key: string, value: any) => void;
4
4
  addTag: (tag: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bscjc/webui",
3
3
  "private": false,
4
- "version": "1.0.0",
4
+ "version": "1.0.2",
5
5
  "type": "module",
6
6
  "main": "./dist/lib/index.cjs",
7
7
  "module": "./dist/es/index.mjs",
@@ -52,5 +52,5 @@
52
52
  "cssnano": "^7.0.7",
53
53
  "unplugin-element-plus": "^0.10.0"
54
54
  },
55
- "gitHead": "ecb014d62f0f22fea8318742440f845c31884f17"
55
+ "gitHead": "691605298f19c62168f7d9a6745e5f1aaaa1991c"
56
56
  }