vuesp-components 1.0.0 → 1.1.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/dist/App.vue.d.ts +1 -1
- package/dist/App.vue.d.ts.map +1 -1
- package/dist/components/app/AppAside.vue.d.ts +3 -3
- package/dist/components/app/AppAside.vue.d.ts.map +1 -1
- package/dist/components/app/AppDialog.vue.d.ts +7 -5
- package/dist/components/app/AppDialog.vue.d.ts.map +1 -1
- package/dist/components/app/AppHeader.vue.d.ts +9 -5
- package/dist/components/app/AppHeader.vue.d.ts.map +1 -1
- package/dist/components/app/AppNav.vue.d.ts +3 -3
- package/dist/components/app/AppNotification.vue.d.ts +33 -7
- package/dist/components/app/AppNotification.vue.d.ts.map +1 -1
- package/dist/components/app/AppOverlay.vue.d.ts +1 -1
- package/dist/components/app/AppOverlay.vue.d.ts.map +1 -1
- package/dist/components/app/AppProgress.vue.d.ts +24 -0
- package/dist/components/app/AppProgress.vue.d.ts.map +1 -0
- package/dist/components/app/index.d.ts +2 -1
- package/dist/components/app/index.d.ts.map +1 -1
- package/dist/components/dashboard/cards/CardBase.vue.d.ts +87 -47
- package/dist/components/dashboard/cards/CardBase.vue.d.ts.map +1 -1
- package/dist/components/dashboard/cards/CardButton.vue.d.ts +3 -3
- package/dist/components/dashboard/cards/CardButton.vue.d.ts.map +1 -1
- package/dist/components/dashboard/cards/CardDate.vue.d.ts +3 -3
- package/dist/components/dashboard/cards/CardDate.vue.d.ts.map +1 -1
- package/dist/components/dashboard/cards/CardDimmer.vue.d.ts +3 -3
- package/dist/components/dashboard/cards/CardDimmer.vue.d.ts.map +1 -1
- package/dist/components/dashboard/cards/CardInfo.vue.d.ts +4 -4
- package/dist/components/dashboard/cards/CardInfo.vue.d.ts.map +1 -1
- package/dist/components/dashboard/cards/CardInput.vue.d.ts +3 -3
- package/dist/components/dashboard/cards/CardInput.vue.d.ts.map +1 -1
- package/dist/components/dashboard/cards/CardList.vue.d.ts +3 -3
- package/dist/components/dashboard/cards/CardList.vue.d.ts.map +1 -1
- package/dist/components/dashboard/edit/ItemEdit.vue.d.ts +29 -0
- package/dist/components/dashboard/edit/ItemEdit.vue.d.ts.map +1 -0
- package/dist/components/dashboard/edit/ItemOptions.vue.d.ts +18 -0
- package/dist/components/dashboard/edit/ItemOptions.vue.d.ts.map +1 -0
- package/dist/components/dashboard/index.d.ts +2 -3
- package/dist/components/dashboard/index.d.ts.map +1 -1
- package/dist/components/general/blocks/BlockBreadcrumb.vue.d.ts +3 -3
- package/dist/components/general/blocks/BlockBreadcrumb.vue.d.ts.map +1 -1
- package/dist/components/general/blocks/BlockInfo.vue.d.ts +22 -2
- package/dist/components/general/blocks/BlockInfo.vue.d.ts.map +1 -1
- package/dist/components/general/blocks/BlockTable.vue.d.ts +3 -3
- package/dist/components/general/blocks/BlockTable.vue.d.ts.map +1 -1
- package/dist/components/general/blocks/index.d.ts +1 -2
- package/dist/components/general/blocks/index.d.ts.map +1 -1
- package/dist/components/general/cards/CardGray.vue.d.ts +3 -3
- package/dist/components/general/cards/CardGray.vue.d.ts.map +1 -1
- package/dist/components/general/cards/CardNotification.vue.d.ts +8 -15
- package/dist/components/general/cards/CardNotification.vue.d.ts.map +1 -1
- package/dist/components/general/forms/VAutocomplete.vue.d.ts +34 -0
- package/dist/components/general/forms/VAutocomplete.vue.d.ts.map +1 -0
- package/dist/components/general/forms/VButton.vue.d.ts +7 -7
- package/dist/components/general/forms/VButton.vue.d.ts.map +1 -1
- package/dist/components/general/forms/VCheckbox.vue.d.ts +7 -5
- package/dist/components/general/forms/VCheckbox.vue.d.ts.map +1 -1
- package/dist/components/general/forms/VDragDrop.vue.d.ts +43 -0
- package/dist/components/general/forms/VDragDrop.vue.d.ts.map +1 -0
- package/dist/components/general/forms/VDropdown.vue.d.ts +8 -6
- package/dist/components/general/forms/VDropdown.vue.d.ts.map +1 -1
- package/dist/components/general/forms/VExpansion.vue.d.ts +2 -2
- package/dist/components/general/forms/VExpansion.vue.d.ts.map +1 -1
- package/dist/components/general/forms/{VTextFieldFile.vue.d.ts → VFile.vue.d.ts} +7 -14
- package/dist/components/general/forms/VFile.vue.d.ts.map +1 -0
- package/dist/components/general/forms/VFunc.vue.d.ts +20 -0
- package/dist/components/general/forms/VFunc.vue.d.ts.map +1 -0
- package/dist/components/general/forms/VIcons.vue.d.ts +1 -1
- package/dist/components/general/forms/VIcons.vue.d.ts.map +1 -1
- package/dist/components/general/forms/VList.vue.d.ts +6 -5
- package/dist/components/general/forms/VList.vue.d.ts.map +1 -1
- package/dist/components/general/forms/VListObject.vue.d.ts +7 -5
- package/dist/components/general/forms/VListObject.vue.d.ts.map +1 -1
- package/dist/components/general/forms/VLoader.vue.d.ts +1 -1
- package/dist/components/general/forms/VSelect.vue.d.ts +10 -10
- package/dist/components/general/forms/VSelect.vue.d.ts.map +1 -1
- package/dist/components/general/forms/VTabs.vue.d.ts +29 -0
- package/dist/components/general/forms/VTabs.vue.d.ts.map +1 -0
- package/dist/components/general/forms/VTextField.vue.d.ts +5 -5
- package/dist/components/general/forms/VTextField.vue.d.ts.map +1 -1
- package/dist/components/general/forms/VTextWrapper.vue.d.ts +29 -0
- package/dist/components/general/forms/VTextWrapper.vue.d.ts.map +1 -0
- package/dist/components/general/forms/VWifiIcon.vue.d.ts +1 -1
- package/dist/components/general/forms/index.d.ts +5 -2
- package/dist/components/general/forms/index.d.ts.map +1 -1
- package/dist/composables/index.d.ts +2 -0
- package/dist/composables/index.d.ts.map +1 -0
- package/dist/composables/index.es.js +71 -0
- package/dist/composables/types.d.ts +36 -0
- package/dist/composables/types.d.ts.map +1 -0
- package/dist/composables/useForms.d.ts +3 -0
- package/dist/composables/useForms.d.ts.map +1 -0
- package/dist/const/lists.d.ts +4 -0
- package/dist/const/lists.d.ts.map +1 -0
- package/dist/dashboard/index.d.ts +18 -20
- package/dist/dashboard/index.d.ts.map +1 -1
- package/dist/dashboard/index.es.js +35 -133
- package/dist/dashboard/types.d.ts +18 -31
- package/dist/dashboard/types.d.ts.map +1 -1
- package/dist/helpers/app.d.ts +1 -10
- package/dist/helpers/app.d.ts.map +1 -1
- package/dist/helpers/fetch.d.ts +14 -0
- package/dist/helpers/fetch.d.ts.map +1 -0
- package/dist/helpers/general.d.ts +11 -0
- package/dist/helpers/general.d.ts.map +1 -0
- package/dist/helpers/index.d.ts +4 -1
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/helpers/index.es.js +50 -28
- package/dist/helpers/utils.d.ts +2 -0
- package/dist/helpers/utils.d.ts.map +1 -0
- package/dist/helpers/web-api.d.ts +7 -0
- package/dist/helpers/web-api.d.ts.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +1904 -1450
- package/dist/plugins/i18n/index.d.ts +4 -0
- package/dist/plugins/i18n/index.d.ts.map +1 -0
- package/dist/plugins/i18n/types.d.ts +34 -0
- package/dist/plugins/i18n/types.d.ts.map +1 -0
- package/dist/plugins/index.d.ts +3 -0
- package/dist/plugins/index.d.ts.map +1 -0
- package/dist/plugins/index.es.js +34 -0
- package/dist/plugins/types.d.ts +13 -0
- package/dist/plugins/types.d.ts.map +1 -0
- package/dist/style.css +1 -1
- package/dist/types/components.d.ts +6 -16
- package/dist/types/components.d.ts.map +1 -1
- package/dist/types/messages.d.ts +110 -0
- package/dist/types/messages.d.ts.map +1 -0
- package/dist/types/state.d.ts +43 -0
- package/dist/types/state.d.ts.map +1 -0
- package/dist/types/types.d.ts +3 -1
- package/dist/types/types.d.ts.map +1 -1
- package/dist/utils-r5TQv-RW.js +62 -0
- package/package.json +16 -5
- package/dist/app-B-BsxziJ.js +0 -47
- package/dist/components/dashboard/BlockItemEdit.vue.d.ts +0 -16
- package/dist/components/dashboard/BlockItemEdit.vue.d.ts.map +0 -1
- package/dist/components/dashboard/cards/CardSwitch.vue.d.ts +0 -10
- package/dist/components/dashboard/cards/CardSwitch.vue.d.ts.map +0 -1
- package/dist/components/general/blocks/BlockStatus.vue.d.ts +0 -19
- package/dist/components/general/blocks/BlockStatus.vue.d.ts.map +0 -1
- package/dist/components/general/forms/VTextFieldFile.vue.d.ts.map +0 -1
- package/dist/dashboard/utils.d.ts +0 -7
- package/dist/dashboard/utils.d.ts.map +0 -1
- package/dist/helpers/fs.d.ts +0 -9
- package/dist/helpers/fs.d.ts.map +0 -1
- package/dist/types/store.d.ts +0 -104
- package/dist/types/store.d.ts.map +0 -1
package/dist/app-B-BsxziJ.js
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
const r = (t) => {
|
|
2
|
-
try {
|
|
3
|
-
return t ? JSON.parse(t) : null;
|
|
4
|
-
} catch {
|
|
5
|
-
return t;
|
|
6
|
-
}
|
|
7
|
-
}, c = (t) => typeof t == "object" ? JSON.stringify(t) : t, m = (t) => r(localStorage.getItem(t)), i = (t, e) => {
|
|
8
|
-
localStorage && localStorage.setItem(t, c(e));
|
|
9
|
-
}, u = (t) => r(sessionStorage.getItem(t)), g = (t, e) => {
|
|
10
|
-
sessionStorage && sessionStorage.setItem(t, c(e));
|
|
11
|
-
}, h = (t) => {
|
|
12
|
-
i("theme", t), document.documentElement.classList.remove("dark"), document.documentElement.classList.remove("light"), document.documentElement.classList.add(t);
|
|
13
|
-
}, l = (t, e) => {
|
|
14
|
-
if (!t) return null;
|
|
15
|
-
for (const o of t)
|
|
16
|
-
if (!(e === "/" || o.path === "/") && (o.path === e || e.includes(o.path)))
|
|
17
|
-
return o;
|
|
18
|
-
return null;
|
|
19
|
-
}, f = (t, e) => l(t, e), d = (t) => {
|
|
20
|
-
const e = ["B", "KB", "MB"];
|
|
21
|
-
if (t == 0) return "0 B";
|
|
22
|
-
let o = Math.floor(Math.log(t) / Math.log(1024));
|
|
23
|
-
return o > 1 && (o = 1), Math.round(t / Math.pow(1024, o)) + " " + e[o];
|
|
24
|
-
}, S = (t, e = { year: "numeric", month: "numeric", day: "numeric" }, o = []) => new Date(t).toLocaleDateString(o, e), M = (t, e = { second: "2-digit", minute: "2-digit", hour: "2-digit", timeZone: "UTC" }, o = []) => new Date(t).toLocaleTimeString(o, e), s = (t) => t >= 10 ? t : `0${t}`, T = (t) => {
|
|
25
|
-
let e = Math.floor(t % 31536e3 % 2628e3 / 86400), o = Math.floor(t % (3600 * 24) / 3600), n = Math.floor(t % 3600 / 60), a = Math.floor(t % 60);
|
|
26
|
-
return `${e ? e + " days " : ""} ${s(o)}:${s(n)}:${s(a)}`;
|
|
27
|
-
}, y = (t, e = 300) => {
|
|
28
|
-
let o;
|
|
29
|
-
return function(...n) {
|
|
30
|
-
clearTimeout(o), o = setTimeout(() => t.apply(this, n), e);
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
export {
|
|
34
|
-
i as a,
|
|
35
|
-
u as b,
|
|
36
|
-
g as c,
|
|
37
|
-
h as d,
|
|
38
|
-
S as e,
|
|
39
|
-
l as f,
|
|
40
|
-
f as g,
|
|
41
|
-
M as h,
|
|
42
|
-
y as i,
|
|
43
|
-
r as j,
|
|
44
|
-
m as l,
|
|
45
|
-
T as s,
|
|
46
|
-
d as t
|
|
47
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { IDashboardItemString } from '../../types/types';
|
|
2
|
-
interface Props {
|
|
3
|
-
item: IDashboardItemString;
|
|
4
|
-
isNew: boolean;
|
|
5
|
-
}
|
|
6
|
-
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
7
|
-
select: (event: Event) => any;
|
|
8
|
-
remove: (value: IDashboardItemString) => any;
|
|
9
|
-
save: (value: IDashboardItemString) => any;
|
|
10
|
-
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
11
|
-
onSelect?: ((event: Event) => any) | undefined;
|
|
12
|
-
onRemove?: ((value: IDashboardItemString) => any) | undefined;
|
|
13
|
-
onSave?: ((value: IDashboardItemString) => any) | undefined;
|
|
14
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
|
-
export default _default;
|
|
16
|
-
//# sourceMappingURL=BlockItemEdit.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BlockItemEdit.vue.d.ts","sourceRoot":"","sources":["../../../src/components/dashboard/BlockItemEdit.vue"],"names":[],"mappings":"AA0CA;AA4HA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAW1D,UAAU,KAAK;IACb,IAAI,EAAE,oBAAoB,CAAC;IAC3B,KAAK,EAAE,OAAO,CAAC;CAChB;;;;;;;;;;AA6VD,wBAQG"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { IDashboardItem } from '../../../types/types';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<IDashboardItem, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
-
click: (event: Event) => any;
|
|
4
|
-
setState: (item: any) => any;
|
|
5
|
-
}, string, import('vue').PublicProps, Readonly<IDashboardItem> & Readonly<{
|
|
6
|
-
onClick?: ((event: Event) => any) | undefined;
|
|
7
|
-
onSetState?: ((item: any) => any) | undefined;
|
|
8
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
9
|
-
export default _default;
|
|
10
|
-
//# sourceMappingURL=CardSwitch.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CardSwitch.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/dashboard/cards/CardSwitch.vue"],"names":[],"mappings":"AAgBA;AAwCA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;;;;;;;;AA8HpD,wBAQG"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { IStoreInfo } from '../../../types/types';
|
|
2
|
-
declare function __VLS_template(): {
|
|
3
|
-
attrs: Partial<{}>;
|
|
4
|
-
slots: {
|
|
5
|
-
default?(_: {}): any;
|
|
6
|
-
};
|
|
7
|
-
refs: {};
|
|
8
|
-
rootEl: HTMLDivElement;
|
|
9
|
-
};
|
|
10
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
-
declare const __VLS_component: import('vue').DefineComponent<IStoreInfo, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IStoreInfo> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
12
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
13
|
-
export default _default;
|
|
14
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
15
|
-
new (): {
|
|
16
|
-
$slots: S;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
//# sourceMappingURL=BlockStatus.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BlockStatus.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/general/blocks/BlockStatus.vue"],"names":[],"mappings":"AAqCA;AAkFA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AA6ChD,iBAAS,cAAc;WAmHT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,2SAOnB,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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VTextFieldFile.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/general/forms/VTextFieldFile.vue"],"names":[],"mappings":"AAOA;AAwCA,OAAO,KAAK,EAAE,eAAe,EAAkB,MAAM,eAAe,CAAC;AA4BrE,iBAAS,cAAc;WA+BT,OAAO,IAA6B;;;;;;;;YAXrB,GAAG;;;;EAgB/B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;8FAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IDashboardItem, IDashboardItemString } from '../types/types';
|
|
2
|
-
export declare const saveObjectWithFunctions: (obj: any) => string;
|
|
3
|
-
export declare const safeEval: (code: string) => any;
|
|
4
|
-
export declare const stringToFunction: ({ set, get, modifyValue, ...all }: IDashboardItemString) => IDashboardItem;
|
|
5
|
-
export declare const functionToString: ({ set, get, modifyValue, ...arg }: IDashboardItem) => IDashboardItemString;
|
|
6
|
-
export declare const createObjectFromPaths: (paths: string[], delimiter?: string) => {};
|
|
7
|
-
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/dashboard/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAE1E,eAAO,MAAM,uBAAuB,GAAI,KAAK,GAAG,WAc/C,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,MAAM,MAAM,QASpC,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,mCAAmC,oBAAoB,KAAG,cAM1F,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,mCAAmC,cAAc,yBAMjF,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,OAAO,MAAM,EAAE,EAAE,kBAAe,OAqBrE,CAAC"}
|
package/dist/helpers/fs.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare const getFile: (path: string) => Promise<Response>;
|
|
2
|
-
export declare const fetchJson: (path: string, init?: RequestInit) => Promise<any>;
|
|
3
|
-
export declare const fetchText: (path: string, init?: RequestInit) => Promise<string>;
|
|
4
|
-
export declare const loadModule: (path: string, init?: RequestInit) => Promise<any>;
|
|
5
|
-
export declare const saveModule: (path: string, content: string) => Promise<Response>;
|
|
6
|
-
export declare const uploadFile: (body: any) => Promise<Response>;
|
|
7
|
-
export declare const getBinary: (path: string) => Promise<unknown[]>;
|
|
8
|
-
export declare const onUploadBinary: (path: string, buffer: any) => Promise<Response>;
|
|
9
|
-
//# sourceMappingURL=fs.d.ts.map
|
package/dist/helpers/fs.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fs.d.ts","sourceRoot":"","sources":["../../src/helpers/fs.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,GAAI,MAAM,MAAM,sBAA8B,CAAC;AAEnE,eAAO,MAAM,SAAS,GAAU,MAAM,MAAM,EAAE,OAAO,WAAW,iBAG/D,CAAC;AAEF,eAAO,MAAM,SAAS,GAAU,MAAM,MAAM,EAAE,OAAO,WAAW,oBAG/D,CAAC;AAEF,eAAO,MAAM,UAAU,GAAU,MAAM,MAAM,EAAE,OAAO,WAAW,iBAGhE,CAAC;AAEF,eAAO,MAAM,UAAU,GAAU,MAAM,MAAM,EAAE,SAAS,MAAM,sBAE7D,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,MAAM,GAAG,sBAA2C,CAAC;AAEhF,eAAO,MAAM,SAAS,GAAU,MAAM,MAAM,uBAK3C,CAAC;AAEF,eAAO,MAAM,cAAc,GAAU,MAAM,MAAM,EAAE,QAAQ,GAAG,sBAK7D,CAAC"}
|
package/dist/types/store.d.ts
DELETED
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { IMenuItem, IDialog } from './components';
|
|
2
|
-
export interface IStorePackage {
|
|
3
|
-
name: string;
|
|
4
|
-
version: string;
|
|
5
|
-
author: string;
|
|
6
|
-
email: string;
|
|
7
|
-
homepage: string;
|
|
8
|
-
description: string;
|
|
9
|
-
repository: {
|
|
10
|
-
type: string;
|
|
11
|
-
url: string;
|
|
12
|
-
};
|
|
13
|
-
bugs: {
|
|
14
|
-
url: string;
|
|
15
|
-
};
|
|
16
|
-
license: string;
|
|
17
|
-
}
|
|
18
|
-
export interface IStoreFile {
|
|
19
|
-
key: number;
|
|
20
|
-
isDir: number;
|
|
21
|
-
isFile: number;
|
|
22
|
-
command?: number;
|
|
23
|
-
size?: number;
|
|
24
|
-
name?: string;
|
|
25
|
-
}
|
|
26
|
-
export interface IStoreScan {
|
|
27
|
-
key: number;
|
|
28
|
-
id: number;
|
|
29
|
-
isHidden: number;
|
|
30
|
-
encryptionType: number;
|
|
31
|
-
channel: number;
|
|
32
|
-
rssi: number;
|
|
33
|
-
ssid: string;
|
|
34
|
-
}
|
|
35
|
-
export interface IStoreGpio {
|
|
36
|
-
key: number;
|
|
37
|
-
command: number;
|
|
38
|
-
gpio: number;
|
|
39
|
-
mode: number;
|
|
40
|
-
value: number;
|
|
41
|
-
interrupt: number;
|
|
42
|
-
disabled: number;
|
|
43
|
-
}
|
|
44
|
-
export interface IStoreSettings {
|
|
45
|
-
key?: number;
|
|
46
|
-
wifiDhcp?: number;
|
|
47
|
-
wifiMode?: number;
|
|
48
|
-
authMode?: number;
|
|
49
|
-
version?: number;
|
|
50
|
-
device?: number;
|
|
51
|
-
wifiIp?: number[];
|
|
52
|
-
wifiSubnet?: number[];
|
|
53
|
-
wifiGateway?: number[];
|
|
54
|
-
wifiDns?: number[];
|
|
55
|
-
wifiSsid?: string;
|
|
56
|
-
wifiPass?: string;
|
|
57
|
-
authLogin?: string;
|
|
58
|
-
authPass?: string;
|
|
59
|
-
}
|
|
60
|
-
export interface IStoreInfo {
|
|
61
|
-
id?: number;
|
|
62
|
-
firmware?: number[];
|
|
63
|
-
totalBytes?: number;
|
|
64
|
-
usedBytes?: number;
|
|
65
|
-
uptime?: number;
|
|
66
|
-
name?: string;
|
|
67
|
-
pkg?: IStorePackage;
|
|
68
|
-
}
|
|
69
|
-
export interface IStoreMain {
|
|
70
|
-
info?: IStoreInfo;
|
|
71
|
-
gpio: Record<string, IStoreGpio>;
|
|
72
|
-
device: any;
|
|
73
|
-
dallas: any;
|
|
74
|
-
}
|
|
75
|
-
export interface IStoreWebSocket {
|
|
76
|
-
fileList: IStoreFile[];
|
|
77
|
-
scanList: IStoreScan[];
|
|
78
|
-
path: string[];
|
|
79
|
-
settings: IStoreSettings;
|
|
80
|
-
main: IStoreMain;
|
|
81
|
-
progress: any;
|
|
82
|
-
}
|
|
83
|
-
export interface INotificationItem {
|
|
84
|
-
id?: number;
|
|
85
|
-
text?: string;
|
|
86
|
-
timeout?: number;
|
|
87
|
-
}
|
|
88
|
-
export interface IWSSend {
|
|
89
|
-
comm: string;
|
|
90
|
-
data?: any;
|
|
91
|
-
}
|
|
92
|
-
export interface IWebSocket {
|
|
93
|
-
socket: WebSocket | null;
|
|
94
|
-
pingClient: number;
|
|
95
|
-
pingDevice: number;
|
|
96
|
-
}
|
|
97
|
-
export interface IStoreApp {
|
|
98
|
-
menu: IMenuItem[];
|
|
99
|
-
isLoading: boolean;
|
|
100
|
-
theme: string;
|
|
101
|
-
dialog: IDialog;
|
|
102
|
-
notifications: INotificationItem[];
|
|
103
|
-
}
|
|
104
|
-
//# sourceMappingURL=store.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../src/types/store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