pangea-lib 4.0.244 → 4.0.246

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.
Files changed (26) hide show
  1. package/dist/main.cjs.js +117 -117
  2. package/dist/main.css +1 -1
  3. package/dist/main.es.js +2532 -2503
  4. package/dist/types/components/index.d.ts +1 -5
  5. package/dist/types/components/layout/PgaLayout.vue.d.ts +21 -2
  6. package/dist/types/components/layout/{PgaBottomBar.vue.d.ts → components/PgaBottomBar.vue.d.ts} +1 -1
  7. package/dist/types/components/layout/{PgaSideBar.vue.d.ts → components/PgaSideBar.vue.d.ts} +1 -1
  8. package/dist/types/stores/route.store.d.ts +13 -10
  9. package/dist/types/types/router.types.d.ts +1 -0
  10. package/package.json +1 -1
  11. /package/dist/types/components/form/inputs/{inner-components → components}/PgaInputRightButton.vue.d.ts +0 -0
  12. /package/dist/types/components/form/inputs/{inner-components → components}/PgaVueDatePicker.vue.d.ts +0 -0
  13. /package/dist/types/components/image/{inner-components → components}/PgaImagesFullScreen.vue.d.ts +0 -0
  14. /package/dist/types/components/image/{inner-components → components}/PgaImagesFullScreenButton.vue.d.ts +0 -0
  15. /package/dist/types/components/layout/{NotFound.vue.d.ts → PgaNotFound.vue.d.ts} +0 -0
  16. /package/dist/types/components/layout/{PgaFooter.vue.d.ts → components/PgaFooter.vue.d.ts} +0 -0
  17. /package/dist/types/components/layout/{PgaHeader.vue.d.ts → components/PgaHeader.vue.d.ts} +0 -0
  18. /package/dist/types/components/layout/{inner-components → components}/PgaLogo.vue.d.ts +0 -0
  19. /package/dist/types/components/table/{inner-components → components}/PgaActionsButtons.vue.d.ts +0 -0
  20. /package/dist/types/components/table/{inner-components → components}/PgaFiltersModal.vue.d.ts +0 -0
  21. /package/dist/types/components/table/{inner-components → components}/PgaGroupTitle.vue.d.ts +0 -0
  22. /package/dist/types/components/table/{inner-components → components}/PgaItemsList.vue.d.ts +0 -0
  23. /package/dist/types/components/table/{inner-components → components}/PgaTd.vue.d.ts +0 -0
  24. /package/dist/types/components/table/{inner-components → components}/PgaTh.vue.d.ts +0 -0
  25. /package/dist/types/components/table/{inner-components → components}/PgaTr.vue.d.ts +0 -0
  26. /package/dist/types/components/table/{inner-components → components}/PgaTrTitle.vue.d.ts +0 -0
@@ -67,13 +67,9 @@ export { default as PgaYearPicker } from './form/inputs/PgaYearPicker.vue';
67
67
  export { default as PgaImage } from './image/PgaImage.vue';
68
68
  export { default as PgaImages } from './image/PgaImages.vue';
69
69
  export { default as PgaInfoPanel } from './info-panel/PgaInfoPanel.vue';
70
- export { default as NotFound } from './layout/NotFound.vue';
71
- export { default as PgaBottomBar } from './layout/PgaBottomBar.vue';
72
70
  export { default as PgaBreadcrumb } from './layout/PgaBreadcrumb.vue';
73
- export { default as PgaFooter } from './layout/PgaFooter.vue';
74
- export { default as PgaHeader } from './layout/PgaHeader.vue';
75
71
  export { default as PgaLayout } from './layout/PgaLayout.vue';
72
+ export { default as PgaNotFound } from './layout/PgaNotFound.vue';
76
73
  export { default as PgaSection } from './layout/PgaSection.vue';
77
- export { default as PgaSideBar } from './layout/PgaSideBar.vue';
78
74
  export { default as PgaPagination } from './table/PgaPagination.vue';
79
75
  export { default as PgaTable } from './table/PgaTable.vue';
@@ -1,9 +1,28 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>, {
1
+ import { Route, NavSection } from '../../types';
2
+
3
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
4
+ hideChangeThemeBtn?: boolean;
5
+ routes?: Route[];
6
+ navSections?: NavSection[];
7
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
+ hideChangeThemeBtn?: boolean;
9
+ routes?: Route[];
10
+ navSections?: NavSection[];
11
+ }>>>, {}, {}>, {
2
12
  banner?(_: {}): any;
3
- default?(_: {}): any;
13
+ userMenu?(_: {}): any;
4
14
  footer?(_: {}): any;
5
15
  }>;
6
16
  export default _default;
