@thescaffold/ngx-apps-capital 0.0.10
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 +25 -0
- package/esm2022/lib/app.config.mjs +81 -0
- package/esm2022/lib/app.module.mjs +17 -0
- package/esm2022/lib/index.mjs +11 -0
- package/esm2022/lib/pages/card/card.component.mjs +161 -0
- package/esm2022/lib/pages/card/card.module.mjs +32 -0
- package/esm2022/lib/pages/card/card.provider.mjs +249 -0
- package/esm2022/lib/pages/dashboard/dashboard.component.mjs +703 -0
- package/esm2022/lib/pages/dashboard/dashboard.module.mjs +45 -0
- package/esm2022/lib/pages/pages.component.mjs +49 -0
- package/esm2022/lib/pages/pages.module.mjs +107 -0
- package/esm2022/lib/pages/payment/payment.component.mjs +119 -0
- package/esm2022/lib/pages/payment/payment.module.mjs +32 -0
- package/esm2022/lib/pages/payment/payment.provider.mjs +212 -0
- package/esm2022/lib/pages/voucher/voucher.component.mjs +167 -0
- package/esm2022/lib/pages/voucher/voucher.module.mjs +46 -0
- package/esm2022/lib/pages/voucher/voucher.provider.mjs +201 -0
- package/esm2022/public-api.mjs +5 -0
- package/esm2022/thescaffold-ngx-apps-capital.mjs +5 -0
- package/fesm2022/thescaffold-ngx-apps-capital-card.module-Cl6xh18C.mjs +36 -0
- package/fesm2022/thescaffold-ngx-apps-capital-card.module-Cl6xh18C.mjs.map +1 -0
- package/fesm2022/thescaffold-ngx-apps-capital-card.provider-BcIUxmO1.mjs +409 -0
- package/fesm2022/thescaffold-ngx-apps-capital-card.provider-BcIUxmO1.mjs.map +1 -0
- package/fesm2022/thescaffold-ngx-apps-capital-dashboard.module-lX-8-L9H.mjs +744 -0
- package/fesm2022/thescaffold-ngx-apps-capital-dashboard.module-lX-8-L9H.mjs.map +1 -0
- package/fesm2022/thescaffold-ngx-apps-capital-payment.module-DmQlflfD.mjs +35 -0
- package/fesm2022/thescaffold-ngx-apps-capital-payment.module-DmQlflfD.mjs.map +1 -0
- package/fesm2022/thescaffold-ngx-apps-capital-payment.provider-B1jZij0H.mjs +329 -0
- package/fesm2022/thescaffold-ngx-apps-capital-payment.provider-B1jZij0H.mjs.map +1 -0
- package/fesm2022/thescaffold-ngx-apps-capital-voucher.module-DMt7Jj8o.mjs +406 -0
- package/fesm2022/thescaffold-ngx-apps-capital-voucher.module-DMt7Jj8o.mjs.map +1 -0
- package/fesm2022/thescaffold-ngx-apps-capital.mjs +263 -0
- package/fesm2022/thescaffold-ngx-apps-capital.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/app.config.d.ts +13 -0
- package/lib/app.module.d.ts +8 -0
- package/lib/index.d.ts +10 -0
- package/lib/pages/card/card.component.d.ts +18 -0
- package/lib/pages/card/card.module.d.ts +10 -0
- package/lib/pages/card/card.provider.d.ts +136 -0
- package/lib/pages/dashboard/dashboard.component.d.ts +49 -0
- package/lib/pages/dashboard/dashboard.module.d.ts +10 -0
- package/lib/pages/pages.component.d.ts +8 -0
- package/lib/pages/pages.module.d.ts +11 -0
- package/lib/pages/payment/payment.component.d.ts +13 -0
- package/lib/pages/payment/payment.module.d.ts +10 -0
- package/lib/pages/payment/payment.provider.d.ts +134 -0
- package/lib/pages/voucher/voucher.component.d.ts +11 -0
- package/lib/pages/voucher/voucher.module.d.ts +10 -0
- package/lib/pages/voucher/voucher.provider.d.ts +125 -0
- package/package.json +33 -0
- package/public-api.d.ts +1 -0
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { CrudProvider } from '@thescaffold/ngx-ui';
|
|
2
|
+
import { PaymentComponent } from './payment.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PaymentProvider extends CrudProvider {
|
|
5
|
+
main: boolean;
|
|
6
|
+
name: string;
|
|
7
|
+
pluralName: string;
|
|
8
|
+
dataSource: import("@thescaffold/ngx-core").ApiService;
|
|
9
|
+
path: string[];
|
|
10
|
+
columns: ({
|
|
11
|
+
key: string;
|
|
12
|
+
value: string;
|
|
13
|
+
type: string;
|
|
14
|
+
links: (column: any, item: any) => {
|
|
15
|
+
title: string;
|
|
16
|
+
fn: (link: any) => void;
|
|
17
|
+
}[];
|
|
18
|
+
class?: undefined;
|
|
19
|
+
} | {
|
|
20
|
+
key: string;
|
|
21
|
+
value: string;
|
|
22
|
+
type?: undefined;
|
|
23
|
+
links?: undefined;
|
|
24
|
+
class?: undefined;
|
|
25
|
+
} | {
|
|
26
|
+
key: string;
|
|
27
|
+
value: string;
|
|
28
|
+
type: string;
|
|
29
|
+
links?: undefined;
|
|
30
|
+
class?: undefined;
|
|
31
|
+
} | {
|
|
32
|
+
key: string;
|
|
33
|
+
value: string;
|
|
34
|
+
type: string;
|
|
35
|
+
class: string;
|
|
36
|
+
links?: undefined;
|
|
37
|
+
})[];
|
|
38
|
+
fields: never[];
|
|
39
|
+
templateSource: typeof PaymentComponent;
|
|
40
|
+
routes: {};
|
|
41
|
+
morphs: {
|
|
42
|
+
"before-save": (payload: any) => any;
|
|
43
|
+
"after-save": (payload: any) => any;
|
|
44
|
+
"before-edit": (payload: any) => any;
|
|
45
|
+
"after-edit": (payload: any) => any;
|
|
46
|
+
"before-update": (payload: any) => any;
|
|
47
|
+
"after-update": (payload: any) => any;
|
|
48
|
+
"before-show": (payload: any) => any;
|
|
49
|
+
"after-show": (payload: any) => any;
|
|
50
|
+
"before-list": (payload: any) => {
|
|
51
|
+
page: any;
|
|
52
|
+
perPage: any;
|
|
53
|
+
relations: string;
|
|
54
|
+
};
|
|
55
|
+
"after-list": (payload: any) => any;
|
|
56
|
+
"before-delete": (payload: any) => any;
|
|
57
|
+
"after-delete": (payload: any) => any;
|
|
58
|
+
"before-remove": (payload: any) => any;
|
|
59
|
+
"after-remove": (payload: any) => any;
|
|
60
|
+
};
|
|
61
|
+
hooks: {
|
|
62
|
+
"before-create": () => void;
|
|
63
|
+
"after-create": () => void;
|
|
64
|
+
"before-save": (payload: any) => void;
|
|
65
|
+
"after-save": (payload: any, data: any) => void;
|
|
66
|
+
"before-edit": (payload: any) => void;
|
|
67
|
+
"after-edit": (payload: any) => void;
|
|
68
|
+
"before-update": (payload: any) => void;
|
|
69
|
+
"after-update": (payload: any, data: any) => void;
|
|
70
|
+
"before-show": (payload: any) => void;
|
|
71
|
+
"after-show": (payload: any) => void;
|
|
72
|
+
"before-list": (payload: any) => void;
|
|
73
|
+
"after-list": (payload: any, data: any) => void;
|
|
74
|
+
"before-delete": (payload: any) => void;
|
|
75
|
+
"after-delete": (payload: any) => void;
|
|
76
|
+
"before-remove": (payload: any) => void;
|
|
77
|
+
"after-remove": (payload: any, data: any) => void;
|
|
78
|
+
};
|
|
79
|
+
toCollection: (response: any) => {
|
|
80
|
+
title: string;
|
|
81
|
+
columns: ({
|
|
82
|
+
key: string;
|
|
83
|
+
value: string;
|
|
84
|
+
type: string;
|
|
85
|
+
links: (column: any, item: any) => {
|
|
86
|
+
title: string;
|
|
87
|
+
fn: (link: any) => void;
|
|
88
|
+
}[];
|
|
89
|
+
class?: undefined;
|
|
90
|
+
} | {
|
|
91
|
+
key: string;
|
|
92
|
+
value: string;
|
|
93
|
+
type?: undefined;
|
|
94
|
+
links?: undefined;
|
|
95
|
+
class?: undefined;
|
|
96
|
+
} | {
|
|
97
|
+
key: string;
|
|
98
|
+
value: string;
|
|
99
|
+
type: string;
|
|
100
|
+
links?: undefined;
|
|
101
|
+
class?: undefined;
|
|
102
|
+
} | {
|
|
103
|
+
key: string;
|
|
104
|
+
value: string;
|
|
105
|
+
type: string;
|
|
106
|
+
class: string;
|
|
107
|
+
links?: undefined;
|
|
108
|
+
})[];
|
|
109
|
+
rows: any;
|
|
110
|
+
links: {
|
|
111
|
+
primary: never[];
|
|
112
|
+
secondary: ({
|
|
113
|
+
title: string;
|
|
114
|
+
fn: (link: any, item: any) => void;
|
|
115
|
+
enabled?: undefined;
|
|
116
|
+
} | {
|
|
117
|
+
title: string;
|
|
118
|
+
fn: (link: any, item: any) => void;
|
|
119
|
+
enabled: (link: any, item: any) => boolean;
|
|
120
|
+
})[];
|
|
121
|
+
tertiary: never[];
|
|
122
|
+
empty: never[];
|
|
123
|
+
};
|
|
124
|
+
hasTextFilter: boolean;
|
|
125
|
+
hasDateFilter: boolean;
|
|
126
|
+
selectable: boolean;
|
|
127
|
+
hasHeaders: boolean;
|
|
128
|
+
page: any;
|
|
129
|
+
perPage: any;
|
|
130
|
+
total: any;
|
|
131
|
+
};
|
|
132
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaymentProvider, never>;
|
|
133
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PaymentProvider>;
|
|
134
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { BaseDirective } from '@thescaffold/ngx-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class VoucherComponent extends BaseDirective {
|
|
5
|
+
private readonly itemService;
|
|
6
|
+
vouchers$: import("rxjs").Observable<any>;
|
|
7
|
+
beforeListTemplate: TemplateRef<any>;
|
|
8
|
+
copy(value: string): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VoucherComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VoucherComponent, "app-voucher", never, {}, {}, never, never, false, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./voucher.component";
|
|
3
|
+
import * as i2 from "@thescaffold/ngx-core";
|
|
4
|
+
import * as i3 from "@thescaffold/ngx-common";
|
|
5
|
+
import * as i4 from "@thescaffold/ngx-ui";
|
|
6
|
+
export declare class VoucherModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VoucherModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<VoucherModule, [typeof i1.VoucherComponent], [typeof i2.SharedModule, typeof i3.PaymentModule, typeof i4.ElementsModule, typeof i2.PipesModule, typeof i4.NavsModule], [typeof i4.CrudModule]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<VoucherModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { CrudProvider } from '@thescaffold/ngx-ui';
|
|
2
|
+
import { VoucherComponent } from './voucher.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class VoucherProvider extends CrudProvider {
|
|
5
|
+
main: boolean;
|
|
6
|
+
name: string;
|
|
7
|
+
pluralName: string;
|
|
8
|
+
dataSource: import("@thescaffold/ngx-core").ApiService;
|
|
9
|
+
path: string[];
|
|
10
|
+
columns: ({
|
|
11
|
+
key: string;
|
|
12
|
+
value: string;
|
|
13
|
+
type: string;
|
|
14
|
+
links: (column: any, item: any) => {
|
|
15
|
+
title: any;
|
|
16
|
+
fn: (link: any) => void;
|
|
17
|
+
}[];
|
|
18
|
+
class?: undefined;
|
|
19
|
+
} | {
|
|
20
|
+
key: string;
|
|
21
|
+
value: string;
|
|
22
|
+
type?: undefined;
|
|
23
|
+
links?: undefined;
|
|
24
|
+
class?: undefined;
|
|
25
|
+
} | {
|
|
26
|
+
key: string;
|
|
27
|
+
value: string;
|
|
28
|
+
type: string;
|
|
29
|
+
class: string;
|
|
30
|
+
links?: undefined;
|
|
31
|
+
} | {
|
|
32
|
+
key: string;
|
|
33
|
+
value: string;
|
|
34
|
+
type: string;
|
|
35
|
+
links?: undefined;
|
|
36
|
+
class?: undefined;
|
|
37
|
+
})[];
|
|
38
|
+
fields: never[];
|
|
39
|
+
templateSource: typeof VoucherComponent;
|
|
40
|
+
routes: {};
|
|
41
|
+
morphs: {
|
|
42
|
+
"before-save": (payload: any) => any;
|
|
43
|
+
"after-save": (payload: any) => any;
|
|
44
|
+
"before-edit": (payload: any) => any;
|
|
45
|
+
"after-edit": (payload: any) => any;
|
|
46
|
+
"before-update": (payload: any) => any;
|
|
47
|
+
"after-update": (payload: any) => any;
|
|
48
|
+
"before-show": (payload: any) => any;
|
|
49
|
+
"after-show": (payload: any) => any;
|
|
50
|
+
"before-list": (payload: any) => any;
|
|
51
|
+
"after-list": (payload: any) => any;
|
|
52
|
+
"before-delete": (payload: any) => any;
|
|
53
|
+
"after-delete": (payload: any) => any;
|
|
54
|
+
"before-remove": (payload: any) => any;
|
|
55
|
+
"after-remove": (payload: any) => any;
|
|
56
|
+
};
|
|
57
|
+
hooks: {
|
|
58
|
+
"before-create": () => void;
|
|
59
|
+
"after-create": () => void;
|
|
60
|
+
"before-save": (payload: any) => void;
|
|
61
|
+
"after-save": (payload: any, data: any) => void;
|
|
62
|
+
"before-edit": (payload: any) => void;
|
|
63
|
+
"after-edit": (payload: any) => void;
|
|
64
|
+
"before-update": (payload: any) => void;
|
|
65
|
+
"after-update": (payload: any, data: any) => void;
|
|
66
|
+
"before-show": (payload: any) => void;
|
|
67
|
+
"after-show": (payload: any) => void;
|
|
68
|
+
"before-list": (payload: any) => void;
|
|
69
|
+
"after-list": (payload: any, data: any) => void;
|
|
70
|
+
"before-delete": (payload: any) => void;
|
|
71
|
+
"after-delete": (payload: any) => void;
|
|
72
|
+
"before-remove": (payload: any) => void;
|
|
73
|
+
"after-remove": (payload: any, data: any) => void;
|
|
74
|
+
};
|
|
75
|
+
toCollection: (response: any) => {
|
|
76
|
+
title: string;
|
|
77
|
+
columns: ({
|
|
78
|
+
key: string;
|
|
79
|
+
value: string;
|
|
80
|
+
type: string;
|
|
81
|
+
links: (column: any, item: any) => {
|
|
82
|
+
title: any;
|
|
83
|
+
fn: (link: any) => void;
|
|
84
|
+
}[];
|
|
85
|
+
class?: undefined;
|
|
86
|
+
} | {
|
|
87
|
+
key: string;
|
|
88
|
+
value: string;
|
|
89
|
+
type?: undefined;
|
|
90
|
+
links?: undefined;
|
|
91
|
+
class?: undefined;
|
|
92
|
+
} | {
|
|
93
|
+
key: string;
|
|
94
|
+
value: string;
|
|
95
|
+
type: string;
|
|
96
|
+
class: string;
|
|
97
|
+
links?: undefined;
|
|
98
|
+
} | {
|
|
99
|
+
key: string;
|
|
100
|
+
value: string;
|
|
101
|
+
type: string;
|
|
102
|
+
links?: undefined;
|
|
103
|
+
class?: undefined;
|
|
104
|
+
})[];
|
|
105
|
+
rows: any;
|
|
106
|
+
links: {
|
|
107
|
+
primary: never[];
|
|
108
|
+
secondary: {
|
|
109
|
+
title: string;
|
|
110
|
+
fn: (link: any, item: any) => void;
|
|
111
|
+
}[];
|
|
112
|
+
tertiary: never[];
|
|
113
|
+
empty: never[];
|
|
114
|
+
};
|
|
115
|
+
hasTextFilter: boolean;
|
|
116
|
+
hasDateFilter: boolean;
|
|
117
|
+
selectable: boolean;
|
|
118
|
+
hasHeaders: boolean;
|
|
119
|
+
page: any;
|
|
120
|
+
perPage: any;
|
|
121
|
+
total: any;
|
|
122
|
+
};
|
|
123
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VoucherProvider, never>;
|
|
124
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<VoucherProvider>;
|
|
125
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@thescaffold/ngx-apps-capital",
|
|
3
|
+
"version": "0.0.10",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": "^18.0.5",
|
|
6
|
+
"@angular/core": "^18.0.5",
|
|
7
|
+
"@angular/platform-browser": "^18.0.5",
|
|
8
|
+
"@angular/forms": "^18.0.5",
|
|
9
|
+
"@angular/router": "^18.0.5",
|
|
10
|
+
"rxjs": "~7.8.0",
|
|
11
|
+
"js-yaml": "^4.1.0",
|
|
12
|
+
"@thescaffold/ngx-core": "*",
|
|
13
|
+
"@thescaffold/ngx-payments": "*",
|
|
14
|
+
"@thescaffold/ngx-ui": "*"
|
|
15
|
+
},
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"tslib": "^2.3.0"
|
|
18
|
+
},
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"module": "fesm2022/thescaffold-ngx-apps-capital.mjs",
|
|
21
|
+
"typings": "index.d.ts",
|
|
22
|
+
"exports": {
|
|
23
|
+
"./package.json": {
|
|
24
|
+
"default": "./package.json"
|
|
25
|
+
},
|
|
26
|
+
".": {
|
|
27
|
+
"types": "./index.d.ts",
|
|
28
|
+
"esm2022": "./esm2022/thescaffold-ngx-apps-capital.mjs",
|
|
29
|
+
"esm": "./esm2022/thescaffold-ngx-apps-capital.mjs",
|
|
30
|
+
"default": "./fesm2022/thescaffold-ngx-apps-capital.mjs"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
package/public-api.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './lib/index';
|