@provoly/dashboard 0.20.4 → 0.20.5
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/dataset/components/dataset-detail/dataset-detail.component.d.ts +2 -1
- package/dataset/i18n/en.translations.d.ts +2 -1
- package/dataset/i18n/fr.translations.d.ts +2 -1
- package/dataset/style/_o-pry-dataset-card.scss +0 -1
- package/dataset/style/_o-pry-dataset-detail.scss +2 -53
- package/esm2022/admin/components/admin-classes/admin-classes-form/admin-classes-form.component.mjs +3 -3
- package/esm2022/admin/components/admin-classes/admin-classes-view/admin-attributes-form/admin-attributes-form.component.mjs +3 -3
- package/esm2022/admin/components/admin-fields/admin-fields-form/admin-fields-form.component.mjs +3 -3
- package/esm2022/admin/components/admin-menu/admin-menu.component.mjs +3 -3
- package/esm2022/dataset/components/dataset-detail/dataset-detail.component.mjs +20 -4
- package/esm2022/dataset/i18n/en.translations.mjs +3 -2
- package/esm2022/dataset/i18n/fr.translations.mjs +3 -2
- package/esm2022/dataset/style/css.component.mjs +2 -2
- package/esm2022/filters/autocomplete/autocomplete.component.mjs +16 -10
- package/esm2022/lib/core/components/about/about.component.mjs +3 -3
- package/esm2022/lib/core/components/base-menu/base-menu.component.mjs +3 -3
- package/esm2022/lib/core/components/select/select.component.mjs +42 -13
- package/esm2022/lib/core/i18n/en.translations.mjs +1 -2
- package/esm2022/lib/core/i18n/fr.translations.mjs +1 -2
- package/esm2022/lib/core/model/display-options.interface.mjs +2 -2
- package/esm2022/lib/core/store/class/class.actions.mjs +1 -4
- package/esm2022/lib/core/store/class/class.effects.mjs +1 -4
- package/esm2022/lib/core/store/class/class.interface.mjs +1 -1
- package/esm2022/lib/core/store/class/class.reducer.mjs +3 -13
- package/esm2022/lib/core/store/class/class.selectors.mjs +1 -3
- package/esm2022/lib/core/store/class/class.service.mjs +1 -9
- package/esm2022/lib/core/store/config/config.selectors.mjs +1 -3
- package/esm2022/lib/core/store/config/config.service.mjs +4 -7
- package/esm2022/presentation/components/add-edit-presentation/add-edit-presentation.component.mjs +3 -3
- package/esm2022/presentation/components/presentation.component.mjs +3 -3
- package/esm2022/presentation/components/title-presentation/title-presentation.component.mjs +11 -21
- package/esm2022/presentation/style/css.component.mjs +2 -2
- package/esm2022/restitution/components/restitution-catalog/restitution-catalog.component.mjs +3 -3
- package/esm2022/restitution/i18n/en.translations.mjs +2 -2
- package/esm2022/restitution/style/css.component.mjs +2 -2
- package/esm2022/search/i18n/en.translations.mjs +2 -1
- package/esm2022/search/i18n/fr.translations.mjs +2 -1
- package/esm2022/toolbox/components/filter-settings/filter-settings.component.mjs +3 -7
- package/fesm2022/provoly-dashboard-admin.mjs +8 -8
- package/fesm2022/provoly-dashboard-admin.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-dataset.mjs +25 -7
- package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-filters-autocomplete.mjs +15 -9
- package/fesm2022/provoly-dashboard-filters-autocomplete.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-presentation.mjs +14 -24
- package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-restitution.mjs +5 -5
- package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-search.mjs +2 -0
- package/fesm2022/provoly-dashboard-search.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-toolbox.mjs +2 -6
- package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +54 -58
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/filters/autocomplete/autocomplete.component.d.ts +1 -0
- package/lib/core/components/select/select.component.d.ts +2 -1
- package/lib/core/i18n/en.translations.d.ts +0 -1
- package/lib/core/i18n/fr.translations.d.ts +0 -1
- package/lib/core/store/class/class.actions.d.ts +1 -12
- package/lib/core/store/class/class.effects.d.ts +0 -5
- package/lib/core/store/class/class.interface.d.ts +0 -6
- package/lib/core/store/class/class.reducer.d.ts +2 -3
- package/lib/core/store/class/class.selectors.d.ts +0 -1
- package/lib/core/store/class/class.service.d.ts +1 -5
- package/lib/core/store/config/config.selectors.d.ts +0 -1
- package/package.json +1 -7
- package/presentation/components/title-presentation/title-presentation.component.d.ts +3 -5
- package/presentation/style/_o-pry-presentation.scss +1 -48
- package/restitution/i18n/en.translations.d.ts +1 -1
- package/restitution/style/_o-restitution.scss +11 -14
- package/search/i18n/en.translations.d.ts +1 -0
- package/search/i18n/fr.translations.d.ts +1 -0
- package/styles/base/_utils.scss +4 -0
- package/styles/components/_a-tooltip.scss +25 -18
- package/styles/components/_m-info-icon.scss +16 -0
- package/styles/components/_m-presentation-title.scss +14 -0
- package/styles/components/_o-about.scss +2 -24
- package/styles/main.scss +2 -0
- package/styles-theme/components-theme/_o-pry-dataset.theme.scss +0 -8
- package/styles-theme/components-theme/_o-pry-presentation.theme.scss +1 -1
- package/styles-theme/components-theme/_o-restitution.theme.scss +10 -0
- package/esm2022/supervision/components/supervision-business-data/supervision-business-data.component.mjs +0 -34
- package/esm2022/supervision/components/supervision-flow/supervision-flow.component.mjs +0 -33
- package/esm2022/supervision/components/supervision-infrastructures/supervision-infrastructures.component.mjs +0 -51
- package/esm2022/supervision/components/supervision-integration-errors/supervision-integration-errors-select/supervision-integration-errors-select.component.mjs +0 -27
- package/esm2022/supervision/components/supervision-integration-errors/supervision-integration-errors.component.mjs +0 -100
- package/esm2022/supervision/components/supervision-layout/supervision-layout.component.mjs +0 -47
- package/esm2022/supervision/components/supervision-menu/supervision-menu.component.mjs +0 -32
- package/esm2022/supervision/components/supervision-title/supervision-title.component.mjs +0 -24
- package/esm2022/supervision/components/supervision.component.mjs +0 -19
- package/esm2022/supervision/i18n/en.translations.mjs +0 -58
- package/esm2022/supervision/i18n/fr.translations.mjs +0 -58
- package/esm2022/supervision/provoly-dashboard-supervision.mjs +0 -5
- package/esm2022/supervision/public-api.mjs +0 -2
- package/esm2022/supervision/store/supervision-api.model.mjs +0 -2
- package/esm2022/supervision/store/supervision.actions.mjs +0 -33
- package/esm2022/supervision/store/supervision.effects.mjs +0 -60
- package/esm2022/supervision/store/supervision.reducer.mjs +0 -111
- package/esm2022/supervision/store/supervision.selectors.mjs +0 -35
- package/esm2022/supervision/store/supervision.service.mjs +0 -54
- package/esm2022/supervision/supervision-routing.module.mjs +0 -96
- package/esm2022/supervision/supervision.module.mjs +0 -96
- package/fesm2022/provoly-dashboard-supervision.mjs +0 -861
- package/fesm2022/provoly-dashboard-supervision.mjs.map +0 -1
- package/supervision/components/supervision-business-data/supervision-business-data.component.d.ts +0 -14
- package/supervision/components/supervision-flow/supervision-flow.component.d.ts +0 -14
- package/supervision/components/supervision-infrastructures/supervision-infrastructures.component.d.ts +0 -18
- package/supervision/components/supervision-integration-errors/supervision-integration-errors-select/supervision-integration-errors-select.component.d.ts +0 -12
- package/supervision/components/supervision-integration-errors/supervision-integration-errors.component.d.ts +0 -29
- package/supervision/components/supervision-layout/supervision-layout.component.d.ts +0 -21
- package/supervision/components/supervision-menu/supervision-menu.component.d.ts +0 -13
- package/supervision/components/supervision-title/supervision-title.component.d.ts +0 -11
- package/supervision/components/supervision.component.d.ts +0 -9
- package/supervision/i18n/en.translations.d.ts +0 -57
- package/supervision/i18n/fr.translations.d.ts +0 -57
- package/supervision/index.d.ts +0 -5
- package/supervision/public-api.d.ts +0 -1
- package/supervision/store/supervision-api.model.d.ts +0 -36
- package/supervision/store/supervision.actions.d.ts +0 -121
- package/supervision/store/supervision.effects.d.ts +0 -51
- package/supervision/store/supervision.reducer.d.ts +0 -22
- package/supervision/store/supervision.selectors.d.ts +0 -18
- package/supervision/store/supervision.service.d.ts +0 -19
- package/supervision/supervision-routing.module.d.ts +0 -7
- package/supervision/supervision.module.d.ts +0 -25
|
@@ -190,7 +190,6 @@ const enTranslations$1 = {
|
|
|
190
190
|
replay: 'Version replay : {{value}}',
|
|
191
191
|
exec: 'Version Execution : {{value}}',
|
|
192
192
|
transfo: 'Version Transformation : {{value}}',
|
|
193
|
-
monitor: 'Version Supervision : {{value}}',
|
|
194
193
|
noVersion: 'Version not found'
|
|
195
194
|
},
|
|
196
195
|
header: {
|
|
@@ -546,7 +545,6 @@ const frTranslations$1 = {
|
|
|
546
545
|
replay: 'Rejeu',
|
|
547
546
|
exec: 'Exécution',
|
|
548
547
|
transfo: 'Transformation',
|
|
549
|
-
monitor: 'Supervision',
|
|
550
548
|
noVersion: 'Version non trouvée'
|
|
551
549
|
},
|
|
552
550
|
header: {
|
|
@@ -1036,11 +1034,11 @@ class BaseMenuComponent extends SubscriptionnerDirective {
|
|
|
1036
1034
|
console.error('Must override init function');
|
|
1037
1035
|
}
|
|
1038
1036
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseMenuComponent, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1039
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: BaseMenuComponent, selector: "pry-base-menu", usesInheritance: true, ngImport: i0, template: "<nav class=\"m-nav-links\">\n <ng-container *ngFor=\"let sub of subMenu$ | async\">\n <ul class=\"m-nav-links__list\">\n <ng-container *ngFor=\"let menu of sub.subMenus\">\n <li\n *pryAccess=\"{ module: menu.module, page: menu.page, subMenu: menu.subMenu }\"\n class=\"m-nav-links__list__item\"\n >\n <a [routerLink]=\"menu.menu\" class=\"a-btn a-btn--secondary -width-full\" [routerLinkActive]=\"'is-active'\">\n {{ baseMenuTranslation + menu.menu | i18n }}\n </a>\n </li>\n </ng-container>\n </ul>\n </ng-container>\n
|
|
1037
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: BaseMenuComponent, selector: "pry-base-menu", usesInheritance: true, ngImport: i0, template: "<nav class=\"m-nav-links\">\n <ng-container *ngFor=\"let sub of subMenu$ | async\">\n <ul class=\"m-nav-links__list\">\n <ng-container *ngFor=\"let menu of sub.subMenus\">\n <li\n *pryAccess=\"{ module: menu.module, page: menu.page, subMenu: menu.subMenu }\"\n class=\"m-nav-links__list__item\"\n >\n <a [routerLink]=\"menu.menu\" class=\"a-btn a-btn--secondary -width-full\" [routerLinkActive]=\"'is-active'\">\n {{ baseMenuTranslation + menu.menu | i18n }}\n </a>\n </li>\n </ng-container>\n </ul>\n </ng-container>\n</nav>\n", dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i3.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "directive", type: PryAccessDirective, selector: "[pryAccess]", inputs: ["pryAccess"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: I18nPipe, name: "i18n" }] }); }
|
|
1040
1038
|
}
|
|
1041
1039
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseMenuComponent, decorators: [{
|
|
1042
1040
|
type: Component,
|
|
1043
|
-
args: [{ selector: 'pry-base-menu', template: "<nav class=\"m-nav-links\">\n <ng-container *ngFor=\"let sub of subMenu$ | async\">\n <ul class=\"m-nav-links__list\">\n <ng-container *ngFor=\"let menu of sub.subMenus\">\n <li\n *pryAccess=\"{ module: menu.module, page: menu.page, subMenu: menu.subMenu }\"\n class=\"m-nav-links__list__item\"\n >\n <a [routerLink]=\"menu.menu\" class=\"a-btn a-btn--secondary -width-full\" [routerLinkActive]=\"'is-active'\">\n {{ baseMenuTranslation + menu.menu | i18n }}\n </a>\n </li>\n </ng-container>\n </ul>\n </ng-container>\n
|
|
1041
|
+
args: [{ selector: 'pry-base-menu', template: "<nav class=\"m-nav-links\">\n <ng-container *ngFor=\"let sub of subMenu$ | async\">\n <ul class=\"m-nav-links__list\">\n <ng-container *ngFor=\"let menu of sub.subMenus\">\n <li\n *pryAccess=\"{ module: menu.module, page: menu.page, subMenu: menu.subMenu }\"\n class=\"m-nav-links__list__item\"\n >\n <a [routerLink]=\"menu.menu\" class=\"a-btn a-btn--secondary -width-full\" [routerLinkActive]=\"'is-active'\">\n {{ baseMenuTranslation + menu.menu | i18n }}\n </a>\n </li>\n </ng-container>\n </ul>\n </ng-container>\n</nav>\n" }]
|
|
1044
1042
|
}], ctorParameters: function () { return [{ type: i1.Store }]; } });
|
|
1045
1043
|
|
|
1046
1044
|
const DEFAULT_ICON_URL = '/assets/svgs/default.svg';
|
|
@@ -1232,9 +1230,6 @@ const ClassActions = {
|
|
|
1232
1230
|
load: createAction('[Class] Load Classes'),
|
|
1233
1231
|
loadSuccess: createAction('[Class Api] (bus) Load Classes Success', props()),
|
|
1234
1232
|
loadFailure: createAction('[Class Api] Load Classes Failure', props()),
|
|
1235
|
-
loadBusinessData: createAction('[Class Api] Load BusinessData'),
|
|
1236
|
-
loadBusinessDataSuccess: createAction('[Class Api] Load BusinessData Success', props()),
|
|
1237
|
-
loadBusinessDataFailure: createAction('[Class Api] Load BusinessData Failure', props()),
|
|
1238
1233
|
loadDatasetCount: createAction('[Class Api] Load DatasetCount'),
|
|
1239
1234
|
loadDatasetCountSuccess: createAction('[Class Api] Load DatasetCount Success', props()),
|
|
1240
1235
|
loadDatasetCountFailure: createAction('[Class Api] Load DatasetCount Failure', props())
|
|
@@ -1253,17 +1248,7 @@ const initialClassState = adapter$2.getInitialState({
|
|
|
1253
1248
|
classDatas: [],
|
|
1254
1249
|
datasetCounts: []
|
|
1255
1250
|
});
|
|
1256
|
-
const internalReducer$3 = createReducer(initialClassState, on(ClassActions.loadSuccess, (state, action) => adapter$2.setAll(action.classes, state)), on(ClassActions.
|
|
1257
|
-
...state,
|
|
1258
|
-
loading: true
|
|
1259
|
-
})), on(ClassActions.loadBusinessDataSuccess, (state, action) => ({
|
|
1260
|
-
...state,
|
|
1261
|
-
loading: false,
|
|
1262
|
-
classDatas: action.datas
|
|
1263
|
-
})), on(ClassActions.loadBusinessDataFailure, (state, action) => ({
|
|
1264
|
-
...state,
|
|
1265
|
-
loading: false
|
|
1266
|
-
})), on(ClassActions.loadDatasetCount, (state, action) => ({
|
|
1251
|
+
const internalReducer$3 = createReducer(initialClassState, on(ClassActions.loadSuccess, (state, action) => adapter$2.setAll(action.classes, state)), on(ClassActions.loadDatasetCount, (state, action) => ({
|
|
1267
1252
|
...state,
|
|
1268
1253
|
loading: true
|
|
1269
1254
|
})), on(ClassActions.loadDatasetCountSuccess, (state, action) => ({
|
|
@@ -1274,7 +1259,7 @@ const internalReducer$3 = createReducer(initialClassState, on(ClassActions.loadS
|
|
|
1274
1259
|
...state,
|
|
1275
1260
|
loading: false
|
|
1276
1261
|
})));
|
|
1277
|
-
const {
|
|
1262
|
+
const { selectEntities: selectEntities$2, selectAll: selectAll$2 } = adapter$2.getSelectors();
|
|
1278
1263
|
function classReducer(state, action) {
|
|
1279
1264
|
return internalReducer$3(state, action);
|
|
1280
1265
|
}
|
|
@@ -1296,7 +1281,6 @@ const classById = (id) => {
|
|
|
1296
1281
|
const classByAttributeId = (attribute) => createSelector(classes, (classes) => classes.find((c) => c.attributes.find((a) => a.id === attribute) !== undefined));
|
|
1297
1282
|
const attributesByFieldId = (field) => createSelector(classes, (classes) => classes.map((c) => c.attributes.filter((a) => a.field === field)).reduce((acc, attrs) => [...acc, ...attrs], []));
|
|
1298
1283
|
const allAttributes = createSelector(classes, (state) => state?.flatMap((c) => c.attributes));
|
|
1299
|
-
const classDatas = createSelector(feature$8, (state) => state?.classDatas);
|
|
1300
1284
|
const datasetCounts = createSelector(feature$8, (state) => state?.datasetCounts);
|
|
1301
1285
|
const getAttributeById = (id) => createSelector(allAttributes, (attributes) => attributes.filter((attribute) => attribute.id === id));
|
|
1302
1286
|
const ClassSelectors = {
|
|
@@ -1307,7 +1291,6 @@ const ClassSelectors = {
|
|
|
1307
1291
|
classByAttributeId,
|
|
1308
1292
|
attributesByFieldId,
|
|
1309
1293
|
allAttributes,
|
|
1310
|
-
classDatas,
|
|
1311
1294
|
datasetCounts,
|
|
1312
1295
|
getAttributeById
|
|
1313
1296
|
};
|
|
@@ -1592,7 +1575,6 @@ const geoServerUrl = createSelector(feature$7, (state) => state?.geoServerUrl);
|
|
|
1592
1575
|
const dataUrl = createSelector(pryUrl, (url) => `${url}/data`);
|
|
1593
1576
|
const refUrl = createSelector(pryUrl, (url) => `${url}/ref`);
|
|
1594
1577
|
const transfoUrl = createSelector(pryUrl, (url) => `${url}/transfo`);
|
|
1595
|
-
const monitorUrl = createSelector(pryUrl, (url) => `${url}/monitor`);
|
|
1596
1578
|
const geocodingUrl = createSelector(pryUrl, (url) => `${url}/geocoding`);
|
|
1597
1579
|
const replayUrl = createSelector(pryUrl, (url) => `${url}/replay`);
|
|
1598
1580
|
const mapUrl = createSelector(feature$7, (state) => state?.mapUrl);
|
|
@@ -1642,7 +1624,6 @@ const ConfigSelectors = {
|
|
|
1642
1624
|
refUrl,
|
|
1643
1625
|
transfoUrl,
|
|
1644
1626
|
wsUrl,
|
|
1645
|
-
monitorUrl,
|
|
1646
1627
|
replayUrl,
|
|
1647
1628
|
mapUrl,
|
|
1648
1629
|
geoServerUrl,
|
|
@@ -2149,7 +2130,8 @@ const enTranslations = {
|
|
|
2149
2130
|
inactive: 'The data for this version is available but not uploaded by default. It is possible to display them by explicitly requesting this version.',
|
|
2150
2131
|
loading: 'The data is currently being integrated into the solution',
|
|
2151
2132
|
invalid: 'The data in this version is present in the solution but is not relevant. It is not available are not available for display',
|
|
2152
|
-
|
|
2133
|
+
unknown: 'Unknown error',
|
|
2134
|
+
invalidateButton: 'Allows you to make the version\'s data unavailable if it is considered irrelevant from a business point of view. If the invalidated version is the active version, then the data retrieved by default will be that of the most recent previous "Available" version, which will thus change to "Active" status.',
|
|
2153
2135
|
validateButton: "Allows the version's data to be made available if it is considered relevant from a business point of view after having been invalidated. If the validated version is the most recent, it will become the active version and its data will be the default."
|
|
2154
2136
|
}
|
|
2155
2137
|
}
|
|
@@ -2221,7 +2203,8 @@ const frTranslations = {
|
|
|
2221
2203
|
inactive: 'Les données de cette version sont disponibles mais non remontées par défaut. Il est possible de les afficher en demandant explicitement cette version.',
|
|
2222
2204
|
loading: "Les données sont en cours d'intégration dans la solution",
|
|
2223
2205
|
invalid: "Les données de cette version sont présentes dans la solution mais sont non pertinentes. Elles ne sont pas disponibles pour l'affichage",
|
|
2224
|
-
|
|
2206
|
+
unknown: 'Erreur inconnue',
|
|
2207
|
+
invalidateButton: 'Permet de rendre indisponible les données de la version dans le cas où elles sont considérées comme non pertinente d\'un point de vue métier. Si la version invalidée est la version active, alors les données récupérées par défaut seront celle de la version "Disponible" précédente la plus récente qui passera ainsi au statut "Active"',
|
|
2225
2208
|
validateButton: "Permet de rendre disponible les données de la version dans le cas où elles sont considérées comme pertinente d'un point de vue métier après avoir été invalider. Si la version validée est la plus récente, elle deviendra ainsi la version active et ses données seront celles remontées par défaut"
|
|
2226
2209
|
}
|
|
2227
2210
|
}
|
|
@@ -3354,14 +3337,6 @@ class ClassService {
|
|
|
3354
3337
|
.select(ConfigSelectors.refUrl)
|
|
3355
3338
|
.pipe(mergeMap((url) => this.httpClient.get(encodeURI(`${url}/model/class`))));
|
|
3356
3339
|
}
|
|
3357
|
-
/**
|
|
3358
|
-
* Returns classes usage
|
|
3359
|
-
*/
|
|
3360
|
-
getBusinessDatas() {
|
|
3361
|
-
return this.store
|
|
3362
|
-
.select(ConfigSelectors.monitorUrl)
|
|
3363
|
-
.pipe(mergeMap((url) => this.httpClient.get(encodeURI(`${url}/businessdata`))));
|
|
3364
|
-
}
|
|
3365
3340
|
getDatasetCounts() {
|
|
3366
3341
|
return this.store
|
|
3367
3342
|
.select(ConfigSelectors.refUrl)
|
|
@@ -3382,9 +3357,6 @@ class ClassEffects {
|
|
|
3382
3357
|
this.actions$ = actions$;
|
|
3383
3358
|
this.classService = classService;
|
|
3384
3359
|
this.loadClasses$ = createEffect(() => this.actions$.pipe(ofType(ClassActions.load), debounceTime$1(200), mergeMap$1((action) => this.classService.getClasses().pipe(map$1((classes) => ClassActions.loadSuccess({ classes })), catchError((error) => [ClassActions.loadFailure({ error: error })])))));
|
|
3385
|
-
this.loadBusinessData$ = createEffect(() => this.actions$.pipe(ofType(ClassActions.loadBusinessData), mergeMap$1((action) => this.classService.getBusinessDatas().pipe(map$1((businessData) => {
|
|
3386
|
-
return ClassActions.loadBusinessDataSuccess({ datas: businessData });
|
|
3387
|
-
}), catchError((error) => [ClassActions.loadBusinessDataFailure({ error: error })])))));
|
|
3388
3360
|
this.loadDatasetCount$ = createEffect(() => this.actions$.pipe(ofType(ClassActions.loadDatasetCount), mergeMap$1((action) => this.classService.getDatasetCounts().pipe(map$1((datasetCounts) => {
|
|
3389
3361
|
return ClassActions.loadDatasetCountSuccess({ datasetCounts: datasetCounts });
|
|
3390
3362
|
}), catchError((error) => [ClassActions.loadDatasetCountFailure({ error: error })])))));
|
|
@@ -3494,26 +3466,23 @@ class ConfigService {
|
|
|
3494
3466
|
this.store.select(ConfigSelectors.dataUrl),
|
|
3495
3467
|
this.store.select(ConfigSelectors.replayUrl),
|
|
3496
3468
|
this.store.select(ConfigSelectors.execUrl),
|
|
3497
|
-
this.store.select(ConfigSelectors.transfoUrl)
|
|
3498
|
-
|
|
3499
|
-
]).pipe(mergeMap(([ref, data, replay, exec, transfo, monitor]) => {
|
|
3469
|
+
this.store.select(ConfigSelectors.transfoUrl)
|
|
3470
|
+
]).pipe(mergeMap(([ref, data, replay, exec, transfo]) => {
|
|
3500
3471
|
const allVersions = [
|
|
3501
3472
|
this.handleBackendVersionError(this.httpClient.get(encodeURI(`${ref}/about/version`))),
|
|
3502
3473
|
this.handleBackendVersionError(this.httpClient.get(encodeURI(`${data}/about/version`))),
|
|
3503
3474
|
this.handleBackendVersionError(this.httpClient.get(encodeURI(`${replay}/about/version`))),
|
|
3504
3475
|
this.handleBackendVersionError(this.httpClient.get(encodeURI(`${exec}/about/version`))),
|
|
3505
3476
|
this.handleBackendVersionError(this.httpClient.get(encodeURI(`${transfo}/about/version`))),
|
|
3506
|
-
this.handleBackendVersionError(this.httpClient.get(encodeURI(`${monitor}/about/version`))),
|
|
3507
3477
|
this.httpClient.get(encodeURI(`/assets/pry.version`)).pipe(map((version) => (version ? { libVersion: version } : {})), catchError$1(() => of({})))
|
|
3508
3478
|
];
|
|
3509
|
-
return combineLatest(allVersions).pipe(map(([refVersion, dataVersion, replayVersion, execVersion, tranfoVersion,
|
|
3479
|
+
return combineLatest(allVersions).pipe(map(([refVersion, dataVersion, replayVersion, execVersion, tranfoVersion, frontend]) => {
|
|
3510
3480
|
const versions = {
|
|
3511
3481
|
ref: refVersion,
|
|
3512
3482
|
data: dataVersion,
|
|
3513
3483
|
replay: replayVersion,
|
|
3514
3484
|
exec: execVersion,
|
|
3515
3485
|
transfo: tranfoVersion,
|
|
3516
|
-
monitor: monitorVersion,
|
|
3517
3486
|
front: frontend
|
|
3518
3487
|
};
|
|
3519
3488
|
return versions;
|
|
@@ -3973,7 +3942,7 @@ function getDisplayOptions(mode) {
|
|
|
3973
3942
|
}, {})
|
|
3974
3943
|
},
|
|
3975
3944
|
edit_toggle: true,
|
|
3976
|
-
widgetContextMenu:
|
|
3945
|
+
widgetContextMenu: mode === ViewMode.EDITION
|
|
3977
3946
|
};
|
|
3978
3947
|
default:
|
|
3979
3948
|
return BASE_DISPLAY_OPTIONS;
|
|
@@ -6565,7 +6534,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
6565
6534
|
}] });
|
|
6566
6535
|
|
|
6567
6536
|
let uniqueId$1 = 0;
|
|
6568
|
-
class PrySelectComponent {
|
|
6537
|
+
class PrySelectComponent extends SubscriptionnerDirective {
|
|
6569
6538
|
set items(items) {
|
|
6570
6539
|
this._items$.next(items ?? []);
|
|
6571
6540
|
}
|
|
@@ -6576,6 +6545,7 @@ class PrySelectComponent {
|
|
|
6576
6545
|
return 'select-modal-' + this.id;
|
|
6577
6546
|
}
|
|
6578
6547
|
constructor(_cd, overlay, viewContainerRef) {
|
|
6548
|
+
super();
|
|
6579
6549
|
this._cd = _cd;
|
|
6580
6550
|
this.overlay = overlay;
|
|
6581
6551
|
this.viewContainerRef = viewContainerRef;
|
|
@@ -6601,16 +6571,31 @@ class PrySelectComponent {
|
|
|
6601
6571
|
this._disabled = false;
|
|
6602
6572
|
this.focused = false;
|
|
6603
6573
|
this.modalWidth = 200;
|
|
6604
|
-
this.matchingItems$ = combineLatest([this._items$, this.search$, this.searchSelected$]).pipe(map$1(([items, term, alreadySelected]) => term && term.length > 0 && !alreadySelected
|
|
6574
|
+
this.matchingItems$ = combineLatest([this._items$, this.search$, this.searchSelected$]).pipe(map$1(([items, term, alreadySelected]) => this.autocomplete && term && term.length > 0 && !alreadySelected
|
|
6605
6575
|
? items.filter((i) => {
|
|
6606
6576
|
const itemValue = this.bindLabel ? i?.[this.bindLabel] : i;
|
|
6607
6577
|
return itemValue.indexOf(term) > -1;
|
|
6608
6578
|
})
|
|
6609
6579
|
: items));
|
|
6610
|
-
this.valueItems$ = combineLatest([this.value$, this._items$]).pipe(map$1(([value, items]) => (this.multiple ? value ?? [] : !!value ? [value] : []).map((value) =>
|
|
6611
|
-
const
|
|
6612
|
-
return
|
|
6613
|
-
|
|
6580
|
+
this.valueItems$ = combineLatest([this.value$, this._items$]).pipe(map$1(([value, items]) => (this.multiple ? value ?? [] : !!value ? [value] : []).map((value) => {
|
|
6581
|
+
const keyProp = this.bindValue ?? this.bindLabel ?? 'id';
|
|
6582
|
+
return items.find((item) => {
|
|
6583
|
+
return typeof item === 'object'
|
|
6584
|
+
? typeof value === 'object'
|
|
6585
|
+
? item[keyProp] === value[keyProp]
|
|
6586
|
+
: item[keyProp] === value
|
|
6587
|
+
: item === value;
|
|
6588
|
+
});
|
|
6589
|
+
})));
|
|
6590
|
+
this.subscriptions.add(this.valueItems$.subscribe((item) => {
|
|
6591
|
+
if (!this.multiple) {
|
|
6592
|
+
const itemValue = this.bindLabel ? item[0]?.[this.bindLabel] : item[0];
|
|
6593
|
+
if (itemValue) {
|
|
6594
|
+
this.search$.next(itemValue);
|
|
6595
|
+
this.searchSelected$.next(true);
|
|
6596
|
+
}
|
|
6597
|
+
}
|
|
6598
|
+
}));
|
|
6614
6599
|
}
|
|
6615
6600
|
registerOnChange(fn) {
|
|
6616
6601
|
this._onChange = fn;
|
|
@@ -6623,7 +6608,7 @@ class PrySelectComponent {
|
|
|
6623
6608
|
this._cd.markForCheck();
|
|
6624
6609
|
}
|
|
6625
6610
|
writeValue(obj) {
|
|
6626
|
-
if (this.value$.getValue()
|
|
6611
|
+
if (!equal(this.value$.getValue(), obj)) {
|
|
6627
6612
|
this.value$.next(obj);
|
|
6628
6613
|
this._onChange(this.value$.getValue());
|
|
6629
6614
|
this._onTouched();
|
|
@@ -6635,7 +6620,10 @@ class PrySelectComponent {
|
|
|
6635
6620
|
clear($event, item) {
|
|
6636
6621
|
$event.stopPropagation();
|
|
6637
6622
|
const itemValue = this.bindValue ? item?.[this.bindValue] : item;
|
|
6638
|
-
this.
|
|
6623
|
+
const keyProp = this.bindValue ?? this.bindLabel ?? 'id';
|
|
6624
|
+
this.writeValue(this.value$
|
|
6625
|
+
.getValue()
|
|
6626
|
+
.filter((i) => (typeof itemValue === 'object' ? i[keyProp] !== itemValue[keyProp] : i !== itemValue)));
|
|
6639
6627
|
}
|
|
6640
6628
|
clearAll($event) {
|
|
6641
6629
|
$event.stopPropagation();
|
|
@@ -6655,12 +6643,18 @@ class PrySelectComponent {
|
|
|
6655
6643
|
}
|
|
6656
6644
|
select($event, item, index) {
|
|
6657
6645
|
const itemValue = this.bindValue ? item?.[this.bindValue] : item;
|
|
6646
|
+
const keyProp = this.bindValue ?? this.bindLabel ?? 'id';
|
|
6658
6647
|
if (this.multiple) {
|
|
6659
6648
|
if (!this.value$.getValue()) {
|
|
6660
6649
|
this.writeValue([itemValue]);
|
|
6661
6650
|
}
|
|
6662
6651
|
else {
|
|
6663
|
-
if (
|
|
6652
|
+
if (typeof itemValue === 'object'
|
|
6653
|
+
? this.value$
|
|
6654
|
+
.getValue()
|
|
6655
|
+
.map((val) => val[keyProp])
|
|
6656
|
+
.includes(itemValue[keyProp])
|
|
6657
|
+
: this.value$.getValue().includes(itemValue)) {
|
|
6664
6658
|
this.clear($event, item);
|
|
6665
6659
|
}
|
|
6666
6660
|
else {
|
|
@@ -6688,7 +6682,9 @@ class PrySelectComponent {
|
|
|
6688
6682
|
this.overlayRef = this.overlay.create(this.getOverlayConfig());
|
|
6689
6683
|
this.overlayRef.backdropClick().subscribe(() => {
|
|
6690
6684
|
this.toggle(false);
|
|
6691
|
-
|
|
6685
|
+
if (this.autocomplete) {
|
|
6686
|
+
this.writeValue(this.search$.getValue());
|
|
6687
|
+
}
|
|
6692
6688
|
});
|
|
6693
6689
|
this.overlayRef.attach(new TemplatePortal(this.optionsModal, this.viewContainerRef));
|
|
6694
6690
|
}
|
|
@@ -6737,7 +6733,7 @@ class PrySelectComponent {
|
|
|
6737
6733
|
useExisting: forwardRef(() => PrySelectComponent),
|
|
6738
6734
|
multi: true
|
|
6739
6735
|
}
|
|
6740
|
-
], viewQueries: [{ propertyName: "optionsModal", first: true, predicate: ["optionsModal"], descendants: true, read: TemplateRef }, { propertyName: "selectElement", first: true, predicate: ["selectElement"], descendants: true }], ngImport: i0, template: "<div\n class=\"a-pry-select\"\n [attr.aria-disabled]=\"disabled\"\n #selectElement\n [class.-focused]=\"focused\"\n (click)=\"toggle()\"\n role=\"combobox\"\n [attr.aria-expanded]=\"open\"\n [attr.aria-owns]=\"open ? modalId : null\"\n aria-haspopup=\"listbox\"\n>\n <ng-container *ngIf=\"autocomplete; else noAutocomplete\">\n <input\n type=\"text\"\n class=\"a-pry-select__search\"\n [ngModel]=\"search$.getValue()\"\n (ngModelChange)=\"search($event)\"\n (focus)=\"toggle(true)\"\n aria-autocomplete=\"list\"\n [attr.aria-controls]=\"open ? modalId : null\"\n />\n </ng-container>\n <ng-template #noAutocomplete>\n <ng-container *ngIf=\"(valueItems$ | async).length === 0; else selectedValues\">\n <span class=\"a-pry-select__placeholder\">{{ placeholder }}</span>\n </ng-container>\n <ng-template #selectedValues>\n <ng-container *ngFor=\"let item of valueItems$ | async\">\n <div class=\"a-pry-select__value\" [class.pry-select-form]=\"isForm\" [class.-multiple]=\"multiple\">\n <ng-container *ngIf=\"template; else noTemplateLabel\">\n <ng-
|
|
6736
|
+
], viewQueries: [{ propertyName: "optionsModal", first: true, predicate: ["optionsModal"], descendants: true, read: TemplateRef }, { propertyName: "selectElement", first: true, predicate: ["selectElement"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div\n class=\"a-pry-select\"\n [attr.aria-disabled]=\"disabled\"\n #selectElement\n [class.-focused]=\"focused\"\n (click)=\"toggle()\"\n role=\"combobox\"\n [attr.aria-expanded]=\"open\"\n [attr.aria-owns]=\"open ? modalId : null\"\n aria-haspopup=\"listbox\"\n>\n <ng-container *ngIf=\"autocomplete; else noAutocomplete\">\n <input\n type=\"text\"\n class=\"a-pry-select__search\"\n [ngModel]=\"search$.getValue()\"\n (ngModelChange)=\"search($event)\"\n (focus)=\"toggle(true)\"\n aria-autocomplete=\"list\"\n [attr.aria-controls]=\"open ? modalId : null\"\n [attr.aria-disabled]=\"disabled\"\n [disabled]=\"disabled\"\n />\n </ng-container>\n <ng-template #noAutocomplete>\n <ng-container *ngIf=\"(valueItems$ | async).length === 0; else selectedValues\">\n <span class=\"a-pry-select__placeholder\">{{ placeholder }}</span>\n </ng-container>\n <ng-template #selectedValues>\n <ng-container *ngFor=\"let item of valueItems$ | async\">\n <div class=\"a-pry-select__value\" [class.pry-select-form]=\"isForm\" [class.-multiple]=\"multiple\">\n <ng-container *ngIf=\"template; else noTemplateLabel\">\n <ng-container [ngTemplateOutlet]=\"template\" [ngTemplateOutletContext]=\"{ item, clear }\"></ng-container>\n </ng-container>\n <ng-template #noTemplateLabel>\n <pry-icon\n *ngIf=\"bindIcon\"\n [iconSvg]=\"item[bindIcon]\"\n [width]=\"iconSize[0]\"\n [height]=\"iconSize[1]\"\n ></pry-icon>\n <ng-container *ngIf=\"bindLabel ? item?.[bindLabel] : item as value\">\n {{ (i18nPrefix ?? '') + value | i18n : { warn: false } }}\n <span\n *ngIf=\"multiple && clearable\"\n class=\"a-pry-select__clear\"\n (click)=\"clear($event, item)\"\n aria-hidden=\"true\"\n >\u00D7</span\n >\n </ng-container>\n </ng-template>\n </div>\n </ng-container>\n </ng-template>\n <div class=\"a-pry-select__filler\"></div>\n </ng-template>\n <span *ngIf=\"clearable\" class=\"a-pry-select__clear\" (click)=\"clearAll($event)\" aria-hidden=\"true\">\u00D7</span>\n <pry-icon\n class=\"a-pry-select__toggle\"\n [iconSvg]=\"open ? 'chevron_top' : 'chevron_bottom'\"\n [width]=\"iconSize[0]\"\n [height]=\"iconSize[1]\"\n ></pry-icon>\n</div>\n<ng-template #optionsModal>\n <div\n role=\"listbox\"\n [attr.aria-label]=\"'@pry.select.label' | i18n\"\n [id]=\"modalId\"\n [attr.aria-activedescendant]=\"'select-option-' + activeDescendant\"\n [attr.aria-multiselectable]=\"multiple\"\n [attr.required]=\"required\"\n [attr.aria-readonly]=\"readonly\"\n >\n <ng-container *ngFor=\"let item of matchingItems$ | async; let index = index\">\n <div\n class=\"a-pry-select__options__option\"\n [attr.aria-selected]=\"(valueItems$ | async).includes(item)\"\n [attr.aria-checked]=\"(valueItems$ | async).includes(item)\"\n [attr.aria-disabled]=\"disabled\"\n (click)=\"select($event, item, index)\"\n [style.width.px]=\"modalWidth\"\n role=\"option\"\n [id]=\"'select-option-' + index\"\n >\n <ng-container *ngIf=\"template; else noTemplate\">\n <ng-container [ngTemplateOutlet]=\"template\" [ngTemplateOutletContext]=\"{ item, clear }\"></ng-container>\n </ng-container>\n <ng-template #noTemplate>\n <pry-icon *ngIf=\"bindIcon\" [iconSvg]=\"item[bindIcon]\" [width]=\"iconSize[0]\" [height]=\"iconSize[1]\"></pry-icon>\n <ng-container *ngIf=\"bindLabel ? item?.[bindLabel] : item as value\">\n {{ (i18nPrefix ? i18nPrefix : '') + value | i18n : { warn: false } }}\n </ng-container>\n </ng-template>\n </div>\n </ng-container>\n </div>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i3$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: PryIconComponent, selector: "pry-icon", inputs: ["color", "iconSvg", "animation", "iconImage", "alt", "width", "height", "classes"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: I18nPipe, name: "i18n" }] }); }
|
|
6741
6737
|
}
|
|
6742
6738
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PrySelectComponent, decorators: [{
|
|
6743
6739
|
type: Component,
|
|
@@ -6747,7 +6743,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
6747
6743
|
useExisting: forwardRef(() => PrySelectComponent),
|
|
6748
6744
|
multi: true
|
|
6749
6745
|
}
|
|
6750
|
-
], template: "<div\n class=\"a-pry-select\"\n [attr.aria-disabled]=\"disabled\"\n #selectElement\n [class.-focused]=\"focused\"\n (click)=\"toggle()\"\n role=\"combobox\"\n [attr.aria-expanded]=\"open\"\n [attr.aria-owns]=\"open ? modalId : null\"\n aria-haspopup=\"listbox\"\n>\n <ng-container *ngIf=\"autocomplete; else noAutocomplete\">\n <input\n type=\"text\"\n class=\"a-pry-select__search\"\n [ngModel]=\"search$.getValue()\"\n (ngModelChange)=\"search($event)\"\n (focus)=\"toggle(true)\"\n aria-autocomplete=\"list\"\n [attr.aria-controls]=\"open ? modalId : null\"\n />\n </ng-container>\n <ng-template #noAutocomplete>\n <ng-container *ngIf=\"(valueItems$ | async).length === 0; else selectedValues\">\n <span class=\"a-pry-select__placeholder\">{{ placeholder }}</span>\n </ng-container>\n <ng-template #selectedValues>\n <ng-container *ngFor=\"let item of valueItems$ | async\">\n <div class=\"a-pry-select__value\" [class.pry-select-form]=\"isForm\" [class.-multiple]=\"multiple\">\n <ng-container *ngIf=\"template; else noTemplateLabel\">\n <ng-
|
|
6746
|
+
], template: "<div\n class=\"a-pry-select\"\n [attr.aria-disabled]=\"disabled\"\n #selectElement\n [class.-focused]=\"focused\"\n (click)=\"toggle()\"\n role=\"combobox\"\n [attr.aria-expanded]=\"open\"\n [attr.aria-owns]=\"open ? modalId : null\"\n aria-haspopup=\"listbox\"\n>\n <ng-container *ngIf=\"autocomplete; else noAutocomplete\">\n <input\n type=\"text\"\n class=\"a-pry-select__search\"\n [ngModel]=\"search$.getValue()\"\n (ngModelChange)=\"search($event)\"\n (focus)=\"toggle(true)\"\n aria-autocomplete=\"list\"\n [attr.aria-controls]=\"open ? modalId : null\"\n [attr.aria-disabled]=\"disabled\"\n [disabled]=\"disabled\"\n />\n </ng-container>\n <ng-template #noAutocomplete>\n <ng-container *ngIf=\"(valueItems$ | async).length === 0; else selectedValues\">\n <span class=\"a-pry-select__placeholder\">{{ placeholder }}</span>\n </ng-container>\n <ng-template #selectedValues>\n <ng-container *ngFor=\"let item of valueItems$ | async\">\n <div class=\"a-pry-select__value\" [class.pry-select-form]=\"isForm\" [class.-multiple]=\"multiple\">\n <ng-container *ngIf=\"template; else noTemplateLabel\">\n <ng-container [ngTemplateOutlet]=\"template\" [ngTemplateOutletContext]=\"{ item, clear }\"></ng-container>\n </ng-container>\n <ng-template #noTemplateLabel>\n <pry-icon\n *ngIf=\"bindIcon\"\n [iconSvg]=\"item[bindIcon]\"\n [width]=\"iconSize[0]\"\n [height]=\"iconSize[1]\"\n ></pry-icon>\n <ng-container *ngIf=\"bindLabel ? item?.[bindLabel] : item as value\">\n {{ (i18nPrefix ?? '') + value | i18n : { warn: false } }}\n <span\n *ngIf=\"multiple && clearable\"\n class=\"a-pry-select__clear\"\n (click)=\"clear($event, item)\"\n aria-hidden=\"true\"\n >\u00D7</span\n >\n </ng-container>\n </ng-template>\n </div>\n </ng-container>\n </ng-template>\n <div class=\"a-pry-select__filler\"></div>\n </ng-template>\n <span *ngIf=\"clearable\" class=\"a-pry-select__clear\" (click)=\"clearAll($event)\" aria-hidden=\"true\">\u00D7</span>\n <pry-icon\n class=\"a-pry-select__toggle\"\n [iconSvg]=\"open ? 'chevron_top' : 'chevron_bottom'\"\n [width]=\"iconSize[0]\"\n [height]=\"iconSize[1]\"\n ></pry-icon>\n</div>\n<ng-template #optionsModal>\n <div\n role=\"listbox\"\n [attr.aria-label]=\"'@pry.select.label' | i18n\"\n [id]=\"modalId\"\n [attr.aria-activedescendant]=\"'select-option-' + activeDescendant\"\n [attr.aria-multiselectable]=\"multiple\"\n [attr.required]=\"required\"\n [attr.aria-readonly]=\"readonly\"\n >\n <ng-container *ngFor=\"let item of matchingItems$ | async; let index = index\">\n <div\n class=\"a-pry-select__options__option\"\n [attr.aria-selected]=\"(valueItems$ | async).includes(item)\"\n [attr.aria-checked]=\"(valueItems$ | async).includes(item)\"\n [attr.aria-disabled]=\"disabled\"\n (click)=\"select($event, item, index)\"\n [style.width.px]=\"modalWidth\"\n role=\"option\"\n [id]=\"'select-option-' + index\"\n >\n <ng-container *ngIf=\"template; else noTemplate\">\n <ng-container [ngTemplateOutlet]=\"template\" [ngTemplateOutletContext]=\"{ item, clear }\"></ng-container>\n </ng-container>\n <ng-template #noTemplate>\n <pry-icon *ngIf=\"bindIcon\" [iconSvg]=\"item[bindIcon]\" [width]=\"iconSize[0]\" [height]=\"iconSize[1]\"></pry-icon>\n <ng-container *ngIf=\"bindLabel ? item?.[bindLabel] : item as value\">\n {{ (i18nPrefix ? i18nPrefix : '') + value | i18n : { warn: false } }}\n </ng-container>\n </ng-template>\n </div>\n </ng-container>\n </div>\n</ng-template>\n" }]
|
|
6751
6747
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i2.Overlay }, { type: i0.ViewContainerRef }]; }, propDecorators: { items: [{
|
|
6752
6748
|
type: Input
|
|
6753
6749
|
}], clearable: [{
|
|
@@ -9252,11 +9248,11 @@ class PryAboutComponent {
|
|
|
9252
9248
|
return !!value && (!!backVersion.chartVersion || !!frontVersion.libVersion);
|
|
9253
9249
|
}
|
|
9254
9250
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PryAboutComponent, deps: [{ token: i1.Store }, { token: PryI18nService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9255
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PryAboutComponent, selector: "pry-about", inputs: { tooltipPosition: "tooltipPosition" }, ngImport: i0, template: "<div class=\"o-about\">\n <div class=\"info-icon
|
|
9251
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PryAboutComponent, selector: "pry-about", inputs: { tooltipPosition: "tooltipPosition" }, ngImport: i0, template: "<div class=\"o-about\">\n <div class=\"m-info-icon\">\n <span>i</span>\n </div>\n <div class=\"o-about__tooltip -position-{{ tooltipPosition }}\">\n <ng-container *ngFor=\"let version of (version$ | async) ?? {} | keyvalue\">\n <div class=\"o-about__line\">\n {{ '@pry.about.' + version.key | i18n }}\n <p class=\"a-chips -md\" [class.-not-found]=\"!hasVersion(version.value)\">\n {{ displayVersion(version.value) }}\n </p>\n </div>\n </ng-container>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i1$1.KeyValuePipe, name: "keyvalue" }, { kind: "pipe", type: I18nPipe, name: "i18n" }] }); }
|
|
9256
9252
|
}
|
|
9257
9253
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PryAboutComponent, decorators: [{
|
|
9258
9254
|
type: Component,
|
|
9259
|
-
args: [{ selector: 'pry-about', template: "<div class=\"o-about\">\n <div class=\"info-icon
|
|
9255
|
+
args: [{ selector: 'pry-about', template: "<div class=\"o-about\">\n <div class=\"m-info-icon\">\n <span>i</span>\n </div>\n <div class=\"o-about__tooltip -position-{{ tooltipPosition }}\">\n <ng-container *ngFor=\"let version of (version$ | async) ?? {} | keyvalue\">\n <div class=\"o-about__line\">\n {{ '@pry.about.' + version.key | i18n }}\n <p class=\"a-chips -md\" [class.-not-found]=\"!hasVersion(version.value)\">\n {{ displayVersion(version.value) }}\n </p>\n </div>\n </ng-container>\n </div>\n</div>\n" }]
|
|
9260
9256
|
}], ctorParameters: function () { return [{ type: i1.Store }, { type: PryI18nService }]; }, propDecorators: { tooltipPosition: [{
|
|
9261
9257
|
type: Input
|
|
9262
9258
|
}] } });
|
|
@@ -11957,5 +11953,5 @@ function filterLoader(module, prop) {
|
|
|
11957
11953
|
* Generated bundle index. Do not edit.
|
|
11958
11954
|
*/
|
|
11959
11955
|
|
|
11960
|
-
export { AccordionComponent, AccordionItemComponent, Aggregation, BASE_DISPLAY_OPTIONS, BaseFilterComponent, BaseFilterModule, BaseLayoutComponent, BaseMenuComponent, BaseToolboxComponent, BaseTooltipComponent, BaseTooltipModule, BaseWidgetComponent, BaseWidgetModule, BusService, CategoryActions, CategorySelectors, CategoryService, ChartOptionDefault, ClassActions, ClassSelectors, ClassService, ConfigActions, ConfigSelectors, ConfigService, ContextMenuActions, ContextMenuComponent, ContextMenuSelectors, DEFAULT_CATEGORY_UUID, DEFAULT_COLUMNS_NUMBER, DEFAULT_GAP_PX, DEFAULT_ICON_URL, DEFAULT_MSG_TIMEOUT, DEFAULT_NAMED_QUERY_ID, DEFAULT_PROJECTION, DEFAULT_RESTITUTION_ICON_URL, DEFAULT_ROWS_NUMBER, DEFAULT_ROW_HEIGHT_PX, DELAY_FOR_HIDE, DashboardActions, DashboardComponent, DashboardGridLayout, DashboardSelectors, DataSourceActions, DataSourceSelectors, DataSourceService, DataWidgetComponent, DatasourceSelectorComponent, DatasourceUtils, DateRangeHighlightPipe, DateUtils, DefaultTooltipComponent, ENV_OPTIONS, EXPLORE_NAMED_QUERY_ID, EllipsisDirective, FIELD_OPTIONS, FIELD_UUID, FILTERS_DOMAIN, FILTER_DEFINITION, FieldActions, FieldSelectors, FieldService, FieldType, FilterFactoryService, FilterGroupComponent, FilterInstanciatorComponent, GeoMetadata, GeometricFieldTypes, GetSecuredImagePipe, GraphType, HTTP_ORIGIN_METADATA, I18nPipe, INTERNALLY_STORED_IMAGE_PREFIX, IconPosition, ImageActions, ImageService, ImagesSelectors, ItemUtils, LibraryTypes, LoopScrollColumnComponent, METADATA_TYPE, META_OPTIONS, MIME_TYPE_RESULTSET, MIME_TYPE_WIDGET_MANIFEST, MIME_TYPE_WIDGET_SIZE, MIME_TYPE_WIDGET_TYPE, ManifestService, ManifestUtils, ManifestsComponent, MarkSubType, MarkType, MetadataComponent, NamedQueryTypes, NumericFieldTypes, OPERATOR_OPTIONS, Operation, PRY_ACCESS_GUARD, PRY_ACCESS_TOKEN, PRY_CUSTOMEVENT_TYPE, PRY_DIALOG_DATA, PRY_GEOAUTH_TOKEN, PryAboutComponent, PryAboutModule, PryAccessDirective, PryAccessUtils, PryAggregationService, PryBackendAggregationService, PryBaseAccess, PryBaseAccessGuard, PryCoreModule, PryDashboardModule, PryDatasetType, PryDatePickerComponent, PryDatePickerModule, PryDefaultAccessGuard, PryDefaultAccessService, PryDefaultGeoAuthService, PryDialogConfirmComponent, PryDialogRef, PryDialogService, PryEditInputComponent, PryEditInputModule, PryFilterGroupCssComponent, PryFrontendAggregationService, PryGeoAuthService, PryHiddenWhenOverlay, PryHiddenWhenOverlayDirective, PryHttpErrorInterceptorService, PryI18nModule, PryI18nService, PryIconComponent, PryIconModule, PryModalComponent, PryModalModule, PryModalStatusComponent, PryModalStatusModule, PryNqColorSelectorComponent, PryObjectEditionComponent, PryOverlayDirective, PryOverlayModule, PryRangeComponent, PryRangeModule, PrySelectComponent, PrySelectImageComponent, PrySelectModule, PryShareComponent, PryShareModule, PrySnackbarComponent, PrySnackbarModule, PrySnackbarService, PrySortDataPipe, PrySortHeaderComponent, PrySortHeaderDirective, PrySortModule, PrySortTableDirective, PryTimePickerComponent, PryTitleService, PryToggleComponent, PryToggleModule, PryUploadComponent, PryVisibilityType, PryWidgetHeaderComponent, RawService, RelationTypesActions, RelationTypesSelectors, RelationTypesService, ResultSetSizePipe, ResultsetUtils, SYMBOL_DOMAIN, SearchActions, SearchSelectors, SearchService, SettingsComponent, SubscriptionnerDirective, SymbolService, TABLE_ATTR_DOMAIN, TILE_ATTR_DOMAIN, TOOLTIPS_DOMAIN, TOOLTIP_DEFINITION, TabComponent, TabGroupComponent, ToolboxManifestService, ToolboxMenuService, TooltipFactoryService, TooltipMode, TranslateIdPipe, TranslateItemToSymbolPipe, UNKNOWN_DATASOURCE, USE_CURRENT_RESULTSET, VARIABLE_TYPE, VegaColorType, VegaType, ViewMode, VizualizeRawComponent, WIDGET_DEFINITION, WIDGET_HEADER_HEIGHT, WebsocketService, WidgetFactoryService, WidgetInstanciatorComponent, WidgetPlaceholderComponent, WidgetPlacementUtils, WmsService, adapter$2 as adapter, aggregationDefault, baseItemProperties, classReducer, classesFeatureKey, compareOperationFunctions, contextMenuFeatureKey, contextMenuReducer, createPlacedWidgetCopy, dashboardFeatureKey, dashboardInitialState, dashboardReducer, dataSourceFeatureKey, dataSourceReducer, deepMerge, defaultColors, defaultMenuStructure, enTranslations$1 as enTranslations, filterLoader, frTranslations$1 as frTranslations, getDisplayOptions, httpErrorOptions, imageFeatureKey, imageReducer, initialClassState, initialContextMenuState, initialDataSourceState, initialImageState, initialSearchState, latLonToGeographicFieldTransformation, markTypesDefault, notificationFeatureKey, orderWidgetsAccordingToPlacement, searchFeatureKey, searchReducer, selectAll$2 as selectAll, selectEntities$2 as selectEntities,
|
|
11956
|
+
export { AccordionComponent, AccordionItemComponent, Aggregation, BASE_DISPLAY_OPTIONS, BaseFilterComponent, BaseFilterModule, BaseLayoutComponent, BaseMenuComponent, BaseToolboxComponent, BaseTooltipComponent, BaseTooltipModule, BaseWidgetComponent, BaseWidgetModule, BusService, CategoryActions, CategorySelectors, CategoryService, ChartOptionDefault, ClassActions, ClassSelectors, ClassService, ConfigActions, ConfigSelectors, ConfigService, ContextMenuActions, ContextMenuComponent, ContextMenuSelectors, DEFAULT_CATEGORY_UUID, DEFAULT_COLUMNS_NUMBER, DEFAULT_GAP_PX, DEFAULT_ICON_URL, DEFAULT_MSG_TIMEOUT, DEFAULT_NAMED_QUERY_ID, DEFAULT_PROJECTION, DEFAULT_RESTITUTION_ICON_URL, DEFAULT_ROWS_NUMBER, DEFAULT_ROW_HEIGHT_PX, DELAY_FOR_HIDE, DashboardActions, DashboardComponent, DashboardGridLayout, DashboardSelectors, DataSourceActions, DataSourceSelectors, DataSourceService, DataWidgetComponent, DatasourceSelectorComponent, DatasourceUtils, DateRangeHighlightPipe, DateUtils, DefaultTooltipComponent, ENV_OPTIONS, EXPLORE_NAMED_QUERY_ID, EllipsisDirective, FIELD_OPTIONS, FIELD_UUID, FILTERS_DOMAIN, FILTER_DEFINITION, FieldActions, FieldSelectors, FieldService, FieldType, FilterFactoryService, FilterGroupComponent, FilterInstanciatorComponent, GeoMetadata, GeometricFieldTypes, GetSecuredImagePipe, GraphType, HTTP_ORIGIN_METADATA, I18nPipe, INTERNALLY_STORED_IMAGE_PREFIX, IconPosition, ImageActions, ImageService, ImagesSelectors, ItemUtils, LibraryTypes, LoopScrollColumnComponent, METADATA_TYPE, META_OPTIONS, MIME_TYPE_RESULTSET, MIME_TYPE_WIDGET_MANIFEST, MIME_TYPE_WIDGET_SIZE, MIME_TYPE_WIDGET_TYPE, ManifestService, ManifestUtils, ManifestsComponent, MarkSubType, MarkType, MetadataComponent, NamedQueryTypes, NumericFieldTypes, OPERATOR_OPTIONS, Operation, PRY_ACCESS_GUARD, PRY_ACCESS_TOKEN, PRY_CUSTOMEVENT_TYPE, PRY_DIALOG_DATA, PRY_GEOAUTH_TOKEN, PryAboutComponent, PryAboutModule, PryAccessDirective, PryAccessUtils, PryAggregationService, PryBackendAggregationService, PryBaseAccess, PryBaseAccessGuard, PryCoreModule, PryDashboardModule, PryDatasetType, PryDatePickerComponent, PryDatePickerModule, PryDefaultAccessGuard, PryDefaultAccessService, PryDefaultGeoAuthService, PryDialogConfirmComponent, PryDialogRef, PryDialogService, PryEditInputComponent, PryEditInputModule, PryFilterGroupCssComponent, PryFrontendAggregationService, PryGeoAuthService, PryHiddenWhenOverlay, PryHiddenWhenOverlayDirective, PryHttpErrorInterceptorService, PryI18nModule, PryI18nService, PryIconComponent, PryIconModule, PryModalComponent, PryModalModule, PryModalStatusComponent, PryModalStatusModule, PryNqColorSelectorComponent, PryObjectEditionComponent, PryOverlayDirective, PryOverlayModule, PryRangeComponent, PryRangeModule, PrySelectComponent, PrySelectImageComponent, PrySelectModule, PryShareComponent, PryShareModule, PrySnackbarComponent, PrySnackbarModule, PrySnackbarService, PrySortDataPipe, PrySortHeaderComponent, PrySortHeaderDirective, PrySortModule, PrySortTableDirective, PryTimePickerComponent, PryTitleService, PryToggleComponent, PryToggleModule, PryUploadComponent, PryVisibilityType, PryWidgetHeaderComponent, RawService, RelationTypesActions, RelationTypesSelectors, RelationTypesService, ResultSetSizePipe, ResultsetUtils, SYMBOL_DOMAIN, SearchActions, SearchSelectors, SearchService, SettingsComponent, SubscriptionnerDirective, SymbolService, TABLE_ATTR_DOMAIN, TILE_ATTR_DOMAIN, TOOLTIPS_DOMAIN, TOOLTIP_DEFINITION, TabComponent, TabGroupComponent, ToolboxManifestService, ToolboxMenuService, TooltipFactoryService, TooltipMode, TranslateIdPipe, TranslateItemToSymbolPipe, UNKNOWN_DATASOURCE, USE_CURRENT_RESULTSET, VARIABLE_TYPE, VegaColorType, VegaType, ViewMode, VizualizeRawComponent, WIDGET_DEFINITION, WIDGET_HEADER_HEIGHT, WebsocketService, WidgetFactoryService, WidgetInstanciatorComponent, WidgetPlaceholderComponent, WidgetPlacementUtils, WmsService, adapter$2 as adapter, aggregationDefault, baseItemProperties, classReducer, classesFeatureKey, compareOperationFunctions, contextMenuFeatureKey, contextMenuReducer, createPlacedWidgetCopy, dashboardFeatureKey, dashboardInitialState, dashboardReducer, dataSourceFeatureKey, dataSourceReducer, deepMerge, defaultColors, defaultMenuStructure, enTranslations$1 as enTranslations, filterLoader, frTranslations$1 as frTranslations, getDisplayOptions, httpErrorOptions, imageFeatureKey, imageReducer, initialClassState, initialContextMenuState, initialDataSourceState, initialImageState, initialSearchState, latLonToGeographicFieldTransformation, markTypesDefault, notificationFeatureKey, orderWidgetsAccordingToPlacement, searchFeatureKey, searchReducer, selectAll$2 as selectAll, selectEntities$2 as selectEntities, solveCollisions, solvingCollisionOptions, sortByName$2 as sortByName, subTypesDefault, tooltipLoader, vegaColorSchemesDefault, widgetLoader, widgetMapConfig };
|
|
11961
11957
|
//# sourceMappingURL=provoly-dashboard.mjs.map
|