@smartsoft001/crud-shell-angular 2.76.0 → 2.80.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/fesm2022/smartsoft001-crud-shell-angular.mjs +2840 -0
- package/fesm2022/smartsoft001-crud-shell-angular.mjs.map +1 -0
- package/index.d.ts +632 -0
- package/package.json +18 -3
- package/.storybook/addons.js +0 -1
- package/.storybook/config.js +0 -5
- package/.storybook/tsconfig.json +0 -8
- package/.storybook/webpack.config.js +0 -7
- package/jest.config.ts +0 -38
- package/ng-package.json +0 -7
- package/project.json +0 -49
- package/src/index.ts +0 -13
- package/src/lib/+state/crud.facade.ts +0 -82
- package/src/lib/+state/crud.methods.ts +0 -258
- package/src/lib/+state/crud.store.ts +0 -77
- package/src/lib/components/components.module.ts +0 -58
- package/src/lib/components/export/export.component.ts +0 -69
- package/src/lib/components/filter/base/base.component.ts +0 -175
- package/src/lib/components/filter/check/check.component.scss +0 -25
- package/src/lib/components/filter/check/check.component.ts +0 -72
- package/src/lib/components/filter/date/date.component.html +0 -30
- package/src/lib/components/filter/date/date.component.ts +0 -70
- package/src/lib/components/filter/date-time/date-time.component.html +0 -62
- package/src/lib/components/filter/date-time/date-time.component.ts +0 -56
- package/src/lib/components/filter/date-with-edit/date-with-edit.component.html +0 -109
- package/src/lib/components/filter/date-with-edit/date-with-edit.component.ts +0 -70
- package/src/lib/components/filter/filter.component.html +0 -52
- package/src/lib/components/filter/filter.component.ts +0 -34
- package/src/lib/components/filter/flag/flag.component.ts +0 -55
- package/src/lib/components/filter/index.ts +0 -9
- package/src/lib/components/filter/int/int.component.html +0 -74
- package/src/lib/components/filter/int/int.component.ts +0 -57
- package/src/lib/components/filter/radio/radio.component.ts +0 -74
- package/src/lib/components/filter/text/text.component.ts +0 -46
- package/src/lib/components/filters/filters.component.scss +0 -150
- package/src/lib/components/filters/filters.component.ts +0 -157
- package/src/lib/components/filters-config/filters-config.component.ts +0 -69
- package/src/lib/components/group/group.component.ts +0 -93
- package/src/lib/components/index.ts +0 -7
- package/src/lib/components/multiselect/multiselect.component.html +0 -41
- package/src/lib/components/multiselect/multiselect.component.scss +0 -125
- package/src/lib/components/multiselect/multiselect.component.ts +0 -104
- package/src/lib/crud-full.module.ts +0 -51
- package/src/lib/crud.config.ts +0 -79
- package/src/lib/crud.module.ts +0 -72
- package/src/lib/factories/list-pagination/list-pagination.factory.ts +0 -77
- package/src/lib/models/index.ts +0 -1
- package/src/lib/models/interfaces.ts +0 -34
- package/src/lib/pages/index.ts +0 -6
- package/src/lib/pages/item/base/base.component.ts +0 -54
- package/src/lib/pages/item/item.component.ts +0 -513
- package/src/lib/pages/item/standard/standard.component.scss +0 -0
- package/src/lib/pages/item/standard/standard.component.ts +0 -50
- package/src/lib/pages/list/base/base.component.ts +0 -29
- package/src/lib/pages/list/list.component.stories.ts +0 -77
- package/src/lib/pages/list/list.component.ts +0 -438
- package/src/lib/pages/list/standard/standard.component.ts +0 -42
- package/src/lib/pipes/form-options/form-options.pipe.ts +0 -61
- package/src/lib/pipes/index.ts +0 -2
- package/src/lib/pipes/pipes.module.ts +0 -9
- package/src/lib/providers/model-possibilities/model-possibilities.provider.ts +0 -19
- package/src/lib/services/crud/crud.service.spec.ts +0 -303
- package/src/lib/services/crud/crud.service.ts +0 -178
- package/src/lib/services/list-group/list-group.service.spec.ts +0 -87
- package/src/lib/services/list-group/list-group.service.ts +0 -65
- package/src/lib/services/page/page.service.spec.ts +0 -143
- package/src/lib/services/page/page.service.ts +0 -44
- package/src/lib/services/search/search.service.spec.ts +0 -134
- package/src/lib/services/search/search.service.ts +0 -42
- package/test-setup.ts +0 -0
- package/tsconfig.json +0 -13
- package/tsconfig.lib.json +0 -31
- package/tsconfig.lib.prod.json +0 -11
- package/tsconfig.spec.json +0 -10
- package/tslint.json +0 -10
package/index.d.ts
ADDED
|
@@ -0,0 +1,632 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnInit, Type, Signal, InputSignal, OnDestroy, WritableSignal, AfterContentInit, PipeTransform, ModuleWithProviders, ViewContainerRef, TemplateRef, InjectionToken } from '@angular/core';
|
|
3
|
+
import * as _smartsoft001_angular from '@smartsoft001/angular';
|
|
4
|
+
import { BaseComponent as BaseComponent$1, IButtonOptions, PaginationMode, ICellPipe, ListMode, IIconButtonOptions, InputBaseComponent, IListOptions, IFormOptions, DynamicComponentType, FormComponent, IDetailsOptions, IPageOptions, DynamicContentDirective, IListPaginationOptions } from '@smartsoft001/angular';
|
|
5
|
+
import { IEntity } from '@smartsoft001/domain-core';
|
|
6
|
+
import * as _smartsoft001_models from '@smartsoft001/models';
|
|
7
|
+
import { IModelFilter } from '@smartsoft001/models';
|
|
8
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
9
|
+
import * as i17 from '@angular/forms';
|
|
10
|
+
import * as i18 from '@angular/common';
|
|
11
|
+
import * as i19 from 'ng-dynamic-component';
|
|
12
|
+
import { Subscription, Observable } from 'rxjs';
|
|
13
|
+
import * as i7 from '@angular/router';
|
|
14
|
+
import { HttpClient } from '@angular/common/http';
|
|
15
|
+
|
|
16
|
+
declare class ExportComponent<T extends IEntity<string>> extends BaseComponent$1 implements OnInit {
|
|
17
|
+
private facade;
|
|
18
|
+
private popoverService;
|
|
19
|
+
private styleService;
|
|
20
|
+
private elementRef;
|
|
21
|
+
buttonExportCsvOptions: IButtonOptions;
|
|
22
|
+
buttonExportXlsxOptions: IButtonOptions;
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
private initButtonExportOptions;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExportComponent<any>, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ExportComponent<any>, "smart-crud-export", never, {}, {}, never, never, true, never>;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
interface ICrudFilter {
|
|
30
|
+
searchText?: string;
|
|
31
|
+
sortBy?: string;
|
|
32
|
+
sortDesc?: boolean;
|
|
33
|
+
offset?: number;
|
|
34
|
+
limit?: number;
|
|
35
|
+
paginationMode?: PaginationMode;
|
|
36
|
+
query?: Array<ICrudFilterQueryItem>;
|
|
37
|
+
}
|
|
38
|
+
interface ICrudFilterQueryItem extends IModelFilter {
|
|
39
|
+
key: string;
|
|
40
|
+
value: any;
|
|
41
|
+
type: '=' | '!=' | '>=' | '<=' | '<' | '>';
|
|
42
|
+
hidden?: boolean;
|
|
43
|
+
}
|
|
44
|
+
interface ICrudCreateManyOptions {
|
|
45
|
+
mode: CrudCreateManyMode;
|
|
46
|
+
}
|
|
47
|
+
interface ICrudListGroup {
|
|
48
|
+
key: string;
|
|
49
|
+
value: string;
|
|
50
|
+
text: string;
|
|
51
|
+
show?: boolean;
|
|
52
|
+
changed?: boolean;
|
|
53
|
+
children?: Array<ICrudListGroup>;
|
|
54
|
+
}
|
|
55
|
+
type CrudCreateManyMode = 'default' | 'replace';
|
|
56
|
+
|
|
57
|
+
declare class FilterComponent {
|
|
58
|
+
FieldType: typeof _smartsoft001_models.FieldTypeDef;
|
|
59
|
+
item: i0.InputSignal<IModelFilter | undefined>;
|
|
60
|
+
filter: i0.InputSignal<ICrudFilter | undefined>;
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterComponent, never>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterComponent, "smart-crud-filter", never, { "item": { "alias": "item"; "required": false; "isSignal": true; }; "filter": { "alias": "filter"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
declare class CrudConfig<T> {
|
|
66
|
+
apiUrl: string;
|
|
67
|
+
entity: string;
|
|
68
|
+
type?: any;
|
|
69
|
+
reducerFactory?: () => any;
|
|
70
|
+
baseQuery?: Array<ICrudFilterQueryItem>;
|
|
71
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CrudConfig<any>, never>;
|
|
72
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CrudConfig<any>>;
|
|
73
|
+
}
|
|
74
|
+
declare class CrudFullConfig<T> extends CrudConfig<T> {
|
|
75
|
+
title: string;
|
|
76
|
+
details?: boolean | {
|
|
77
|
+
cellPipe?: ICellPipe<T>;
|
|
78
|
+
components?: {
|
|
79
|
+
top?: any;
|
|
80
|
+
bottom?: any;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
edit?: boolean | {
|
|
84
|
+
cellPipe?: ICellPipe<T>;
|
|
85
|
+
components?: {
|
|
86
|
+
top?: any;
|
|
87
|
+
bottom?: any;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
add?: boolean | {
|
|
91
|
+
components?: {
|
|
92
|
+
top?: any;
|
|
93
|
+
bottom?: any;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
remove?: boolean;
|
|
97
|
+
search?: boolean;
|
|
98
|
+
export?: boolean;
|
|
99
|
+
pagination?: {
|
|
100
|
+
limit: number;
|
|
101
|
+
};
|
|
102
|
+
sort?: boolean | {
|
|
103
|
+
default?: string;
|
|
104
|
+
defaultDesc?: boolean;
|
|
105
|
+
};
|
|
106
|
+
list?: {
|
|
107
|
+
cellPipe?: ICellPipe<T>;
|
|
108
|
+
components?: {
|
|
109
|
+
top?: any;
|
|
110
|
+
multi?: any;
|
|
111
|
+
};
|
|
112
|
+
mode?: ListMode;
|
|
113
|
+
paginationMode?: PaginationMode;
|
|
114
|
+
resetQuery?: 'beforeInit';
|
|
115
|
+
groups?: Array<ICrudListGroup>;
|
|
116
|
+
};
|
|
117
|
+
buttons?: Array<IIconButtonOptions>;
|
|
118
|
+
inputComponents?: {
|
|
119
|
+
[key: string]: Type<InputBaseComponent<T>>;
|
|
120
|
+
};
|
|
121
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CrudFullConfig<any>, never>;
|
|
122
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CrudFullConfig<any>>;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
declare class CrudFacade<T extends IEntity<string>> {
|
|
126
|
+
private config;
|
|
127
|
+
private store;
|
|
128
|
+
loaded: Signal<boolean>;
|
|
129
|
+
loading: Signal<boolean>;
|
|
130
|
+
selected: Signal<T | undefined>;
|
|
131
|
+
multiSelected: Signal<T[] | undefined>;
|
|
132
|
+
list: Signal<T[] | undefined>;
|
|
133
|
+
filter: Signal<ICrudFilter | undefined>;
|
|
134
|
+
totalCount: Signal<number | undefined>;
|
|
135
|
+
links: Signal<any>;
|
|
136
|
+
error: Signal<any>;
|
|
137
|
+
constructor(config: CrudConfig<T>);
|
|
138
|
+
create(item: T): void;
|
|
139
|
+
createMany(items: Array<T>, options: ICrudCreateManyOptions): void;
|
|
140
|
+
read(filter?: ICrudFilter | null): void;
|
|
141
|
+
clear(): void;
|
|
142
|
+
select(id: string): void;
|
|
143
|
+
unselect(): void;
|
|
144
|
+
multiSelect(items: Array<T>): void;
|
|
145
|
+
update(item: T): void;
|
|
146
|
+
export(filter?: ICrudFilter | null, format?: string | null): void;
|
|
147
|
+
updatePartial(item: Partial<T> & {
|
|
148
|
+
id: string;
|
|
149
|
+
}): void;
|
|
150
|
+
updatePartialMany(items: (Partial<T> & {
|
|
151
|
+
id: string;
|
|
152
|
+
})[]): void;
|
|
153
|
+
delete(id: string): void;
|
|
154
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CrudFacade<any>, never>;
|
|
155
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CrudFacade<any>>;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
declare class BaseComponent<T extends IEntity<string>> implements OnInit {
|
|
159
|
+
protected facade: CrudFacade<any>;
|
|
160
|
+
protected translateService: TranslateService;
|
|
161
|
+
possibilities: Signal<{
|
|
162
|
+
id: any;
|
|
163
|
+
text: string;
|
|
164
|
+
}[]>;
|
|
165
|
+
readonly item: InputSignal<IModelFilter | undefined>;
|
|
166
|
+
readonly filter: InputSignal<ICrudFilter | undefined>;
|
|
167
|
+
get value(): any;
|
|
168
|
+
set value(val: any);
|
|
169
|
+
get minValue(): any;
|
|
170
|
+
set minValue(val: any);
|
|
171
|
+
get maxValue(): any;
|
|
172
|
+
set maxValue(val: any);
|
|
173
|
+
get lang(): string;
|
|
174
|
+
refresh(val: any, type?: string | null): void;
|
|
175
|
+
clear(): void;
|
|
176
|
+
ngOnInit(): void;
|
|
177
|
+
private initPossibilities;
|
|
178
|
+
private isArrayType;
|
|
179
|
+
private refreshForArray;
|
|
180
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponent<any>, never>;
|
|
181
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseComponent<any>, never, never, { "item": { "alias": "item"; "required": false; "isSignal": true; }; "filter": { "alias": "filter"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
declare class FilterDateComponent<T extends IEntity<string>> extends BaseComponent<T> {
|
|
185
|
+
id: string;
|
|
186
|
+
get allowAdvanced(): boolean;
|
|
187
|
+
set customValue(val: any);
|
|
188
|
+
get customValue(): any;
|
|
189
|
+
set customMinValue(val: any);
|
|
190
|
+
get customMinValue(): any;
|
|
191
|
+
set customMaxValue(val: any);
|
|
192
|
+
get customMaxValue(): any;
|
|
193
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterDateComponent<any>, never>;
|
|
194
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterDateComponent<any>, "smart-crud-filter-date", never, {}, {}, never, never, true, never>;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
declare class FilterDateWithEditComponent<T extends IEntity<string>> extends FilterDateComponent<T> implements OnInit, OnDestroy {
|
|
198
|
+
private _subscriptions;
|
|
199
|
+
advanced: WritableSignal<boolean>;
|
|
200
|
+
id: string;
|
|
201
|
+
toggleAdvanced(): void;
|
|
202
|
+
ngOnInit(): void;
|
|
203
|
+
ngOnDestroy(): void;
|
|
204
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterDateWithEditComponent<any>, never>;
|
|
205
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterDateWithEditComponent<any>, "smart-crud-filter-date-with-edit", never, {}, {}, never, never, true, never>;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
declare class FilterDateTimeComponent<T extends IEntity<string>> extends FilterDateComponent<T> implements OnInit, OnDestroy {
|
|
209
|
+
private _subscriptions;
|
|
210
|
+
id: string;
|
|
211
|
+
ngOnInit(): void;
|
|
212
|
+
ngOnDestroy(): void;
|
|
213
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterDateTimeComponent<any>, never>;
|
|
214
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterDateTimeComponent<any>, "smart-crud-filter-date-time", never, {}, {}, never, never, true, never>;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
declare class FilterRadioComponent<T extends IEntity<string>> extends BaseComponent<T> {
|
|
218
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterRadioComponent<any>, never>;
|
|
219
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterRadioComponent<any>, "smart-crud-filter-radio", never, {}, {}, never, never, true, never>;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
declare class FilterTextComponent<T extends IEntity<string>> extends BaseComponent<T> {
|
|
223
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterTextComponent<any>, never>;
|
|
224
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterTextComponent<any>, "smart-crud-filter-text", never, {}, {}, never, never, true, never>;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
declare class FilterFlagComponent<T extends IEntity<string>> extends BaseComponent<T> {
|
|
228
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterFlagComponent<any>, never>;
|
|
229
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterFlagComponent<any>, "smart-crud-filter-flag", never, {}, {}, never, never, true, never>;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
declare class FilterCheckComponent<T extends IEntity<string>> extends BaseComponent<T> implements AfterContentInit {
|
|
233
|
+
list: Signal<{
|
|
234
|
+
value: any;
|
|
235
|
+
isCheck: boolean;
|
|
236
|
+
}[]>;
|
|
237
|
+
ngAfterContentInit(): void;
|
|
238
|
+
onCheckChange(checked: boolean, entry: {
|
|
239
|
+
value: any;
|
|
240
|
+
isCheck: boolean;
|
|
241
|
+
}): void;
|
|
242
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterCheckComponent<any>, never>;
|
|
243
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterCheckComponent<any>, "smart-crud-filter-check", never, {}, {}, never, never, true, never>;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
declare class FilterIntComponent<T extends IEntity<string>> extends BaseComponent<T> implements OnInit, OnDestroy {
|
|
247
|
+
private _subscriptions;
|
|
248
|
+
advanced: WritableSignal<boolean>;
|
|
249
|
+
get allowAdvanced(): boolean;
|
|
250
|
+
ngOnInit(): void;
|
|
251
|
+
ngOnDestroy(): void;
|
|
252
|
+
toggleAdvanced(): void;
|
|
253
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterIntComponent<any>, never>;
|
|
254
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterIntComponent<any>, "smart-crud-filter-int", never, {}, {}, never, never, true, never>;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* This component is only to use in crud module
|
|
259
|
+
* @requires CrudModule
|
|
260
|
+
* @example
|
|
261
|
+
*
|
|
262
|
+
* html: <smart-crud-filters></smart-crud-filters>
|
|
263
|
+
*
|
|
264
|
+
* use on the model:
|
|
265
|
+
* @Model({
|
|
266
|
+
titleKey: 'body',
|
|
267
|
+
filters: [
|
|
268
|
+
{
|
|
269
|
+
label: 'testNegation',
|
|
270
|
+
key: 'body',
|
|
271
|
+
type: '!=',
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
label: 'fromDate',
|
|
275
|
+
key: 'createDate',
|
|
276
|
+
type: '<=',
|
|
277
|
+
fieldType: FieldType.dateWithEdit
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
label: 'select',
|
|
281
|
+
key: 'type',
|
|
282
|
+
type: '=',
|
|
283
|
+
fieldType: FieldType.radio,
|
|
284
|
+
possibilities$: of([
|
|
285
|
+
{
|
|
286
|
+
id: 1, text: 'Test 1'
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
id: 2, text: 'Test 2'
|
|
290
|
+
}
|
|
291
|
+
])
|
|
292
|
+
}
|
|
293
|
+
]
|
|
294
|
+
})
|
|
295
|
+
*
|
|
296
|
+
* use on the field (list.filter property):
|
|
297
|
+
* @Field({
|
|
298
|
+
create: modifyMetdata,
|
|
299
|
+
update: {
|
|
300
|
+
...modifyMetdata,
|
|
301
|
+
multi: true
|
|
302
|
+
},
|
|
303
|
+
type: FieldType.longText,
|
|
304
|
+
details: true,
|
|
305
|
+
list: {
|
|
306
|
+
order: 2,
|
|
307
|
+
filter: true
|
|
308
|
+
}
|
|
309
|
+
})
|
|
310
|
+
body: string;
|
|
311
|
+
*/
|
|
312
|
+
declare class FiltersComponent<T extends IEntity<string>> implements OnInit {
|
|
313
|
+
private menuService;
|
|
314
|
+
private config;
|
|
315
|
+
private facade;
|
|
316
|
+
private styleService;
|
|
317
|
+
private elementRef;
|
|
318
|
+
list: WritableSignal<Array<IModelFilter>>;
|
|
319
|
+
filter: Signal<ICrudFilter | undefined>;
|
|
320
|
+
/**
|
|
321
|
+
* Hide menu used only from MenuService
|
|
322
|
+
*/
|
|
323
|
+
readonly hideMenu: InputSignal<boolean>;
|
|
324
|
+
onClose(): Promise<void>;
|
|
325
|
+
ngOnInit(): void;
|
|
326
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FiltersComponent<any>, never>;
|
|
327
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FiltersComponent<any>, "smart-crud-filters", never, { "hideMenu": { "alias": "hideMenu"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
declare class FiltersConfigComponent implements OnInit {
|
|
331
|
+
private readonly facade;
|
|
332
|
+
private styleService;
|
|
333
|
+
private elementRef;
|
|
334
|
+
query: Signal<ICrudFilterQueryItem[]>;
|
|
335
|
+
onRemoveQuery(item: ICrudFilterQueryItem): void;
|
|
336
|
+
ngOnInit(): void;
|
|
337
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FiltersConfigComponent, never>;
|
|
338
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FiltersConfigComponent, "smart-crud-filters-config", never, {}, {}, never, never, true, never>;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
declare class MultiselectComponent<T extends IEntity<string>> {
|
|
342
|
+
private facade;
|
|
343
|
+
config: CrudFullConfig<T>;
|
|
344
|
+
private menuService;
|
|
345
|
+
private _list;
|
|
346
|
+
private _changes;
|
|
347
|
+
item: T;
|
|
348
|
+
valid: boolean;
|
|
349
|
+
buttonOptions: IButtonOptions;
|
|
350
|
+
lock: boolean;
|
|
351
|
+
showForm: boolean;
|
|
352
|
+
list: Signal<T[]>;
|
|
353
|
+
constructor();
|
|
354
|
+
onClose(): Promise<void>;
|
|
355
|
+
onPartialChange(changes: Partial<T>, list: Array<T>): void;
|
|
356
|
+
onValidChange(valid: boolean): void;
|
|
357
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MultiselectComponent<any>, never>;
|
|
358
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiselectComponent<any>, "smart-crud-multiselect", never, {}, {}, never, never, true, never>;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
declare class GroupComponent<T extends IEntity<string>> extends BaseComponent$1 implements OnInit, OnDestroy {
|
|
362
|
+
private styleService;
|
|
363
|
+
private elementRef;
|
|
364
|
+
private groupService;
|
|
365
|
+
readonly groups: InputSignal<Array<ICrudListGroup> | undefined>;
|
|
366
|
+
readonly listOptions: InputSignal<IListOptions<T> | undefined>;
|
|
367
|
+
change(val: boolean, item: ICrudListGroup, force?: boolean): void;
|
|
368
|
+
ngOnInit(): void;
|
|
369
|
+
ngOnDestroy(): void;
|
|
370
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GroupComponent<any>, never>;
|
|
371
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GroupComponent<any>, "smart-crud-group", never, { "groups": { "alias": "groups"; "required": false; "isSignal": true; }; "listOptions": { "alias": "listOptions"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
declare class FormOptionsPipe<T extends IEntity<string>> implements PipeTransform {
|
|
375
|
+
private modelPossibilitiesProvider;
|
|
376
|
+
transform(item: T, mode: string, type: any, uniqueProvider?: (values: Record<keyof T, any>) => Promise<boolean>, inputComponents?: {
|
|
377
|
+
[key: string]: Type<InputBaseComponent<any>>;
|
|
378
|
+
}): IFormOptions<T>;
|
|
379
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormOptionsPipe<any>, never>;
|
|
380
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FormOptionsPipe<any>, "smartFormOptions", true>;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
declare class CrudPipesModule {
|
|
384
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CrudPipesModule, never>;
|
|
385
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CrudPipesModule, never, [typeof FormOptionsPipe], [typeof FormOptionsPipe]>;
|
|
386
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CrudPipesModule>;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
declare class CrudComponentsModule {
|
|
390
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CrudComponentsModule, never>;
|
|
391
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CrudComponentsModule, never, [typeof ExportComponent, typeof FilterComponent, typeof FilterTextComponent, typeof FiltersConfigComponent, typeof FilterDateComponent, typeof FilterDateWithEditComponent, typeof FilterDateTimeComponent, typeof FilterRadioComponent, typeof FiltersComponent, typeof FilterFlagComponent, typeof FilterCheckComponent, typeof FilterIntComponent, typeof MultiselectComponent, typeof GroupComponent, typeof _smartsoft001_angular.SharedModule, typeof CrudPipesModule, typeof i17.FormsModule, typeof i18.CommonModule, typeof i19.DynamicIoModule], [typeof CrudPipesModule, typeof ExportComponent, typeof FilterComponent, typeof FilterTextComponent, typeof FiltersConfigComponent, typeof FilterDateComponent, typeof FilterDateWithEditComponent, typeof FilterDateTimeComponent, typeof FilterRadioComponent, typeof FiltersComponent, typeof FilterFlagComponent, typeof FilterCheckComponent, typeof FilterIntComponent, typeof MultiselectComponent, typeof GroupComponent]>;
|
|
392
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CrudComponentsModule>;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
declare class CrudCoreModule {
|
|
396
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CrudCoreModule, never>;
|
|
397
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CrudCoreModule, never, [typeof _smartsoft001_angular.SharedModule, typeof CrudPipesModule, typeof i17.FormsModule, typeof i18.CommonModule, typeof CrudComponentsModule], [typeof CrudComponentsModule]>;
|
|
398
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CrudCoreModule>;
|
|
399
|
+
}
|
|
400
|
+
declare class CrudModule<T extends IEntity<string>> {
|
|
401
|
+
static forFeature<T extends IEntity<string>>(options: ICrudModuleOptionsWithRoutng<T> | ICrudModuleOptionsWithoutRoutng<T>): ModuleWithProviders<CrudModule<any>>;
|
|
402
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CrudModule, never>;
|
|
403
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CrudModule, never, never, never>;
|
|
404
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CrudModule>;
|
|
405
|
+
}
|
|
406
|
+
interface ICrudModuleOptionsWithRoutng<T> {
|
|
407
|
+
config: CrudFullConfig<T>;
|
|
408
|
+
socket?: boolean;
|
|
409
|
+
routing: true;
|
|
410
|
+
}
|
|
411
|
+
interface ICrudModuleOptionsWithoutRoutng<T> {
|
|
412
|
+
config: CrudConfig<T>;
|
|
413
|
+
socket?: boolean;
|
|
414
|
+
routing: false;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
declare abstract class CrudItemPageBaseComponent<T extends IEntity<string>> extends BaseComponent$1 {
|
|
418
|
+
config: CrudFullConfig<T>;
|
|
419
|
+
facade: CrudFacade<any>;
|
|
420
|
+
static smartType: DynamicComponentType;
|
|
421
|
+
selected: Signal<T>;
|
|
422
|
+
contentTpl: Signal<ViewContainerRef | undefined>;
|
|
423
|
+
formComponents: Signal<readonly FormComponent<any>[]>;
|
|
424
|
+
detailsOptions: i0.InputSignal<IDetailsOptions<T> | undefined>;
|
|
425
|
+
mode: i0.InputSignal<string | undefined>;
|
|
426
|
+
uniqueProvider: i0.InputSignal<((values: Record<keyof T, any>) => Promise<boolean>) | undefined>;
|
|
427
|
+
onPartialChange: i0.OutputEmitterRef<Partial<T>>;
|
|
428
|
+
onChange: i0.OutputEmitterRef<T>;
|
|
429
|
+
onValidChange: i0.OutputEmitterRef<boolean>;
|
|
430
|
+
constructor();
|
|
431
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CrudItemPageBaseComponent<any>, never>;
|
|
432
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CrudItemPageBaseComponent<any>, never, never, { "detailsOptions": { "alias": "detailsOptions"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "uniqueProvider": { "alias": "uniqueProvider"; "required": false; "isSignal": true; }; }, { "onPartialChange": "onPartialChange"; "onChange": "onChange"; "onValidChange": "onValidChange"; }, never, never, true, never>;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
declare class ItemStandardComponent<T extends IEntity<string>> extends CrudItemPageBaseComponent<T> {
|
|
436
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItemStandardComponent<any>, never>;
|
|
437
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItemStandardComponent<any>, "smart-crud-item-standard-page", never, {}, {}, never, never, true, never>;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
declare const ItemComponent_base: new () => _smartsoft001_angular.IDynamicComponent<CrudItemPageBaseComponent<any>>;
|
|
441
|
+
declare class ItemComponent<T extends IEntity<string>> extends ItemComponent_base implements OnInit, OnDestroy {
|
|
442
|
+
private router;
|
|
443
|
+
private activeRoute;
|
|
444
|
+
private facade;
|
|
445
|
+
private service;
|
|
446
|
+
private dynamicComponentLoader;
|
|
447
|
+
private translateService;
|
|
448
|
+
config: CrudFullConfig<T>;
|
|
449
|
+
private location;
|
|
450
|
+
private cd;
|
|
451
|
+
private styleService;
|
|
452
|
+
private elementRef;
|
|
453
|
+
private toastService;
|
|
454
|
+
private pageService;
|
|
455
|
+
private detailsService;
|
|
456
|
+
private _mode;
|
|
457
|
+
pageOptions: WritableSignal<IPageOptions>;
|
|
458
|
+
detailsOptions: WritableSignal<IDetailsOptions<T>>;
|
|
459
|
+
id: string;
|
|
460
|
+
formValue: T;
|
|
461
|
+
formValid: boolean;
|
|
462
|
+
item: T;
|
|
463
|
+
formPartialValue: Partial<T>;
|
|
464
|
+
uniqueProvider: WritableSignal<(values: Record<keyof T, any>) => Promise<boolean>>;
|
|
465
|
+
set mode(val: string);
|
|
466
|
+
get mode(): string;
|
|
467
|
+
selected: Signal<T>;
|
|
468
|
+
standardComponents: Signal<readonly ItemStandardComponent<IEntity<string>>[]>;
|
|
469
|
+
contentTpl: Signal<TemplateRef<any> | undefined>;
|
|
470
|
+
topTpl: Signal<ViewContainerRef | undefined>;
|
|
471
|
+
bottomTpl: Signal<ViewContainerRef | undefined>;
|
|
472
|
+
dynamicContents: Signal<readonly DynamicContentDirective[]>;
|
|
473
|
+
subscription: Subscription;
|
|
474
|
+
constructor();
|
|
475
|
+
refreshProperties(): void;
|
|
476
|
+
ngOnInit(): Promise<void>;
|
|
477
|
+
ngOnDestroy(): void;
|
|
478
|
+
private generateComponents;
|
|
479
|
+
onPartialChange(val: Partial<T>): void;
|
|
480
|
+
onChange(val: T): void;
|
|
481
|
+
onValidChange(val: boolean): void;
|
|
482
|
+
private initPageOptions;
|
|
483
|
+
private getButtons;
|
|
484
|
+
private getTitle;
|
|
485
|
+
private removeParagraph;
|
|
486
|
+
private checkFirstInvalid;
|
|
487
|
+
private getInvalidFields;
|
|
488
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItemComponent<any>, never>;
|
|
489
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItemComponent<any>, "smart-crud-item-page", never, {}, {}, never, ["*"], true, never>;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
declare abstract class CrudListPageBaseComponent<T extends IEntity<string>> extends BaseComponent$1 {
|
|
493
|
+
config: CrudFullConfig<T>;
|
|
494
|
+
static smartType: DynamicComponentType;
|
|
495
|
+
contentTpl: i0.Signal<ViewContainerRef | undefined>;
|
|
496
|
+
listOptions: i0.InputSignal<IListOptions<T> | undefined>;
|
|
497
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CrudListPageBaseComponent<any>, never>;
|
|
498
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CrudListPageBaseComponent<any>, never, never, { "listOptions": { "alias": "listOptions"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
declare const ListComponent_base: new () => _smartsoft001_angular.IDynamicComponent<CrudListPageBaseComponent<any>>;
|
|
502
|
+
declare class ListComponent<T extends IEntity<string>> extends ListComponent_base implements OnInit, OnDestroy {
|
|
503
|
+
private facade;
|
|
504
|
+
private router;
|
|
505
|
+
private dynamicComponentLoader;
|
|
506
|
+
private injector;
|
|
507
|
+
private cd;
|
|
508
|
+
private menuService;
|
|
509
|
+
private hardwareService;
|
|
510
|
+
private paginationFacade;
|
|
511
|
+
private pageService;
|
|
512
|
+
config: CrudFullConfig<T>;
|
|
513
|
+
private searchService;
|
|
514
|
+
private _cleanMultiSelected$;
|
|
515
|
+
pageOptions: Signal<IPageOptions>;
|
|
516
|
+
listOptions: WritableSignal<IListOptions<T>>;
|
|
517
|
+
links: {
|
|
518
|
+
next: any;
|
|
519
|
+
prev: any;
|
|
520
|
+
};
|
|
521
|
+
filter: Signal<ICrudFilter | undefined>;
|
|
522
|
+
topTpl: Signal<ViewContainerRef | undefined>;
|
|
523
|
+
contentTpl: Signal<TemplateRef<any> | undefined>;
|
|
524
|
+
dynamicContents: Signal<readonly DynamicContentDirective[]>;
|
|
525
|
+
constructor();
|
|
526
|
+
refreshProperties(): void;
|
|
527
|
+
ngOnInit(): Promise<void>;
|
|
528
|
+
private initCloseMenu;
|
|
529
|
+
private clear;
|
|
530
|
+
private getEndButtons;
|
|
531
|
+
private initTopComponent;
|
|
532
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ListComponent<any>, never>;
|
|
533
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent<any>, "smart-crud-list-page", never, {}, {}, never, ["*"], true, never>;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
declare class ListStandardComponent<T extends IEntity<string>> extends CrudListPageBaseComponent<T> {
|
|
537
|
+
private readonly facade;
|
|
538
|
+
readonly config: CrudFullConfig<T>;
|
|
539
|
+
isSearch: Signal<boolean>;
|
|
540
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ListStandardComponent<any>, never>;
|
|
541
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListStandardComponent<any>, "smart-crud-list-standard-page", never, {}, {}, never, never, true, never>;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
declare const PAGES: (typeof ItemStandardComponent | typeof ItemComponent | typeof ListStandardComponent | typeof ListComponent)[];
|
|
545
|
+
declare class CrudFullModule<T extends IEntity<string>> {
|
|
546
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CrudFullModule, never>;
|
|
547
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CrudFullModule, never, [typeof ItemComponent, typeof ListComponent, typeof ListStandardComponent, typeof ItemStandardComponent, typeof _smartsoft001_angular.SharedModule, typeof CrudPipesModule, typeof i7.RouterModule, typeof i17.FormsModule, typeof i18.CommonModule, typeof CrudComponentsModule], [typeof ItemComponent, typeof ListComponent, typeof ListStandardComponent, typeof ItemStandardComponent, typeof CrudComponentsModule]>;
|
|
548
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CrudFullModule>;
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
declare class CrudListPaginationFactory<T extends IEntity<string>> {
|
|
552
|
+
private readonly facade;
|
|
553
|
+
create(options: {
|
|
554
|
+
mode?: PaginationMode;
|
|
555
|
+
limit: number;
|
|
556
|
+
provider: {
|
|
557
|
+
getLinks(): any;
|
|
558
|
+
getFilter(): ICrudFilter;
|
|
559
|
+
};
|
|
560
|
+
}): Promise<IListPaginationOptions>;
|
|
561
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CrudListPaginationFactory<any>, never>;
|
|
562
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CrudListPaginationFactory<any>>;
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
declare class CrudService<T extends IEntity<string>> {
|
|
566
|
+
protected config: CrudConfig<any>;
|
|
567
|
+
protected http: HttpClient;
|
|
568
|
+
protected _formatMap: {
|
|
569
|
+
csv: string;
|
|
570
|
+
xlsx: string;
|
|
571
|
+
};
|
|
572
|
+
create(item: T): Promise<string>;
|
|
573
|
+
createMany(items: Array<T>, options: ICrudCreateManyOptions): Promise<void>;
|
|
574
|
+
getById(id: string): Promise<T>;
|
|
575
|
+
getList<T>(filter?: ICrudFilter | null): Promise<{
|
|
576
|
+
data: T[];
|
|
577
|
+
totalCount: number;
|
|
578
|
+
links: any;
|
|
579
|
+
}>;
|
|
580
|
+
exportList(filter: (ICrudFilter | null) | undefined, format: 'csv' | 'xlsx'): Promise<void>;
|
|
581
|
+
update(item: T): Promise<void>;
|
|
582
|
+
updatePartial(item: Partial<T> & {
|
|
583
|
+
id: string;
|
|
584
|
+
}): Promise<void>;
|
|
585
|
+
updatePartialMany(items: (Partial<T> & {
|
|
586
|
+
id: string;
|
|
587
|
+
})[]): Promise<any>;
|
|
588
|
+
delete(id: string): Promise<void>;
|
|
589
|
+
protected getQuery(filter: ICrudFilter): string;
|
|
590
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CrudService<any>, never>;
|
|
591
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CrudService<any>>;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
declare class PageService<T> {
|
|
595
|
+
private authService;
|
|
596
|
+
private config;
|
|
597
|
+
checkPermissions(): void;
|
|
598
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageService<any>, never>;
|
|
599
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PageService<any>>;
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
declare class CrudSearchService {
|
|
603
|
+
private _filterSource;
|
|
604
|
+
private _enabledSource;
|
|
605
|
+
get filter(): Partial<ICrudFilter>;
|
|
606
|
+
get enabled(): boolean;
|
|
607
|
+
enabled$: Observable<boolean>;
|
|
608
|
+
filter$: Observable<Partial<ICrudFilter>>;
|
|
609
|
+
setFilter(val: Partial<ICrudFilter>): void;
|
|
610
|
+
setEnabled(val: boolean): void;
|
|
611
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CrudSearchService, never>;
|
|
612
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CrudSearchService>;
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
/**
|
|
616
|
+
* @deprecated - please, use IModelPossibilitiesProvider from @smartsoft001/angular
|
|
617
|
+
*/
|
|
618
|
+
declare abstract class ICrudModelPossibilitiesProvider {
|
|
619
|
+
abstract get<T>(type: any): {
|
|
620
|
+
[key: string]: Observable<{
|
|
621
|
+
id: any;
|
|
622
|
+
text: string;
|
|
623
|
+
}[]>;
|
|
624
|
+
};
|
|
625
|
+
}
|
|
626
|
+
/**
|
|
627
|
+
* @deprecated - please, use MODEL_POSSIBILITIES_PROVIDER from @smartsoft001/angular
|
|
628
|
+
*/
|
|
629
|
+
declare const CRUD_MODEL_POSSIBILITIES_PROVIDER: InjectionToken<ICrudModelPossibilitiesProvider>;
|
|
630
|
+
|
|
631
|
+
export { CRUD_MODEL_POSSIBILITIES_PROVIDER, CrudComponentsModule, CrudConfig, CrudCoreModule, CrudFacade, CrudFullConfig, CrudFullModule, CrudItemPageBaseComponent, CrudListPageBaseComponent, CrudListPaginationFactory, CrudModule, CrudPipesModule, CrudSearchService, CrudService, ExportComponent, FilterCheckComponent, FilterComponent, FilterDateComponent, FilterDateTimeComponent, FilterDateWithEditComponent, FilterFlagComponent, FilterIntComponent, FilterRadioComponent, FilterTextComponent, FiltersComponent, FiltersConfigComponent, FormOptionsPipe, GroupComponent, ICrudModelPossibilitiesProvider, ItemComponent, ItemStandardComponent, ListComponent, ListStandardComponent, MultiselectComponent, PAGES, PageService };
|
|
632
|
+
export type { CrudCreateManyMode, ICrudCreateManyOptions, ICrudFilter, ICrudFilterQueryItem, ICrudListGroup, ICrudModuleOptionsWithRoutng, ICrudModuleOptionsWithoutRoutng };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smartsoft001/crud-shell-angular",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.80.0",
|
|
4
4
|
"description": "Utils and Angular components",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,5 +17,20 @@
|
|
|
17
17
|
"url": "https://github.com/emiljuchnikowski/smartsoft/issues"
|
|
18
18
|
},
|
|
19
19
|
"homepage": "https://github.com/emiljuchnikowski/smartsoft#readme",
|
|
20
|
-
"peerDependencies": {}
|
|
21
|
-
|
|
20
|
+
"peerDependencies": {},
|
|
21
|
+
"module": "fesm2022/smartsoft001-crud-shell-angular.mjs",
|
|
22
|
+
"typings": "index.d.ts",
|
|
23
|
+
"exports": {
|
|
24
|
+
"./package.json": {
|
|
25
|
+
"default": "./package.json"
|
|
26
|
+
},
|
|
27
|
+
".": {
|
|
28
|
+
"types": "./index.d.ts",
|
|
29
|
+
"default": "./fesm2022/smartsoft001-crud-shell-angular.mjs"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"sideEffects": false,
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"tslib": "^2.3.0"
|
|
35
|
+
}
|
|
36
|
+
}
|
package/.storybook/addons.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '../../../../../.storybook/addons';
|
package/.storybook/config.js
DELETED