@craterapp/vue-sdk 0.0.2-alpha.4 → 0.0.2-alpha.41
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/README.md +39 -1
- package/dist/{AddressType-8PU0QNGJ.js → AddressType-p464QTMJ.js} +93 -66
- package/dist/AmountType-rDKjqCi3.js +72 -0
- package/dist/BusinessType-uWSTq2OD.js +72 -0
- package/dist/{CheckboxType-C5lpH21J.js → CheckboxType-_ObNUiwW.js} +19 -19
- package/dist/DOBType-CRxx0XUD.js +129 -0
- package/dist/{DocumentType-GO5DTq0Z.js → DocumentType-CByDTkN8.js} +26 -26
- package/dist/{DropdownType-4jsWtYZp.js → DropdownType-ES6dnnh8.js} +1 -1
- package/dist/{EmailType-eEkcNiZo.js → EmailType-5R1vVctz.js} +4 -4
- package/dist/{ExternalAccountType-IAgoVvRA.js → ExternalAccountType-dzHvc0EK.js} +145 -111
- package/dist/{IdentityNumberType-eqbpWGqv.js → IdentityNumberType-Iym1d0fw.js} +5 -5
- package/dist/{InputType-sOejaH9_.js → InputType-LLnsMIae.js} +20 -19
- package/dist/{MCCType-G9pgwc9A.js → MCCType-q1-iWzd6.js} +1 -1
- package/dist/PercentageType-w0OlbA7l.js +75 -0
- package/dist/PhoneType-35hXi784.js +67 -0
- package/dist/{SSNType-BEvc-Buf.js → SSNType-e7EkHAE-.js} +4 -4
- package/dist/TaxType-MWMRrP-A.js +71 -0
- package/dist/{TextAreaType--obAg2K-.js → TextAreaType-Woc00ded.js} +6 -6
- package/dist/UrlType-J-0TFpJa.js +120 -0
- package/dist/crater-vue-sdk.es.js +45 -23
- package/dist/crater-vue-sdk.umd.js +88 -92
- package/dist/index-OQm7r3Dg.js +111548 -0
- package/dist/stripe.esm-Bik5J_JE.js +65 -0
- package/dist/style.css +2 -2
- package/dist/types/interfaces.d.ts +2 -1
- package/dist/views/BillCreate.vue.d.ts +32 -0
- package/dist/views/BillDetails.vue.d.ts +146 -0
- package/dist/views/BillEdit.vue.d.ts +41 -0
- package/dist/views/BillTable.vue.d.ts +175 -0
- package/dist/views/{SalesChartYearlyWidget.vue.d.ts → Breadcrumb.vue.d.ts} +3 -1
- package/dist/views/BreadcrumbItem.vue.d.ts +29 -0
- package/dist/views/BusinessOverviewLineChartWidget.vue.d.ts +75 -0
- package/dist/views/BusinessOverviewVerticalBarChartWidget.vue.d.ts +90 -0
- package/dist/views/BusinessPaymentStatus.vue.d.ts +9 -0
- package/dist/views/{CustomerEdit.vue.d.ts → BusinessStat.vue.d.ts} +12 -10
- package/dist/views/{PlatformSalesChartMonthlyWidget.vue.d.ts → BusinessStatItem.vue.d.ts} +15 -19
- package/dist/views/CreditNoteDetails.vue.d.ts +68 -0
- package/dist/views/CreditNoteTable.vue.d.ts +79 -0
- package/dist/views/CustomerCreate.vue.d.ts +35 -5
- package/dist/views/CustomerDetails.vue.d.ts +53 -12
- package/dist/views/CustomerTable.vue.d.ts +58 -11
- package/dist/views/EstimateCreate.vue.d.ts +26 -5
- package/dist/views/EstimateDetails.vue.d.ts +53 -6
- package/dist/views/EstimateEdit.vue.d.ts +20 -2
- package/dist/views/EstimateTable.vue.d.ts +88 -16
- package/dist/views/InvoiceCreate.vue.d.ts +26 -5
- package/dist/views/InvoiceDetails.vue.d.ts +80 -13
- package/dist/views/InvoiceEdit.vue.d.ts +20 -2
- package/dist/views/InvoiceTable.vue.d.ts +104 -23
- package/dist/views/ItemCreate.vue.d.ts +32 -0
- package/dist/views/ItemDetails.vue.d.ts +50 -0
- package/dist/views/ItemEdit.vue.d.ts +41 -0
- package/dist/views/ItemTable.vue.d.ts +110 -0
- package/dist/views/Payment.vue.d.ts +11 -2
- package/dist/views/PaymentDetails.vue.d.ts +68 -0
- package/dist/views/PaymentMethodCreate.vue.d.ts +50 -0
- package/dist/views/PaymentMethodTable.vue.d.ts +86 -0
- package/dist/views/PaymentTable.vue.d.ts +97 -0
- package/dist/views/{PlatformSalesChartYearlyWidget.vue.d.ts → PlatformOverviewChartWidget.vue.d.ts} +11 -0
- package/dist/views/RecurringInvoiceCreate.vue.d.ts +32 -0
- package/dist/views/RecurringInvoiceDetails.vue.d.ts +135 -0
- package/dist/views/RecurringInvoiceEdit.vue.d.ts +45 -0
- package/dist/views/RecurringInvoiceTable.vue.d.ts +119 -0
- package/dist/views/VendorCreate.vue.d.ts +32 -0
- package/dist/views/VendorDetails.vue.d.ts +73 -0
- package/dist/views/VendorTable.vue.d.ts +101 -0
- package/dist/views/index.d.ts +28 -6
- package/package.json +19 -18
- package/dist/DOBType-pINw7W9N.js +0 -129
- package/dist/PhoneType-anUg_IHm.js +0 -69
- package/dist/TaxType-v4merd3R.js +0 -68
- package/dist/UrlType-_XIXbmVm.js +0 -114
- package/dist/index-Pe5A-Fvf.js +0 -86463
- package/dist/views/HelloWorld.vue.d.ts +0 -6
- package/dist/views/SalesChartMonthlyWidget.vue.d.ts +0 -28
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
showFilters: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
applyFilters: {
|
|
7
|
+
type: ObjectConstructor;
|
|
8
|
+
default: null;
|
|
9
|
+
validator(value: string): boolean;
|
|
10
|
+
};
|
|
11
|
+
showTableTitle: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
showTabs: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
showCreateButton: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
showRecurringEditOption: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
showRecurringDeleteOption: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
showViewOption: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
showViewButton: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
columns: {
|
|
40
|
+
type: ArrayConstructor;
|
|
41
|
+
default: null;
|
|
42
|
+
};
|
|
43
|
+
showAppLoader: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
48
|
+
view: (...args: any[]) => void;
|
|
49
|
+
edit: (...args: any[]) => void;
|
|
50
|
+
create: (...args: any[]) => void;
|
|
51
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
52
|
+
showFilters: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
applyFilters: {
|
|
57
|
+
type: ObjectConstructor;
|
|
58
|
+
default: null;
|
|
59
|
+
validator(value: string): boolean;
|
|
60
|
+
};
|
|
61
|
+
showTableTitle: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
showTabs: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
showCreateButton: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
73
|
+
showRecurringEditOption: {
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
default: boolean;
|
|
76
|
+
};
|
|
77
|
+
showRecurringDeleteOption: {
|
|
78
|
+
type: BooleanConstructor;
|
|
79
|
+
default: boolean;
|
|
80
|
+
};
|
|
81
|
+
showViewOption: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
85
|
+
showViewButton: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
default: boolean;
|
|
88
|
+
};
|
|
89
|
+
columns: {
|
|
90
|
+
type: ArrayConstructor;
|
|
91
|
+
default: null;
|
|
92
|
+
};
|
|
93
|
+
showAppLoader: {
|
|
94
|
+
type: BooleanConstructor;
|
|
95
|
+
default: boolean;
|
|
96
|
+
};
|
|
97
|
+
}>> & {
|
|
98
|
+
onEdit?: ((...args: any[]) => any) | undefined;
|
|
99
|
+
onCreate?: ((...args: any[]) => any) | undefined;
|
|
100
|
+
onView?: ((...args: any[]) => any) | undefined;
|
|
101
|
+
}, {
|
|
102
|
+
showAppLoader: boolean;
|
|
103
|
+
applyFilters: Record<string, any>;
|
|
104
|
+
showTabs: boolean;
|
|
105
|
+
showFilters: boolean;
|
|
106
|
+
columns: unknown[];
|
|
107
|
+
showTableTitle: boolean;
|
|
108
|
+
showCreateButton: boolean;
|
|
109
|
+
showViewOption: boolean;
|
|
110
|
+
showRecurringEditOption: boolean;
|
|
111
|
+
showRecurringDeleteOption: boolean;
|
|
112
|
+
showViewButton: boolean;
|
|
113
|
+
}, {}>, Partial<Record<number, (_: any) => any>>>;
|
|
114
|
+
export default _default;
|
|
115
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
116
|
+
new (): {
|
|
117
|
+
$slots: S;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
showDetailOnSuccess: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
showAppLoader: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
create: (...args: any[]) => void;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
showDetailOnSuccess: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
showAppLoader: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
}>> & {
|
|
22
|
+
onCreate?: ((...args: any[]) => any) | undefined;
|
|
23
|
+
}, {
|
|
24
|
+
showAppLoader: boolean;
|
|
25
|
+
showDetailOnSuccess: boolean;
|
|
26
|
+
}, {}>, Partial<Record<number, (_: any) => any>>>;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
id: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
showChart: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
showPageHeader: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
showChartHeader: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
chartCardClass: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
cardContainerClass: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
showAppLoader: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
|
+
id: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
showChart: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
showPageHeader: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
showChartHeader: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
chartCardClass: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
cardContainerClass: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
showAppLoader: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
}>>, {
|
|
60
|
+
id: string;
|
|
61
|
+
showPageHeader: boolean;
|
|
62
|
+
cardContainerClass: string;
|
|
63
|
+
showAppLoader: boolean;
|
|
64
|
+
showChart: boolean;
|
|
65
|
+
showChartHeader: boolean;
|
|
66
|
+
chartCardClass: string;
|
|
67
|
+
}, {}>, Partial<Record<number, (_: any) => any>>>;
|
|
68
|
+
export default _default;
|
|
69
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
70
|
+
new (): {
|
|
71
|
+
$slots: S;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
type: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
validator(value: string): boolean;
|
|
6
|
+
};
|
|
7
|
+
showCreateButton: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
showViewOption: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
showTableTitle: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
showFilters: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
showTabs: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
applyFilters: {
|
|
28
|
+
type: ObjectConstructor;
|
|
29
|
+
default: null;
|
|
30
|
+
validator(value: string): boolean;
|
|
31
|
+
};
|
|
32
|
+
columns: {
|
|
33
|
+
type: ArrayConstructor;
|
|
34
|
+
default: null;
|
|
35
|
+
};
|
|
36
|
+
showAppLoader: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
41
|
+
view: (...args: any[]) => void;
|
|
42
|
+
create: (...args: any[]) => void;
|
|
43
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
44
|
+
type: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
default: string;
|
|
47
|
+
validator(value: string): boolean;
|
|
48
|
+
};
|
|
49
|
+
showCreateButton: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
showViewOption: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
showTableTitle: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
showFilters: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
showTabs: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
applyFilters: {
|
|
70
|
+
type: ObjectConstructor;
|
|
71
|
+
default: null;
|
|
72
|
+
validator(value: string): boolean;
|
|
73
|
+
};
|
|
74
|
+
columns: {
|
|
75
|
+
type: ArrayConstructor;
|
|
76
|
+
default: null;
|
|
77
|
+
};
|
|
78
|
+
showAppLoader: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
82
|
+
}>> & {
|
|
83
|
+
onCreate?: ((...args: any[]) => any) | undefined;
|
|
84
|
+
onView?: ((...args: any[]) => any) | undefined;
|
|
85
|
+
}, {
|
|
86
|
+
type: string;
|
|
87
|
+
showAppLoader: boolean;
|
|
88
|
+
applyFilters: Record<string, any>;
|
|
89
|
+
showTabs: boolean;
|
|
90
|
+
showFilters: boolean;
|
|
91
|
+
columns: unknown[];
|
|
92
|
+
showTableTitle: boolean;
|
|
93
|
+
showCreateButton: boolean;
|
|
94
|
+
showViewOption: boolean;
|
|
95
|
+
}, {}>, Partial<Record<number, (_: any) => any>>>;
|
|
96
|
+
export default _default;
|
|
97
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
98
|
+
new (): {
|
|
99
|
+
$slots: S;
|
|
100
|
+
};
|
|
101
|
+
};
|
package/dist/views/index.d.ts
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
export { default as PaymentElement } from './Payment.vue';
|
|
2
|
-
export { default as HelloWorld } from './HelloWorld.vue';
|
|
3
2
|
export { default as BusinessPaymentStatus } from './BusinessPaymentStatus.vue';
|
|
3
|
+
export { default as Breadcrumb } from './Breadcrumb.vue';
|
|
4
|
+
export { default as BreadcrumbItem } from './BreadcrumbItem.vue';
|
|
5
|
+
export { default as ItemCreate } from './ItemCreate.vue';
|
|
6
|
+
export { default as ItemEdit } from './ItemEdit.vue';
|
|
7
|
+
export { default as ItemTable } from './ItemTable.vue';
|
|
8
|
+
export { default as ItemDetails } from './ItemDetails.vue';
|
|
4
9
|
export { default as EstimateCreate } from './EstimateCreate.vue';
|
|
5
10
|
export { default as EstimateEdit } from './EstimateEdit.vue';
|
|
6
11
|
export { default as EstimateTable } from './EstimateTable.vue';
|
|
@@ -9,11 +14,28 @@ export { default as InvoiceCreate } from './InvoiceCreate.vue';
|
|
|
9
14
|
export { default as InvoiceEdit } from './InvoiceEdit.vue';
|
|
10
15
|
export { default as InvoiceTable } from './InvoiceTable.vue';
|
|
11
16
|
export { default as InvoiceDetails } from './InvoiceDetails.vue';
|
|
17
|
+
export { default as BillCreate } from './BillCreate.vue';
|
|
18
|
+
export { default as BillEdit } from './BillEdit.vue';
|
|
19
|
+
export { default as BillTable } from './BillTable.vue';
|
|
20
|
+
export { default as BillDetails } from './BillDetails.vue';
|
|
21
|
+
export { default as RecurringInvoiceCreate } from './RecurringInvoiceCreate.vue';
|
|
22
|
+
export { default as RecurringInvoiceEdit } from './RecurringInvoiceEdit.vue';
|
|
23
|
+
export { default as RecurringInvoiceTable } from './RecurringInvoiceTable.vue';
|
|
24
|
+
export { default as RecurringInvoiceDetails } from './RecurringInvoiceDetails.vue';
|
|
12
25
|
export { default as CustomerCreate } from './CustomerCreate.vue';
|
|
13
|
-
export { default as CustomerEdit } from './CustomerEdit.vue';
|
|
14
26
|
export { default as CustomerTable } from './CustomerTable.vue';
|
|
15
27
|
export { default as CustomerDetails } from './CustomerDetails.vue';
|
|
16
|
-
export { default as
|
|
17
|
-
export { default as
|
|
18
|
-
export { default as
|
|
19
|
-
export { default as
|
|
28
|
+
export { default as VendorCreate } from './VendorCreate.vue';
|
|
29
|
+
export { default as VendorTable } from './VendorTable.vue';
|
|
30
|
+
export { default as VendorDetails } from './VendorDetails.vue';
|
|
31
|
+
export { default as PaymentTable } from './PaymentTable.vue';
|
|
32
|
+
export { default as PaymentDetails } from './PaymentDetails.vue';
|
|
33
|
+
export { default as IntegrationSettings } from './IntegrationSettings.vue';
|
|
34
|
+
export { default as BusinessStatItem } from './BusinessStatItem.vue';
|
|
35
|
+
export { default as PlatformOverviewChartWidget } from './PlatformOverviewChartWidget.vue';
|
|
36
|
+
export { default as BusinessOverviewVerticalBarChartWidget } from './BusinessOverviewVerticalBarChartWidget.vue';
|
|
37
|
+
export { default as BusinessOverviewLineChartWidget } from './BusinessOverviewLineChartWidget.vue';
|
|
38
|
+
export { default as PaymentMethodTable } from './PaymentMethodTable.vue';
|
|
39
|
+
export { default as PaymentMethodCreate } from './PaymentMethodCreate.vue';
|
|
40
|
+
export { default as CreditNoteTable } from './CreditNoteTable.vue';
|
|
41
|
+
export { default as CreditNoteDetails } from './CreditNoteDetails.vue';
|
package/package.json
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@craterapp/vue-sdk",
|
|
3
|
-
"
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "0.0.2-alpha.41",
|
|
4
5
|
"description": "Embedded Invoicing & Bill Pay for platforms.",
|
|
5
6
|
"author": "Crater <© 2023 Crater Invoice, Inc. All rights reserved.>",
|
|
7
|
+
"license": "MIT",
|
|
6
8
|
"keywords": [
|
|
7
9
|
"crater",
|
|
8
10
|
"crater-invoice",
|
|
@@ -10,16 +12,14 @@
|
|
|
10
12
|
"crater-vue-sdk",
|
|
11
13
|
"crater-invoice-vue-sdk"
|
|
12
14
|
],
|
|
13
|
-
"license": "MIT",
|
|
14
|
-
"type": "module",
|
|
15
15
|
"exports": {
|
|
16
16
|
".": {
|
|
17
|
-
"
|
|
18
|
-
"
|
|
17
|
+
"require": "./dist/crater-vue-sdk.umd.js",
|
|
18
|
+
"import": "./dist/crater-vue-sdk.es.js"
|
|
19
19
|
},
|
|
20
20
|
"./dist/style.css": {
|
|
21
|
-
"
|
|
22
|
-
"
|
|
21
|
+
"require": "./dist/style.css",
|
|
22
|
+
"import": "./dist/style.css"
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"main": "./dist/crater-vue-sdk.umd.js",
|
|
@@ -34,11 +34,15 @@
|
|
|
34
34
|
"lint": "eslint --fix --ext .js,.vue,.ts src",
|
|
35
35
|
"preview": "vite preview"
|
|
36
36
|
},
|
|
37
|
+
"peerDependencies": {
|
|
38
|
+
"vue": "^3.0.0"
|
|
39
|
+
},
|
|
37
40
|
"dependencies": {
|
|
38
41
|
"@headlessui/vue": "^1.6.5",
|
|
39
|
-
"@heroicons/vue": "^
|
|
42
|
+
"@heroicons/vue": "^2.2.0",
|
|
40
43
|
"@intlify/unplugin-vue-i18n": "^1.5.0",
|
|
41
44
|
"@popperjs/core": "^2.9.2",
|
|
45
|
+
"@stripe/stripe-js": "^1.32.0",
|
|
42
46
|
"@tiptap/core": "^2.0.0-beta.210",
|
|
43
47
|
"@tiptap/extension-text-align": "^2.0.0-beta.31",
|
|
44
48
|
"@tiptap/pm": "^2.1.11",
|
|
@@ -50,25 +54,25 @@
|
|
|
50
54
|
"@uppy/url": "^2.2.0",
|
|
51
55
|
"@uppy/vue": "^0.4.8",
|
|
52
56
|
"@uppy/xhr-upload": "^2.1.2",
|
|
57
|
+
"@vueform/multiselect": "^2.6.6",
|
|
53
58
|
"@vuelidate/core": "^2.0.3",
|
|
54
59
|
"@vuelidate/validators": "^2.0.4",
|
|
55
60
|
"@vueuse/core": "^8.7.4",
|
|
56
|
-
"guid": "0.0.12",
|
|
57
|
-
"chart.js": "^3.8.0",
|
|
58
|
-
"chartjs-plugin-datalabels": "^2.2.0",
|
|
59
|
-
"@stripe/stripe-js": "^1.32.0",
|
|
60
61
|
"axios": "^0.27.2",
|
|
62
|
+
"chart.js": "^4.1.1",
|
|
63
|
+
"chartjs-plugin-datalabels": "^2.2.0",
|
|
61
64
|
"dayjs": "^1.11.3",
|
|
65
|
+
"guid": "0.0.12",
|
|
62
66
|
"maska": "^1.4.6",
|
|
63
67
|
"mini-svg-data-uri": "^1.3.3",
|
|
64
68
|
"pinia": "^2.0.14",
|
|
65
|
-
"v-calendar": "3.
|
|
69
|
+
"v-calendar": "^3.1.2",
|
|
66
70
|
"v-money3": "3.16.1",
|
|
67
71
|
"v-tooltip": "^4.0.0-alpha.1",
|
|
68
|
-
"vuedraggable": "^4.1.0",
|
|
69
72
|
"vue": "^3.3.8",
|
|
73
|
+
"vue-i18n": "^9.1.10",
|
|
70
74
|
"vue3-slide-up-down": "^1.2.5",
|
|
71
|
-
"
|
|
75
|
+
"vuedraggable": "^4.1.0"
|
|
72
76
|
},
|
|
73
77
|
"devDependencies": {
|
|
74
78
|
"@antfu/eslint-config": "^0.25.2",
|
|
@@ -92,8 +96,5 @@
|
|
|
92
96
|
"vite-plugin-dts": "^3.6.4",
|
|
93
97
|
"vite-tsconfig-paths": "^4.2.1",
|
|
94
98
|
"vue-tsc": "^1.8.22"
|
|
95
|
-
},
|
|
96
|
-
"peerDependencies": {
|
|
97
|
-
"vue": "^3.0.0"
|
|
98
99
|
}
|
|
99
100
|
}
|
package/dist/DOBType-pINw7W9N.js
DELETED
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import { u as F, c as b, t as m, r as f, a as $, d as V, b as x } from "./index-Pe5A-Fvf.js";
|
|
2
|
-
import { defineComponent as w, computed as g, resolveDirective as _, openBlock as i, createBlock as a, unref as o, withCtx as k, createElementVNode as l, withDirectives as y, createCommentVNode as p } from "vue";
|
|
3
|
-
const D = { class: "flex -space-x-px" }, M = { class: "min-w-0" }, S = /* @__PURE__ */ l("label", {
|
|
4
|
-
for: "card-expiration-date",
|
|
5
|
-
class: "sr-only"
|
|
6
|
-
}, " Month ", -1), B = { class: "min-w-0" }, Y = /* @__PURE__ */ l("label", {
|
|
7
|
-
for: "card-expiration-date",
|
|
8
|
-
class: "sr-only"
|
|
9
|
-
}, " Day ", -1), z = { class: "min-w-0" }, C = /* @__PURE__ */ l("label", {
|
|
10
|
-
for: "card-expiration-date",
|
|
11
|
-
class: "sr-only"
|
|
12
|
-
}, " Year ", -1), U = /* @__PURE__ */ w({
|
|
13
|
-
__name: "DOBType",
|
|
14
|
-
props: {
|
|
15
|
-
modelValue: {
|
|
16
|
-
type: String,
|
|
17
|
-
default: null
|
|
18
|
-
},
|
|
19
|
-
requirements: {
|
|
20
|
-
type: Array,
|
|
21
|
-
default: () => []
|
|
22
|
-
},
|
|
23
|
-
field: {
|
|
24
|
-
type: Object,
|
|
25
|
-
required: !0
|
|
26
|
-
},
|
|
27
|
-
placeholder: {
|
|
28
|
-
type: String,
|
|
29
|
-
default: ""
|
|
30
|
-
},
|
|
31
|
-
validationScope: {
|
|
32
|
-
type: String,
|
|
33
|
-
required: !0
|
|
34
|
-
},
|
|
35
|
-
step: {
|
|
36
|
-
type: Object,
|
|
37
|
-
required: !0
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
setup(d) {
|
|
41
|
-
const n = d;
|
|
42
|
-
F();
|
|
43
|
-
const h = {
|
|
44
|
-
subFields: {
|
|
45
|
-
[e("dob.day")]: {
|
|
46
|
-
required: b.withMessage(
|
|
47
|
-
m("validation.required"),
|
|
48
|
-
f(e("dob.day"))
|
|
49
|
-
)
|
|
50
|
-
},
|
|
51
|
-
[e("dob.month")]: {
|
|
52
|
-
required: b.withMessage(
|
|
53
|
-
m("validation.required"),
|
|
54
|
-
f(e("dob.month"))
|
|
55
|
-
)
|
|
56
|
-
},
|
|
57
|
-
[e("dob.year")]: {
|
|
58
|
-
required: b.withMessage(
|
|
59
|
-
m("validation.required"),
|
|
60
|
-
f(e("dob.year"))
|
|
61
|
-
)
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}, r = $(
|
|
65
|
-
h,
|
|
66
|
-
g(() => n.field),
|
|
67
|
-
{ $scope: n.validationScope }
|
|
68
|
-
);
|
|
69
|
-
function e(v) {
|
|
70
|
-
return n.requirements.find((t) => t.includes(v));
|
|
71
|
-
}
|
|
72
|
-
return (v, t) => {
|
|
73
|
-
const u = V, q = x, c = _("maska");
|
|
74
|
-
return i(), a(q, {
|
|
75
|
-
label: d.field.label,
|
|
76
|
-
required: !!d.field.is_required,
|
|
77
|
-
error: o(r).subFields[e("dob.day")].$error && o(r).subFields[e("dob.day")].$errors[0].$message || o(r).subFields[e("dob.month")].$error && o(r).subFields[e("dob.month")].$errors[0].$message || o(r).subFields[e("dob.year")].$error && o(r).subFields[e("dob.year")].$errors[0].$message
|
|
78
|
-
}, {
|
|
79
|
-
default: k(() => [
|
|
80
|
-
l("div", D, [
|
|
81
|
-
l("div", M, [
|
|
82
|
-
S,
|
|
83
|
-
e("dob.month") ? y((i(), a(u, {
|
|
84
|
-
key: 0,
|
|
85
|
-
modelValue: d.field.subFields[e("dob.month")],
|
|
86
|
-
"onUpdate:modelValue": t[0] || (t[0] = (s) => d.field.subFields[e("dob.month")] = s),
|
|
87
|
-
placeholder: "MM",
|
|
88
|
-
class: "w-14 text-center rounded-r-none relative focus:z-10",
|
|
89
|
-
invalid: o(r).subFields[e("dob.month")].$error
|
|
90
|
-
}, null, 8, ["modelValue", "invalid"])), [
|
|
91
|
-
[c, "##"]
|
|
92
|
-
]) : p("", !0)
|
|
93
|
-
]),
|
|
94
|
-
l("div", B, [
|
|
95
|
-
Y,
|
|
96
|
-
e("dob.day") ? y((i(), a(u, {
|
|
97
|
-
key: 0,
|
|
98
|
-
modelValue: d.field.subFields[e("dob.day")],
|
|
99
|
-
"onUpdate:modelValue": t[1] || (t[1] = (s) => d.field.subFields[e("dob.day")] = s),
|
|
100
|
-
placeholder: "DD",
|
|
101
|
-
class: "w-14 text-center rounded-none relative focus:z-10",
|
|
102
|
-
invalid: o(r).subFields[e("dob.day")].$error
|
|
103
|
-
}, null, 8, ["modelValue", "invalid"])), [
|
|
104
|
-
[c, "##"]
|
|
105
|
-
]) : p("", !0)
|
|
106
|
-
]),
|
|
107
|
-
l("div", z, [
|
|
108
|
-
C,
|
|
109
|
-
e("dob.year") ? y((i(), a(u, {
|
|
110
|
-
key: 0,
|
|
111
|
-
modelValue: d.field.subFields[e("dob.year")],
|
|
112
|
-
"onUpdate:modelValue": t[2] || (t[2] = (s) => d.field.subFields[e("dob.year")] = s),
|
|
113
|
-
placeholder: "YYYY",
|
|
114
|
-
class: "w-16 text-center rounded-l-none relative focus:z-10",
|
|
115
|
-
invalid: o(r).subFields[e("dob.year")].$error
|
|
116
|
-
}, null, 8, ["modelValue", "invalid"])), [
|
|
117
|
-
[c, "####"]
|
|
118
|
-
]) : p("", !0)
|
|
119
|
-
])
|
|
120
|
-
])
|
|
121
|
-
]),
|
|
122
|
-
_: 1
|
|
123
|
-
}, 8, ["label", "required", "error"]);
|
|
124
|
-
};
|
|
125
|
-
}
|
|
126
|
-
});
|
|
127
|
-
export {
|
|
128
|
-
U as default
|
|
129
|
-
};
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { c as s, t as c, r as m, a as p, u as f, d as v, b as q } from "./index-Pe5A-Fvf.js";
|
|
2
|
-
import { defineComponent as y, computed as _, resolveDirective as $, openBlock as b, createBlock as S, unref as a, withCtx as V, withDirectives as g, createVNode as h } from "vue";
|
|
3
|
-
const x = /* @__PURE__ */ y({
|
|
4
|
-
__name: "PhoneType",
|
|
5
|
-
props: {
|
|
6
|
-
modelValue: {
|
|
7
|
-
type: String,
|
|
8
|
-
default: null
|
|
9
|
-
},
|
|
10
|
-
requirements: {
|
|
11
|
-
type: Array,
|
|
12
|
-
default: () => []
|
|
13
|
-
},
|
|
14
|
-
field: {
|
|
15
|
-
type: Object,
|
|
16
|
-
required: !0
|
|
17
|
-
},
|
|
18
|
-
placeholder: {
|
|
19
|
-
type: String,
|
|
20
|
-
default: ""
|
|
21
|
-
},
|
|
22
|
-
validationScope: {
|
|
23
|
-
type: String,
|
|
24
|
-
required: !0
|
|
25
|
-
},
|
|
26
|
-
step: {
|
|
27
|
-
type: Object,
|
|
28
|
-
required: !0
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
setup(e) {
|
|
32
|
-
const r = e, l = {
|
|
33
|
-
value: {
|
|
34
|
-
required: s.withMessage(
|
|
35
|
-
c("validation.required"),
|
|
36
|
-
m(r.field.is_required)
|
|
37
|
-
)
|
|
38
|
-
}
|
|
39
|
-
}, t = p(
|
|
40
|
-
l,
|
|
41
|
-
_(() => r.field),
|
|
42
|
-
{ $scope: r.validationScope }
|
|
43
|
-
);
|
|
44
|
-
return f(), (k, i) => {
|
|
45
|
-
const o = v, u = q, d = $("maska");
|
|
46
|
-
return b(), S(u, {
|
|
47
|
-
label: e.field.label,
|
|
48
|
-
required: !!e.field.is_required,
|
|
49
|
-
error: a(t).value.$error && a(t).value.$errors[0].$message
|
|
50
|
-
}, {
|
|
51
|
-
default: V(() => [
|
|
52
|
-
g(h(o, {
|
|
53
|
-
modelValue: e.field.value,
|
|
54
|
-
"onUpdate:modelValue": i[0] || (i[0] = (n) => e.field.value = n),
|
|
55
|
-
type: "tel",
|
|
56
|
-
"inline-addon": "+1",
|
|
57
|
-
invalid: a(t).value.$error
|
|
58
|
-
}, null, 8, ["modelValue", "invalid"]), [
|
|
59
|
-
[d, "##########"]
|
|
60
|
-
])
|
|
61
|
-
]),
|
|
62
|
-
_: 1
|
|
63
|
-
}, 8, ["label", "required", "error"]);
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
export {
|
|
68
|
-
x as default
|
|
69
|
-
};
|