@saasquatch/mint-components 1.13.5-0 → 1.14.0
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/cjs/ErrorView-b2fcf954.js +35 -0
- package/dist/cjs/{ShadowViewAddon-14a02da4.js → ShadowViewAddon-787391f7.js} +6 -5
- package/dist/cjs/copy-text-view-c85acaaa.js +96 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-banking-info-form_17.cjs.entry.js +4 -3
- package/dist/cjs/sqm-big-stat_41.cjs.entry.js +3 -2
- package/dist/cjs/{sqm-invoice-table-view-baded4af.js → sqm-invoice-table-view-16ac73d0.js} +2 -31
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +6 -5
- package/dist/cjs/sqm-qr-code-view-15dfc0b6.js +103 -0
- package/dist/cjs/sqm-qr-code.cjs.entry.js +207 -0
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +69 -6
- package/dist/cjs/{copy-text-view-a5524c20.js → useReferralCodes-82e8797b.js} +0 -93
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/sqm-pagination/sqm-pagination.js +1 -1
- package/dist/collection/components/sqm-qr-code/QRCode.stories.js +47 -0
- package/dist/collection/components/sqm-qr-code/sqm-qr-code-view.js +98 -0
- package/dist/collection/components/sqm-qr-code/sqm-qr-code.js +293 -0
- package/dist/collection/components/sqm-qr-code/useQRCode.js +124 -0
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +2 -0
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +2 -17
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +1 -1
- package/dist/esm/ErrorView-48e2b969.js +33 -0
- package/dist/esm/{ShadowViewAddon-23a6afab.js → ShadowViewAddon-cf230f50.js} +2 -1
- package/dist/esm/copy-text-view-782137ba.js +94 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/sqm-banking-info-form_17.entry.js +3 -2
- package/dist/esm/sqm-big-stat_41.entry.js +3 -2
- package/dist/esm/{sqm-invoice-table-view-af69cd33.js → sqm-invoice-table-view-2c726568.js} +2 -30
- package/dist/esm/sqm-pagination_3.entry.js +2 -1
- package/dist/esm/sqm-qr-code-view-f1d0763b.js +101 -0
- package/dist/esm/sqm-qr-code.entry.js +203 -0
- package/dist/esm/sqm-stencilbook.entry.js +69 -6
- package/dist/esm/{copy-text-view-459a2e35.js → useReferralCodes-8f75921a.js} +1 -93
- package/dist/esm-es5/ErrorView-48e2b969.js +1 -0
- package/dist/esm-es5/ShadowViewAddon-cf230f50.js +1 -0
- package/dist/esm-es5/copy-text-view-782137ba.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_41.entry.js +1 -1
- package/dist/esm-es5/sqm-invoice-table-view-2c726568.js +1 -0
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
- package/dist/esm-es5/sqm-qr-code-view-f1d0763b.js +1 -0
- package/dist/esm-es5/sqm-qr-code.entry.js +1 -0
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/useReferralCodes-8f75921a.js +1 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/p-0c78815e.system.entry.js +1 -0
- package/dist/mint-components/{p-01010af0.entry.js → p-116baa69.entry.js} +1 -1
- package/dist/mint-components/p-1f089c3f.system.entry.js +1 -0
- package/dist/mint-components/p-31015791.js +1 -0
- package/dist/mint-components/p-37996351.system.js +1 -1
- package/dist/mint-components/p-3a62a7e2.system.js +1 -0
- package/dist/mint-components/p-3b90e01b.system.js +1 -0
- package/dist/mint-components/p-3f067fd5.js +1 -0
- package/dist/mint-components/p-3f7b81b8.js +52 -0
- package/dist/mint-components/p-4e773bb1.system.entry.js +1 -0
- package/dist/mint-components/p-53730ffe.entry.js +17 -0
- package/dist/mint-components/p-562428ef.system.js +1 -0
- package/dist/mint-components/{p-f29eda2f.entry.js → p-57eef0af.entry.js} +4 -4
- package/dist/mint-components/p-5cb7f9fc.system.entry.js +1 -0
- package/dist/mint-components/{p-d3d74266.js → p-6cc141b9.js} +2 -2
- package/dist/mint-components/{p-b51e79b3.entry.js → p-7846937e.entry.js} +2 -2
- package/dist/mint-components/p-9acb5038.js +1 -0
- package/dist/mint-components/p-a7746488.system.js +1 -0
- package/dist/mint-components/p-aad32fb6.system.js +1 -0
- package/dist/mint-components/p-daee25f9.system.entry.js +1 -0
- package/dist/mint-components/p-dbc0e4f8.system.js +1 -0
- package/dist/mint-components/p-ef6381d4.entry.js +9 -0
- package/dist/mint-components/p-f56bedd5.js +1 -0
- package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +1 -1
- package/dist/types/components/sqm-qr-code/QRCode.stories.d.ts +12 -0
- package/dist/types/components/sqm-qr-code/sqm-qr-code-view.d.ts +15 -0
- package/dist/types/components/sqm-qr-code/sqm-qr-code.d.ts +52 -0
- package/dist/types/components/sqm-qr-code/useQRCode.d.ts +3 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +0 -5
- package/dist/types/components.d.ts +22 -10
- package/dist/types/global/android.d.ts +7 -0
- package/dist/types/global/demo.d.ts +2 -0
- package/dist/types/stories/features.d.ts +4 -0
- package/dist/types/stories/templates.d.ts +4 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/ShadowViewAddon-23a6afab.js +0 -1
- package/dist/esm-es5/copy-text-view-459a2e35.js +0 -1
- package/dist/esm-es5/sqm-invoice-table-view-af69cd33.js +0 -1
- package/dist/mint-components/p-33ed6f1c.system.entry.js +0 -1
- package/dist/mint-components/p-38b5f028.system.entry.js +0 -1
- package/dist/mint-components/p-717cc8ac.system.js +0 -1
- package/dist/mint-components/p-71bc04d2.system.entry.js +0 -1
- package/dist/mint-components/p-7e7cbccf.system.js +0 -1
- package/dist/mint-components/p-7f2d4212.js +0 -52
- package/dist/mint-components/p-9320582e.system.js +0 -1
- package/dist/mint-components/p-962f3200.js +0 -1
- package/dist/mint-components/p-b93fd99c.system.entry.js +0 -1
- package/dist/mint-components/p-f2cc6a6f.entry.js +0 -9
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as t}from"./p-f708da7b.js";import{c as e}from"./p-cef45012.js";import{E as a}from"./p-9acb5038.js";const i=e({DialogContainer:{maxWidth:"390px !important"},Container:{width:"100%",display:"flex",flexDirection:"row",gap:"var(--sl-spacing-small)"},TextContainer:{display:"flex",gap:"var(--sl-spacing-medium)",flexDirection:"column",alignItems:"center"},ButtonContainer:{display:"flex",gap:"var(--sl-spacing-medium)"},FooterContainer:{textAlign:"left",display:"flex",flexDirection:"column",gap:"var(--sl-spacing-medium)"},CodeContainer:{display:"flex",width:"100%",alignItems:"center",justifyContent:"center"},Code:{width:"100%",height:"100%",maxWidth:"335px"},TextButton:{"&::part(base)":{color:"var(--sl-color-gray-600)"}},LoadingSkeleton:{"&::part(indicator)":{borderRadius:"0px !important"}}}),n=i.toString();function l({error:e,qrLink:l,titleText:r,downloadCodeText:s,printCodeText:o,errorHeaderText:d,errorDescriptionText:p,createDownloadable:c,createPrintable:x,hideTitle:m,alignment:f,loading:g}){const h="left"===f?"flex-start":"right"===f?"flex-end":"center",u=((e,n,l)=>e?t(a,{loadingErrorAlertDescription:d,loadingErrorAlertHeader:p}):l?t("sl-skeleton",{className:i.classes.LoadingSkeleton,effect:"sheen",style:{width:"100px",height:"100px",borderRadius:"0px !important"}}):n?t("svg",{width:"100",height:"100"},t("image",{href:n,width:"100",height:"100"})):null)(e,l,g);return t("div",{class:i.classes.Container,style:{justifyContent:h},part:"sqm-base"},t("style",null,"\n :host{\n display: flex;\n width: 100%;\n }\n @media (max-width: 499px) {\n :host{\n display: block;\n }\n\n }"),t("style",null,n),t("div",{class:i.classes.TextContainer,style:{alignItems:h}},!m&&t("span",{part:"sqm-title"},r),u,t("div",{class:i.classes.ButtonContainer},t("sl-button",{size:"small",exportparts:"base: defaultbutton-base",type:"default",onClick:c},s),t("sl-button",{size:"small",exportparts:"base: textbutton-base",type:"text",onClick:x,class:i.classes.TextButton},o))))}export{l as Q}
|
|
@@ -3,7 +3,7 @@ import { UsePagination } from "./usePagination";
|
|
|
3
3
|
/**
|
|
4
4
|
* @uiName Pagination
|
|
5
5
|
* @exampleGroup Common Components
|
|
6
|
-
* @example
|
|
6
|
+
* @example Promo Code Pagination - <sqm-pagination></sqm-pagination>
|
|
7
7
|
*/
|
|
8
8
|
export declare class Pagination {
|
|
9
9
|
ignored: boolean;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
};
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Default: () => any;
|
|
6
|
+
export declare const HideTitle: () => any;
|
|
7
|
+
export declare const LeftAlign: () => any;
|
|
8
|
+
export declare const CenterAlign: () => any;
|
|
9
|
+
export declare const RightAlign: () => any;
|
|
10
|
+
export declare const Loading: () => any;
|
|
11
|
+
export declare const Error: () => any;
|
|
12
|
+
export declare const DownloadError: () => any;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface QRCodeViewProps {
|
|
2
|
+
error: boolean;
|
|
3
|
+
qrLink: string;
|
|
4
|
+
createDownloadable: () => void;
|
|
5
|
+
titleText?: string;
|
|
6
|
+
hideTitle?: boolean;
|
|
7
|
+
alignment?: "left" | "center" | "right";
|
|
8
|
+
downloadCodeText?: string;
|
|
9
|
+
printCodeText?: string;
|
|
10
|
+
errorHeaderText?: string;
|
|
11
|
+
errorDescriptionText?: string;
|
|
12
|
+
createPrintable: () => void;
|
|
13
|
+
loading: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare function QrCodeView({ error, qrLink, titleText, downloadCodeText, printCodeText, errorHeaderText, errorDescriptionText, createDownloadable, createPrintable, hideTitle, alignment, loading, }: QRCodeViewProps): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { DemoData } from "../../global/demo";
|
|
2
|
+
import { QRCodeViewProps } from "./sqm-qr-code-view";
|
|
3
|
+
/**
|
|
4
|
+
* @uiName QR Code
|
|
5
|
+
* @exampleGroup Sharing
|
|
6
|
+
* @example QR Code - <sqm-qr-code></sqm-qr-code>
|
|
7
|
+
*/
|
|
8
|
+
export declare class QrCode {
|
|
9
|
+
/**
|
|
10
|
+
* @uiName Title
|
|
11
|
+
*/
|
|
12
|
+
titleText?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @uiName View QR code text
|
|
15
|
+
*/
|
|
16
|
+
viewCodeText?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @uiName Download QR code text
|
|
19
|
+
*/
|
|
20
|
+
downloadCodeText?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @uiName Print QR code text
|
|
23
|
+
*/
|
|
24
|
+
printCodeText?: string;
|
|
25
|
+
/**
|
|
26
|
+
* @uiName Header for error banner
|
|
27
|
+
*/
|
|
28
|
+
errorHeaderText?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @uiName Description for error banner
|
|
31
|
+
*/
|
|
32
|
+
errorDescriptionText?: string;
|
|
33
|
+
/**
|
|
34
|
+
* @uiName Hide title
|
|
35
|
+
*/
|
|
36
|
+
hideTitle?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* @uiName QR code alignment
|
|
39
|
+
* @uiType string
|
|
40
|
+
* @uiEnum ["left", "center", "right"]
|
|
41
|
+
* @uiEnumNames ["Left", "Center", "Right"]
|
|
42
|
+
*/
|
|
43
|
+
alignment?: "left" | "center" | "right";
|
|
44
|
+
/**
|
|
45
|
+
* @undocumented
|
|
46
|
+
* @uiType object
|
|
47
|
+
*/
|
|
48
|
+
demoData?: DemoData<QRCodeViewProps>;
|
|
49
|
+
constructor();
|
|
50
|
+
disconnectedCallback(): void;
|
|
51
|
+
render(): any;
|
|
52
|
+
}
|
|
@@ -950,11 +950,6 @@ export declare class TaxAndCashMonolith {
|
|
|
950
950
|
*
|
|
951
951
|
* @undocumented
|
|
952
952
|
* @uiType object
|
|
953
|
-
* @demo Step 1 - { "step": "/1" }
|
|
954
|
-
* @demo Step 2 - { "step": "/2" }
|
|
955
|
-
* @demo Step 3 - { "step": "/3" }
|
|
956
|
-
* @demo Step 3 - { "step": "/4" }
|
|
957
|
-
* @demo Dashboard - { "step": "/dashboard" }
|
|
958
953
|
*/
|
|
959
954
|
demoData?: DemoData<UseTaxAndCashResultType>;
|
|
960
955
|
constructor();
|
|
@@ -2993,6 +2993,13 @@ export namespace Components {
|
|
|
2993
2993
|
interface SqmProgramMenu {
|
|
2994
2994
|
}
|
|
2995
2995
|
interface SqmQrCode {
|
|
2996
|
+
/**
|
|
2997
|
+
* @uiName QR code alignment
|
|
2998
|
+
* @uiType string
|
|
2999
|
+
* @uiEnum ["left", "center", "right"]
|
|
3000
|
+
* @uiEnumNames ["Left", "Center", "Right"]
|
|
3001
|
+
*/
|
|
3002
|
+
"alignment"?: "left" | "center" | "right";
|
|
2996
3003
|
/**
|
|
2997
3004
|
* @undocumented
|
|
2998
3005
|
* @uiType object
|
|
@@ -3010,6 +3017,10 @@ export namespace Components {
|
|
|
3010
3017
|
* @uiName Header for error banner
|
|
3011
3018
|
*/
|
|
3012
3019
|
"errorHeaderText"?: string;
|
|
3020
|
+
/**
|
|
3021
|
+
* @uiName Hide title
|
|
3022
|
+
*/
|
|
3023
|
+
"hideTitle"?: boolean;
|
|
3013
3024
|
/**
|
|
3014
3025
|
* @uiName Print QR code text
|
|
3015
3026
|
*/
|
|
@@ -4697,11 +4708,6 @@ export namespace Components {
|
|
|
4697
4708
|
/**
|
|
4698
4709
|
* @undocumented
|
|
4699
4710
|
* @uiType object
|
|
4700
|
-
* @demo Step 1 - { "step": "/1" }
|
|
4701
|
-
* @demo Step 2 - { "step": "/2" }
|
|
4702
|
-
* @demo Step 3 - { "step": "/3" }
|
|
4703
|
-
* @demo Step 3 - { "step": "/4" }
|
|
4704
|
-
* @demo Dashboard - { "step": "/dashboard" }
|
|
4705
4711
|
*/
|
|
4706
4712
|
"demoData"?: DemoData<UseTaxAndCashResultType>;
|
|
4707
4713
|
/**
|
|
@@ -9726,6 +9732,13 @@ declare namespace LocalJSX {
|
|
|
9726
9732
|
interface SqmProgramMenu {
|
|
9727
9733
|
}
|
|
9728
9734
|
interface SqmQrCode {
|
|
9735
|
+
/**
|
|
9736
|
+
* @uiName QR code alignment
|
|
9737
|
+
* @uiType string
|
|
9738
|
+
* @uiEnum ["left", "center", "right"]
|
|
9739
|
+
* @uiEnumNames ["Left", "Center", "Right"]
|
|
9740
|
+
*/
|
|
9741
|
+
"alignment"?: "left" | "center" | "right";
|
|
9729
9742
|
/**
|
|
9730
9743
|
* @undocumented
|
|
9731
9744
|
* @uiType object
|
|
@@ -9743,6 +9756,10 @@ declare namespace LocalJSX {
|
|
|
9743
9756
|
* @uiName Header for error banner
|
|
9744
9757
|
*/
|
|
9745
9758
|
"errorHeaderText"?: string;
|
|
9759
|
+
/**
|
|
9760
|
+
* @uiName Hide title
|
|
9761
|
+
*/
|
|
9762
|
+
"hideTitle"?: boolean;
|
|
9746
9763
|
/**
|
|
9747
9764
|
* @uiName Print QR code text
|
|
9748
9765
|
*/
|
|
@@ -11406,11 +11423,6 @@ declare namespace LocalJSX {
|
|
|
11406
11423
|
/**
|
|
11407
11424
|
* @undocumented
|
|
11408
11425
|
* @uiType object
|
|
11409
|
-
* @demo Step 1 - { "step": "/1" }
|
|
11410
|
-
* @demo Step 2 - { "step": "/2" }
|
|
11411
|
-
* @demo Step 3 - { "step": "/3" }
|
|
11412
|
-
* @demo Step 3 - { "step": "/4" }
|
|
11413
|
-
* @demo Dashboard - { "step": "/dashboard" }
|
|
11414
11426
|
*/
|
|
11415
11427
|
"demoData"?: DemoData<UseTaxAndCashResultType>;
|
|
11416
11428
|
/**
|
package/docs/docs.docx
CHANGED
|
Binary file
|