@sendelius/vue 0.2.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/LICENSE +18 -0
- package/README.md +7 -0
- package/dist/config/config.d.ts +16 -0
- package/dist/config/index.d.ts +1 -0
- package/dist/core/api.d.ts +2 -0
- package/dist/core/auth.d.ts +15 -0
- package/dist/core/captcha.d.ts +1 -0
- package/dist/core/errors.d.ts +6 -0
- package/dist/core/index.d.ts +5 -0
- package/dist/core/requests.d.ts +6 -0
- package/dist/encryption/base64.d.ts +4 -0
- package/dist/encryption/encryption.d.ts +17 -0
- package/dist/encryption/index.d.ts +1 -0
- package/dist/encryption/keys.d.ts +12 -0
- package/dist/encryption/store.d.ts +39 -0
- package/dist/encryption/vault.d.ts +3 -0
- package/dist/helpers/declension.d.ts +1 -0
- package/dist/helpers/index.d.ts +3 -0
- package/dist/helpers/objects.d.ts +1 -0
- package/dist/helpers/title.d.ts +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/sendelius-vue.css +2 -0
- package/dist/sendelius-vue.js +14811 -0
- package/dist/ui/btn/Btn.vue.d.ts +95 -0
- package/dist/ui/cookie/Cookie.vue.d.ts +10 -0
- package/dist/ui/form/Autocomplete.vue.d.ts +96 -0
- package/dist/ui/form/Checkbox.vue.d.ts +75 -0
- package/dist/ui/form/Input.vue.d.ts +90 -0
- package/dist/ui/form/InputCity.vue.d.ts +70 -0
- package/dist/ui/form/InputDate.vue.d.ts +89 -0
- package/dist/ui/form/InputPassword.vue.d.ts +73 -0
- package/dist/ui/form/InputPhone.vue.d.ts +73 -0
- package/dist/ui/form/Select.vue.d.ts +78 -0
- package/dist/ui/index.d.ts +17 -0
- package/dist/ui/notice/Error.vue.d.ts +70 -0
- package/dist/ui/notice/Success.vue.d.ts +59 -0
- package/dist/ui/notice/Warning.vue.d.ts +59 -0
- package/dist/ui/popup/Confirm.vue.d.ts +52 -0
- package/dist/ui/popup/Popup.vue.d.ts +3 -0
- package/dist/ui/popup/usePopup.d.ts +17 -0
- package/dist/ui/progress/Progress.vue.d.ts +24 -0
- package/dist/ui/table/Table.vue.d.ts +131 -0
- package/dist/ui/table/TableFilters.vue.d.ts +3 -0
- package/dist/ui/table/TableFooter.vue.d.ts +108 -0
- package/dist/ui/table/TableHeader.vue.d.ts +90 -0
- package/dist/ui/table/TableItems.vue.d.ts +66 -0
- package/dist/ui/table/TablePagination.vue.d.ts +33 -0
- package/package.json +42 -0
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
declare const component: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
2
|
+
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
3
|
+
$slots: S;
|
|
4
|
+
});
|
|
5
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
|
+
columns: {
|
|
7
|
+
type: ArrayConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
items: {
|
|
11
|
+
type: ArrayConstructor;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
bulk: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
actions: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
selected: {
|
|
23
|
+
type: ArrayConstructor;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
tableWrap: {
|
|
27
|
+
type: ObjectConstructor;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
table: {
|
|
31
|
+
type: ObjectConstructor;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
sort: {
|
|
35
|
+
type: ObjectConstructor;
|
|
36
|
+
default: {};
|
|
37
|
+
};
|
|
38
|
+
}>, {
|
|
39
|
+
syncScroll: (scrollLeft: any) => void;
|
|
40
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
41
|
+
"update:selected": (...args: any[]) => void;
|
|
42
|
+
"update:sort": (...args: any[]) => void;
|
|
43
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
44
|
+
columns: {
|
|
45
|
+
type: ArrayConstructor;
|
|
46
|
+
required: true;
|
|
47
|
+
};
|
|
48
|
+
items: {
|
|
49
|
+
type: ArrayConstructor;
|
|
50
|
+
required: true;
|
|
51
|
+
};
|
|
52
|
+
bulk: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
actions: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
selected: {
|
|
61
|
+
type: ArrayConstructor;
|
|
62
|
+
required: true;
|
|
63
|
+
};
|
|
64
|
+
tableWrap: {
|
|
65
|
+
type: ObjectConstructor;
|
|
66
|
+
required: true;
|
|
67
|
+
};
|
|
68
|
+
table: {
|
|
69
|
+
type: ObjectConstructor;
|
|
70
|
+
required: true;
|
|
71
|
+
};
|
|
72
|
+
sort: {
|
|
73
|
+
type: ObjectConstructor;
|
|
74
|
+
default: {};
|
|
75
|
+
};
|
|
76
|
+
}>> & Readonly<{
|
|
77
|
+
"onUpdate:selected"?: (...args: any[]) => any;
|
|
78
|
+
"onUpdate:sort"?: (...args: any[]) => any;
|
|
79
|
+
}>, {
|
|
80
|
+
actions: boolean;
|
|
81
|
+
sort: Record<string, any>;
|
|
82
|
+
bulk: boolean;
|
|
83
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
84
|
+
type __VLS_Slots = {
|
|
85
|
+
iconHeaderSortDesc?: (props: {}) => any;
|
|
86
|
+
} & {
|
|
87
|
+
iconHeaderSortAsc?: (props: {}) => any;
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
export default component;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
declare const component: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
2
|
+
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
3
|
+
$slots: S;
|
|
4
|
+
});
|
|
5
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
|
+
columns: {
|
|
7
|
+
type: ArrayConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
items: {
|
|
11
|
+
type: ArrayConstructor;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
bulk: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
actions: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
selected: {
|
|
23
|
+
type: ArrayConstructor;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
27
|
+
"update:selected": (...args: any[]) => void;
|
|
28
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
29
|
+
columns: {
|
|
30
|
+
type: ArrayConstructor;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
items: {
|
|
34
|
+
type: ArrayConstructor;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
bulk: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
actions: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
selected: {
|
|
46
|
+
type: ArrayConstructor;
|
|
47
|
+
required: true;
|
|
48
|
+
};
|
|
49
|
+
}>> & Readonly<{
|
|
50
|
+
"onUpdate:selected"?: (...args: any[]) => any;
|
|
51
|
+
}>, {
|
|
52
|
+
actions: boolean;
|
|
53
|
+
bulk: boolean;
|
|
54
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
55
|
+
type __VLS_Slots = {
|
|
56
|
+
[x: `cell-${any}`]: (props: {
|
|
57
|
+
item: unknown;
|
|
58
|
+
value: any;
|
|
59
|
+
}) => any;
|
|
60
|
+
} & {
|
|
61
|
+
actions?: (props: {
|
|
62
|
+
item: unknown;
|
|
63
|
+
}) => any;
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
export default component;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
declare const component: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
2
|
+
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
3
|
+
$slots: S;
|
|
4
|
+
});
|
|
5
|
+
declare const __VLS_base: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
|
+
pagination: {
|
|
7
|
+
type: ObjectConstructor;
|
|
8
|
+
default: {};
|
|
9
|
+
};
|
|
10
|
+
navigate: {
|
|
11
|
+
type: FunctionConstructor;
|
|
12
|
+
default: any;
|
|
13
|
+
};
|
|
14
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
15
|
+
pagination: {
|
|
16
|
+
type: ObjectConstructor;
|
|
17
|
+
default: {};
|
|
18
|
+
};
|
|
19
|
+
navigate: {
|
|
20
|
+
type: FunctionConstructor;
|
|
21
|
+
default: any;
|
|
22
|
+
};
|
|
23
|
+
}>> & Readonly<{}>, {
|
|
24
|
+
pagination: Record<string, any>;
|
|
25
|
+
navigate: Function;
|
|
26
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
27
|
+
type __VLS_Slots = {
|
|
28
|
+
iconPaginationPrev?: (props: {}) => any;
|
|
29
|
+
} & {
|
|
30
|
+
iconPaginationNext?: (props: {}) => any;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export default component;
|
package/package.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@sendelius/vue",
|
|
3
|
+
"version": "v0.2.1",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"module": "./dist/sendelius-vue.js",
|
|
6
|
+
"types": "./dist/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist"
|
|
9
|
+
],
|
|
10
|
+
"scripts": {
|
|
11
|
+
"build": "vite build && node fix-dts.mjs"
|
|
12
|
+
},
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"import": "./dist/sendelius-vue.js"
|
|
17
|
+
},
|
|
18
|
+
"./style.css": "./dist/sendelius-vue.css"
|
|
19
|
+
},
|
|
20
|
+
"peerDependencies": {
|
|
21
|
+
"@vuepic/vue-datepicker": "^14.0.0",
|
|
22
|
+
"axios": "^1.18.1",
|
|
23
|
+
"pinia": "^4.0.2",
|
|
24
|
+
"maska": "^3.2.0",
|
|
25
|
+
"vue": "^3.5.40",
|
|
26
|
+
"date-fns": "^4.4.0"
|
|
27
|
+
},
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"@vitejs/plugin-vue": "^6.0.8",
|
|
30
|
+
"sass": "^1.104.0",
|
|
31
|
+
"typescript": "5.9",
|
|
32
|
+
"vite": "^8.1.5",
|
|
33
|
+
"vite-plugin-dts": "^5.1.0",
|
|
34
|
+
"vue": "^3.5.40",
|
|
35
|
+
"vue-component-type-helpers": "^3.3.11",
|
|
36
|
+
"vue-tsc": "^3.3.11"
|
|
37
|
+
},
|
|
38
|
+
"allowScripts": {
|
|
39
|
+
"@parcel/watcher@2.6.0": true,
|
|
40
|
+
"vue-demi@0.14.10": true
|
|
41
|
+
}
|
|
42
|
+
}
|