x-essential-lib 0.1.1 → 0.1.3
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/index.d.ts +19 -2
- package/dist/index.js +325 -274
- package/package.json +4 -1
- package/.editorconfig +0 -5
- package/.eslintignore +0 -1
- package/.eslintrc.cjs +0 -18
- package/.husky/pre-commit +0 -1
- package/.prettierignore +0 -7
- package/.prettierrc +0 -16
- package/index.html +0 -12
- package/public/index.d.ts +0 -89
- package/src/App.vue +0 -9
- package/src/components/confirmDlg/index.vue +0 -98
- package/src/components/loading/index.vue +0 -131
- package/src/components/message/index.vue +0 -70
- package/src/components/message/item.vue +0 -75
- package/src/components/promptDlg/index.vue +0 -119
- package/src/components/waitDlg/index.vue +0 -41
- package/src/index.ts +0 -38
- package/src/main.ts +0 -5
- package/src/plugins/vuetify.ts +0 -4
- package/src/utils/core.ts +0 -31
- package/src/utils/dialog.ts +0 -87
- package/src/utils/message.ts +0 -17
- package/src/utils/misc.ts +0 -23
- package/src/vite-env.d.ts +0 -1
- package/tsconfig.json +0 -25
- package/tsconfig.node.json +0 -9
- package/vite.config.ts +0 -37
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DefineComponent } from 'vue'
|
|
1
|
+
import { DefineComponent, ComputedRef, Ref } from 'vue'
|
|
2
2
|
|
|
3
3
|
export declare const XConfirmDlg: DefineComponent<
|
|
4
4
|
{
|
|
@@ -7,7 +7,7 @@ export declare const XConfirmDlg: DefineComponent<
|
|
|
7
7
|
required: true
|
|
8
8
|
}
|
|
9
9
|
},
|
|
10
|
-
|
|
10
|
+
{
|
|
11
11
|
'update:modelValue'(value: boolean): void
|
|
12
12
|
},
|
|
13
13
|
unknown
|
|
@@ -41,6 +41,23 @@ export declare const XPromptDlg: DefineComponent<
|
|
|
41
41
|
|
|
42
42
|
export declare const XMessage: DefineComponent<{}, {}, unknown>
|
|
43
43
|
|
|
44
|
+
export declare function useColor(): {
|
|
45
|
+
primaryColor: ComputedRef<string>
|
|
46
|
+
secondaryColor: ComputedRef<string>
|
|
47
|
+
backgroundColor0: ComputedRef<string>
|
|
48
|
+
backgroundColor1: ComputedRef<string>
|
|
49
|
+
backgroundColor2: ComputedRef<string>
|
|
50
|
+
highlightColor: ComputedRef<string>
|
|
51
|
+
borderColor: ComputedRef<string>
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export declare function useSystem(): {
|
|
55
|
+
dark: ComputedRef<boolean>
|
|
56
|
+
routeTransName: Ref<string>
|
|
57
|
+
sysBarAvail: ComputedRef<boolean>
|
|
58
|
+
compactWidth: ComputedRef<string>
|
|
59
|
+
}
|
|
60
|
+
|
|
44
61
|
export declare function waitMs(ms: number): Promise<void>
|
|
45
62
|
|
|
46
63
|
export declare function waitUtil(
|