@provoly/dashboard 0.23.0 → 0.23.1
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/admin/admin.module.d.ts +1 -1
- package/admin/components/admin-dataset/admin-select-dataset/admin-select-dataset.component.d.ts +2 -0
- package/admin/i18n/fr.translations.d.ts +2 -0
- package/esm2022/admin/admin.module.mjs +8 -5
- package/esm2022/admin/components/admin-dataset/admin-select-dataset/admin-select-dataset.component.mjs +44 -29
- package/esm2022/admin/i18n/fr.translations.mjs +3 -1
- package/esm2022/dataset/components/dataset-detail/dataset-detail.component.mjs +3 -3
- package/esm2022/lib/core/components/chips-selector/chips-selector.component.mjs +6 -3
- package/esm2022/lib/core/components/share/group-share/group-share.component.mjs +5 -4
- package/esm2022/lib/core/store/data-source/data-source.model.mjs +1 -1
- package/esm2022/lib/dashboard/components/widgets/datasource-selector/datasource-selector.component.mjs +3 -3
- package/fesm2022/provoly-dashboard-admin.mjs +51 -32
- package/fesm2022/provoly-dashboard-admin.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-dataset.mjs +2 -2
- package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +11 -7
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/lib/core/components/chips-selector/chips-selector.component.d.ts +2 -1
- package/lib/core/components/share/group-share/group-share.component.d.ts +4 -0
- package/lib/core/store/data-source/data-source.model.d.ts +2 -0
- package/package.json +1 -1
- package/styles/components/_o-chips-selector.scss +12 -1
- package/styles/components/_o-modal.scss +1 -1
- package/styles/components/_o-pry-admin-dataset-select.scss +13 -0
- package/styles/components/_o-tabs.scss +0 -1
- package/styles/main.scss +1 -0
- package/styles-theme/components-theme/_a-chip.theme.scss +1 -1
- package/styles-theme/components-theme/_o-chips-selector.theme.scss +9 -0
- package/styles-theme/main-theme.scss +1 -0
|
@@ -11,6 +11,7 @@ export declare class ChipsSelectorComponent extends SubscriptionnerDirective {
|
|
|
11
11
|
translationStringBase: string;
|
|
12
12
|
itemTranslationStringBase: string;
|
|
13
13
|
showActionButtons: boolean;
|
|
14
|
+
showSearchbar: boolean;
|
|
14
15
|
set items(items: any[]);
|
|
15
16
|
set usedItems(items: any[]);
|
|
16
17
|
cancel: EventEmitter<any>;
|
|
@@ -34,5 +35,5 @@ export declare class ChipsSelectorComponent extends SubscriptionnerDirective {
|
|
|
34
35
|
areItemsEqual(item1: any, item2: any): boolean;
|
|
35
36
|
isItemUsed(item: any, usedItems?: any[]): any;
|
|
36
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChipsSelectorComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ChipsSelectorComponent, "pry-chips-selector", never, { "bindValue": { "alias": "bindValue"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "translationStringBase": { "alias": "translationStringBase"; "required": false; }; "itemTranslationStringBase": { "alias": "itemTranslationStringBase"; "required": false; }; "showActionButtons": { "alias": "showActionButtons"; "required": false; }; "items": { "alias": "items"; "required": false; }; "usedItems": { "alias": "usedItems"; "required": false; }; }, { "cancel": "cancel"; "validated": "validated"; "previousTab": "previousTab"; "nextTab": "nextTab"; "itemsChanged": "itemsChanged"; }, never, never, false, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChipsSelectorComponent, "pry-chips-selector", never, { "bindValue": { "alias": "bindValue"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "translationStringBase": { "alias": "translationStringBase"; "required": false; }; "itemTranslationStringBase": { "alias": "itemTranslationStringBase"; "required": false; }; "showActionButtons": { "alias": "showActionButtons"; "required": false; }; "showSearchbar": { "alias": "showSearchbar"; "required": false; }; "items": { "alias": "items"; "required": false; }; "usedItems": { "alias": "usedItems"; "required": false; }; }, { "cancel": "cancel"; "validated": "validated"; "previousTab": "previousTab"; "nextTab": "nextTab"; "itemsChanged": "itemsChanged"; }, never, never, false, never>;
|
|
38
39
|
}
|
|
@@ -20,6 +20,10 @@ export declare class PryGroupShareComponent extends SubscriptionnerDirective imp
|
|
|
20
20
|
label: string;
|
|
21
21
|
value: PryVisibilityType;
|
|
22
22
|
}[];
|
|
23
|
+
templateData$: Observable<{
|
|
24
|
+
groups: Group[];
|
|
25
|
+
assignedGroups: Group[];
|
|
26
|
+
}>;
|
|
23
27
|
constructor(store: Store, _cd: ChangeDetectorRef);
|
|
24
28
|
writeValue(value: string[] | undefined): void;
|
|
25
29
|
registerOnChange(fn: any): void;
|
package/package.json
CHANGED
|
@@ -11,12 +11,15 @@
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.o-chips-selector {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
gap: toRem(15);
|
|
17
|
+
|
|
14
18
|
&__list {
|
|
15
19
|
@extend %list-unstyled;
|
|
16
20
|
gap: toRem(15) toRem(30);
|
|
17
21
|
display: flex;
|
|
18
22
|
flex-wrap: wrap;
|
|
19
|
-
margin: toRem(10) 0;
|
|
20
23
|
}
|
|
21
24
|
|
|
22
25
|
&__main {
|
|
@@ -40,4 +43,12 @@
|
|
|
40
43
|
margin-bottom: 0;
|
|
41
44
|
}
|
|
42
45
|
}
|
|
46
|
+
|
|
47
|
+
.a-h4 {
|
|
48
|
+
margin-bottom: 0;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.-no-items {
|
|
52
|
+
margin-left: toRem(5);
|
|
53
|
+
}
|
|
43
54
|
}
|
package/styles/main.scss
CHANGED
|
@@ -67,6 +67,7 @@
|
|
|
67
67
|
@use 'components/o-tabs' as *;
|
|
68
68
|
@use 'components/o-widget' as *;
|
|
69
69
|
@use 'components/o-pry-admin-classes-customize' as *;
|
|
70
|
+
@use 'components/o-pry-admin-dataset-select' as *;
|
|
70
71
|
@use 'components/o-pry-composed-condition' as *;
|
|
71
72
|
@use 'components/o-pry-card' as *;
|
|
72
73
|
@use 'components/o-pry-edit' as *;
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
&--light {
|
|
22
22
|
background-color: themed($theme-map, 'color', 'primary', 50);
|
|
23
23
|
color: themed($theme-map, 'color', 'primary', 600);
|
|
24
|
-
box-shadow: 0px
|
|
24
|
+
box-shadow: 0px 0px 1px rgba(17, 59, 110, 0.6);
|
|
25
25
|
|
|
26
26
|
&:hover {
|
|
27
27
|
@include changeBgColor(
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
@use 'components-theme/o-accordion.theme' as *;
|
|
43
43
|
@use 'components-theme/o-card.theme' as *;
|
|
44
44
|
@use 'components-theme/o-catalog.theme' as *;
|
|
45
|
+
@use 'components-theme/o-chips-selector.theme' as *;
|
|
45
46
|
@use 'components-theme/o-dashboard.theme' as *;
|
|
46
47
|
@use 'components-theme/o-date-picker.theme' as *;
|
|
47
48
|
@use 'components-theme/o-draggable-menu.theme' as *;
|