@agnos-ui/angular-bootstrap 0.4.0-next.1 → 0.4.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/README.md +1 -1
- package/components/accordion/accordion.component.d.ts +38 -1
- package/components/accordion/accordion.gen.d.ts +77 -5
- package/components/accordion/index.d.ts +1 -1
- package/components/alert/alert.component.d.ts +32 -1
- package/components/alert/alert.gen.d.ts +61 -7
- package/components/alert/index.d.ts +1 -1
- package/components/modal/index.d.ts +1 -1
- package/components/modal/modal.component.d.ts +56 -4
- package/components/modal/modal.gen.d.ts +123 -23
- package/components/modal/modal.service.d.ts +1 -1
- package/components/pagination/index.d.ts +1 -1
- package/components/pagination/pagination.component.d.ts +104 -18
- package/components/pagination/pagination.gen.d.ts +188 -18
- package/components/progressbar/index.d.ts +1 -1
- package/components/progressbar/progressbar.component.d.ts +25 -1
- package/components/progressbar/progressbar.gen.d.ts +54 -1
- package/components/rating/index.d.ts +1 -1
- package/components/rating/rating.component.d.ts +46 -1
- package/components/rating/rating.gen.d.ts +84 -1
- package/components/select/index.d.ts +1 -1
- package/components/select/select.component.d.ts +67 -1
- package/components/select/select.gen.d.ts +121 -1
- package/components/slider/index.d.ts +1 -1
- package/components/slider/slider.component.d.ts +49 -1
- package/components/slider/slider.gen.d.ts +98 -3
- package/components/toast/index.d.ts +1 -1
- package/components/toast/toast.component.d.ts +35 -1
- package/components/toast/toast.gen.d.ts +65 -7
- package/esm2022/components/accordion/accordion.component.mjs +12 -2
- package/esm2022/components/accordion/accordion.gen.mjs +33 -2
- package/esm2022/components/accordion/index.mjs +2 -2
- package/esm2022/components/alert/alert.component.mjs +17 -2
- package/esm2022/components/alert/alert.gen.mjs +15 -2
- package/esm2022/components/alert/index.mjs +2 -2
- package/esm2022/components/modal/index.mjs +2 -2
- package/esm2022/components/modal/modal.component.mjs +28 -3
- package/esm2022/components/modal/modal.gen.mjs +27 -2
- package/esm2022/components/modal/modal.service.mjs +1 -1
- package/esm2022/components/pagination/index.mjs +2 -2
- package/esm2022/components/pagination/pagination.component.mjs +6 -2
- package/esm2022/components/pagination/pagination.gen.mjs +15 -2
- package/esm2022/components/progressbar/index.mjs +2 -2
- package/esm2022/components/progressbar/progressbar.component.mjs +2 -2
- package/esm2022/components/progressbar/progressbar.gen.mjs +15 -2
- package/esm2022/components/rating/index.mjs +2 -2
- package/esm2022/components/rating/rating.component.mjs +17 -2
- package/esm2022/components/rating/rating.gen.mjs +15 -2
- package/esm2022/components/select/index.mjs +2 -2
- package/esm2022/components/select/select.component.mjs +19 -2
- package/esm2022/components/select/select.gen.mjs +15 -2
- package/esm2022/components/slider/index.mjs +2 -2
- package/esm2022/components/slider/slider.component.mjs +7 -2
- package/esm2022/components/slider/slider.gen.mjs +15 -2
- package/esm2022/components/toast/index.mjs +2 -2
- package/esm2022/components/toast/toast.component.mjs +17 -2
- package/esm2022/components/toast/toast.gen.mjs +15 -2
- package/esm2022/index.mjs +3 -3
- package/fesm2022/agnos-ui-angular-bootstrap.mjs +251 -40
- package/fesm2022/agnos-ui-angular-bootstrap.mjs.map +1 -1
- package/index.d.ts +2 -2
- package/package.json +5 -5
- package/components/accordion/accordion.d.ts +0 -6
- package/components/alert/alert.d.ts +0 -5
- package/components/modal/modal.d.ts +0 -6
- package/components/pagination/pagination.d.ts +0 -5
- package/components/progressbar/progressbar.d.ts +0 -5
- package/components/rating/rating.d.ts +0 -5
- package/components/select/select.d.ts +0 -5
- package/components/slider/slider.d.ts +0 -5
- package/components/toast/toast.d.ts +0 -5
- package/esm2022/components/accordion/accordion.mjs +0 -5
- package/esm2022/components/alert/alert.mjs +0 -4
- package/esm2022/components/modal/modal.mjs +0 -5
- package/esm2022/components/pagination/pagination.mjs +0 -4
- package/esm2022/components/progressbar/progressbar.mjs +0 -4
- package/esm2022/components/rating/rating.mjs +0 -4
- package/esm2022/components/select/select.mjs +0 -4
- package/esm2022/components/slider/slider.mjs +0 -4
- package/esm2022/components/toast/toast.mjs +0 -4
package/esm2022/index.mjs
CHANGED
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export * from '@agnos-ui/angular-headless';
|
|
5
5
|
export * from './agnos-ui-angular.module';
|
|
6
|
-
export { createAccordion, getAccordionDefaultConfig, createAccordionItem } from './components/accordion';
|
|
6
|
+
export { createAccordion, getAccordionDefaultConfig, createAccordionItem, factoryCreateAccordion } from './components/accordion';
|
|
7
7
|
export * from './components/accordion';
|
|
8
8
|
export { createAlert, getAlertDefaultConfig } from './components/alert';
|
|
9
9
|
export * from './components/alert';
|
|
10
|
-
export { createModal, getModalDefaultConfig } from './components/modal';
|
|
10
|
+
export { createModal, getModalDefaultConfig, modalCloseButtonClick, modalOutsideClick } from './components/modal';
|
|
11
11
|
export * from './components/modal';
|
|
12
12
|
export { createPagination, getPaginationDefaultConfig } from './components/pagination';
|
|
13
13
|
export * from './components/pagination';
|
|
@@ -24,4 +24,4 @@ export * from './components/toast';
|
|
|
24
24
|
export * from '@agnos-ui/core-bootstrap/services/transitions';
|
|
25
25
|
export * from '@agnos-ui/core-bootstrap/types';
|
|
26
26
|
export { widgetsConfigInjectionToken, provideWidgetsConfig, injectWidgetConfig, injectWidgetsConfig, callWidgetFactory } from './config';
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFDSCxjQUFjLDRCQUE0QixDQUFDO0FBRTNDLGNBQWMsMkJBQTJCLENBQUM7QUFnQjFDLE9BQU8sRUFBQyxlQUFlLEVBQUUseUJBQXlCLEVBQUUsbUJBQW1CLEVBQUUsc0JBQXNCLEVBQUMsTUFBTSx3QkFBd0IsQ0FBQztBQUMvSCxjQUFjLH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cG9ydCAqIGZyb20gJ0BhZ25vcy11aS9jb3JlLWJvb3RzdHJhcC90eXBlcyc7XG5cbmV4cG9ydCB0eXBlIHtXaWRnZXRzQ29uZmlnfSBmcm9tICcuL2NvbmZpZyc7XG5leHBvcnQge3dpZGdldHNDb25maWdJbmplY3Rpb25Ub2tlbiwgcHJvdmlkZVdpZGdldHNDb25maWcsIGluamVjdFdpZGdldENvbmZpZywgaW5qZWN0V2lkZ2V0c0NvbmZpZywgY2FsbFdpZGdldEZhY3Rvcnl9IGZyb20gJy4vY29uZmlnJztcbiJdfQ==
|
|
@@ -1,26 +1,44 @@
|
|
|
1
1
|
import { widgetsConfigFactory, SlotDirective, UseDirective, ComponentTemplate, BaseWidgetDirective, auBooleanAttribute, UseMultiDirective, ContentAsSlotDirective, auNumberAttribute, useDirectiveForHost } from '@agnos-ui/angular-headless';
|
|
2
2
|
export * from '@agnos-ui/angular-headless';
|
|
3
|
-
export { modalCloseButtonClick, modalOutsideClick } from '@agnos-ui/angular-headless';
|
|
4
3
|
import * as i0 from '@angular/core';
|
|
5
4
|
import { InjectionToken, inject, TemplateRef, Directive, Component, ChangeDetectionStrategy, ViewChild, EventEmitter, Input, ContentChild, Output, ViewEncapsulation, forwardRef, NgZone, NgModule, Injector, ApplicationRef, createComponent, EnvironmentInjector, Injectable } from '@angular/core';
|
|
6
|
-
import {
|
|
5
|
+
import { getModalDefaultConfig, createModal, modalOutsideClick, modalCloseButtonClick } from '@agnos-ui/core-bootstrap/components/modal';
|
|
7
6
|
import { writable } from '@amadeus-it-group/tansu';
|
|
8
|
-
import {
|
|
7
|
+
import { getPaginationDefaultConfig, createPagination } from '@agnos-ui/core-bootstrap/components/pagination';
|
|
9
8
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
9
|
+
import { getRatingDefaultConfig, createRating } from '@agnos-ui/core-bootstrap/components/rating';
|
|
10
|
+
import { getSelectDefaultConfig, createSelect } from '@agnos-ui/core-bootstrap/components/select';
|
|
11
|
+
import { getAlertDefaultConfig, createAlert } from '@agnos-ui/core-bootstrap/components/alert';
|
|
13
12
|
import { NgTemplateOutlet, NgClass } from '@angular/common';
|
|
14
|
-
import {
|
|
13
|
+
import { getAccordionDefaultConfig, createAccordionItem, createAccordion, factoryCreateAccordion } from '@agnos-ui/core-bootstrap/components/accordion';
|
|
15
14
|
import { take } from 'rxjs';
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
15
|
+
import { getSliderDefaultConfig, createSlider } from '@agnos-ui/core-bootstrap/components/slider';
|
|
16
|
+
import { getProgressbarDefaultConfig, createProgressbar } from '@agnos-ui/core-bootstrap/components/progressbar';
|
|
17
|
+
import { getToastDefaultConfig, createToast } from '@agnos-ui/core-bootstrap/components/toast';
|
|
19
18
|
export * from '@agnos-ui/core-bootstrap/services/transitions';
|
|
20
19
|
export * from '@agnos-ui/core-bootstrap/types';
|
|
21
20
|
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
/**
|
|
22
|
+
* Retrieve a shallow copy of the default modal config
|
|
23
|
+
* @returns the default modal config
|
|
24
|
+
*/
|
|
25
|
+
const export_getModalDefaultConfig = getModalDefaultConfig;
|
|
26
|
+
/**
|
|
27
|
+
* Creates a new modal widget instance.
|
|
28
|
+
* @param config - config of the modal, either as a store or as an object containing values or stores.
|
|
29
|
+
* @returns a new modal widget instance
|
|
30
|
+
*/
|
|
31
|
+
const export_createModal = createModal;
|
|
32
|
+
/**
|
|
33
|
+
* Value present in the {@link ModalBeforeCloseEvent.result|result} property of the {@link ModalProps.onBeforeClose|onBeforeClose} event
|
|
34
|
+
* and returned by the {@link ModalApi.open|open} method, when the modal is closed by a click inside the viewport but outside the modal.
|
|
35
|
+
*/
|
|
36
|
+
const export_modalOutsideClick = modalOutsideClick;
|
|
37
|
+
/**
|
|
38
|
+
* Value present in the {@link ModalBeforeCloseEvent.result|result} property of the {@link ModalProps.onBeforeClose|onBeforeClose} event
|
|
39
|
+
* and returned by the {@link ModalApi.open|open} method, when the modal is closed by a click on the close button.
|
|
40
|
+
*/
|
|
41
|
+
const export_modalCloseButtonClick = modalCloseButtonClick;
|
|
24
42
|
|
|
25
43
|
const widgetFactories = widgetsConfigFactory(new InjectionToken('bootstrapWidgetsConfig'));
|
|
26
44
|
const { widgetsConfigInjectionToken, provideWidgetsConfig, injectWidgetConfig, injectWidgetsConfig, callWidgetFactory } = widgetFactories;
|
|
@@ -274,23 +292,48 @@ class ModalComponent extends BaseWidgetDirective {
|
|
|
274
292
|
super(...arguments);
|
|
275
293
|
/**
|
|
276
294
|
* Event to be triggered when the visible property changes.
|
|
295
|
+
*
|
|
296
|
+
* @param visible - new value of the visible propery
|
|
297
|
+
*
|
|
298
|
+
* @defaultValue
|
|
299
|
+
* ```ts
|
|
300
|
+
* () => {}
|
|
301
|
+
* ```
|
|
277
302
|
*/
|
|
278
303
|
this.visibleChange = new EventEmitter();
|
|
279
304
|
/**
|
|
280
|
-
* Event to be triggered when the modal is about to be closed (i.e. the ModalApi.
|
|
305
|
+
* Event to be triggered when the modal is about to be closed (i.e. the {@link ModalApi.close|close} method was called).
|
|
306
|
+
*
|
|
307
|
+
* @param event - event giving access to the argument given to the {@link ModalApi.close|close} method and allowing
|
|
308
|
+
* to cancel the close process.
|
|
309
|
+
*
|
|
310
|
+
* @defaultValue
|
|
311
|
+
* ```ts
|
|
312
|
+
* () => {}
|
|
313
|
+
* ```
|
|
281
314
|
*/
|
|
282
315
|
this.beforeClose = new EventEmitter();
|
|
283
316
|
/**
|
|
284
317
|
* Event to be triggered when the transition is completed and the modal is not visible.
|
|
318
|
+
*
|
|
319
|
+
* @defaultValue
|
|
320
|
+
* ```ts
|
|
321
|
+
* () => {}
|
|
322
|
+
* ```
|
|
285
323
|
*/
|
|
286
324
|
this.hidden = new EventEmitter();
|
|
287
325
|
/**
|
|
288
326
|
* Event to be triggered when the transition is completed and the modal is visible.
|
|
327
|
+
*
|
|
328
|
+
* @defaultValue
|
|
329
|
+
* ```ts
|
|
330
|
+
* () => {}
|
|
331
|
+
* ```
|
|
289
332
|
*/
|
|
290
333
|
this.shown = new EventEmitter();
|
|
291
334
|
this.defaultSlots = writable(defaultConfig$6);
|
|
292
335
|
this._widget = callWidgetFactory({
|
|
293
|
-
factory:
|
|
336
|
+
factory: export_createModal,
|
|
294
337
|
widgetName: 'modal',
|
|
295
338
|
defaultConfig: this.defaultSlots,
|
|
296
339
|
events: {
|
|
@@ -442,8 +485,17 @@ class ModalComponent extends BaseWidgetDirective {
|
|
|
442
485
|
}] }); })();
|
|
443
486
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ModalComponent, { className: "ModalComponent", filePath: "components/modal/modal.component.ts", lineNumber: 161 }); })();
|
|
444
487
|
|
|
445
|
-
|
|
446
|
-
|
|
488
|
+
/**
|
|
489
|
+
* Retrieve a shallow copy of the default Pagination config
|
|
490
|
+
* @returns the default Pagination config
|
|
491
|
+
*/
|
|
492
|
+
const export_getPaginationDefaultConfig = getPaginationDefaultConfig;
|
|
493
|
+
/**
|
|
494
|
+
* Create a PaginationWidget with given config props
|
|
495
|
+
* @param config - an optional alert config
|
|
496
|
+
* @returns a PaginationWidget
|
|
497
|
+
*/
|
|
498
|
+
const export_createPagination = createPagination;
|
|
447
499
|
|
|
448
500
|
const _c0$7 = ["pages"];
|
|
449
501
|
const _c1$7 = ["structure"];
|
|
@@ -841,7 +893,7 @@ class PaginationComponent extends BaseWidgetDirective {
|
|
|
841
893
|
constructor() {
|
|
842
894
|
super(...arguments);
|
|
843
895
|
this._widget = callWidgetFactory({
|
|
844
|
-
factory:
|
|
896
|
+
factory: export_createPagination,
|
|
845
897
|
widgetName: 'pagination',
|
|
846
898
|
defaultConfig: defaultConfig$5,
|
|
847
899
|
events: {
|
|
@@ -854,6 +906,10 @@ class PaginationComponent extends BaseWidgetDirective {
|
|
|
854
906
|
* Event payload is the number of the newly selected page.
|
|
855
907
|
*
|
|
856
908
|
* Page numbers start with `1`.
|
|
909
|
+
* @defaultValue
|
|
910
|
+
* ```ts
|
|
911
|
+
* () => {}
|
|
912
|
+
* ```
|
|
857
913
|
*/
|
|
858
914
|
this.pageChange = new EventEmitter();
|
|
859
915
|
}
|
|
@@ -1021,8 +1077,17 @@ class PaginationComponent extends BaseWidgetDirective {
|
|
|
1021
1077
|
}] }); })();
|
|
1022
1078
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PaginationComponent, { className: "PaginationComponent", filePath: "components/pagination/pagination.component.ts", lineNumber: 206 }); })();
|
|
1023
1079
|
|
|
1024
|
-
|
|
1025
|
-
|
|
1080
|
+
/**
|
|
1081
|
+
* Retrieve a shallow copy of the default Rating config
|
|
1082
|
+
* @returns the default Rating config
|
|
1083
|
+
*/
|
|
1084
|
+
const export_getRatingDefaultConfig = getRatingDefaultConfig;
|
|
1085
|
+
/**
|
|
1086
|
+
* Create a RatingWidget with given config props
|
|
1087
|
+
* @param config - an optional rating config
|
|
1088
|
+
* @returns a RatingWidget
|
|
1089
|
+
*/
|
|
1090
|
+
const export_createRating = createRating;
|
|
1026
1091
|
|
|
1027
1092
|
const _c0$6 = ["auRating", ""];
|
|
1028
1093
|
const _c1$6 = a0 => ({ index: a0 });
|
|
@@ -1063,7 +1128,7 @@ class RatingComponent extends BaseWidgetDirective {
|
|
|
1063
1128
|
constructor() {
|
|
1064
1129
|
super(...arguments);
|
|
1065
1130
|
this._widget = callWidgetFactory({
|
|
1066
|
-
factory:
|
|
1131
|
+
factory: export_createRating,
|
|
1067
1132
|
widgetName: 'rating',
|
|
1068
1133
|
events: {
|
|
1069
1134
|
onHover: (event) => this.hover.emit(event),
|
|
@@ -1083,18 +1148,33 @@ class RatingComponent extends BaseWidgetDirective {
|
|
|
1083
1148
|
* An event emitted when the user is hovering over a given rating.
|
|
1084
1149
|
*
|
|
1085
1150
|
* Event payload is equal to the rating being hovered over.
|
|
1151
|
+
*
|
|
1152
|
+
* @defaultValue
|
|
1153
|
+
* ```ts
|
|
1154
|
+
* () => {}
|
|
1155
|
+
* ```
|
|
1086
1156
|
*/
|
|
1087
1157
|
this.hover = new EventEmitter();
|
|
1088
1158
|
/**
|
|
1089
1159
|
* An event emitted when the user stops hovering over a given rating.
|
|
1090
1160
|
*
|
|
1091
1161
|
* Event payload is equal to the rating of the last item being hovered over.
|
|
1162
|
+
*
|
|
1163
|
+
* @defaultValue
|
|
1164
|
+
* ```ts
|
|
1165
|
+
* () => {}
|
|
1166
|
+
* ```
|
|
1092
1167
|
*/
|
|
1093
1168
|
this.leave = new EventEmitter();
|
|
1094
1169
|
/**
|
|
1095
1170
|
* An event emitted when the rating is changed.
|
|
1096
1171
|
*
|
|
1097
1172
|
* Event payload is equal to the newly selected rating.
|
|
1173
|
+
*
|
|
1174
|
+
* @defaultValue
|
|
1175
|
+
* ```ts
|
|
1176
|
+
* () => {}
|
|
1177
|
+
* ```
|
|
1098
1178
|
*/
|
|
1099
1179
|
this.ratingChange = new EventEmitter();
|
|
1100
1180
|
}
|
|
@@ -1202,8 +1282,17 @@ class RatingComponent extends BaseWidgetDirective {
|
|
|
1202
1282
|
}] }); })();
|
|
1203
1283
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RatingComponent, { className: "RatingComponent", filePath: "components/rating/rating.component.ts", lineNumber: 58 }); })();
|
|
1204
1284
|
|
|
1205
|
-
|
|
1206
|
-
|
|
1285
|
+
/**
|
|
1286
|
+
* Retrieve a shallow copy of the default Select config
|
|
1287
|
+
* @returns the default Select config
|
|
1288
|
+
*/
|
|
1289
|
+
const export_getSelectDefaultConfig = getSelectDefaultConfig;
|
|
1290
|
+
/**
|
|
1291
|
+
* Creates a new select widget instance.
|
|
1292
|
+
* @param config - config of the modal, either as a store or as an object containing values or stores.
|
|
1293
|
+
* @returns a new select widget instance
|
|
1294
|
+
*/
|
|
1295
|
+
const export_createSelect = createSelect;
|
|
1207
1296
|
|
|
1208
1297
|
const _c0$5 = ["auSelect", ""];
|
|
1209
1298
|
const _c1$5 = (a0, a1) => [a0, a1];
|
|
@@ -1306,18 +1395,35 @@ class SelectComponent extends BaseWidgetDirective {
|
|
|
1306
1395
|
super(...arguments);
|
|
1307
1396
|
/**
|
|
1308
1397
|
* Callback called when the text filter change
|
|
1398
|
+
* @param text - Filtered text
|
|
1399
|
+
*
|
|
1400
|
+
* @defaultValue
|
|
1401
|
+
* ```ts
|
|
1402
|
+
* () => {}
|
|
1403
|
+
* ```
|
|
1309
1404
|
*/
|
|
1310
1405
|
this.filterTextChange = new EventEmitter();
|
|
1311
1406
|
/**
|
|
1312
1407
|
* Callback called when the selection change
|
|
1408
|
+
*
|
|
1409
|
+
* @defaultValue
|
|
1410
|
+
* ```ts
|
|
1411
|
+
* () => {}
|
|
1412
|
+
* ```
|
|
1313
1413
|
*/
|
|
1314
1414
|
this.selectedChange = new EventEmitter();
|
|
1315
1415
|
/**
|
|
1316
1416
|
* Callback called dropdown open state change
|
|
1417
|
+
* @param isOpen - updated open state
|
|
1418
|
+
*
|
|
1419
|
+
* @defaultValue
|
|
1420
|
+
* ```ts
|
|
1421
|
+
* () => {}
|
|
1422
|
+
* ```
|
|
1317
1423
|
*/
|
|
1318
1424
|
this.openChange = new EventEmitter();
|
|
1319
1425
|
this._widget = callWidgetFactory({
|
|
1320
|
-
factory:
|
|
1426
|
+
factory: export_createSelect,
|
|
1321
1427
|
widgetName: 'select',
|
|
1322
1428
|
events: {
|
|
1323
1429
|
onOpenChange: (event) => this.openChange.emit(event),
|
|
@@ -1480,8 +1586,17 @@ class SelectComponent extends BaseWidgetDirective {
|
|
|
1480
1586
|
}] }); })();
|
|
1481
1587
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectComponent, { className: "SelectComponent", filePath: "components/select/select.component.ts", lineNumber: 87 }); })();
|
|
1482
1588
|
|
|
1483
|
-
|
|
1484
|
-
|
|
1589
|
+
/**
|
|
1590
|
+
* Retrieve a shallow copy of the default Alert config
|
|
1591
|
+
* @returns the default Alert config
|
|
1592
|
+
*/
|
|
1593
|
+
const export_getAlertDefaultConfig = getAlertDefaultConfig;
|
|
1594
|
+
/**
|
|
1595
|
+
* Create an AlertWidget with given config props
|
|
1596
|
+
* @param config - an optional alert config
|
|
1597
|
+
* @returns an AlertWidget
|
|
1598
|
+
*/
|
|
1599
|
+
const export_createAlert = createAlert;
|
|
1485
1600
|
|
|
1486
1601
|
const _c0$4 = ["structure"];
|
|
1487
1602
|
const _c1$4 = (a0, a1) => ({ state: a0, widget: a1 });
|
|
@@ -1593,19 +1708,34 @@ class AlertComponent extends BaseWidgetDirective {
|
|
|
1593
1708
|
super(...arguments);
|
|
1594
1709
|
/**
|
|
1595
1710
|
* Callback called when the alert visibility changed.
|
|
1711
|
+
*
|
|
1712
|
+
* @defaultValue
|
|
1713
|
+
* ```ts
|
|
1714
|
+
* () => {}
|
|
1715
|
+
* ```
|
|
1596
1716
|
*/
|
|
1597
1717
|
this.visibleChange = new EventEmitter();
|
|
1598
1718
|
/**
|
|
1599
1719
|
* Callback called when the alert is hidden.
|
|
1720
|
+
*
|
|
1721
|
+
* @defaultValue
|
|
1722
|
+
* ```ts
|
|
1723
|
+
* () => {}
|
|
1724
|
+
* ```
|
|
1600
1725
|
*/
|
|
1601
1726
|
this.hidden = new EventEmitter();
|
|
1602
1727
|
/**
|
|
1603
1728
|
* Callback called when the alert is shown.
|
|
1729
|
+
*
|
|
1730
|
+
* @defaultValue
|
|
1731
|
+
* ```ts
|
|
1732
|
+
* () => {}
|
|
1733
|
+
* ```
|
|
1604
1734
|
*/
|
|
1605
1735
|
this.shown = new EventEmitter();
|
|
1606
1736
|
this.defaultSlots = writable(defaultConfig$4);
|
|
1607
1737
|
this._widget = callWidgetFactory({
|
|
1608
|
-
factory:
|
|
1738
|
+
factory: export_createAlert,
|
|
1609
1739
|
widgetName: 'alert',
|
|
1610
1740
|
defaultConfig: this.defaultSlots,
|
|
1611
1741
|
events: {
|
|
@@ -1707,9 +1837,33 @@ class AlertComponent extends BaseWidgetDirective {
|
|
|
1707
1837
|
}] }); })();
|
|
1708
1838
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AlertComponent, { className: "AlertComponent", filePath: "components/alert/alert.component.ts", lineNumber: 87 }); })();
|
|
1709
1839
|
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1840
|
+
/**
|
|
1841
|
+
* Retrieve a shallow copy of the default accordion config
|
|
1842
|
+
* @returns the default accordion config
|
|
1843
|
+
*/
|
|
1844
|
+
const export_getAccordionDefaultConfig = getAccordionDefaultConfig;
|
|
1845
|
+
/**
|
|
1846
|
+
* Create an AccordionItemWidget with given config props
|
|
1847
|
+
* @param config - an optional AccordionItem config
|
|
1848
|
+
* @returns an AccordionItemWidget
|
|
1849
|
+
*/
|
|
1850
|
+
const export_createAccordionItem = createAccordionItem;
|
|
1851
|
+
/**
|
|
1852
|
+
* Create an AccordionWidget with given config props
|
|
1853
|
+
* @param config - an optional accordion config
|
|
1854
|
+
* @returns an AccordionWidget
|
|
1855
|
+
*/
|
|
1856
|
+
const export_createAccordion = createAccordion;
|
|
1857
|
+
/**
|
|
1858
|
+
* Create an accordion WidgetFactory based on a item factory and the list of item props that should inherit from the parent accordion
|
|
1859
|
+
*
|
|
1860
|
+
* @param itemFactory - the item factory
|
|
1861
|
+
* @param accordionItemProps - the list of item props
|
|
1862
|
+
* @param accordionConfig - the default accordion config
|
|
1863
|
+
* @param accordionValidator - the validator of props
|
|
1864
|
+
* @returns the accordion widget factory
|
|
1865
|
+
*/
|
|
1866
|
+
const export_factoryCreateAccordion = factoryCreateAccordion;
|
|
1713
1867
|
|
|
1714
1868
|
const _c0$3 = ["structure"];
|
|
1715
1869
|
const _c1$3 = (a0, a1) => ({ state: a0, widget: a1 });
|
|
@@ -2172,16 +2326,26 @@ class AccordionDirective extends BaseWidgetDirective {
|
|
|
2172
2326
|
* An event fired when an item is shown.
|
|
2173
2327
|
*
|
|
2174
2328
|
* Event payload is the id of the item.
|
|
2329
|
+
*
|
|
2330
|
+
* @defaultValue
|
|
2331
|
+
* ```ts
|
|
2332
|
+
* () => {}
|
|
2333
|
+
* ```
|
|
2175
2334
|
*/
|
|
2176
2335
|
this.itemShown = new EventEmitter();
|
|
2177
2336
|
/**
|
|
2178
2337
|
* An event fired when an item is hidden.
|
|
2179
2338
|
*
|
|
2180
2339
|
* Event payload is the id of the item.
|
|
2340
|
+
*
|
|
2341
|
+
* @defaultValue
|
|
2342
|
+
* ```ts
|
|
2343
|
+
* () => {}
|
|
2344
|
+
* ```
|
|
2181
2345
|
*/
|
|
2182
2346
|
this.itemHidden = new EventEmitter();
|
|
2183
2347
|
this._widget = callWidgetFactory({
|
|
2184
|
-
factory:
|
|
2348
|
+
factory: export_createAccordion,
|
|
2185
2349
|
widgetName: 'accordion',
|
|
2186
2350
|
events: {
|
|
2187
2351
|
onItemShown: (id) => this.itemShown.emit(id),
|
|
@@ -2249,8 +2413,17 @@ class AccordionDirective extends BaseWidgetDirective {
|
|
|
2249
2413
|
args: ['auItemHeadingTag']
|
|
2250
2414
|
}] }); })();
|
|
2251
2415
|
|
|
2252
|
-
|
|
2253
|
-
|
|
2416
|
+
/**
|
|
2417
|
+
* Retrieve a shallow copy of the default Slider config
|
|
2418
|
+
* @returns the default Slider config
|
|
2419
|
+
*/
|
|
2420
|
+
const export_getSliderDefaultConfig = getSliderDefaultConfig;
|
|
2421
|
+
/**
|
|
2422
|
+
* Create a Slider with given config props
|
|
2423
|
+
* @param config - an optional slider config
|
|
2424
|
+
* @returns a SliderWidget
|
|
2425
|
+
*/
|
|
2426
|
+
const export_createSlider = createSlider;
|
|
2254
2427
|
|
|
2255
2428
|
const _c0$2 = ["handle"];
|
|
2256
2429
|
const _c1$2 = a0 => ({ item: a0 });
|
|
@@ -2533,7 +2706,7 @@ class SliderComponent extends BaseWidgetDirective {
|
|
|
2533
2706
|
super(...arguments);
|
|
2534
2707
|
this.defaultSlots = writable(defaultConfig$2);
|
|
2535
2708
|
this._widget = callWidgetFactory({
|
|
2536
|
-
factory:
|
|
2709
|
+
factory: export_createSlider,
|
|
2537
2710
|
widgetName: 'slider',
|
|
2538
2711
|
defaultConfig: this.defaultSlots,
|
|
2539
2712
|
events: {
|
|
@@ -2551,6 +2724,11 @@ class SliderComponent extends BaseWidgetDirective {
|
|
|
2551
2724
|
* An event emitted when slider values are changed
|
|
2552
2725
|
*
|
|
2553
2726
|
* Event payload equals to the updated slider values
|
|
2727
|
+
*
|
|
2728
|
+
* @defaultValue
|
|
2729
|
+
* ```ts
|
|
2730
|
+
* () => {}
|
|
2731
|
+
* ```
|
|
2554
2732
|
*/
|
|
2555
2733
|
this.valuesChange = new EventEmitter();
|
|
2556
2734
|
/**
|
|
@@ -2687,8 +2865,17 @@ class SliderComponent extends BaseWidgetDirective {
|
|
|
2687
2865
|
}] }); })();
|
|
2688
2866
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SliderComponent, { className: "SliderComponent", filePath: "components/slider/slider.component.ts", lineNumber: 147 }); })();
|
|
2689
2867
|
|
|
2690
|
-
|
|
2691
|
-
|
|
2868
|
+
/**
|
|
2869
|
+
* Retrieve a shallow copy of the default Progressbar config
|
|
2870
|
+
* @returns the default Progressbar config
|
|
2871
|
+
*/
|
|
2872
|
+
const export_getProgressbarDefaultConfig = getProgressbarDefaultConfig;
|
|
2873
|
+
/**
|
|
2874
|
+
* Create a Progressbar with given config props
|
|
2875
|
+
* @param config - an optional progressbar config
|
|
2876
|
+
* @returns a ProgressbarWidget
|
|
2877
|
+
*/
|
|
2878
|
+
const export_createProgressbar = createProgressbar;
|
|
2692
2879
|
|
|
2693
2880
|
const _c0$1 = ["structure"];
|
|
2694
2881
|
const _c1$1 = (a0, a1) => ({ state: a0, widget: a1 });
|
|
@@ -2775,7 +2962,7 @@ class ProgressbarComponent extends BaseWidgetDirective {
|
|
|
2775
2962
|
super(...arguments);
|
|
2776
2963
|
this.defaultSlots = writable(defaultConfig$1);
|
|
2777
2964
|
this._widget = callWidgetFactory({
|
|
2778
|
-
factory:
|
|
2965
|
+
factory: export_createProgressbar,
|
|
2779
2966
|
widgetName: 'progressbar',
|
|
2780
2967
|
defaultConfig: this.defaultSlots,
|
|
2781
2968
|
afterInit: () => {
|
|
@@ -2863,8 +3050,17 @@ class ProgressbarComponent extends BaseWidgetDirective {
|
|
|
2863
3050
|
}] }); })();
|
|
2864
3051
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProgressbarComponent, { className: "ProgressbarComponent", filePath: "components/progressbar/progressbar.component.ts", lineNumber: 73 }); })();
|
|
2865
3052
|
|
|
2866
|
-
|
|
2867
|
-
|
|
3053
|
+
/**
|
|
3054
|
+
* Retrieve a shallow copy of the default Toast config
|
|
3055
|
+
* @returns the default Toast config
|
|
3056
|
+
*/
|
|
3057
|
+
const export_getToastDefaultConfig = getToastDefaultConfig;
|
|
3058
|
+
/**
|
|
3059
|
+
* Create an ToastWidget with given config props
|
|
3060
|
+
* @param config - an optional alert config
|
|
3061
|
+
* @returns an ToastWidget
|
|
3062
|
+
*/
|
|
3063
|
+
const export_createToast = createToast;
|
|
2868
3064
|
|
|
2869
3065
|
const _c0 = ["structure"];
|
|
2870
3066
|
const _c1 = (a0, a1) => ({ state: a0, widget: a1 });
|
|
@@ -3018,19 +3214,34 @@ class ToastComponent extends BaseWidgetDirective {
|
|
|
3018
3214
|
super(...arguments);
|
|
3019
3215
|
/**
|
|
3020
3216
|
* Callback called when the alert visibility changed.
|
|
3217
|
+
*
|
|
3218
|
+
* @defaultValue
|
|
3219
|
+
* ```ts
|
|
3220
|
+
* () => {}
|
|
3221
|
+
* ```
|
|
3021
3222
|
*/
|
|
3022
3223
|
this.visibleChange = new EventEmitter();
|
|
3023
3224
|
/**
|
|
3024
3225
|
* Callback called when the alert is hidden.
|
|
3226
|
+
*
|
|
3227
|
+
* @defaultValue
|
|
3228
|
+
* ```ts
|
|
3229
|
+
* () => {}
|
|
3230
|
+
* ```
|
|
3025
3231
|
*/
|
|
3026
3232
|
this.hidden = new EventEmitter();
|
|
3027
3233
|
/**
|
|
3028
3234
|
* Callback called when the alert is shown.
|
|
3235
|
+
*
|
|
3236
|
+
* @defaultValue
|
|
3237
|
+
* ```ts
|
|
3238
|
+
* () => {}
|
|
3239
|
+
* ```
|
|
3029
3240
|
*/
|
|
3030
3241
|
this.shown = new EventEmitter();
|
|
3031
3242
|
this.defaultSlots = writable(defaultConfig);
|
|
3032
3243
|
this._widget = callWidgetFactory({
|
|
3033
|
-
factory:
|
|
3244
|
+
factory: export_createToast,
|
|
3034
3245
|
widgetName: 'toast',
|
|
3035
3246
|
defaultConfig: this.defaultSlots,
|
|
3036
3247
|
events: {
|
|
@@ -3335,5 +3546,5 @@ class ModalService {
|
|
|
3335
3546
|
* Generated bundle index. Do not edit.
|
|
3336
3547
|
*/
|
|
3337
3548
|
|
|
3338
|
-
export { AccordionBodyDirective, AccordionDirective, AccordionHeaderDirective, AccordionItemComponent, AccordionItemDefaultSlotsComponent, AccordionItemStructureDirective, AgnosUIAngularModule, AlertBodyDirective, AlertComponent, AlertDefaultSlotsComponent, AlertStructureDirective, ModalBodyDirective, ModalComponent, ModalDefaultSlotsComponent, ModalFooterDirective, ModalHeaderDirective, ModalService, ModalStructureDirective, ModalTitleDirective, PaginationComponent, PaginationDefaultSlotsComponent, PaginationEllipsisDirective, PaginationFirstDirective, PaginationLastDirective, PaginationNextDirective, PaginationNumberDirective, PaginationPagesDirective, PaginationPreviousDirective, PaginationStructureDirective, ProgressbarComponent, ProgressbarDefaultSlotsComponent, ProgressbarStructureDirective, RatingComponent, RatingStarDirective, SelectBadgeLabelDirective, SelectComponent, SelectItemLabelDirective, SliderComponent, SliderDefaultHandleSlotComponent, SliderDefaultStructureSlotComponent, SliderHandleDirective, SliderLabelDirective, SliderStructureDirective, ToastBodyDirective, ToastComponent, ToastDefaultSlotsComponent, ToastHeaderDirective, ToastStructureDirective, accordionItemDefaultSlotItemStructure, alertDefaultSlotStructure, callWidgetFactory, createAccordion, createAccordionItem, createAlert, createModal, createPagination, createProgressbar, createRating, createSelect, createSlider, createToast, getAccordionDefaultConfig, getAlertDefaultConfig, getModalDefaultConfig, getPaginationDefaultConfig, getProgressbarDefaultConfig, getRatingDefaultConfig, getSelectDefaultConfig, getSliderDefaultConfig, getToastDefaultConfig, injectWidgetConfig, injectWidgetsConfig, modalDefaultSlotHeader, modalDefaultSlotStructure, paginationDefaultSlotPages, paginationDefaultSlotStructure, progressbarDefaultSlotStructure, provideWidgetsConfig, sliderDefaultSlotHandle, sliderDefaultSlotStructure, toastDefaultSlotStructure, widgetsConfigInjectionToken };
|
|
3549
|
+
export { AccordionBodyDirective, AccordionDirective, AccordionHeaderDirective, AccordionItemComponent, AccordionItemDefaultSlotsComponent, AccordionItemStructureDirective, AgnosUIAngularModule, AlertBodyDirective, AlertComponent, AlertDefaultSlotsComponent, AlertStructureDirective, ModalBodyDirective, ModalComponent, ModalDefaultSlotsComponent, ModalFooterDirective, ModalHeaderDirective, ModalService, ModalStructureDirective, ModalTitleDirective, PaginationComponent, PaginationDefaultSlotsComponent, PaginationEllipsisDirective, PaginationFirstDirective, PaginationLastDirective, PaginationNextDirective, PaginationNumberDirective, PaginationPagesDirective, PaginationPreviousDirective, PaginationStructureDirective, ProgressbarComponent, ProgressbarDefaultSlotsComponent, ProgressbarStructureDirective, RatingComponent, RatingStarDirective, SelectBadgeLabelDirective, SelectComponent, SelectItemLabelDirective, SliderComponent, SliderDefaultHandleSlotComponent, SliderDefaultStructureSlotComponent, SliderHandleDirective, SliderLabelDirective, SliderStructureDirective, ToastBodyDirective, ToastComponent, ToastDefaultSlotsComponent, ToastHeaderDirective, ToastStructureDirective, accordionItemDefaultSlotItemStructure, alertDefaultSlotStructure, callWidgetFactory, export_createAccordion as createAccordion, export_createAccordionItem as createAccordionItem, export_createAlert as createAlert, export_createModal as createModal, export_createPagination as createPagination, export_createProgressbar as createProgressbar, export_createRating as createRating, export_createSelect as createSelect, export_createSlider as createSlider, export_createToast as createToast, export_factoryCreateAccordion as factoryCreateAccordion, export_getAccordionDefaultConfig as getAccordionDefaultConfig, export_getAlertDefaultConfig as getAlertDefaultConfig, export_getModalDefaultConfig as getModalDefaultConfig, export_getPaginationDefaultConfig as getPaginationDefaultConfig, export_getProgressbarDefaultConfig as getProgressbarDefaultConfig, export_getRatingDefaultConfig as getRatingDefaultConfig, export_getSelectDefaultConfig as getSelectDefaultConfig, export_getSliderDefaultConfig as getSliderDefaultConfig, export_getToastDefaultConfig as getToastDefaultConfig, injectWidgetConfig, injectWidgetsConfig, export_modalCloseButtonClick as modalCloseButtonClick, modalDefaultSlotHeader, modalDefaultSlotStructure, export_modalOutsideClick as modalOutsideClick, paginationDefaultSlotPages, paginationDefaultSlotStructure, progressbarDefaultSlotStructure, provideWidgetsConfig, sliderDefaultSlotHandle, sliderDefaultSlotStructure, toastDefaultSlotStructure, widgetsConfigInjectionToken };
|
|
3339
3550
|
//# sourceMappingURL=agnos-ui-angular-bootstrap.mjs.map
|