@igo2/common 16.1.0 → 16.2.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.
Files changed (117) hide show
  1. package/esm2022/lib/action/actionbar/actionbar-item.component.mjs +3 -3
  2. package/esm2022/lib/action/actionbar/actionbar.component.mjs +3 -3
  3. package/esm2022/lib/action/shared/action.interfaces.mjs +1 -1
  4. package/esm2022/lib/action/shared/store.mjs +1 -1
  5. package/esm2022/lib/backdrop/backdrop.component.mjs +3 -3
  6. package/esm2022/lib/clickout/clickout.directive.mjs +1 -1
  7. package/esm2022/lib/collapsible/collapsible.component.mjs +3 -3
  8. package/esm2022/lib/collapsible/index.mjs +1 -1
  9. package/esm2022/lib/color-picker-form-field/color-picker-form-field.component.mjs +3 -3
  10. package/esm2022/lib/color-picker-form-field/index.mjs +1 -1
  11. package/esm2022/lib/confirm-dialog/confirm-dialog.component.mjs +3 -3
  12. package/esm2022/lib/confirm-dialog/confirm-dialog.interface.mjs +1 -1
  13. package/esm2022/lib/confirm-dialog/index.mjs +1 -1
  14. package/esm2022/lib/context-menu/index.mjs +1 -1
  15. package/esm2022/lib/custom-html/custom-html.component.mjs +1 -1
  16. package/esm2022/lib/custom-html/index.mjs +1 -1
  17. package/esm2022/lib/dom/dom.service.mjs +1 -1
  18. package/esm2022/lib/dynamic-component/shared/dynamic-component.mjs +1 -1
  19. package/esm2022/lib/dynamic-component/shared/dynamic-component.service.mjs +1 -1
  20. package/esm2022/lib/entity/entity-selector/entity-selector.component.mjs +3 -3
  21. package/esm2022/lib/entity/entity-table/entity-table.component.mjs +3 -3
  22. package/esm2022/lib/entity/entity-table-paginator/entity-table-paginator.component.mjs +3 -3
  23. package/esm2022/lib/entity/entity-table-paginator/entity-table-paginator.interface.mjs +1 -1
  24. package/esm2022/lib/entity/shared/entity.interfaces.mjs +1 -1
  25. package/esm2022/lib/entity/shared/entity.utils.mjs +1 -1
  26. package/esm2022/lib/entity/shared/index.mjs +1 -2
  27. package/esm2022/lib/entity/shared/state.mjs +1 -1
  28. package/esm2022/lib/entity/shared/store.mjs +67 -1
  29. package/esm2022/lib/entity/shared/strategies/filter-custom-function.mjs +1 -1
  30. package/esm2022/lib/entity/shared/strategies/filter-selection.mjs +1 -1
  31. package/esm2022/lib/entity/shared/strategies/strategy.mjs +1 -1
  32. package/esm2022/lib/entity/shared/transaction.mjs +1 -1
  33. package/esm2022/lib/entity/shared/view.mjs +1 -1
  34. package/esm2022/lib/entity/shared/watcher.mjs +1 -1
  35. package/esm2022/lib/environment/environment.interface.mjs +1 -1
  36. package/esm2022/lib/environment/index.mjs +1 -1
  37. package/esm2022/lib/flexible/flexible.component.mjs +3 -3
  38. package/esm2022/lib/form/form/form.component.mjs +3 -3
  39. package/esm2022/lib/form/form-field/form-field-select.component.mjs +3 -3
  40. package/esm2022/lib/form/form-field/form-field-text.component.mjs +3 -3
  41. package/esm2022/lib/form/form-field/form-field-textarea.component.mjs +3 -3
  42. package/esm2022/lib/form/form-field/form-field.component.mjs +3 -3
  43. package/esm2022/lib/form/form-field/index.mjs +1 -1
  44. package/esm2022/lib/form/form-group/form-group.component.mjs +3 -3
  45. package/esm2022/lib/form/index.mjs +1 -1
  46. package/esm2022/lib/form/shared/form-field.service.mjs +1 -1
  47. package/esm2022/lib/form/shared/form.interfaces.mjs +1 -1
  48. package/esm2022/lib/form/shared/form.service.mjs +1 -1
  49. package/esm2022/lib/form/shared/form.utils.mjs +1 -1
  50. package/esm2022/lib/form-dialog/form-dialog.component.mjs +3 -3
  51. package/esm2022/lib/form-dialog/form-dialog.interface.mjs +1 -1
  52. package/esm2022/lib/form-dialog/form-dialog.service.mjs +1 -1
  53. package/esm2022/lib/form-dialog/index.mjs +1 -1
  54. package/esm2022/lib/home-button/home-button.component.mjs +3 -3
  55. package/esm2022/lib/image/index.mjs +1 -1
  56. package/esm2022/lib/interactive-tour/interactive-tour.component.mjs +3 -3
  57. package/esm2022/lib/interactive-tour/interactive-tour.interface.mjs +1 -1
  58. package/esm2022/lib/interactive-tour/interactive-tour.loader.mjs +1 -1
  59. package/esm2022/lib/json-dialog/json-dialog.component.mjs +3 -3
  60. package/esm2022/lib/json-dialog/json-dialog.service.mjs +1 -1
  61. package/esm2022/lib/keyvalue/keyvalue.pipe.mjs +1 -1
  62. package/esm2022/lib/list/index.mjs +1 -1
  63. package/esm2022/lib/list/list.component.mjs +3 -3
  64. package/esm2022/lib/panel/panel.component.mjs +3 -3
  65. package/esm2022/lib/select-value-dialog/index.mjs +1 -1
  66. package/esm2022/lib/select-value-dialog/select-value-check-radio-dialog.component.mjs +3 -3
  67. package/esm2022/lib/select-value-dialog/select-value-dialog.enums.mjs +1 -1
  68. package/esm2022/lib/select-value-dialog/select-value-dialog.interface.mjs +1 -1
  69. package/esm2022/lib/select-value-dialog/select-value-dialog.service.mjs +1 -1
  70. package/esm2022/lib/spinner/index.mjs +1 -1
  71. package/esm2022/lib/spinner/spinner.component.mjs +3 -3
  72. package/esm2022/lib/stop-propagation/index.mjs +1 -1
  73. package/esm2022/lib/stop-propagation/stop-drop-propagation.directive.mjs +1 -1
  74. package/esm2022/lib/stop-propagation/stop-propagation.directive.mjs +1 -1
  75. package/esm2022/lib/table/table-datasource.mjs +1 -1
  76. package/esm2022/lib/table/table-model.interface.mjs +1 -1
  77. package/esm2022/lib/table/table.component.mjs +3 -3
  78. package/esm2022/lib/tool/shared/tool-component.mjs +1 -1
  79. package/esm2022/lib/tool/shared/toolbox.mjs +1 -1
  80. package/esm2022/lib/tool/toolbox/toolbox.animation.mjs +1 -1
  81. package/esm2022/lib/tool/toolbox/toolbox.component.mjs +3 -3
  82. package/esm2022/lib/widget/shared/widget.service.mjs +1 -1
  83. package/esm2022/lib/widget/widget-outlet/widget-outlet.component.mjs +3 -3
  84. package/esm2022/lib/workspace/index.mjs +1 -1
  85. package/esm2022/lib/workspace/shared/store.mjs +1 -1
  86. package/esm2022/lib/workspace/shared/workspace.interfaces.mjs +1 -1
  87. package/esm2022/lib/workspace/shared/workspace.mjs +1 -1
  88. package/esm2022/lib/workspace/workspace-selector/workspace-selector.component.mjs +3 -3
  89. package/esm2022/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.component.mjs +3 -3
  90. package/fesm2022/igo2-common.mjs +125 -131
  91. package/fesm2022/igo2-common.mjs.map +1 -1
  92. package/lib/entity/shared/index.d.ts +0 -1
  93. package/lib/entity/shared/store.d.ts +33 -0
  94. package/lib/entity/shared/strategies/strategy.d.ts +1 -1
  95. package/lib/workspace/shared/workspace.d.ts +2 -2
  96. package/locale/en.common.json +59 -59
  97. package/locale/fr.common.json +59 -59
  98. package/package.json +3 -3
  99. package/src/common-theme.scss +19 -19
  100. package/src/lib/action/action.theming.scss +5 -5
  101. package/src/lib/action/actionbar/actionbar-item.theming.scss +32 -32
  102. package/src/lib/action/actionbar/actionbar.theming.scss +22 -22
  103. package/src/lib/collapsible/collapsible.theming.scss +22 -22
  104. package/src/lib/entity/entity-selector/entity-selector.theming.scss +21 -21
  105. package/src/lib/entity/entity-table/entity-table.theming.scss +37 -37
  106. package/src/lib/entity/entity.theming.scss +7 -7
  107. package/src/lib/home-button/home-button.theming.scss +18 -18
  108. package/src/lib/interactive-tour/interactive-tour.theming.scss +32 -32
  109. package/src/lib/list/list.theming.scss +58 -58
  110. package/src/lib/panel/panel.theming.scss +30 -30
  111. package/src/lib/tool/tool.theming.scss +5 -5
  112. package/src/lib/tool/toolbox/toolbox.theming.scss +105 -105
  113. package/src/style/partial/common-utils.scss +9 -9
  114. package/src/style/partial/common.variables.scss +8 -8
  115. package/src/style/style.scss +1 -1
  116. package/esm2022/lib/entity/shared/store-strategy.mjs +0 -73
  117. package/lib/entity/shared/store-strategy.d.ts +0 -38
