@theseam/ui-common 1.0.0-beta.8 → 1.0.0-beta.9
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/datatable/index.d.ts +49 -30
- package/fesm2022/theseam-ui-common-asset-reader.mjs +10 -10
- package/fesm2022/theseam-ui-common-breadcrumbs.mjs +6 -6
- package/fesm2022/theseam-ui-common-buttons.mjs +25 -25
- package/fesm2022/theseam-ui-common-card.mjs +16 -16
- package/fesm2022/theseam-ui-common-carousel.mjs +10 -10
- package/fesm2022/theseam-ui-common-checkbox.mjs +7 -7
- package/fesm2022/theseam-ui-common-confirm-dialog.mjs +13 -13
- package/fesm2022/theseam-ui-common-data-exporter.mjs +10 -10
- package/fesm2022/theseam-ui-common-data-filters.mjs +13 -13
- package/fesm2022/theseam-ui-common-datatable-alterations-display.mjs +12 -12
- package/fesm2022/theseam-ui-common-datatable-dynamic.mjs +25 -25
- package/fesm2022/theseam-ui-common-datatable.mjs +214 -152
- package/fesm2022/theseam-ui-common-datatable.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-dynamic-component-loader.mjs +7 -7
- package/fesm2022/theseam-ui-common-dynamic.mjs +21 -21
- package/fesm2022/theseam-ui-common-footer-bar.mjs +7 -7
- package/fesm2022/theseam-ui-common-form-field-error.mjs +16 -16
- package/fesm2022/theseam-ui-common-form-field.mjs +22 -22
- package/fesm2022/theseam-ui-common-framework.mjs +157 -157
- package/fesm2022/theseam-ui-common-framework.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-google-maps.mjs +40 -40
- package/fesm2022/theseam-ui-common-graphql.mjs +3 -3
- package/fesm2022/theseam-ui-common-icon.mjs +13 -13
- package/fesm2022/theseam-ui-common-layout.mjs +7 -7
- package/fesm2022/theseam-ui-common-loading.mjs +10 -10
- package/fesm2022/theseam-ui-common-menu.mjs +25 -25
- package/fesm2022/theseam-ui-common-modal.mjs +43 -43
- package/fesm2022/theseam-ui-common-navigation-reload.mjs +3 -3
- package/fesm2022/theseam-ui-common-popover.mjs +10 -10
- package/fesm2022/theseam-ui-common-progress.mjs +7 -7
- package/fesm2022/theseam-ui-common-rich-text.mjs +7 -7
- package/fesm2022/theseam-ui-common-scrollbar.mjs +6 -6
- package/fesm2022/theseam-ui-common-services.mjs +12 -12
- package/fesm2022/theseam-ui-common-shared.mjs +37 -37
- package/fesm2022/theseam-ui-common-storage.mjs +3 -3
- package/fesm2022/theseam-ui-common-story-helpers.mjs +26 -26
- package/fesm2022/theseam-ui-common-tabbed.mjs +22 -22
- package/fesm2022/theseam-ui-common-table-cell-type.mjs +39 -11
- package/fesm2022/theseam-ui-common-table-cell-type.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-table-cell-types.mjs +31 -31
- package/fesm2022/theseam-ui-common-table.mjs +28 -18
- package/fesm2022/theseam-ui-common-table.mjs.map +1 -1
- package/fesm2022/theseam-ui-common-tel-input.mjs +13 -13
- package/fesm2022/theseam-ui-common-tiled-select.mjs +22 -22
- package/fesm2022/theseam-ui-common-toggle-edit.mjs +16 -16
- package/fesm2022/theseam-ui-common-toggle-group.mjs +10 -10
- package/fesm2022/theseam-ui-common-tooltip.mjs +10 -10
- package/fesm2022/theseam-ui-common-unsaved-changes-dialog.mjs +10 -10
- package/fesm2022/theseam-ui-common-vertical-list-filter.mjs +3 -3
- package/fesm2022/theseam-ui-common-viewers.mjs +12 -12
- package/fesm2022/theseam-ui-common-widget.mjs +135 -135
- package/package.json +57 -57
- package/table/index.d.ts +4 -1
- package/table-cell-type/index.d.ts +27 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theseam/ui-common",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.9",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/cdk": "^20.2.3",
|
|
6
6
|
"@angular/common": "^20.3.0",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@marklb/file-type": "~10.6.5",
|
|
20
|
-
"@marklb/ngx-datatable": "21.0.0-alpha.
|
|
20
|
+
"@marklb/ngx-datatable": "21.0.0-alpha.2",
|
|
21
21
|
"ngx-loading": "^17.0.0",
|
|
22
22
|
"@ng-select/ng-select": "^20.2.2",
|
|
23
23
|
"apollo-angular": "^11.0.0",
|
|
@@ -141,102 +141,102 @@
|
|
|
141
141
|
"types": "./buttons/index.d.ts",
|
|
142
142
|
"default": "./fesm2022/theseam-ui-common-buttons.mjs"
|
|
143
143
|
},
|
|
144
|
-
"./
|
|
145
|
-
"types": "./
|
|
146
|
-
"default": "./fesm2022/theseam-ui-common-
|
|
144
|
+
"./breadcrumbs": {
|
|
145
|
+
"types": "./breadcrumbs/index.d.ts",
|
|
146
|
+
"default": "./fesm2022/theseam-ui-common-breadcrumbs.mjs"
|
|
147
147
|
},
|
|
148
148
|
"./checkbox": {
|
|
149
149
|
"types": "./checkbox/index.d.ts",
|
|
150
150
|
"default": "./fesm2022/theseam-ui-common-checkbox.mjs"
|
|
151
151
|
},
|
|
152
|
+
"./card": {
|
|
153
|
+
"types": "./card/index.d.ts",
|
|
154
|
+
"default": "./fesm2022/theseam-ui-common-card.mjs"
|
|
155
|
+
},
|
|
152
156
|
"./carousel": {
|
|
153
157
|
"types": "./carousel/index.d.ts",
|
|
154
158
|
"default": "./fesm2022/theseam-ui-common-carousel.mjs"
|
|
155
159
|
},
|
|
160
|
+
"./core": {
|
|
161
|
+
"types": "./core/index.d.ts",
|
|
162
|
+
"default": "./fesm2022/theseam-ui-common-core.mjs"
|
|
163
|
+
},
|
|
156
164
|
"./confirm-dialog": {
|
|
157
165
|
"types": "./confirm-dialog/index.d.ts",
|
|
158
166
|
"default": "./fesm2022/theseam-ui-common-confirm-dialog.mjs"
|
|
159
167
|
},
|
|
160
|
-
"./breadcrumbs": {
|
|
161
|
-
"types": "./breadcrumbs/index.d.ts",
|
|
162
|
-
"default": "./fesm2022/theseam-ui-common-breadcrumbs.mjs"
|
|
163
|
-
},
|
|
164
168
|
"./data-exporter": {
|
|
165
169
|
"types": "./data-exporter/index.d.ts",
|
|
166
170
|
"default": "./fesm2022/theseam-ui-common-data-exporter.mjs"
|
|
167
171
|
},
|
|
168
|
-
"./
|
|
169
|
-
"types": "./
|
|
170
|
-
"default": "./fesm2022/theseam-ui-common-
|
|
172
|
+
"./datatable": {
|
|
173
|
+
"types": "./datatable/index.d.ts",
|
|
174
|
+
"default": "./fesm2022/theseam-ui-common-datatable.mjs"
|
|
171
175
|
},
|
|
172
176
|
"./data-filters": {
|
|
173
177
|
"types": "./data-filters/index.d.ts",
|
|
174
178
|
"default": "./fesm2022/theseam-ui-common-data-filters.mjs"
|
|
175
179
|
},
|
|
176
|
-
"./datatable-alterations-display": {
|
|
177
|
-
"types": "./datatable-alterations-display/index.d.ts",
|
|
178
|
-
"default": "./fesm2022/theseam-ui-common-datatable-alterations-display.mjs"
|
|
179
|
-
},
|
|
180
180
|
"./datatable-dynamic": {
|
|
181
181
|
"types": "./datatable-dynamic/index.d.ts",
|
|
182
182
|
"default": "./fesm2022/theseam-ui-common-datatable-dynamic.mjs"
|
|
183
183
|
},
|
|
184
|
+
"./datatable-alterations-display": {
|
|
185
|
+
"types": "./datatable-alterations-display/index.d.ts",
|
|
186
|
+
"default": "./fesm2022/theseam-ui-common-datatable-alterations-display.mjs"
|
|
187
|
+
},
|
|
184
188
|
"./dynamic": {
|
|
185
189
|
"types": "./dynamic/index.d.ts",
|
|
186
190
|
"default": "./fesm2022/theseam-ui-common-dynamic.mjs"
|
|
187
191
|
},
|
|
188
|
-
"./dynamic-component-loader": {
|
|
189
|
-
"types": "./dynamic-component-loader/index.d.ts",
|
|
190
|
-
"default": "./fesm2022/theseam-ui-common-dynamic-component-loader.mjs"
|
|
191
|
-
},
|
|
192
192
|
"./footer-bar": {
|
|
193
193
|
"types": "./footer-bar/index.d.ts",
|
|
194
194
|
"default": "./fesm2022/theseam-ui-common-footer-bar.mjs"
|
|
195
195
|
},
|
|
196
|
-
"./
|
|
197
|
-
"types": "./
|
|
198
|
-
"default": "./fesm2022/theseam-ui-common-
|
|
199
|
-
},
|
|
200
|
-
"./form-field": {
|
|
201
|
-
"types": "./form-field/index.d.ts",
|
|
202
|
-
"default": "./fesm2022/theseam-ui-common-form-field.mjs"
|
|
196
|
+
"./dynamic-component-loader": {
|
|
197
|
+
"types": "./dynamic-component-loader/index.d.ts",
|
|
198
|
+
"default": "./fesm2022/theseam-ui-common-dynamic-component-loader.mjs"
|
|
203
199
|
},
|
|
204
200
|
"./form-field-error": {
|
|
205
201
|
"types": "./form-field-error/index.d.ts",
|
|
206
202
|
"default": "./fesm2022/theseam-ui-common-form-field-error.mjs"
|
|
207
203
|
},
|
|
204
|
+
"./form-field": {
|
|
205
|
+
"types": "./form-field/index.d.ts",
|
|
206
|
+
"default": "./fesm2022/theseam-ui-common-form-field.mjs"
|
|
207
|
+
},
|
|
208
208
|
"./framework": {
|
|
209
209
|
"types": "./framework/index.d.ts",
|
|
210
210
|
"default": "./fesm2022/theseam-ui-common-framework.mjs"
|
|
211
211
|
},
|
|
212
|
-
"./google-maps": {
|
|
213
|
-
"types": "./google-maps/index.d.ts",
|
|
214
|
-
"default": "./fesm2022/theseam-ui-common-google-maps.mjs"
|
|
215
|
-
},
|
|
216
212
|
"./graphql": {
|
|
217
213
|
"types": "./graphql/index.d.ts",
|
|
218
214
|
"default": "./fesm2022/theseam-ui-common-graphql.mjs"
|
|
219
215
|
},
|
|
220
|
-
"./
|
|
221
|
-
"types": "./
|
|
222
|
-
"default": "./fesm2022/theseam-ui-common-
|
|
216
|
+
"./google-maps": {
|
|
217
|
+
"types": "./google-maps/index.d.ts",
|
|
218
|
+
"default": "./fesm2022/theseam-ui-common-google-maps.mjs"
|
|
223
219
|
},
|
|
224
220
|
"./layout": {
|
|
225
221
|
"types": "./layout/index.d.ts",
|
|
226
222
|
"default": "./fesm2022/theseam-ui-common-layout.mjs"
|
|
227
223
|
},
|
|
224
|
+
"./icon": {
|
|
225
|
+
"types": "./icon/index.d.ts",
|
|
226
|
+
"default": "./fesm2022/theseam-ui-common-icon.mjs"
|
|
227
|
+
},
|
|
228
228
|
"./loading": {
|
|
229
229
|
"types": "./loading/index.d.ts",
|
|
230
230
|
"default": "./fesm2022/theseam-ui-common-loading.mjs"
|
|
231
231
|
},
|
|
232
|
-
"./menu": {
|
|
233
|
-
"types": "./menu/index.d.ts",
|
|
234
|
-
"default": "./fesm2022/theseam-ui-common-menu.mjs"
|
|
235
|
-
},
|
|
236
232
|
"./modal": {
|
|
237
233
|
"types": "./modal/index.d.ts",
|
|
238
234
|
"default": "./fesm2022/theseam-ui-common-modal.mjs"
|
|
239
235
|
},
|
|
236
|
+
"./menu": {
|
|
237
|
+
"types": "./menu/index.d.ts",
|
|
238
|
+
"default": "./fesm2022/theseam-ui-common-menu.mjs"
|
|
239
|
+
},
|
|
240
240
|
"./models": {
|
|
241
241
|
"types": "./models/index.d.ts",
|
|
242
242
|
"default": "./fesm2022/theseam-ui-common-models.mjs"
|
|
@@ -253,21 +253,21 @@
|
|
|
253
253
|
"types": "./rich-text/index.d.ts",
|
|
254
254
|
"default": "./fesm2022/theseam-ui-common-rich-text.mjs"
|
|
255
255
|
},
|
|
256
|
+
"./shared": {
|
|
257
|
+
"types": "./shared/index.d.ts",
|
|
258
|
+
"default": "./fesm2022/theseam-ui-common-shared.mjs"
|
|
259
|
+
},
|
|
256
260
|
"./services": {
|
|
257
261
|
"types": "./services/index.d.ts",
|
|
258
262
|
"default": "./fesm2022/theseam-ui-common-services.mjs"
|
|
259
263
|
},
|
|
260
|
-
"./storage": {
|
|
261
|
-
"types": "./storage/index.d.ts",
|
|
262
|
-
"default": "./fesm2022/theseam-ui-common-storage.mjs"
|
|
263
|
-
},
|
|
264
264
|
"./scrollbar": {
|
|
265
265
|
"types": "./scrollbar/index.d.ts",
|
|
266
266
|
"default": "./fesm2022/theseam-ui-common-scrollbar.mjs"
|
|
267
267
|
},
|
|
268
|
-
"./
|
|
269
|
-
"types": "./
|
|
270
|
-
"default": "./fesm2022/theseam-ui-common-
|
|
268
|
+
"./storage": {
|
|
269
|
+
"types": "./storage/index.d.ts",
|
|
270
|
+
"default": "./fesm2022/theseam-ui-common-storage.mjs"
|
|
271
271
|
},
|
|
272
272
|
"./story-helpers": {
|
|
273
273
|
"types": "./story-helpers/index.d.ts",
|
|
@@ -277,14 +277,14 @@
|
|
|
277
277
|
"types": "./tabbed/index.d.ts",
|
|
278
278
|
"default": "./fesm2022/theseam-ui-common-tabbed.mjs"
|
|
279
279
|
},
|
|
280
|
-
"./table": {
|
|
281
|
-
"types": "./table/index.d.ts",
|
|
282
|
-
"default": "./fesm2022/theseam-ui-common-table.mjs"
|
|
283
|
-
},
|
|
284
280
|
"./table-cell-type": {
|
|
285
281
|
"types": "./table-cell-type/index.d.ts",
|
|
286
282
|
"default": "./fesm2022/theseam-ui-common-table-cell-type.mjs"
|
|
287
283
|
},
|
|
284
|
+
"./table": {
|
|
285
|
+
"types": "./table/index.d.ts",
|
|
286
|
+
"default": "./fesm2022/theseam-ui-common-table.mjs"
|
|
287
|
+
},
|
|
288
288
|
"./table-cell-types": {
|
|
289
289
|
"types": "./table-cell-types/index.d.ts",
|
|
290
290
|
"default": "./fesm2022/theseam-ui-common-table-cell-types.mjs"
|
|
@@ -309,26 +309,26 @@
|
|
|
309
309
|
"types": "./toggle-group/index.d.ts",
|
|
310
310
|
"default": "./fesm2022/theseam-ui-common-toggle-group.mjs"
|
|
311
311
|
},
|
|
312
|
-
"./unsaved-changes-dialog": {
|
|
313
|
-
"types": "./unsaved-changes-dialog/index.d.ts",
|
|
314
|
-
"default": "./fesm2022/theseam-ui-common-unsaved-changes-dialog.mjs"
|
|
315
|
-
},
|
|
316
312
|
"./tooltip": {
|
|
317
313
|
"types": "./tooltip/index.d.ts",
|
|
318
314
|
"default": "./fesm2022/theseam-ui-common-tooltip.mjs"
|
|
319
315
|
},
|
|
316
|
+
"./unsaved-changes-dialog": {
|
|
317
|
+
"types": "./unsaved-changes-dialog/index.d.ts",
|
|
318
|
+
"default": "./fesm2022/theseam-ui-common-unsaved-changes-dialog.mjs"
|
|
319
|
+
},
|
|
320
320
|
"./utils": {
|
|
321
321
|
"types": "./utils/index.d.ts",
|
|
322
322
|
"default": "./fesm2022/theseam-ui-common-utils.mjs"
|
|
323
323
|
},
|
|
324
|
-
"./validators": {
|
|
325
|
-
"types": "./validators/index.d.ts",
|
|
326
|
-
"default": "./fesm2022/theseam-ui-common-validators.mjs"
|
|
327
|
-
},
|
|
328
324
|
"./vertical-list-filter": {
|
|
329
325
|
"types": "./vertical-list-filter/index.d.ts",
|
|
330
326
|
"default": "./fesm2022/theseam-ui-common-vertical-list-filter.mjs"
|
|
331
327
|
},
|
|
328
|
+
"./validators": {
|
|
329
|
+
"types": "./validators/index.d.ts",
|
|
330
|
+
"default": "./fesm2022/theseam-ui-common-validators.mjs"
|
|
331
|
+
},
|
|
332
332
|
"./viewers": {
|
|
333
333
|
"types": "./viewers/index.d.ts",
|
|
334
334
|
"default": "./fesm2022/theseam-ui-common-viewers.mjs"
|
package/table/index.d.ts
CHANGED
|
@@ -20,6 +20,9 @@ declare class TheSeamTableColumnComponent implements OnChanges {
|
|
|
20
20
|
flexGrow?: number | null;
|
|
21
21
|
headerClass?: string | null;
|
|
22
22
|
cellClass?: string | null;
|
|
23
|
+
align?: 'left' | 'center' | 'right' | null;
|
|
24
|
+
alignHeader?: 'left' | 'center' | 'right' | null;
|
|
25
|
+
alignCell?: 'left' | 'center' | 'right' | null;
|
|
23
26
|
private _isFirstChange;
|
|
24
27
|
cellTplDirective?: TheSeamTableCellTplDirective;
|
|
25
28
|
_cellTemplateInput?: TemplateRef<any> | null;
|
|
@@ -32,7 +35,7 @@ declare class TheSeamTableColumnComponent implements OnChanges {
|
|
|
32
35
|
columnChange$: rxjs.Observable<void>;
|
|
33
36
|
ngOnChanges(changes: SimpleChanges): void;
|
|
34
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheSeamTableColumnComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TheSeamTableColumnComponent, "seam-table-column", never, { "name": { "alias": "name"; "required": false; }; "prop": { "alias": "prop"; "required": false; }; "flexGrow": { "alias": "flexGrow"; "required": false; }; "headerClass": { "alias": "headerClass"; "required": false; }; "cellClass": { "alias": "cellClass"; "required": false; }; "_cellTemplateInput": { "alias": "cellTemplate"; "required": false; }; "_headerTemplateInput": { "alias": "headerTemplate"; "required": false; }; }, {}, ["cellTplDirective", "_cellTemplateQuery", "_headerTemplateQuery"], never, true, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TheSeamTableColumnComponent, "seam-table-column", never, { "name": { "alias": "name"; "required": false; }; "prop": { "alias": "prop"; "required": false; }; "flexGrow": { "alias": "flexGrow"; "required": false; }; "headerClass": { "alias": "headerClass"; "required": false; }; "cellClass": { "alias": "cellClass"; "required": false; }; "align": { "alias": "align"; "required": false; }; "alignHeader": { "alias": "alignHeader"; "required": false; }; "alignCell": { "alias": "alignCell"; "required": false; }; "_cellTemplateInput": { "alias": "cellTemplate"; "required": false; }; "_headerTemplateInput": { "alias": "headerTemplate"; "required": false; }; }, {}, ["cellTplDirective", "_cellTemplateQuery", "_headerTemplateQuery"], never, true, never>;
|
|
36
39
|
}
|
|
37
40
|
|
|
38
41
|
/**
|
|
@@ -21,6 +21,31 @@ interface TableCellActionBase<T extends TableCellTypeName> {
|
|
|
21
21
|
disabled?: boolean;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
interface TheSeamTableCellTypeColumnAlign {
|
|
25
|
+
/**
|
|
26
|
+
* Alignment for header and cell content.
|
|
27
|
+
*
|
|
28
|
+
* Defaults to 'left'.
|
|
29
|
+
*/
|
|
30
|
+
align?: 'left' | 'center' | 'right';
|
|
31
|
+
/**
|
|
32
|
+
* Alignment for header content.
|
|
33
|
+
*
|
|
34
|
+
* Defaults to `align` if not provided.
|
|
35
|
+
*/
|
|
36
|
+
alignHeader?: 'left' | 'center' | 'right';
|
|
37
|
+
/**
|
|
38
|
+
* Alignment for cell content.
|
|
39
|
+
*
|
|
40
|
+
* Defaults to `align` if not provided.
|
|
41
|
+
*/
|
|
42
|
+
alignCell?: 'left' | 'center' | 'right';
|
|
43
|
+
}
|
|
44
|
+
declare function setColumnAlignDefaults(column: TheSeamTableCellTypeColumnAlign & {
|
|
45
|
+
headerClass?: string | null | ((data: any) => string | any);
|
|
46
|
+
cellClass?: string | null | ((data: any) => string | any);
|
|
47
|
+
}): void;
|
|
48
|
+
|
|
24
49
|
interface TableCellTypeConfig<T extends TableCellTypeName> {
|
|
25
50
|
type: T;
|
|
26
51
|
/**
|
|
@@ -141,5 +166,5 @@ declare class TheSeamTableCellTypeModule {
|
|
|
141
166
|
static ɵinj: i0.ɵɵInjectorDeclaration<TheSeamTableCellTypeModule>;
|
|
142
167
|
}
|
|
143
168
|
|
|
144
|
-
export { TABLE_CELL_DATA, TABLE_CELL_TYPE_MANIFEST, TableCellTypeSelectorComponent, TableCellTypesHelpersService, TheSeamTableCellTypeModule };
|
|
145
|
-
export type { CalculatedValueContextFn, CaluclatedValueContextType, ICalucatedValueContext, ITableCellTypeManifest, ITableCellTypeManifestProvider, TableCellActionBase, TableCellData, TableCellDataChange, TableCellTypeColumn, TableCellTypeConfig, TableCellTypeExportProps, TableCellTypeName, TheSeamTableColumn };
|
|
169
|
+
export { TABLE_CELL_DATA, TABLE_CELL_TYPE_MANIFEST, TableCellTypeSelectorComponent, TableCellTypesHelpersService, TheSeamTableCellTypeModule, setColumnAlignDefaults };
|
|
170
|
+
export type { CalculatedValueContextFn, CaluclatedValueContextType, ICalucatedValueContext, ITableCellTypeManifest, ITableCellTypeManifestProvider, TableCellActionBase, TableCellData, TableCellDataChange, TableCellTypeColumn, TableCellTypeConfig, TableCellTypeExportProps, TableCellTypeName, TheSeamTableCellTypeColumnAlign, TheSeamTableColumn };
|