kso-sel-org 1.0.5 → 1.0.7

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,17 @@
1
+ export declare const load: () => {
2
+ dialog: any;
3
+ columns: any;
4
+ queryCondis: any;
5
+ pagination: any;
6
+ tableData: any;
7
+ load_dialog_config: () => Promise<void>;
8
+ page_current_change: () => void;
9
+ sort_change: ({ prop, order }: {
10
+ prop: any;
11
+ order: any;
12
+ }) => void;
13
+ load_table_data: (pageNum?: number) => void;
14
+ sort_header_cell_class: ({ column }: {
15
+ column: any;
16
+ }) => string;
17
+ };
@@ -0,0 +1,2 @@
1
+ import kuDialog from './components/dialog.vue';
2
+ export { kuDialog as kuDialog };
@@ -0,0 +1,28 @@
1
+ export declare const load: () => {
2
+ load_grid_config: () => Promise<void>;
3
+ load_table_data: (pageNum?: number) => void;
4
+ filter_change: (filters: any) => void;
5
+ sort_header_cell_class: ({ column }: {
6
+ column: any;
7
+ }) => string;
8
+ sort_change: ({ prop, order }: {
9
+ prop: any;
10
+ order: any;
11
+ }) => void;
12
+ page_size_change: () => void;
13
+ page_current_change: () => void;
14
+ clearRowFilter: () => void;
15
+ lstabRef: any;
16
+ cfgLoading: any;
17
+ queryCondis: any;
18
+ columns: any;
19
+ loading: any;
20
+ lstab: any;
21
+ headFuncOper: any;
22
+ rowFuncOper: any;
23
+ headFuncOperBatch: any;
24
+ rowFuncOperBatch: any;
25
+ quickFilter: any;
26
+ pagination: any;
27
+ tableData: any;
28
+ };
@@ -0,0 +1,5 @@
1
+ export declare const method: () => {
2
+ calColWidth: (width: number, num: string, minNum: string) => string | number;
3
+ debounce: (fn: any, time: any) => (...argu: any[]) => void;
4
+ openLsTabSetting: () => void;
5
+ };
@@ -0,0 +1 @@
1
+ export { default as kuMenuAuthor } from './src/index.vue';
@@ -0,0 +1 @@
1
+ export { default as kuOperAuthor } from './src/index.vue';
@@ -0,0 +1 @@
1
+ export { default as kuRoleAssign } from './src/index.vue';
@@ -0,0 +1 @@
1
+ export { default as kuRoleAuthor } from './src/index.vue';
@@ -0,0 +1,3 @@
1
+ export { default as kuAreaSelector } from './src/area-selector/index.vue';
2
+ export { default as kuOrgSelector } from './src/org-selector/index.vue';
3
+ export { default as kuUserSelector } from './src/user-selector/index.vue';
@@ -0,0 +1,132 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ /** 默认选中code值 */
3
+ modelValue: string;
4
+ /** 根机构ID(根机构ID,如果不设置,则返回所有机构树,传入则只显示该机构下的所有单位树) */
5
+ rootOrgId?: string | undefined;
6
+ /** 单位类型(如果不设置,则返回所有单位类型,否则传值(01:隶属局单位,02:直属局单位,03:总署单位))*/
7
+ orgType?: string | undefined;
8
+ /** 文本框显示内容 */
9
+ inputText?: string | undefined;
10
+ /** 返回内容处理 */
11
+ returnValue?: string | undefined;
12
+ /** 是否只读 */
13
+ readonly?: boolean | undefined;
14
+ /** 是否清除 */
15
+ isClear?: boolean | undefined;
16
+ /** 是否禁用 */
17
+ disabled?: boolean | undefined;
18
+ /** 按钮文本内容 */
19
+ buttonText?: string | undefined;
20
+ /** 开启复选 */
21
+ multiple?: boolean | undefined;
22
+ /** 事件绑定 */
23
+ bindEvent?: boolean | undefined;
24
+ /** 根据传进来的code查对应的name,覆盖inputText值 */
25
+ defaultText?: boolean | undefined;
26
+ /** 扩展查询参数 */
27
+ reqParams?: object | undefined;
28
+ }>, {
29
+ modelValue: string;
30
+ rootOrgId: string;
31
+ orgType: string;
32
+ inputText: string;
33
+ returnValue: string;
34
+ readonly: boolean;
35
+ isClear: boolean;
36
+ disabled: boolean;
37
+ buttonText: string;
38
+ multiple: boolean;
39
+ bindEvent: boolean;
40
+ defaultText: boolean;
41
+ reqParams: undefined;
42
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
43
+ onSelect: (...args: any[]) => void;
44
+ "update:modelValue": (...args: any[]) => void;
45
+ onCancel: (...args: any[]) => void;
46
+ onClear: (...args: any[]) => void;
47
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
48
+ /** 默认选中code值 */
49
+ modelValue: string;
50
+ /** 根机构ID(根机构ID,如果不设置,则返回所有机构树,传入则只显示该机构下的所有单位树) */
51
+ rootOrgId?: string | undefined;
52
+ /** 单位类型(如果不设置,则返回所有单位类型,否则传值(01:隶属局单位,02:直属局单位,03:总署单位))*/
53
+ orgType?: string | undefined;
54
+ /** 文本框显示内容 */
55
+ inputText?: string | undefined;
56
+ /** 返回内容处理 */
57
+ returnValue?: string | undefined;
58
+ /** 是否只读 */
59
+ readonly?: boolean | undefined;
60
+ /** 是否清除 */
61
+ isClear?: boolean | undefined;
62
+ /** 是否禁用 */
63
+ disabled?: boolean | undefined;
64
+ /** 按钮文本内容 */
65
+ buttonText?: string | undefined;
66
+ /** 开启复选 */
67
+ multiple?: boolean | undefined;
68
+ /** 事件绑定 */
69
+ bindEvent?: boolean | undefined;
70
+ /** 根据传进来的code查对应的name,覆盖inputText值 */
71
+ defaultText?: boolean | undefined;
72
+ /** 扩展查询参数 */
73
+ reqParams?: object | undefined;
74
+ }>, {
75
+ modelValue: string;
76
+ rootOrgId: string;
77
+ orgType: string;
78
+ inputText: string;
79
+ returnValue: string;
80
+ readonly: boolean;
81
+ isClear: boolean;
82
+ disabled: boolean;
83
+ buttonText: string;
84
+ multiple: boolean;
85
+ bindEvent: boolean;
86
+ defaultText: boolean;
87
+ reqParams: undefined;
88
+ }>>> & {
89
+ onOnSelect?: ((...args: any[]) => any) | undefined;
90
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
91
+ onOnCancel?: ((...args: any[]) => any) | undefined;
92
+ onOnClear?: ((...args: any[]) => any) | undefined;
93
+ }, {
94
+ modelValue: string;
95
+ multiple: boolean;
96
+ readonly: boolean;
97
+ disabled: boolean;
98
+ bindEvent: boolean;
99
+ inputText: string;
100
+ returnValue: string;
101
+ isClear: boolean;
102
+ buttonText: string;
103
+ defaultText: boolean;
104
+ reqParams: object;
105
+ rootOrgId: string;
106
+ orgType: string;
107
+ }, {}>, {
108
+ func?(_: {}): any;
109
+ }>;
110
+ export default _default;
111
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
112
+ type __VLS_TypePropsToRuntimeProps<T> = {
113
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
114
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
115
+ } : {
116
+ type: import('vue').PropType<T[K]>;
117
+ required: true;
118
+ };
119
+ };
120
+ type __VLS_WithDefaults<P, D> = {
121
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
122
+ default: D[K];
123
+ }> : P[K];
124
+ };
125
+ type __VLS_Prettify<T> = {
126
+ [K in keyof T]: T[K];
127
+ } & {};
128
+ type __VLS_WithTemplateSlots<T, S> = T & {
129
+ new (): {
130
+ $slots: S;
131
+ };
132
+ };
@@ -0,0 +1,2 @@
1
+ import ksoSelOrg from './components/Selector/src/org-selector/index.vue';
2
+ export default ksoSelOrg;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kso-sel-org",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "机构选择",
5
5
  "main": "dist/index.umd.js",
6
6
  "module": "dist/index.es.js",
@@ -19,7 +19,7 @@
19
19
  "element-plus": "^2.3.8",
20
20
  "element-resize-detector": "^1.2.4",
21
21
  "kso-dic": "^1.0.0",
22
- "kso-sel-org": "^1.0.4",
22
+ "kso-sel-org": "^1.0.5",
23
23
  "kso-sel-reg": "^1.0.1",
24
24
  "less": "^4.1.3",
25
25
  "less-loader": "^11.1.3",
@@ -35,10 +35,13 @@
35
35
  "devDependencies": {
36
36
  "@types/node": "^20.3.3",
37
37
  "@vitejs/plugin-vue": "^4.1.0",
38
+ "css-loader": "^6.8.1",
38
39
  "sass": "^1.69.5",
39
40
  "typescript": "^5.0.2",
40
41
  "vite": "^4.3.9",
41
42
  "vite-plugin-eslint": "^1.8.1",
43
+ "vue-loader": "^17.3.1",
44
+ "vue-style-loader": "^4.1.3",
42
45
  "vue-tsc": "^1.4.2"
43
46
  },
44
47
  "keywords": [