@@ -2,7 +2,6 @@ export * from './entity.enums';
2
2
  export * from './entity.interfaces';
3
3
  export * from './entity.utils';
4
4
  export * from './store';
5
- export * from './store-strategy';
6
5
  export * from './state';
7
6
  export * from './watcher';
8
7
  export * from './transaction';
@@ -1,6 +1,7 @@
1
1
  import { BehaviorSubject } from 'rxjs';
2
2
  import { EntityKey, EntityRecord, EntityState } from './entity.interfaces';
3
3
  import { EntityStateManager } from './state';
4
+ import type { EntityStoreStrategy } from './strategies/strategy';
4
5
  import { EntityView } from './view';
5
6
  export interface EntityStoreOptions {
6
7
  getKey?: (entity: object) => EntityKey;
@@ -56,6 +57,10 @@ export declare class EntityStore<E extends object = object, S extends EntityStat
56
57
  */
57
58
  get pristine(): boolean;
58
59
  private _pristine;
60
+ /**
61
+ * Strategies
62
+ */
63
+ private strategies;
59
64
  constructor(entities: E[], options?: EntityStoreOptions);
60
65
  /**
61
66
  * Get an entity from the store by key
@@ -104,6 +109,34 @@ export declare class EntityStore<E extends object = object, S extends EntityStat
104
109
  * @param entities Entities
105
110
  */
106
111
  updateMany(entities: E[]): void;
112
+ /**
113
+ * Add a strategy to this store
114
+ * @param strategy Entity store strategy
115
+ * @returns Entity store
116
+ */
117
+ addStrategy(strategy: EntityStoreStrategy, activate?: boolean): EntityStore;
118
+ /**
119
+ * Remove a strategy from this store
120
+ * @param strategy Entity store strategy
121
+ * @returns Entity store
122
+ */
123
+ removeStrategy(strategy: EntityStoreStrategy): EntityStore;
124
+ /**
125
+ * Return strategies of a given type
126
+ * @param type Entity store strategy class
127
+ * @returns Strategies
128
+ */
129
+ getStrategyOfType(type: typeof EntityStoreStrategy): EntityStoreStrategy;
130
+ /**
131
+ * Activate strategies of a given type
132
+ * @param type Entity store strategy class
133
+ */
134
+ activateStrategyOfType(type: typeof EntityStoreStrategy): void;
135
+ /**
136
+ * Deactivate strategies of a given type
137
+ * @param type Entity store strategy class
138
+ */
139
+ deactivateStrategyOfType(type: typeof EntityStoreStrategy): void;
107
140
  /**
108
141
  * Delete an entity from the store
109
142
  * @param entity Entity
@@ -1,6 +1,6 @@
1
1
  import { BehaviorSubject } from 'rxjs';
2
2
  import { EntityStoreStrategyOptions } from '../entity.interfaces';
3
- import { EntityStore } from '../store';
3
+ import type { EntityStore } from '../store';
4
4
  /**
5
5
  * Entity store strategies. They can do pretty much anything during a store's
6
6
  * lifetime. For example, they may act as triggers when something happens.
@@ -1,6 +1,6 @@
1
1
  import { BehaviorSubject } from 'rxjs';
2
2
  import { ActionStore } from '../../action';
3
- import { EntityStoreWithStrategy } from '../../entity';
3
+ import { EntityStore } from '../../entity';
4
4
  import { Widget } from '../../widget';
5
5
  import { WorkspaceOptions } from './workspace.interfaces';
6
6
  /**
@@ -55,7 +55,7 @@ export declare class Workspace<E extends object = object> {
55
55
  /**
56
56
  * Entities store
57
57
  */
58
- get entityStore(): EntityStoreWithStrategy<E>;
58
+ get entityStore(): EntityStore<E>;
59
59
  /**
60
60
  * Actions store (some actions activate a widget)
61
61
  */
@@ -1,59 +1,59 @@
1
- {
2
- "igo": {
3
- "common": {
4
- "confirmDialog": {
5
- "cancelBtn": "Cancel",
6
- "confirmBtn": "Confirm",
7
- "yes": "Yes",
8
- "no": "No",
9
- "title": "Confirm",
10
- "applyBtn": "Apply"
11
- },
12
- "selectValueDialog": {
13
- "cancelButtonText": "Cancel",
14
- "processButtonText": "Select",
15
- "multipleTitle": "Please, select values",
16
- "title": "Please, select a value",
17
- "selectFieldText": "Options"
18
- },
19
- "formDialog": {
20
- "cancelButtonText": "Cancel",
21
- "processButtonText": "Submit",
22
- "title": "Fill the form"
23
- },
24
- "table": {
25
- "filter": "Filter"
26
- },
27
- "entity-table": {
28
- "targetHtmlUrl": "Open the external link"
29
- },
30
- "form": {
31
- "errors": {
32
- "email": "You must provide a email",
33
- "required": "This field is required"
34
- }
35
- },
36
- "actionbar": {
37
- "scrollUp": "Scroll up",
38
- "scrollDown": "Scroll down",
39
- "icon": "Action list"
40
- },
41
- "interactiveTour": {
42
- "tooltipTourToolButton": "Interactive tour of the application",
43
- "disaledTooltipTourToolButton": "To have access to this tool's tour, add contexts or layers",
44
- "buttonTitle": "Discover",
45
- "exitButton": "Exit",
46
- "backButton": "Back",
47
- "nextButton": "Next"
48
- },
49
- "paginator": {
50
- "firstPageLabel": "First page",
51
- "itemsPerPageLabel": "Items per page:",
52
- "lastPageLabel": "Last page",
53
- "nextPageLabel": "Next page",
54
- "previousPageLabel": "Previous page",
55
- "of": "of"
56
- }
57
- }
58
- }
59
- }
1
+ {
2
+ "igo": {
3
+ "common": {
4
+ "confirmDialog": {
5
+ "cancelBtn": "Cancel",
6
+ "confirmBtn": "Confirm",
7
+ "yes": "Yes",
8
+ "no": "No",
9
+ "title": "Confirm",
10
+ "applyBtn": "Apply"
11
+ },
12
+ "selectValueDialog": {
13
+ "cancelButtonText": "Cancel",
14
+ "processButtonText": "Select",
15
+ "multipleTitle": "Please, select values",
16
+ "title": "Please, select a value",
17
+ "selectFieldText": "Options"
18
+ },
19
+ "formDialog": {
20
+ "cancelButtonText": "Cancel",
21
+ "processButtonText": "Submit",
22
+ "title": "Fill the form"
23
+ },
24
+ "table": {
25
+ "filter": "Filter"
26
+ },
27
+ "entity-table": {
28
+ "targetHtmlUrl": "Open the external link"
29
+ },
30
+ "form": {
31
+ "errors": {
32
+ "email": "You must provide a email",
33
+ "required": "This field is required"
34
+ }
35
+ },
36
+ "actionbar": {
37
+ "scrollUp": "Scroll up",
38
+ "scrollDown": "Scroll down",
39
+ "icon": "Action list"
40
+ },
41
+ "interactiveTour": {
42
+ "tooltipTourToolButton": "Interactive tour of the application",
43
+ "disaledTooltipTourToolButton": "To have access to this tool's tour, add contexts or layers",
44
+ "buttonTitle": "Discover",
45
+ "exitButton": "Exit",
46
+ "backButton": "Back",
47
+ "nextButton": "Next"
48
+ },
49
+ "paginator": {
50
+ "firstPageLabel": "First page",
51
+ "itemsPerPageLabel": "Items per page:",
52
+ "lastPageLabel": "Last page",
53
+ "nextPageLabel": "Next page",
54
+ "previousPageLabel": "Previous page",
55
+ "of": "of"
56
+ }
57
+ }
58
+ }
59
+ }
@@ -1,59 +1,59 @@
1
- {
2
- "igo": {
3
- "common": {
4
- "confirmDialog": {
5
- "cancelBtn": "Annuler",
6
- "confirmBtn": "Confirmer",
7
- "yes": "Oui",
8
- "no": "Non",
9
- "title": "Confirmation",
10
- "applyBtn": "Appliquer"
11
- },
12
- "selectValueDialog": {
13
- "cancelButtonText": "Annuler",
14
- "processButtonText": "Sélectionner",
15
- "multipleTitle": "Veuiller sélectionner une ou plusieurs valeurs",
16
- "title": "Veuiller sélectionner une valeur",
17
- "selectFieldText": "Options"
18
- },
19
- "formDialog": {
20
- "cancelButtonText": "Annuler",
21
- "processButtonText": "Confirmer",
22
- "title": "Veuiller remplir le formulaire"
23
- },
24
- "table": {
25
- "filter": "Filtre"
26
- },
27
- "entity-table": {
28
- "targetHtmlUrl": "Ouvrir le lien externe"
29
- },
30
- "form": {
31
- "errors": {
32
- "email": "Veuillez saisir un courriel",
33
- "required": "Ce champ est requis"
34
- }
35
- },
36
- "actionbar": {
37
- "scrollUp": "Défiler vers le haut",
38
- "scrollDown": "Défiler vers le bas",
39
- "icon": "Actions supplémentaires"
40
- },
41
- "interactiveTour": {
42
- "tooltipTourToolButton": "Aide interactive sur l'outil",
43
- "disaledTooltipTourToolButton": "Pour avoir accès au tour interactif de cet outil, ajouter des contextes ou des couches",
44
- "buttonTitle": "Découvrir",
45
- "exitButton": "Quitter",
46
- "backButton": "Précédent",
47
- "nextButton": "Suivant"
48
- },
49
- "paginator": {
50
- "firstPageLabel": "Première page",
51
- "itemsPerPageLabel": "Entités par page:",
52
- "lastPageLabel": "Dernière page",
53
- "nextPageLabel": "Page suivante",
54
- "previousPageLabel": "Page précédente",
55
- "of": "de"
56
- }
57
- }
58
- }
59
- }
1
+ {
2
+ "igo": {
3
+ "common": {
4
+ "confirmDialog": {
5
+ "cancelBtn": "Annuler",
6
+ "confirmBtn": "Confirmer",
7
+ "yes": "Oui",
8
+ "no": "Non",
9
+ "title": "Confirmation",
10
+ "applyBtn": "Appliquer"
11
+ },
12
+ "selectValueDialog": {
13
+ "cancelButtonText": "Annuler",
14
+ "processButtonText": "Sélectionner",
15
+ "multipleTitle": "Veuiller sélectionner une ou plusieurs valeurs",
16
+ "title": "Veuiller sélectionner une valeur",
17
+ "selectFieldText": "Options"
18
+ },
19
+ "formDialog": {
20
+ "cancelButtonText": "Annuler",
21
+ "processButtonText": "Confirmer",
22
+ "title": "Veuiller remplir le formulaire"
23
+ },
24
+ "table": {
25
+ "filter": "Filtre"
26
+ },
27
+ "entity-table": {
28
+ "targetHtmlUrl": "Ouvrir le lien externe"
29
+ },
30
+ "form": {
31
+ "errors": {
32
+ "email": "Veuillez saisir un courriel",
33
+ "required": "Ce champ est requis"
34
+ }
35
+ },
36
+ "actionbar": {
37
+ "scrollUp": "Défiler vers le haut",
38
+ "scrollDown": "Défiler vers le bas",
39
+ "icon": "Actions supplémentaires"
40
+ },
41
+ "interactiveTour": {
42
+ "tooltipTourToolButton": "Aide interactive sur l'outil",
43
+ "disaledTooltipTourToolButton": "Pour avoir accès au tour interactif de cet outil, ajouter des contextes ou des couches",
44
+ "buttonTitle": "Découvrir",
45
+ "exitButton": "Quitter",
46
+ "backButton": "Précédent",
47
+ "nextButton": "Suivant"
48
+ },
49
+ "paginator": {
50
+ "firstPageLabel": "Première page",
51
+ "itemsPerPageLabel": "Entités par page:",
52
+ "lastPageLabel": "Dernière page",
53
+ "nextPageLabel": "Page suivante",
54
+ "previousPageLabel": "Page précédente",
55
+ "of": "de"
56
+ }
57
+ }
58
+ }
59
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igo2/common",
3
- "version": "16.1.0",
3
+ "version": "16.2.0",
4
4
  "description": "IGO Library",
5
5
  "author": "IGO Community",
6
6
  "keywords": [
@@ -44,8 +44,8 @@
44
44
  "@angular/material": "^16.2.4",
45
45
  "@angular/platform-browser": "^16.2.5",
46
46
  "@floating-ui/utils": "^0.1.4",
47
- "@igo2/core": "^16.1.0",
48
- "@igo2/utils": "^16.1.0",
47
+ "@igo2/core": "^16.2.0",
48
+ "@igo2/utils": "^16.2.0",
49
49
  "angular-shepherd": "16.0.0",
50
50
  "ngx-color": "^9.0.0",
51
51
  "scroll-into-view-if-needed": "^3.0.0",
@@ -1,19 +1,19 @@
1
- @use './lib/action/action.theming.scss' as action;
2
- @use './lib/collapsible/collapsible.theming.scss' as collapsible;
3
- @use './lib/entity/entity.theming.scss' as entity;
4
- @use './lib/list/list.theming.scss' as list;
5
- @use './lib/panel/panel.theming.scss' as panel;
6
- @use './lib/tool/tool.theming.scss' as tool;
7
- @use './lib/interactive-tour/interactive-tour.theming.scss' as interactive-tour;
8
- @use './lib/home-button/home-button.theming.scss' as home-button;
9
-
10
- @mixin common-component-themes($theme) {
11
- @include action.igo-action-theming($theme);
12
- @include collapsible.igo-collapsible-theming($theme);
13
- @include entity.igo-entity-theming($theme);
14
- @include list.igo-list-theming($theme);
15
- @include panel.theme($theme);
16
- @include tool.igo-tool-theming($theme);
17
- @include interactive-tour.theme($theme);
18
- @include home-button.theme($theme);
19
- }
1
+ @use './lib/action/action.theming.scss' as action;
2
+ @use './lib/collapsible/collapsible.theming.scss' as collapsible;
3
+ @use './lib/entity/entity.theming.scss' as entity;
4
+ @use './lib/list/list.theming.scss' as list;
5
+ @use './lib/panel/panel.theming.scss' as panel;
6
+ @use './lib/tool/tool.theming.scss' as tool;
7
+ @use './lib/interactive-tour/interactive-tour.theming.scss' as interactive-tour;
8
+ @use './lib/home-button/home-button.theming.scss' as home-button;
9
+
10
+ @mixin common-component-themes($theme) {
11
+ @include action.igo-action-theming($theme);
12
+ @include collapsible.igo-collapsible-theming($theme);
13
+ @include entity.igo-entity-theming($theme);
14
+ @include list.igo-list-theming($theme);
15
+ @include panel.theme($theme);
16
+ @include tool.igo-tool-theming($theme);
17
+ @include interactive-tour.theme($theme);
18
+ @include home-button.theme($theme);
19
+ }
@@ -1,5 +1,5 @@
1
- @use './actionbar/actionbar-item.theming.scss' as actionbar-item;
2
-
3
- @mixin igo-action-theming($theme) {
4
- @include actionbar-item.density($theme);
5
- }
1
+ @use './actionbar/actionbar-item.theming.scss' as actionbar-item;
2
+
3
+ @mixin igo-action-theming($theme) {
4
+ @include actionbar-item.density($theme);
5
+ }
@@ -1,32 +1,32 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
-
4
- @mixin theme($theme) {
5
- @include density($theme);
6
- @include typography($theme);
7
- }
8
-
9
- @mixin density($theme) {
10
- $density: mat.get-density-config($theme);
11
- $theme: map.merge(
12
- $theme,
13
- (
14
- density: $density - 2
15
- )
16
- );
17
-
18
- igo-actionbar-item {
19
- @include mat.icon-button-density($theme);
20
- @include mat.list-density($theme);
21
- }
22
- }
23
-
24
- @mixin typography($theme) {
25
- $typography: mat.get-typography-config($theme);
26
-
27
- igo-actionbar-item {
28
- mat-checkbox label {
29
- font-size: mat.font-size($typography, body-1);
30
- }
31
- }
32
- }
1
+ @use 'sass:map';
2
+ @use '@angular/material' as mat;
3
+
4
+ @mixin theme($theme) {
5
+ @include density($theme);
6
+ @include typography($theme);
7
+ }
8
+
9
+ @mixin density($theme) {
10
+ $density: mat.get-density-config($theme);
11
+ $theme: map.merge(
12
+ $theme,
13
+ (
14
+ density: $density - 2
15
+ )
16
+ );
17
+
18
+ igo-actionbar-item {
19
+ @include mat.icon-button-density($theme);
20
+ @include mat.list-density($theme);
21
+ }
22
+ }
23
+
24
+ @mixin typography($theme) {
25
+ $typography: mat.get-typography-config($theme);
26
+
27
+ igo-actionbar-item {
28
+ mat-checkbox label {
29
+ font-size: mat.font-size($typography, body-1);
30
+ }
31
+ }
32
+ }
@@ -1,22 +1,22 @@
1
- @mixin igo-actionbar-theming($theme) {
2
- .igo-actionbar-overlay {
3
- min-width: inherit !important;
4
- padding-top: 0;
5
- padding-bottom: 0;
6
-
7
- .mat-mdc-list {
8
- padding-top: 0;
9
- }
10
- .mat-mdc-list
11
- .mat-mdc-list-item.mdc-list-item--with-leading-icon
12
- .mdc-list-item__content
13
- .mdc-list-item__primary-text {
14
- padding-right: 16px;
15
- }
16
-
17
- .mat-mdc-menu-content:not(:empty) {
18
- padding-top: 0;
19
- padding-bottom: 0;
20
- }
21
- }
22
- }
1
+ @mixin igo-actionbar-theming($theme) {
2
+ .igo-actionbar-overlay {
3
+ min-width: inherit !important;
4
+ padding-top: 0;
5
+ padding-bottom: 0;
6
+
7
+ .mat-mdc-list {
8
+ padding-top: 0;
9
+ }
10
+ .mat-mdc-list
11
+ .mat-mdc-list-item.mdc-list-item--with-leading-icon
12
+ .mdc-list-item__content
13
+ .mdc-list-item__primary-text {
14
+ padding-right: 16px;
15
+ }
16
+
17
+ .mat-mdc-menu-content:not(:empty) {
18
+ padding-top: 0;
19
+ padding-bottom: 0;
20
+ }
21
+ }
22
+ }
@@ -1,22 +1,22 @@
1
- @mixin igo-collapsible-theming($theme) {
2
- mat-icon[igocollapse] {
3
- &:hover {
4
- cursor: pointer;
5
- }
6
-
7
- &.igo-chevron {
8
- width: auto !important;
9
- transform: rotateZ(0deg);
10
- transition: 300ms ease-in-out;
11
-
12
- &.collapsed {
13
- transform: rotateZ(180deg);
14
- transition: 300ms ease-in-out;
15
- }
16
- }
17
- }
18
-
19
- div.igo-collapsed {
20
- display: none !important;
21
- }
22
- }
1
+ @mixin igo-collapsible-theming($theme) {
2
+ mat-icon[igocollapse] {
3
+ &:hover {
4
+ cursor: pointer;
5
+ }
6
+
7
+ &.igo-chevron {
8
+ width: auto !important;
9
+ transform: rotateZ(0deg);
10
+ transition: 300ms ease-in-out;
11
+
12
+ &.collapsed {
13
+ transform: rotateZ(180deg);
14
+ transition: 300ms ease-in-out;
15
+ }
16
+ }
17
+ }
18
+
19
+ div.igo-collapsed {
20
+ display: none !important;
21
+ }
22
+ }
@@ -1,21 +1,21 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
-
4
- @mixin theme($theme) {
5
- @include density($theme);
6
- }
7
-
8
- @mixin density($theme) {
9
- $density: mat.get-density-config($theme);
10
-
11
- $theme: map.merge(
12
- $theme,
13
- (
14
- density: $density - 2
15
- )
16
- );
17
-
18
- igo-entity-selector {
19
- @include mat.form-field-density($theme);
20
- }
21
- }
1
+ @use 'sass:map';
2
+ @use '@angular/material' as mat;
3
+
4
+ @mixin theme($theme) {
5
+ @include density($theme);
6
+ }
7
+
8
+ @mixin density($theme) {
9
+ $density: mat.get-density-config($theme);
10
+
11
+ $theme: map.merge(
12
+ $theme,
13
+ (
14
+ density: $density - 2
15
+ )
16
+ );
17
+
18
+ igo-entity-selector {
19
+ @include mat.form-field-density($theme);
20
+ }
21
+ }