@point-hub/papp 0.0.111 → 0.0.113
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 +11 -1
- package/dist/components/app-footer.vue.d.ts +1 -0
- package/dist/components/app-header.vue.d.ts +17 -114
- package/dist/components/app-sidebar-panel.vue.d.ts +2 -1
- package/dist/components/app-sidebar.vue.d.ts +2 -1
- package/dist/components/base-accordion-item.vue.d.ts +1 -0
- package/dist/components/base-autocomplete.vue.d.ts +3 -2
- package/dist/components/base-avatar.vue.d.ts +2 -2
- package/dist/components/base-button.vue.d.ts +5 -1
- package/dist/components/base-checkbox.vue.d.ts +3 -3
- package/dist/components/base-choosen.vue.d.ts +2 -1
- package/dist/components/base-datepicker.vue.d.ts +3 -2
- package/dist/components/base-file-upload.vue.d.ts +4 -3
- package/dist/components/base-input-mask.vue.d.ts +5 -3
- package/dist/components/base-input-number.vue.d.ts +7 -5
- package/dist/components/base-input.vue.d.ts +8 -4
- package/dist/components/base-link.vue.d.ts +4 -1
- package/dist/components/base-progress.vue.d.ts +1 -1
- package/dist/components/base-radio.vue.d.ts +4 -4
- package/dist/components/base-range.vue.d.ts +2 -1
- package/dist/components/base-select.vue.d.ts +6 -5
- package/dist/components/base-spinner.vue.d.ts +1 -1
- package/dist/components/base-switch.vue.d.ts +4 -3
- package/dist/components/base-textarea.vue.d.ts +3 -2
- package/dist/components/base-toast.vue.d.ts +5 -2
- package/dist/components/header-menu-account.vue.d.ts +7 -0
- package/dist/components/header-menu-dark-mode.vue.d.ts +12 -0
- package/dist/components/header-menu-signout.vue.d.ts +5 -0
- package/dist/components/header-menu-switch-organization.vue.d.ts +9 -0
- package/dist/components/header-menu.vue.d.ts +26 -0
- package/dist/components/header-notification.vue.d.ts +59 -0
- package/dist/components/header-sidebar-button.vue.d.ts +12 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +4601 -4392
- package/dist/index.umd.cjs +7 -7
- package/dist/layouts/app.vue.d.ts +1 -1
- package/dist/pages/{page-1.vue.d.ts → cypress-selector.vue.d.ts} +1 -1
- package/dist/plugins/base.d.ts +2 -5
- package/dist/plugins/input-mask.d.ts +2 -5
- package/dist/plugins/tooltip.d.ts +2 -5
- package/dist/stores/sidebar-menu.d.ts +47 -28
- package/package.json +11 -2
- package/dist/pages/page-2.vue.d.ts +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
2
|
export default _default;
|
package/dist/plugins/base.d.ts
CHANGED
|
@@ -1,55 +1,74 @@
|
|
|
1
|
-
|
|
2
|
-
export interface PanelMenuInterface {
|
|
1
|
+
export interface IAppMenu {
|
|
3
2
|
name: string;
|
|
3
|
+
path: string;
|
|
4
4
|
icon?: string;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
menu?: MenuInterface[];
|
|
5
|
+
menu?: IMenu[];
|
|
6
|
+
dataTestid?: string;
|
|
8
7
|
}
|
|
9
|
-
export interface
|
|
8
|
+
export interface IMenu {
|
|
10
9
|
name: string;
|
|
11
10
|
path?: string;
|
|
12
|
-
link?: string;
|
|
13
11
|
separator?: boolean;
|
|
14
|
-
submenu?:
|
|
12
|
+
submenu?: ISubmenu[];
|
|
13
|
+
dataTestid?: string;
|
|
15
14
|
}
|
|
16
|
-
export interface
|
|
15
|
+
export interface ISubmenu {
|
|
17
16
|
name: string;
|
|
18
|
-
path
|
|
19
|
-
link?: string;
|
|
17
|
+
path: string;
|
|
20
18
|
separator?: boolean;
|
|
19
|
+
dataTestid?: string;
|
|
21
20
|
}
|
|
22
21
|
export interface StateInterface {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
listPanelMenu: PanelMenuInterface[];
|
|
22
|
+
choosenAppTitle: string;
|
|
23
|
+
choosenAppIndex: number;
|
|
24
|
+
appMenu: IAppMenu[];
|
|
27
25
|
}
|
|
28
26
|
export declare const useSidebarMenuStore: import('pinia').StoreDefinition<"sidebar-menu", StateInterface, {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
27
|
+
getChoosenAppTitle: (state: {
|
|
28
|
+
choosenAppTitle: string;
|
|
29
|
+
choosenAppIndex: number;
|
|
30
|
+
appMenu: {
|
|
31
|
+
name: string;
|
|
32
|
+
path: string;
|
|
33
|
+
icon?: string | undefined;
|
|
34
|
+
menu?: {
|
|
35
|
+
name: string;
|
|
36
|
+
path?: string | undefined;
|
|
37
|
+
separator?: boolean | undefined;
|
|
38
|
+
submenu?: {
|
|
39
|
+
name: string;
|
|
40
|
+
path: string;
|
|
41
|
+
separator?: boolean | undefined;
|
|
42
|
+
dataTestid?: string | undefined;
|
|
43
|
+
}[] | undefined;
|
|
44
|
+
dataTestid?: string | undefined;
|
|
45
|
+
}[] | undefined;
|
|
46
|
+
dataTestid?: string | undefined;
|
|
47
|
+
}[];
|
|
48
|
+
} & import('pinia').PiniaCustomStateProperties<StateInterface>) => string;
|
|
49
|
+
getChoosenAppIndex: (state: {
|
|
50
|
+
choosenAppTitle: string;
|
|
51
|
+
choosenAppIndex: number;
|
|
52
|
+
appMenu: {
|
|
34
53
|
name: string;
|
|
54
|
+
path: string;
|
|
35
55
|
icon?: string | undefined;
|
|
36
|
-
path?: string | undefined;
|
|
37
|
-
link?: string | undefined;
|
|
38
56
|
menu?: {
|
|
39
57
|
name: string;
|
|
40
58
|
path?: string | undefined;
|
|
41
|
-
link?: string | undefined;
|
|
42
59
|
separator?: boolean | undefined;
|
|
43
60
|
submenu?: {
|
|
44
61
|
name: string;
|
|
45
|
-
path
|
|
46
|
-
link?: string | undefined;
|
|
62
|
+
path: string;
|
|
47
63
|
separator?: boolean | undefined;
|
|
64
|
+
dataTestid?: string | undefined;
|
|
48
65
|
}[] | undefined;
|
|
66
|
+
dataTestid?: string | undefined;
|
|
49
67
|
}[] | undefined;
|
|
68
|
+
dataTestid?: string | undefined;
|
|
50
69
|
}[];
|
|
51
|
-
} & import('pinia').PiniaCustomStateProperties<StateInterface>) =>
|
|
70
|
+
} & import('pinia').PiniaCustomStateProperties<StateInterface>) => number;
|
|
52
71
|
}, {
|
|
53
|
-
|
|
54
|
-
|
|
72
|
+
setAppMenu(appMenu: IAppMenu[], appList?: IAppMenu[]): void;
|
|
73
|
+
onChooseApp(path: string): void;
|
|
55
74
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@point-hub/papp",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.113",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.umd.cjs",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -28,6 +28,8 @@
|
|
|
28
28
|
"build": "run-s clean-dist build:lib docs:build",
|
|
29
29
|
"build:lib": "vite build",
|
|
30
30
|
"test": "vitest",
|
|
31
|
+
"test:e2e": "start-server-and-test 'vite dev --port 4173' http://localhost:4173 'cypress run --e2e'",
|
|
32
|
+
"test:e2e:dev": "start-server-and-test 'vite dev --port 4173' http://localhost:4173 'cypress open --e2e'",
|
|
31
33
|
"types": "vue-tsc --build",
|
|
32
34
|
"lint": "eslint .",
|
|
33
35
|
"lint:fix": "eslint . --fix",
|
|
@@ -46,12 +48,16 @@
|
|
|
46
48
|
"date-fns": "^4.1.0",
|
|
47
49
|
"pinia": "^3.0.2",
|
|
48
50
|
"uuid": "^11.1.0",
|
|
49
|
-
"vue": "^3.5.14",
|
|
50
51
|
"vue-router": "4",
|
|
51
52
|
"vue-tippy": "^6.7.1",
|
|
52
53
|
"vue3-popper": "^1.5.0"
|
|
53
54
|
},
|
|
55
|
+
"peerDependencies": {
|
|
56
|
+
"vue": "^3.5.14"
|
|
57
|
+
},
|
|
54
58
|
"devDependencies": {
|
|
59
|
+
"@badeball/cypress-cucumber-preprocessor": "^22.0.1",
|
|
60
|
+
"@bahmutov/cypress-esbuild-preprocessor": "^2.2.5",
|
|
55
61
|
"@tsconfig/node20": "^20.1.5",
|
|
56
62
|
"@types/cleave.js": "^1.4.12",
|
|
57
63
|
"@types/jsdom": "^21.1.7",
|
|
@@ -67,6 +73,7 @@
|
|
|
67
73
|
"@vue/test-utils": "^2.4.6",
|
|
68
74
|
"@vue/tsconfig": "^0.7.0",
|
|
69
75
|
"ajv": "^8.17.1",
|
|
76
|
+
"cypress-file-upload": "^5.0.8",
|
|
70
77
|
"eslint": "9.27.0",
|
|
71
78
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
72
79
|
"eslint-plugin-vue": "^10.1.0",
|
|
@@ -75,12 +82,14 @@
|
|
|
75
82
|
"postcss": "^8.5.3",
|
|
76
83
|
"prettier": "^3.5.3",
|
|
77
84
|
"rimraf": "^6.0.1",
|
|
85
|
+
"start-server-and-test": "^2.0.12",
|
|
78
86
|
"typescript": "5.8.3",
|
|
79
87
|
"unocss": "^0.60.4",
|
|
80
88
|
"vite": "^6.3.5",
|
|
81
89
|
"vite-plugin-dts": "4.5.4",
|
|
82
90
|
"vitepress": "1.6.3",
|
|
83
91
|
"vitest": "^3.1.4",
|
|
92
|
+
"vue": "^3.5.14",
|
|
84
93
|
"vue-tsc": "^2.2.10"
|
|
85
94
|
},
|
|
86
95
|
"repository": {
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|