17
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
18
+ type __VLS_TypePropsToRuntimeProps<T> = {
19
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
20
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
21
+ } : {
22
+ type: import('vue').PropType<T[K]>;
23
+ required: true;
24
+ };
25
+ };
7
26
  type __VLS_WithTemplateSlots<T, S> = T & {
8
27
  new (): {
9
28
  $slots: S;
@@ -1,4 +1,4 @@
1
- import { Route, NavSection } from '../../types';
1
+ import { Route, NavSection } from '../../../types';
2
2
 
3
3
  declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
4
4
  routes: Route[];
@@ -1,4 +1,4 @@
1
- import { Route, NavSection } from '../../types';
1
+ import { Route, NavSection } from '../../../types';
2
2
 
3
3
  declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
4
4
  routes: Route[];
@@ -4,9 +4,10 @@ export declare const useRouteStore: import('pinia').StoreDefinition<"pga-route",
4
4
  isDisplayingBanner: import('vue').Ref<boolean>;
5
5
  routeType: import('vue').ComputedRef<string>;
6
6
  routeTitle: import('vue').ComputedRef<string>;
7
- routeMeta: import('vue').ComputedRef<import('../types').RouteMetaNavigable | import('../types').RouteMetaNotNavigable>;
8
- routeAccess: import('vue').ComputedRef<string>;
9
- routeDescription: import('vue').ComputedRef<string>;
7
+ meta: import('vue').ComputedRef<import('../types').RouteMetaNavigable | import('../types').RouteMetaNotNavigable>;
8
+ access: import('vue').ComputedRef<string>;
9
+ withTitle: import('vue').ComputedRef<boolean>;
10
+ description: import('vue').ComputedRef<string>;
10
11
  noDisplayNavBars: import('vue').ComputedRef<boolean>;
11
12
  isDisplayingSideBar: import('vue').ComputedRef<boolean>;
12
13
  useFullPage: import('vue').ComputedRef<boolean>;
@@ -17,22 +18,24 @@ export declare const useRouteStore: import('pinia').StoreDefinition<"pga-route",
17
18
  isDisplayingBanner: import('vue').Ref<boolean>;
18
19
  routeType: import('vue').ComputedRef<string>;
19
20
  routeTitle: import('vue').ComputedRef<string>;
20
- routeMeta: import('vue').ComputedRef<import('../types').RouteMetaNavigable | import('../types').RouteMetaNotNavigable>;
21
- routeAccess: import('vue').ComputedRef<string>;
22
- routeDescription: import('vue').ComputedRef<string>;
21
+ meta: import('vue').ComputedRef<import('../types').RouteMetaNavigable | import('../types').RouteMetaNotNavigable>;
22
+ access: import('vue').ComputedRef<string>;
23
+ withTitle: import('vue').ComputedRef<boolean>;
24
+ description: import('vue').ComputedRef<string>;
23
25
  noDisplayNavBars: import('vue').ComputedRef<boolean>;
24
26
  isDisplayingSideBar: import('vue').ComputedRef<boolean>;
25
27
  useFullPage: import('vue').ComputedRef<boolean>;
26
28
  noPaddingX: import('vue').ComputedRef<boolean>;
27
- }, "noDisplayNavBars" | "useFullPage" | "noPaddingX" | "routeType" | "routeTitle" | "routeMeta" | "routeAccess" | "routeDescription" | "isDisplayingSideBar">, Pick<{
29
+ }, "meta" | "access" | "withTitle" | "description" | "noDisplayNavBars" | "useFullPage" | "noPaddingX" | "routeType" | "routeTitle" | "isDisplayingSideBar">, Pick<{
28
30
  currentRoute: import('vue').Ref<import('vue-router').RouteLocationGeneric>;
29
31
  isSideBarOpen: import('vue').Ref<boolean>;
30
32
  isDisplayingBanner: import('vue').Ref<boolean>;
31
33
  routeType: import('vue').ComputedRef<string>;
32
34
  routeTitle: import('vue').ComputedRef<string>;
33
- routeMeta: import('vue').ComputedRef<import('../types').RouteMetaNavigable | import('../types').RouteMetaNotNavigable>;
34
- routeAccess: import('vue').ComputedRef<string>;
35
- routeDescription: import('vue').ComputedRef<string>;
35
+ meta: import('vue').ComputedRef<import('../types').RouteMetaNavigable | import('../types').RouteMetaNotNavigable>;
36
+ access: import('vue').ComputedRef<string>;
37
+ withTitle: import('vue').ComputedRef<boolean>;
38
+ description: import('vue').ComputedRef<string>;
36
39
  noDisplayNavBars: import('vue').ComputedRef<boolean>;
37
40
  isDisplayingSideBar: import('vue').ComputedRef<boolean>;
38
41
  useFullPage: import('vue').ComputedRef<boolean>;
@@ -8,6 +8,7 @@ export type NavSection = {
8
8
  export type RouteAccess = string;
9
9
  export type RouteMetaGeneral = {
10
10
  access: RouteAccess;
11
+ withTitle?: BoolOrFn;
11
12
  description?: StrOrFn;
12
13
  noDisplayNavBars?: BoolOrFn;
13
14
  useFullPage?: BoolOrFn;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pangea-lib",
3
3
  "description": "",
4
- "version": "4.0.244",
4
+ "version": "4.0.246",
5
5
  "author": "Gianfranco Raselli",
6
6
  "license": "ISC",
7
7
  "homepage": "https://github.com/GianfrancoRaselli/pangea-lib#readme",