stellar-ui-plus 1.17.10 → 1.17.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stellar-ui-plus",
3
- "version": "1.17.10",
3
+ "version": "1.17.11",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "MIT",
package/store/color.ts CHANGED
@@ -1,4 +1,3 @@
1
- import { ref } from 'vue';
2
1
  const colorValue = {
3
2
  steThemeColor: '#0090FF',
4
3
  defaultColor: '#0090FF',
@@ -17,35 +16,3 @@ export function useColorStore() {
17
16
  setColor,
18
17
  };
19
18
  }
20
-
21
- // Object.assign(color, value);
22
- // console.log('color', color);
23
-
24
- // return {
25
- // color,
26
- // getColor,
27
- // setColor,
28
- // };
29
- // }
30
-
31
- // import { reactive } from 'vue';
32
- // const color = reactive({
33
- // steThemeColor: '#0090FF',
34
- // defaultColor: '#0090FF',
35
- // });
36
- // // 主题色内容
37
- // export function useColorStore() {
38
- // const getColor = () => {
39
- // return color;
40
- // };
41
- // const setColor = (value: any) => {
42
- // Object.assign(color, value);
43
- // console.log('color', color);
44
- // };
45
-
46
- // return {
47
- // color,
48
- // getColor,
49
- // setColor,
50
- // };
51
- // }
package/store/index.ts CHANGED
@@ -1,4 +1,2 @@
1
1
  // 模块统一导出
2
- // export * from './toast';
3
- // export * from './message-box';
4
2
  export * from './color';
@@ -1,54 +0,0 @@
1
- // import { defineStore } from 'pinia'
2
- // import { reactive } from 'vue'
3
- // import type { MessageBoxOptions } from '../types'
4
- // import { DEFAULT_CONFIG } from '../components/ste-message-box/constants'
5
-
6
- // // 定义消息框状态接口
7
- // interface MessageBoxState extends MessageBoxOptions {
8
- // show: boolean
9
- // }
10
-
11
- // // 定义消息框存储接口
12
- // interface MessageBoxStore {
13
- // [key: string]: MessageBoxState
14
- // }
15
-
16
- // export const useMsgBoxStore = defineStore('msgBox', () => {
17
- // const messageBox = reactive<MessageBoxStore>({})
18
-
19
- // const initializeState = (key: string): void => {
20
- // if (!messageBox[key]) {
21
- // messageBox[key] = {
22
- // show: false,
23
- // }
24
- // }
25
- // }
26
-
27
- // const setMessageBox = ({ key, params }: { key: string, params: Partial<MessageBoxState> }): void => {
28
- // if (messageBox[key])
29
- // Object.assign(messageBox[key], { ...DEFAULT_CONFIG, ...params })
30
- // }
31
-
32
- // const resetMessageBox = (key: string): void => {
33
- // if (messageBox[key]) {
34
- // Object.assign(messageBox[key], {
35
- // show: false,
36
- // })
37
- // }
38
- // }
39
-
40
- // const getMessageBox = (key: string): MessageBoxState => {
41
- // if (messageBox[key])
42
- // return messageBox[key]
43
-
44
- // return {} as MessageBoxState
45
- // }
46
-
47
- // return {
48
- // messageBox,
49
- // initializeState,
50
- // setMessageBox,
51
- // resetMessageBox,
52
- // getMessageBox,
53
- // }
54
- // })
package/store/toast.ts DELETED
@@ -1,50 +0,0 @@
1
- // import { defineStore } from 'pinia'
2
- // import { ref } from 'vue'
3
-
4
- // // 轻提示内容
5
- // export const useToastStore = defineStore('toast', () => {
6
- // const toast = ref({
7
- // show: false,
8
- // title: '',
9
- // icon: '',
10
- // image: '',
11
- // duration: 1500,
12
- // mask: false,
13
- // success: null,
14
- // fail: null,
15
- // complete: null,
16
- // close: null,
17
- // timer: [],
18
- // })
19
- // const setToast = (val: any) => {
20
- // toast.value = val
21
- // }
22
- // const getToast = () => {
23
- // return toast.value
24
- // }
25
-
26
- // return {
27
- // toast,
28
- // setToast,
29
- // getToast,
30
- // }
31
- // })
32
-
33
- // // 轻提示队列
34
- // export const useToastLastParams = defineStore('toastLastParams', () => {
35
- // const toastLastParams = ref({
36
- // time: 0,
37
- // })
38
- // const setToastLastParams = (val: any) => {
39
- // toastLastParams.value = val
40
- // }
41
- // const getToastLastParams = () => {
42
- // return toastLastParams.value
43
- // }
44
-
45
- // return {
46
- // toastLastParams,
47
- // setToastLastParams,
48
- // getToastLastParams,
49
- // }
50
- // })