vuesp-components 2.1.2 → 2.1.4
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/components/app/AppNav.vue.d.ts +1 -1
- package/dist/components/app/AppNav.vue.d.ts.map +1 -1
- package/dist/components/app/AppNotification.vue.d.ts +1 -1
- package/dist/components/app/AppNotification.vue.d.ts.map +1 -1
- package/dist/components/app/types.d.ts +1 -1
- package/dist/components/app/types.d.ts.map +1 -1
- package/dist/components/block/info/types.d.ts +3 -3
- package/dist/components/block/info/types.d.ts.map +1 -1
- package/dist/components/card/notification/types.d.ts +1 -1
- package/dist/components/card/notification/types.d.ts.map +1 -1
- package/dist/components/dashboard/cards/CardBase.vue.d.ts +9 -9
- package/dist/components/dashboard/cards/CardButton.vue.d.ts +1 -1
- package/dist/components/dashboard/cards/CardDate.vue.d.ts +1 -1
- package/dist/components/dashboard/cards/CardDate.vue.d.ts.map +1 -1
- package/dist/components/dashboard/cards/CardDimmer.vue.d.ts +1 -1
- package/dist/components/dashboard/cards/CardInfo.vue.d.ts +1 -1
- package/dist/components/dashboard/cards/CardInput.vue.d.ts +1 -1
- package/dist/components/dashboard/cards/CardList.vue.d.ts +1 -1
- package/dist/components/dashboard/cards/CardList.vue.d.ts.map +1 -1
- package/dist/components/dashboard/cards/types.d.ts +1 -1
- package/dist/components/dashboard/cards/types.d.ts.map +1 -1
- package/dist/components/dashboard/edit/ItemEdit.vue.d.ts +1 -1
- package/dist/components/dashboard/edit/ItemEdit.vue.d.ts.map +1 -1
- package/dist/components/dashboard/edit/ItemOptions.vue.d.ts +1 -1
- package/dist/components/dashboard/edit/ItemOptions.vue.d.ts.map +1 -1
- package/dist/components/dashboard/edit/types.d.ts +1 -1
- package/dist/components/dashboard/edit/types.d.ts.map +1 -1
- package/dist/components/ui/autocomplete/types.d.ts +1 -1
- package/dist/components/ui/autocomplete/types.d.ts.map +1 -1
- package/dist/components/ui/index.d.ts +2 -1
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/list/VListObject.vue.d.ts +2 -2
- package/dist/components/ui/tooltip/VTooltip.vue.d.ts +26 -0
- package/dist/components/ui/tooltip/VTooltip.vue.d.ts.map +1 -0
- package/dist/components/ui/tooltip/types.d.ts +8 -0
- package/dist/components/ui/tooltip/types.d.ts.map +1 -0
- package/dist/composables/index.es.js +1 -1
- package/dist/dashboard/index.d.ts +2 -2
- package/dist/dashboard/index.d.ts.map +1 -1
- package/dist/dashboard/types.d.ts +1 -1
- package/dist/dashboard/types.d.ts.map +1 -1
- package/dist/helpers/app.d.ts +1 -1
- package/dist/helpers/app.d.ts.map +1 -1
- package/dist/helpers/index.es.js +35 -33
- package/dist/helpers/web-api.d.ts.map +1 -1
- package/dist/index.es.js +678 -637
- package/dist/style.css +1 -1
- package/dist/types/components.d.ts +8 -0
- package/dist/types/components.d.ts.map +1 -1
- package/dist/types/general.d.ts +17 -0
- package/dist/types/general.d.ts.map +1 -0
- package/dist/types/{types.d.ts → index.d.ts} +2 -2
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/messages.d.ts +76 -15
- package/dist/types/messages.d.ts.map +1 -1
- package/dist/useSwipeDown-BHSNKbwG.js +446 -0
- package/package.json +2 -2
- package/dist/types/state.d.ts +0 -52
- package/dist/types/state.d.ts.map +0 -1
- package/dist/types/types.d.ts.map +0 -1
- package/dist/useSwipeDown-BLxS7593.js +0 -375
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppNav.vue.d.ts","sourceRoot":"","sources":["../../../src/components/app/AppNav.vue"],"names":[],"mappings":"AAyCA;AAuEA,OAAO,KAAK,EAAE,YAAY,EAAgB,MAAM,wBAAwB,CAAC;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"AppNav.vue.d.ts","sourceRoot":"","sources":["../../../src/components/app/AppNav.vue"],"names":[],"mappings":"AAyCA;AAuEA,OAAO,KAAK,EAAE,YAAY,EAAgB,MAAM,wBAAwB,CAAC;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AA8BzC,iBAAS,cAAc;WAyHT,OAAO,IAA6B;;;;YAXxB,GAAG;;;;;;;YACS,GAAG;;;;EAexC;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;0FAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppNotification.vue.d.ts","sourceRoot":"","sources":["../../../src/components/app/AppNotification.vue"],"names":[],"mappings":"AAiCA;AAuDA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"AppNotification.vue.d.ts","sourceRoot":"","sources":["../../../src/components/app/AppNotification.vue"],"names":[],"mappings":"AAiCA;AAuDA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,KAAK,EAAE,qBAAqB,EAAyB,MAAM,wBAAwB,CAAC;AAqB3F,iBAAS,cAAc;WA0GT,OAAO,IAA6B;;;;YAZtB,GAAG;;;YACL,GAAG;uBACD,GAAG;;;;EAe9B;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;kFAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/app/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/app/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE1E,MAAM,WAAW,cAAc;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AACD,MAAM,WAAW,cAAc;IAC7B,CAAC,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;CACtC;AAED,MAAM,WAAW,eAAe;IAC9B,WAAW,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,aAAa,EAAE,aAAa,EAAE,CAAC;CAChC;AACD,MAAM,WAAW,eAAe;IAC9B,CAAC,CAAC,EAAE,SAAS,GAAG,OAAO,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;CAC9C;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,SAAS,EAAE,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AACD,MAAM,WAAW,YAAY;IAC3B,CAAC,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;CACtC;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,OAAO,CAAC;IACf,aAAa,EAAE,aAAa,EAAE,CAAC;CAChC;AACD,MAAM,WAAW,qBAAqB;IACpC,CAAC,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACjC,CAAC,CAAC,EAAE,QAAQ,GAAG,MAAM,EAAE,IAAI,EAAE,aAAa,GAAG,IAAI,CAAC;CACnD;AAED,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;IACzD,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface IBlockInfoProps extends
|
|
3
|
-
|
|
1
|
+
import { IMessageInfo, IPackage } from '../../../types';
|
|
2
|
+
export interface IBlockInfoProps extends IMessageInfo {
|
|
3
|
+
pkg?: IPackage;
|
|
4
4
|
}
|
|
5
5
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/block/info/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/block/info/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEtD,MAAM,WAAW,eAAgB,SAAQ,YAAY;IACnD,GAAG,CAAC,EAAE,QAAQ,CAAC;CAChB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/card/notification/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/card/notification/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,MAAM,WAAW,sBAAuB,SAAQ,aAAa;IAC3D,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,sBAAsB;IACrC,CAAC,CAAC,EAAE,QAAQ,GAAG,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;CAC5C"}
|
|
@@ -10,7 +10,7 @@ declare function __VLS_template(): {
|
|
|
10
10
|
icon: string;
|
|
11
11
|
value: string | number;
|
|
12
12
|
valueTo: string | number;
|
|
13
|
-
opts: import('../../../
|
|
13
|
+
opts: import('../../../types').IDashboardItemOptions;
|
|
14
14
|
args: string[];
|
|
15
15
|
set: string;
|
|
16
16
|
get: string;
|
|
@@ -24,7 +24,7 @@ declare function __VLS_template(): {
|
|
|
24
24
|
icon: string;
|
|
25
25
|
value: string | number;
|
|
26
26
|
valueTo: string | number;
|
|
27
|
-
opts: import('../../../
|
|
27
|
+
opts: import('../../../types').IDashboardItemOptions;
|
|
28
28
|
args: string[];
|
|
29
29
|
set: string;
|
|
30
30
|
get: string;
|
|
@@ -38,7 +38,7 @@ declare function __VLS_template(): {
|
|
|
38
38
|
icon: string;
|
|
39
39
|
value: string | number;
|
|
40
40
|
valueTo: string | number;
|
|
41
|
-
opts: import('../../../
|
|
41
|
+
opts: import('../../../types').IDashboardItemOptions;
|
|
42
42
|
args: string[];
|
|
43
43
|
set: string;
|
|
44
44
|
get: string;
|
|
@@ -52,7 +52,7 @@ declare function __VLS_template(): {
|
|
|
52
52
|
icon: string;
|
|
53
53
|
value: string | number;
|
|
54
54
|
valueTo: string | number;
|
|
55
|
-
opts: import('../../../
|
|
55
|
+
opts: import('../../../types').IDashboardItemOptions;
|
|
56
56
|
args: string[];
|
|
57
57
|
set: string;
|
|
58
58
|
get: string;
|
|
@@ -66,7 +66,7 @@ declare function __VLS_template(): {
|
|
|
66
66
|
icon: string;
|
|
67
67
|
value: string | number;
|
|
68
68
|
valueTo: string | number;
|
|
69
|
-
opts: import('../../../
|
|
69
|
+
opts: import('../../../types').IDashboardItemOptions;
|
|
70
70
|
args: string[];
|
|
71
71
|
set: string;
|
|
72
72
|
get: string;
|
|
@@ -80,7 +80,7 @@ declare function __VLS_template(): {
|
|
|
80
80
|
icon: string;
|
|
81
81
|
value: string | number;
|
|
82
82
|
valueTo: string | number;
|
|
83
|
-
opts: import('../../../
|
|
83
|
+
opts: import('../../../types').IDashboardItemOptions;
|
|
84
84
|
args: string[];
|
|
85
85
|
set: string;
|
|
86
86
|
get: string;
|
|
@@ -94,7 +94,7 @@ declare function __VLS_template(): {
|
|
|
94
94
|
icon: string;
|
|
95
95
|
value: string | number;
|
|
96
96
|
valueTo: string | number;
|
|
97
|
-
opts: import('../../../
|
|
97
|
+
opts: import('../../../types').IDashboardItemOptions;
|
|
98
98
|
args: string[];
|
|
99
99
|
set: string;
|
|
100
100
|
get: string;
|
|
@@ -108,7 +108,7 @@ declare function __VLS_template(): {
|
|
|
108
108
|
icon: string;
|
|
109
109
|
value: string | number;
|
|
110
110
|
valueTo: string | number;
|
|
111
|
-
opts: import('../../../
|
|
111
|
+
opts: import('../../../types').IDashboardItemOptions;
|
|
112
112
|
args: string[];
|
|
113
113
|
set: string;
|
|
114
114
|
get: string;
|
|
@@ -122,7 +122,7 @@ declare function __VLS_template(): {
|
|
|
122
122
|
icon: string;
|
|
123
123
|
value: string | number;
|
|
124
124
|
valueTo: string | number;
|
|
125
|
-
opts: import('../../../
|
|
125
|
+
opts: import('../../../types').IDashboardItemOptions;
|
|
126
126
|
args: string[];
|
|
127
127
|
set: string;
|
|
128
128
|
get: string;
|
|
@@ -10,7 +10,7 @@ declare function __VLS_template(): {
|
|
|
10
10
|
icon: string;
|
|
11
11
|
value: string | number;
|
|
12
12
|
valueTo: string | number;
|
|
13
|
-
opts: import('../../../types
|
|
13
|
+
opts: import('../../../types').IDashboardItemOptions;
|
|
14
14
|
args: string[];
|
|
15
15
|
set: string;
|
|
16
16
|
get: string;
|
|
@@ -10,7 +10,7 @@ declare function __VLS_template(): {
|
|
|
10
10
|
icon: string;
|
|
11
11
|
value: string | number;
|
|
12
12
|
valueTo: string | number;
|
|
13
|
-
opts: import('../../../types
|
|
13
|
+
opts: import('../../../types').IDashboardItemOptions;
|
|
14
14
|
args: string[];
|
|
15
15
|
set: string;
|
|
16
16
|
get: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardDate.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/dashboard/cards/CardDate.vue"],"names":[],"mappings":"AAsBA;AA8DA,OAAO,KAAK,EAAE,cAAc,EAAkB,MAAM,oCAAoC,CAAC;AAsCzF,iBAAS,cAAc;
|
|
1
|
+
{"version":3,"file":"CardDate.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/dashboard/cards/CardDate.vue"],"names":[],"mappings":"AAsBA;AA8DA,OAAO,KAAK,EAAE,cAAc,EAAkB,MAAM,oCAAoC,CAAC;AAsCzF,iBAAS,cAAc;WAoJT,OAAO,IAA6B;;;;;;;;;;;;;;;YAXxB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAyDokgB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;EAzCttgB;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAwB4kgB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;kBAfrtgB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -10,7 +10,7 @@ declare function __VLS_template(): {
|
|
|
10
10
|
icon: string;
|
|
11
11
|
value: string | number;
|
|
12
12
|
valueTo: string | number;
|
|
13
|
-
opts: import('../../../types
|
|
13
|
+
opts: import('../../../types').IDashboardItemOptions;
|
|
14
14
|
args: string[];
|
|
15
15
|
set: string;
|
|
16
16
|
get: string;
|
|
@@ -10,7 +10,7 @@ declare function __VLS_template(): {
|
|
|
10
10
|
icon: string;
|
|
11
11
|
value: string | number;
|
|
12
12
|
valueTo: string | number;
|
|
13
|
-
opts: import('../../../
|
|
13
|
+
opts: import('../../../types').IDashboardItemOptions;
|
|
14
14
|
args: string[];
|
|
15
15
|
set: string;
|
|
16
16
|
get: string;
|
|
@@ -10,7 +10,7 @@ declare function __VLS_template(): {
|
|
|
10
10
|
icon: string;
|
|
11
11
|
value: string | number;
|
|
12
12
|
valueTo: string | number;
|
|
13
|
-
opts: import('../../../types
|
|
13
|
+
opts: import('../../../types').IDashboardItemOptions;
|
|
14
14
|
args: string[];
|
|
15
15
|
set: string;
|
|
16
16
|
get: string;
|
|
@@ -10,7 +10,7 @@ declare function __VLS_template(): {
|
|
|
10
10
|
icon: string;
|
|
11
11
|
value: string | number;
|
|
12
12
|
valueTo: string | number;
|
|
13
|
-
opts: import('../../../types
|
|
13
|
+
opts: import('../../../types').IDashboardItemOptions;
|
|
14
14
|
args: string[];
|
|
15
15
|
set: string;
|
|
16
16
|
get: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/dashboard/cards/CardList.vue"],"names":[],"mappings":"AA6BA;AAsDA,OAAO,KAAK,EAAE,cAAc,EAAkB,MAAM,oCAAoC,CAAC;AAyBzF,iBAAS,cAAc;
|
|
1
|
+
{"version":3,"file":"CardList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/dashboard/cards/CardList.vue"],"names":[],"mappings":"AA6BA;AAsDA,OAAO,KAAK,EAAE,cAAc,EAAkB,MAAM,oCAAoC,CAAC;AAyBzF,iBAAS,cAAc;WAqKT,OAAO,IAA6B;;;;;;;;;;;;;;;YAVxB,GAAG;;;;EAe5B;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;6FAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/dashboard/cards/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/dashboard/cards/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,MAAM,WAAW,cAAe,SAAQ,cAAc;IACpD,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;CACpC;AACD,MAAM,WAAW,cAAc;IAC7B,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,OAAO,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpD,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;IAClC,CAAC,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC;CACxD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ItemEdit.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/dashboard/edit/ItemEdit.vue"],"names":[],"mappings":"AAmFA;AAoNA,OAAO,KAAK,EAAE,cAAc,EAA2D,MAAM,
|
|
1
|
+
{"version":3,"file":"ItemEdit.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/dashboard/edit/ItemEdit.vue"],"names":[],"mappings":"AAmFA;AAoNA,OAAO,KAAK,EAAE,cAAc,EAA2D,MAAM,SAAS,CAAC;AACvG,OAAO,KAAK,EAAE,cAAc,EAAkB,MAAM,mCAAmC,CAAC;AA+HxF,iBAAS,cAAc;WAkdT,OAAO,IAA6B;;;;YAXvB,GAAG;;;YACA,GAAG;;;;EAehC;AAsCD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;6FAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IDashboardItemOptions, TypeValueDashboardItemOptions } from '../../../types
|
|
1
|
+
import { IDashboardItemOptions, TypeValueDashboardItemOptions } from '../../../types';
|
|
2
2
|
import { IItemOptionsProps } from './types';
|
|
3
3
|
declare const _default: import('vue').DefineComponent<IItemOptionsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
4
4
|
update: (key: keyof IDashboardItemOptions, value: TypeValueDashboardItemOptions) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ItemOptions.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/dashboard/edit/ItemOptions.vue"],"names":[],"mappings":"AAyCA;AA6FA,OAAO,KAAK,EAAa,qBAAqB,EAAE,6BAA6B,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ItemOptions.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/dashboard/edit/ItemOptions.vue"],"names":[],"mappings":"AAyCA;AA6FA,OAAO,KAAK,EAAa,qBAAqB,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAC/F,OAAO,KAAK,EAAE,iBAAiB,EAAqB,MAAM,mCAAmC,CAAC;;;;;;AAoU9F,wBAQG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IDashboardItem, IListItem, IDashboardItemOptions, TypeValueDashboardItemOptions } from '../../../types
|
|
1
|
+
import { IDashboardItem, IListItem, IDashboardItemOptions, TypeValueDashboardItemOptions } from '../../../types';
|
|
2
2
|
export interface IItemEditProps {
|
|
3
3
|
item: IDashboardItem;
|
|
4
4
|
object: object;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/dashboard/edit/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,qBAAqB,EAAE,6BAA6B,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/dashboard/edit/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,qBAAqB,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAE/G,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,cAAc,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,SAAS,EAAE,CAAC;IAC3B,SAAS,EAAE,SAAS,EAAE,CAAC;CACxB;AAED,MAAM,WAAW,cAAc;IAC7B,CAAC,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,cAAc,GAAG,IAAI,CAAC;CACzD;AAED,MAAM,WAAW,iBAAiB;IAChC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;CACd;AACD,MAAM,WAAW,iBAAiB;IAChC,CAAC,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,qBAAqB,EAAE,KAAK,EAAE,6BAA6B,GAAG,IAAI,CAAC;CAC7F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/autocomplete/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/autocomplete/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,OAAO,EAAE,SAAS,EAAE,CAAC;AAErB,MAAM,WAAW,mBAAmB;IAClC,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,SAAS,EAAE,CAAC;CACpB;AACD,MAAM,WAAW,mBAAmB;IAClC,CAAC,CAAC,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9C,CAAC,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,GAAG,IAAI,CAAC;CACtC"}
|
|
@@ -19,5 +19,6 @@ import { default as VTable } from './table/VTable.vue';
|
|
|
19
19
|
import { default as VTabs } from './tabs/VTabs.vue';
|
|
20
20
|
import { default as VDialog } from './dialog/VDialog.vue';
|
|
21
21
|
import { default as VPopup } from './dialog/VPopup.vue';
|
|
22
|
-
|
|
22
|
+
import { default as VTooltip } from './tooltip/VTooltip.vue';
|
|
23
|
+
export { VAutocomplete, VButton, VLoader, VCheckbox, VDropdown, VExpansion, VList, VSelect, VTextField, VFile, VWifiIcon, VListObject, VDragDrop, VTextWrapper, VFunc, VTable, VIconLogoMini, VIconLogo, VDialog, VPopup, VTabs, VTooltip, };
|
|
23
24
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui/index.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,gDAAgD,CAAC;AAC3E,OAAO,OAAO,MAAM,oCAAoC,CAAC;AACzD,OAAO,OAAO,MAAM,oCAAoC,CAAC;AACzD,OAAO,SAAS,MAAM,wCAAwC,CAAC;AAC/D,OAAO,SAAS,MAAM,wCAAwC,CAAC;AAC/D,OAAO,UAAU,MAAM,0CAA0C,CAAC;AAClE,OAAO,KAAK,MAAM,gCAAgC,CAAC;AACnD,OAAO,OAAO,MAAM,oCAAoC,CAAC;AACzD,OAAO,UAAU,MAAM,2CAA2C,CAAC;AACnE,OAAO,KAAK,MAAM,gCAAgC,CAAC;AACnD,OAAO,SAAS,MAAM,oCAAoC,CAAC;AAC3D,OAAO,aAAa,MAAM,wCAAwC,CAAC;AACnE,OAAO,SAAS,MAAM,wCAAwC,CAAC;AAC/D,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAC/D,OAAO,SAAS,MAAM,yCAAyC,CAAC;AAChE,OAAO,KAAK,MAAM,gCAAgC,CAAC;AACnD,OAAO,YAAY,MAAM,+CAA+C,CAAC;AACzE,OAAO,MAAM,MAAM,kCAAkC,CAAC;AACtD,OAAO,KAAK,MAAM,gCAAgC,CAAC;AACnD,OAAO,OAAO,MAAM,oCAAoC,CAAC;AACzD,OAAO,MAAM,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui/index.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,gDAAgD,CAAC;AAC3E,OAAO,OAAO,MAAM,oCAAoC,CAAC;AACzD,OAAO,OAAO,MAAM,oCAAoC,CAAC;AACzD,OAAO,SAAS,MAAM,wCAAwC,CAAC;AAC/D,OAAO,SAAS,MAAM,wCAAwC,CAAC;AAC/D,OAAO,UAAU,MAAM,0CAA0C,CAAC;AAClE,OAAO,KAAK,MAAM,gCAAgC,CAAC;AACnD,OAAO,OAAO,MAAM,oCAAoC,CAAC;AACzD,OAAO,UAAU,MAAM,2CAA2C,CAAC;AACnE,OAAO,KAAK,MAAM,gCAAgC,CAAC;AACnD,OAAO,SAAS,MAAM,oCAAoC,CAAC;AAC3D,OAAO,aAAa,MAAM,wCAAwC,CAAC;AACnE,OAAO,SAAS,MAAM,wCAAwC,CAAC;AAC/D,OAAO,WAAW,MAAM,sCAAsC,CAAC;AAC/D,OAAO,SAAS,MAAM,yCAAyC,CAAC;AAChE,OAAO,KAAK,MAAM,gCAAgC,CAAC;AACnD,OAAO,YAAY,MAAM,+CAA+C,CAAC;AACzE,OAAO,MAAM,MAAM,kCAAkC,CAAC;AACtD,OAAO,KAAK,MAAM,gCAAgC,CAAC;AACnD,OAAO,OAAO,MAAM,oCAAoC,CAAC;AACzD,OAAO,MAAM,MAAM,mCAAmC,CAAC;AACvD,OAAO,QAAQ,MAAM,sCAAsC,CAAC;AAE5D,OAAO,EACL,aAAa,EACb,OAAO,EACP,OAAO,EACP,SAAS,EACT,SAAS,EACT,UAAU,EACV,KAAK,EACL,OAAO,EACP,UAAU,EACV,KAAK,EACL,SAAS,EACT,WAAW,EACX,SAAS,EACT,YAAY,EACZ,KAAK,EACL,MAAM,EACN,aAAa,EACb,SAAS,EACT,OAAO,EACP,MAAM,EACN,KAAK,EACL,QAAQ,GACT,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { IVListObjectProps } from './types';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<IVListObjectProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
-
click: (data: import('../../../types
|
|
3
|
+
click: (data: import('../../../types').VListObjectReturnData) => any;
|
|
4
4
|
}, string, import('vue').PublicProps, Readonly<IVListObjectProps> & Readonly<{
|
|
5
|
-
onClick?: ((data: import('../../../types
|
|
5
|
+
onClick?: ((data: import('../../../types').VListObjectReturnData) => any) | undefined;
|
|
6
6
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLUListElement>;
|
|
7
7
|
export default _default;
|
|
8
8
|
//# sourceMappingURL=VListObject.vue.d.ts.map
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { IVTooltipProps } from './types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
activator?(_: {}): any;
|
|
6
|
+
default?(_: {
|
|
7
|
+
show: boolean;
|
|
8
|
+
}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {
|
|
11
|
+
tooltip: HTMLDivElement;
|
|
12
|
+
};
|
|
13
|
+
rootEl: HTMLDivElement;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<IVTooltipProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IVTooltipProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
17
|
+
tooltip: HTMLDivElement;
|
|
18
|
+
}, HTMLDivElement>;
|
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=VTooltip.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VTooltip.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/tooltip/VTooltip.vue"],"names":[],"mappings":"AAyCA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAuB9C,iBAAS,cAAc;WA2DT,OAAO,IAA6B;;2BAZnB,GAAG;;;YACL,GAAG;;;;;;EAgB/B;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;kBAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/tooltip/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,cAAc;IAC9B,CAAC,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;CAClC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as z, reactive as y, watch as B, computed as k } from "vue";
|
|
2
|
-
import { u as R, a as W } from "../useSwipeDown-
|
|
2
|
+
import { u as R, a as W } from "../useSwipeDown-BHSNKbwG.js";
|
|
3
3
|
function I(w) {
|
|
4
4
|
const { validationSchema: l, initialValues: m = {} } = w, d = typeof l == "function", v = z(
|
|
5
5
|
d ? l(m) : l
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TypeGetDataValue, TypeGetParamsData, IDashboardItem, GetTypeByPath } from '../types
|
|
1
|
+
import { TypeGetDataValue, TypeGetParamsData, IDashboardItem, GetTypeByPath } from '../types';
|
|
2
2
|
export declare const dashboardCards: string[];
|
|
3
3
|
export declare const getDataValue: TypeGetDataValue;
|
|
4
4
|
export declare const getParamsData: TypeGetParamsData;
|
|
@@ -11,7 +11,7 @@ export declare const getStateItem: <T>(item: IDashboardItem, object: T) => {
|
|
|
11
11
|
name: string;
|
|
12
12
|
type: string;
|
|
13
13
|
icon: string;
|
|
14
|
-
opts?: import('../types
|
|
14
|
+
opts?: import('../types').IDashboardItemOptions;
|
|
15
15
|
args: string[];
|
|
16
16
|
set?: string;
|
|
17
17
|
get?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dashboard/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dashboard/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAElG,eAAO,MAAM,cAAc,UAAwD,CAAC;AAEpF,eAAO,MAAM,YAAY,EAAE,gBAY1B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,iBAE3B,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,MAAM,MAAM,GAAG,SAAS,oBAInD,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,CAAC,EAAE,MAAM,cAAc,EAAE,OAAO,OAAO,EAAE,QAAQ,CAAC,QAU9E,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,CAAC,EAAE,MAAM,cAAc,EAAE,QAAQ,CAAC;;;;;;;;;;;;CAkB9D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/dashboard/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/dashboard/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACzC,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC;CACrB;AAED,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,IAAI,CAAC,EAAE,qBAAqB,CAAC;IAC7B,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,aAAa,CAAC,CAAC,EAAE,IAAI,SAAS,MAAM,IAAI,IAAI,SAAS,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,SAAS,GAAG,MAAM,CAAC,IAAI,MAAM,CAAC,EAAE,GAAG,CAAC,CAAC,SAAS,MAAM,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,KAAK,CAAC,GAAG,KAAK,CAAC;AAEzL,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,KAAK,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,SAAS,CAAC;AAEzG,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,EAAE,MAAM,CAAC,GAAG,SAAS,CAAC,EAAE,CAAC;AAE/G,MAAM,MAAM,6BAA6B,GAAG,qBAAqB,CAAC,MAAM,qBAAqB,CAAC,CAAC"}
|
package/dist/helpers/app.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IMenuItem } from '../types
|
|
1
|
+
import { IMenuItem } from '../types';
|
|
2
2
|
export declare const isNewVersion: (name?: string) => boolean;
|
|
3
3
|
export declare const changeTheme: (value: string) => void;
|
|
4
4
|
export declare const findMenuItem: (items: IMenuItem[] | null, path: string) => IMenuItem | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../src/helpers/app.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../src/helpers/app.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAGzC,eAAO,MAAM,YAAY,GAAI,aAAe,YAI3C,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,OAAO,MAAM,SAKxC,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,OAAO,SAAS,EAAE,GAAG,IAAI,EAAE,MAAM,MAAM,KAAG,SAAS,GAAG,IAOlF,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,MAAM,SAAS,EAAE,EAAE,MAAM,MAAM,KAAG,SAAS,GAAG,IAAgC,CAAC"}
|
package/dist/helpers/index.es.js
CHANGED
|
@@ -4,53 +4,55 @@ const c = (t) => {
|
|
|
4
4
|
} catch (e) {
|
|
5
5
|
return console.warn(e), t;
|
|
6
6
|
}
|
|
7
|
-
},
|
|
7
|
+
}, i = (t) => typeof t == "object" ? JSON.stringify(t) : t, h = (t) => c(i(t)), f = (t) => {
|
|
8
8
|
const e = ["B", "KB", "MB"];
|
|
9
9
|
if (t == 0) return "0 B";
|
|
10
10
|
let o = Math.floor(Math.log(t) / Math.log(1024));
|
|
11
11
|
return o > 1 && (o = 1), Math.round(t / Math.pow(1024, o)) + " " + e[o];
|
|
12
|
-
},
|
|
12
|
+
}, S = (t, e = { year: "numeric", month: "numeric", day: "numeric" }, o = []) => new Date(t).toLocaleDateString(o, e), p = (t, e = { minute: "2-digit", hour: "2-digit" }, o = []) => new Date(t).toLocaleTimeString(o, e), s = (t) => t >= 10 ? t : `0${t}`, w = (t) => {
|
|
13
13
|
const e = Math.floor(t % 31536e3 % 2628e3 / 86400), o = Math.floor(t % (3600 * 24) / 3600), n = Math.floor(t % 3600 / 60), m = Math.floor(t % 60);
|
|
14
|
-
return `${e ? e + " days " : ""} ${
|
|
15
|
-
},
|
|
14
|
+
return `${e ? e + " days " : ""} ${s(o)}:${s(n)}:${s(m)}`;
|
|
15
|
+
}, y = (t) => t.join("."), M = (t) => t.split(".").map((e) => +e), T = (t, e = "file") => {
|
|
16
16
|
const o = document.createElement("a");
|
|
17
17
|
o.setAttribute("download", e), o.href = t, document.body.appendChild(o), o.click(), o.remove();
|
|
18
|
-
},
|
|
18
|
+
}, E = (t) => new Promise((e, o) => {
|
|
19
19
|
const n = document.createElement("script");
|
|
20
20
|
n.src = t, n.type = "text/javascript", n.async = !0, n.onload = () => e(n), n.onerror = () => o(new Error(`Ошибка загрузки скрипта: ${t}`)), document.head.appendChild(n);
|
|
21
|
-
}),
|
|
22
|
-
t
|
|
23
|
-
},
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
},
|
|
21
|
+
}), r = typeof window < "u", l = (t) => (e, o) => o ? c(t.getItem(e)) : t.getItem(e), a = (t) => (e, o) => {
|
|
22
|
+
t.setItem(e, typeof o == "string" ? o : i(o));
|
|
23
|
+
}, d = r ? l(localStorage) : () => null, u = r ? a(localStorage) : () => {
|
|
24
|
+
}, L = r ? l(sessionStorage) : () => null, $ = r ? a(sessionStorage) : () => {
|
|
25
|
+
}, j = (t = "isShow") => {
|
|
26
|
+
const e = d(t);
|
|
27
|
+
return e || u(t, "true"), !e;
|
|
28
|
+
}, B = (t) => {
|
|
29
|
+
u("theme", t), document.documentElement.classList.remove("dark"), document.documentElement.classList.remove("light"), document.documentElement.classList.add(t);
|
|
30
|
+
}, g = (t, e) => {
|
|
29
31
|
if (!t) return null;
|
|
30
32
|
for (const o of t)
|
|
31
33
|
if (!(e === "/" || o.path === "/") && (o.path === e || e.includes(o.path)))
|
|
32
34
|
return o;
|
|
33
35
|
return null;
|
|
34
|
-
},
|
|
36
|
+
}, k = (t, e) => g(t, e);
|
|
35
37
|
export {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
38
|
+
s as addZero,
|
|
39
|
+
y as arrToStr,
|
|
40
|
+
B as changeTheme,
|
|
41
|
+
h as clone,
|
|
42
|
+
T as createDownloadLink,
|
|
43
|
+
S as dateUtcToString,
|
|
44
|
+
g as findMenuItem,
|
|
45
|
+
k as getPageTitle,
|
|
46
|
+
j as isNewVersion,
|
|
45
47
|
c as jsonParse,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
48
|
+
i as jsonString,
|
|
49
|
+
E as loadScript,
|
|
50
|
+
d as localGet,
|
|
51
|
+
u as localSet,
|
|
52
|
+
w as secToTime,
|
|
53
|
+
L as sessionGet,
|
|
54
|
+
$ as sessionSet,
|
|
55
|
+
M as strToArr,
|
|
56
|
+
p as timeUtcToString,
|
|
57
|
+
f as toByte
|
|
56
58
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web-api.d.ts","sourceRoot":"","sources":["../../src/helpers/web-api.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,GAAI,MAAM,MAAM,EAAE,aAAa,SAO7D,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,KAAK,MAAM,qBAUrC,CAAC;
|
|
1
|
+
{"version":3,"file":"web-api.d.ts","sourceRoot":"","sources":["../../src/helpers/web-api.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,GAAI,MAAM,MAAM,EAAE,aAAa,SAO7D,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,KAAK,MAAM,qBAUrC,CAAC;AAYF,eAAO,MAAM,QAAQ,SARyB,MAAM,WAAW,OAAO,QAQE,CAAC;AACzE,eAAO,MAAM,QAAQ,SALyB,MAAM,QAAQ,MAAM,GAAG,MAAM,SAKE,CAAC;AAC9E,eAAO,MAAM,UAAU,SAVuB,MAAM,WAAW,OAAO,QAUM,CAAC;AAC7E,eAAO,MAAM,UAAU,SAPuB,MAAM,QAAQ,MAAM,GAAG,MAAM,SAOM,CAAC"}
|