@paperless/core 3.18.0 → 3.19.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/{paperless/p-3557f8b1.entry.js → build/p-0cea7ced.entry.js} +1 -1
- package/dist/{paperless/p-6dff428b.entry.js → build/p-47bdfa0d.entry.js} +1 -1
- package/dist/build/p-81e96c69.entry.js +1 -0
- package/dist/build/p-aea4ec07.js +1 -0
- package/dist/build/p-c3554748.entry.js +1 -0
- package/dist/build/{p-282b2776.entry.js → p-cb9baef3.entry.js} +1 -1
- package/dist/build/{p-fbabae11.entry.js → p-e3e43848.entry.js} +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/index-BGtpSJv_.js +8 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/p-empty-state_8.cjs.entry.js +6 -6
- package/dist/cjs/p-listing.cjs.entry.js +2 -2
- package/dist/cjs/p-navbar.cjs.entry.js +1 -1
- package/dist/cjs/p-submenu-item.cjs.entry.js +44 -0
- package/dist/cjs/p-submenu.cjs.entry.js +138 -0
- package/dist/cjs/p-toast.cjs.entry.js +1 -1
- package/dist/cjs/paperless.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/molecules/submenu/item/submenu-item.component.css +1 -0
- package/dist/collection/components/molecules/submenu/item/submenu-item.component.js +94 -0
- package/dist/collection/components/molecules/submenu/item/submenu-item.stories.js +20 -0
- package/dist/collection/components/molecules/submenu/menu/submenu.component.css +1 -0
- package/dist/collection/components/molecules/submenu/menu/submenu.component.js +265 -0
- package/dist/collection/components/molecules/submenu/menu/submenu.stories.js +35 -0
- package/dist/collection/components/molecules/table/cell/table-cell.component.js +1 -1
- package/dist/collection/components/molecules/table/footer/table-footer.component.js +2 -2
- package/dist/collection/components/molecules/table/row/table-row.component.js +3 -3
- package/dist/collection/components/molecules/toast/toast.component.js +1 -1
- package/dist/collection/components/organisms/listing/listing.component.js +2 -2
- package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
- package/dist/components/{p-PAx1R45S.js → p-BD5jS81-.js} +1 -1
- package/dist/components/{p-DpmybwXO.js → p-BwA3E_K4.js} +1 -1
- package/dist/components/p-POJeD79-.js +1 -0
- package/dist/components/p-listing.js +1 -1
- package/dist/components/p-navbar.js +1 -1
- package/dist/components/p-submenu-item.d.ts +11 -0
- package/dist/components/p-submenu-item.js +1 -0
- package/dist/components/p-submenu.d.ts +11 -0
- package/dist/components/p-submenu.js +1 -0
- package/dist/components/p-table-cell.js +1 -1
- package/dist/components/p-table-footer.js +1 -1
- package/dist/components/p-table-row.js +1 -1
- package/dist/components/p-table.js +1 -1
- package/dist/components/p-toast.js +1 -1
- package/dist/esm/index-yFtRjnrU.js +8 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/p-empty-state_8.entry.js +6 -6
- package/dist/esm/p-listing.entry.js +2 -2
- package/dist/esm/p-navbar.entry.js +1 -1
- package/dist/esm/p-submenu-item.entry.js +42 -0
- package/dist/esm/p-submenu.entry.js +136 -0
- package/dist/esm/p-toast.entry.js +1 -1
- package/dist/esm/paperless.js +1 -1
- package/dist/index.html +1 -1
- package/dist/{build/p-3557f8b1.entry.js → paperless/p-0cea7ced.entry.js} +1 -1
- package/dist/{build/p-6dff428b.entry.js → paperless/p-47bdfa0d.entry.js} +1 -1
- package/dist/paperless/p-81e96c69.entry.js +1 -0
- package/dist/paperless/p-c3554748.entry.js +1 -0
- package/dist/paperless/{p-282b2776.entry.js → p-cb9baef3.entry.js} +1 -1
- package/dist/paperless/{p-fbabae11.entry.js → p-e3e43848.entry.js} +1 -1
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/types/components/molecules/submenu/item/submenu-item.component.d.ts +12 -0
- package/dist/types/components/molecules/submenu/item/submenu-item.stories.d.ts +21 -0
- package/dist/types/components/molecules/submenu/menu/submenu.component.d.ts +32 -0
- package/dist/types/components/molecules/submenu/menu/submenu.stories.d.ts +28 -0
- package/dist/types/components.d.ts +106 -0
- package/hydrate/index.js +218 -28
- package/hydrate/index.mjs +218 -28
- package/package.json +9 -1
- package/dist/build/p-112e3ccc.js +0 -1
- package/dist/components/p-BO7NYfW5.js +0 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare const meta: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: string;
|
|
4
|
+
args: {
|
|
5
|
+
content: string;
|
|
6
|
+
icon: string;
|
|
7
|
+
};
|
|
8
|
+
argTypes: {
|
|
9
|
+
content: {
|
|
10
|
+
type: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export default meta;
|
|
15
|
+
export declare const Default: {
|
|
16
|
+
render: ({ active, content, icon }: {
|
|
17
|
+
active: any;
|
|
18
|
+
content: any;
|
|
19
|
+
icon: any;
|
|
20
|
+
}) => import("lit-html").TemplateResult<1>;
|
|
21
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export declare class Submenu {
|
|
2
|
+
/**
|
|
3
|
+
* Title of the submenu
|
|
4
|
+
*/
|
|
5
|
+
title: string;
|
|
6
|
+
/**
|
|
7
|
+
* Subtitle of the submenu
|
|
8
|
+
*/
|
|
9
|
+
subtitle: string;
|
|
10
|
+
/**
|
|
11
|
+
* Index of the submenu
|
|
12
|
+
*/
|
|
13
|
+
index: number;
|
|
14
|
+
/**
|
|
15
|
+
* Wether to show the index
|
|
16
|
+
*/
|
|
17
|
+
showIndex: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Wether the submenu is active or not
|
|
20
|
+
*/
|
|
21
|
+
active: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Wether the submenu is open or not
|
|
24
|
+
*/
|
|
25
|
+
open: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* The host element
|
|
28
|
+
*/
|
|
29
|
+
private _el;
|
|
30
|
+
componentDidLoad(): void;
|
|
31
|
+
render(): any;
|
|
32
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
declare const meta: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: string;
|
|
4
|
+
args: {
|
|
5
|
+
title: string;
|
|
6
|
+
subtitle: string;
|
|
7
|
+
index: number;
|
|
8
|
+
};
|
|
9
|
+
parameters: {
|
|
10
|
+
docs: {
|
|
11
|
+
iframeHeight: number;
|
|
12
|
+
story: {
|
|
13
|
+
height: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export default meta;
|
|
19
|
+
export declare const Default: {
|
|
20
|
+
render: ({ active, open, title, subtitle, index, showIndex }: {
|
|
21
|
+
active: any;
|
|
22
|
+
open: any;
|
|
23
|
+
title: any;
|
|
24
|
+
subtitle: any;
|
|
25
|
+
index: any;
|
|
26
|
+
showIndex: any;
|
|
27
|
+
}) => import("lit-html").TemplateResult<1>;
|
|
28
|
+
};
|
|
@@ -1977,6 +1977,50 @@ export namespace Components {
|
|
|
1977
1977
|
*/
|
|
1978
1978
|
"direction": 'horizontal' | 'vertical';
|
|
1979
1979
|
}
|
|
1980
|
+
interface PSubmenu {
|
|
1981
|
+
/**
|
|
1982
|
+
* Wether the submenu is active or not
|
|
1983
|
+
* @default false
|
|
1984
|
+
*/
|
|
1985
|
+
"active": boolean;
|
|
1986
|
+
/**
|
|
1987
|
+
* Index of the submenu
|
|
1988
|
+
* @default 0
|
|
1989
|
+
*/
|
|
1990
|
+
"index": number;
|
|
1991
|
+
/**
|
|
1992
|
+
* Wether the submenu is open or not
|
|
1993
|
+
* @default false
|
|
1994
|
+
*/
|
|
1995
|
+
"open": boolean;
|
|
1996
|
+
/**
|
|
1997
|
+
* Wether to show the index
|
|
1998
|
+
* @default true
|
|
1999
|
+
*/
|
|
2000
|
+
"showIndex": boolean;
|
|
2001
|
+
/**
|
|
2002
|
+
* Subtitle of the submenu
|
|
2003
|
+
* @default ''
|
|
2004
|
+
*/
|
|
2005
|
+
"subtitle": string;
|
|
2006
|
+
/**
|
|
2007
|
+
* Title of the submenu
|
|
2008
|
+
* @default ''
|
|
2009
|
+
*/
|
|
2010
|
+
"title": string;
|
|
2011
|
+
}
|
|
2012
|
+
interface PSubmenuItem {
|
|
2013
|
+
/**
|
|
2014
|
+
* Wether the submenu is active or not
|
|
2015
|
+
* @default false
|
|
2016
|
+
*/
|
|
2017
|
+
"active": boolean;
|
|
2018
|
+
/**
|
|
2019
|
+
* Icon to show on the label
|
|
2020
|
+
* @default 'placeholder'
|
|
2021
|
+
*/
|
|
2022
|
+
"icon": IconVariant1;
|
|
2023
|
+
}
|
|
1980
2024
|
interface PTabContainer {
|
|
1981
2025
|
}
|
|
1982
2026
|
interface PTabItem {
|
|
@@ -3478,6 +3522,18 @@ declare global {
|
|
|
3478
3522
|
prototype: HTMLPStepperLineElement;
|
|
3479
3523
|
new (): HTMLPStepperLineElement;
|
|
3480
3524
|
};
|
|
3525
|
+
interface HTMLPSubmenuElement extends Components.PSubmenu, HTMLStencilElement {
|
|
3526
|
+
}
|
|
3527
|
+
var HTMLPSubmenuElement: {
|
|
3528
|
+
prototype: HTMLPSubmenuElement;
|
|
3529
|
+
new (): HTMLPSubmenuElement;
|
|
3530
|
+
};
|
|
3531
|
+
interface HTMLPSubmenuItemElement extends Components.PSubmenuItem, HTMLStencilElement {
|
|
3532
|
+
}
|
|
3533
|
+
var HTMLPSubmenuItemElement: {
|
|
3534
|
+
prototype: HTMLPSubmenuItemElement;
|
|
3535
|
+
new (): HTMLPSubmenuItemElement;
|
|
3536
|
+
};
|
|
3481
3537
|
interface HTMLPTabContainerElement extends Components.PTabContainer, HTMLStencilElement {
|
|
3482
3538
|
}
|
|
3483
3539
|
var HTMLPTabContainerElement: {
|
|
@@ -3746,6 +3802,8 @@ declare global {
|
|
|
3746
3802
|
"p-stepper": HTMLPStepperElement;
|
|
3747
3803
|
"p-stepper-item": HTMLPStepperItemElement;
|
|
3748
3804
|
"p-stepper-line": HTMLPStepperLineElement;
|
|
3805
|
+
"p-submenu": HTMLPSubmenuElement;
|
|
3806
|
+
"p-submenu-item": HTMLPSubmenuItemElement;
|
|
3749
3807
|
"p-tab-container": HTMLPTabContainerElement;
|
|
3750
3808
|
"p-tab-item": HTMLPTabItemElement;
|
|
3751
3809
|
"p-table": HTMLPTableElement;
|
|
@@ -5857,6 +5915,50 @@ declare namespace LocalJSX {
|
|
|
5857
5915
|
*/
|
|
5858
5916
|
"direction"?: 'horizontal' | 'vertical';
|
|
5859
5917
|
}
|
|
5918
|
+
interface PSubmenu {
|
|
5919
|
+
/**
|
|
5920
|
+
* Wether the submenu is active or not
|
|
5921
|
+
* @default false
|
|
5922
|
+
*/
|
|
5923
|
+
"active"?: boolean;
|
|
5924
|
+
/**
|
|
5925
|
+
* Index of the submenu
|
|
5926
|
+
* @default 0
|
|
5927
|
+
*/
|
|
5928
|
+
"index"?: number;
|
|
5929
|
+
/**
|
|
5930
|
+
* Wether the submenu is open or not
|
|
5931
|
+
* @default false
|
|
5932
|
+
*/
|
|
5933
|
+
"open"?: boolean;
|
|
5934
|
+
/**
|
|
5935
|
+
* Wether to show the index
|
|
5936
|
+
* @default true
|
|
5937
|
+
*/
|
|
5938
|
+
"showIndex"?: boolean;
|
|
5939
|
+
/**
|
|
5940
|
+
* Subtitle of the submenu
|
|
5941
|
+
* @default ''
|
|
5942
|
+
*/
|
|
5943
|
+
"subtitle"?: string;
|
|
5944
|
+
/**
|
|
5945
|
+
* Title of the submenu
|
|
5946
|
+
* @default ''
|
|
5947
|
+
*/
|
|
5948
|
+
"title"?: string;
|
|
5949
|
+
}
|
|
5950
|
+
interface PSubmenuItem {
|
|
5951
|
+
/**
|
|
5952
|
+
* Wether the submenu is active or not
|
|
5953
|
+
* @default false
|
|
5954
|
+
*/
|
|
5955
|
+
"active"?: boolean;
|
|
5956
|
+
/**
|
|
5957
|
+
* Icon to show on the label
|
|
5958
|
+
* @default 'placeholder'
|
|
5959
|
+
*/
|
|
5960
|
+
"icon"?: IconVariant1;
|
|
5961
|
+
}
|
|
5860
5962
|
interface PTabContainer {
|
|
5861
5963
|
}
|
|
5862
5964
|
interface PTabItem {
|
|
@@ -6700,6 +6802,8 @@ declare namespace LocalJSX {
|
|
|
6700
6802
|
"p-stepper": PStepper;
|
|
6701
6803
|
"p-stepper-item": PStepperItem;
|
|
6702
6804
|
"p-stepper-line": PStepperLine;
|
|
6805
|
+
"p-submenu": PSubmenu;
|
|
6806
|
+
"p-submenu-item": PSubmenuItem;
|
|
6703
6807
|
"p-tab-container": PTabContainer;
|
|
6704
6808
|
"p-tab-item": PTabItem;
|
|
6705
6809
|
"p-table": PTable;
|
|
@@ -6786,6 +6890,8 @@ declare module "@stencil/core" {
|
|
|
6786
6890
|
"p-stepper": LocalJSX.PStepper & JSXBase.HTMLAttributes<HTMLPStepperElement>;
|
|
6787
6891
|
"p-stepper-item": LocalJSX.PStepperItem & JSXBase.HTMLAttributes<HTMLPStepperItemElement>;
|
|
6788
6892
|
"p-stepper-line": LocalJSX.PStepperLine & JSXBase.HTMLAttributes<HTMLPStepperLineElement>;
|
|
6893
|
+
"p-submenu": LocalJSX.PSubmenu & JSXBase.HTMLAttributes<HTMLPSubmenuElement>;
|
|
6894
|
+
"p-submenu-item": LocalJSX.PSubmenuItem & JSXBase.HTMLAttributes<HTMLPSubmenuItemElement>;
|
|
6789
6895
|
"p-tab-container": LocalJSX.PTabContainer & JSXBase.HTMLAttributes<HTMLPTabContainerElement>;
|
|
6790
6896
|
"p-tab-item": LocalJSX.PTabItem & JSXBase.HTMLAttributes<HTMLPTabItemElement>;
|
|
6791
6897
|
"p-table": LocalJSX.PTable & JSXBase.HTMLAttributes<HTMLPTableElement>;
|