@arsedizioni/ars-utils 18.2.43 → 18.2.45
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/clipper.ui/ui/clipper.scss +1 -1
- package/esm2022/clipper.ui/ui/browser-dialog/browser-dialog.component.mjs +3 -3
- package/esm2022/clipper.ui/ui/document/document.component.mjs +3 -3
- package/esm2022/clipper.ui/ui/references/references.component.mjs +3 -3
- package/esm2022/clipper.ui/ui/search-facets/search-facets.component.mjs +3 -3
- package/esm2022/clipper.ui/ui/search-result-item/search-result-item.component.mjs +3 -3
- package/esm2022/ui.application/ui/components/chips-selector/chips-selector.component.mjs +10 -16
- package/esm2022/ui.application/ui/ui.module.mjs +1 -2
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +10 -10
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs +9 -22
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs.map +1 -1
- package/package.json +7 -7
- package/ui.application/ui/components/chips-selector/chips-selector.component.d.ts +1 -2
- package/ui.application/ui/ui.module.d.ts +0 -1
|
@@ -21,7 +21,7 @@ import * as i4 from '@angular/material/input';
|
|
|
21
21
|
import { MatInputModule } from '@angular/material/input';
|
|
22
22
|
import * as i6$1 from '@angular/material/tooltip';
|
|
23
23
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
24
|
-
import { SystemUtils, EmailsValidatorDirective, SafeHtmlPipe, SearchFilterPipe, DateInterval, DateIntervalChangeDirective, TimeValidatorDirective, FileInfo, FileSizeValidatorDirective, SafeUrlPipe
|
|
24
|
+
import { SystemUtils, EmailsValidatorDirective, SafeHtmlPipe, SearchFilterPipe, DateInterval, DateIntervalChangeDirective, TimeValidatorDirective, FileInfo, FileSizeValidatorDirective, SafeUrlPipe } from '@arsedizioni/ars-utils/core';
|
|
25
25
|
import * as i1$1 from '@ngbracket/ngx-layout/flex';
|
|
26
26
|
import { FlexModule } from '@ngbracket/ngx-layout/flex';
|
|
27
27
|
import { FlatTreeControl } from '@angular/cdk/tree';
|
|
@@ -189,14 +189,6 @@ class CurrentFilterItem {
|
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
191
|
|
|
192
|
-
const ArsUIApplicationMessages = {
|
|
193
|
-
/**
|
|
194
|
-
* Messages
|
|
195
|
-
*/
|
|
196
|
-
// Select dialog
|
|
197
|
-
UI_LAYOUT_CHANGED: '§ars-utils-ui-layout-changed'
|
|
198
|
-
};
|
|
199
|
-
|
|
200
192
|
class SendToDialogComponent {
|
|
201
193
|
constructor() {
|
|
202
194
|
this.done = new EventEmitter();
|
|
@@ -2212,7 +2204,6 @@ class ChipsSelectorComponent {
|
|
|
2212
2204
|
this.focused = false;
|
|
2213
2205
|
this.unsubscribe = new Subject();
|
|
2214
2206
|
this.changeDetector = inject(ChangeDetectorRef);
|
|
2215
|
-
this.broadcastService = inject(BroadcastService);
|
|
2216
2207
|
this.options = input();
|
|
2217
2208
|
this.collapsedWidth = input(-1);
|
|
2218
2209
|
this.collapseAt = input(-1);
|
|
@@ -2240,15 +2231,13 @@ class ChipsSelectorComponent {
|
|
|
2240
2231
|
}
|
|
2241
2232
|
}
|
|
2242
2233
|
ngOnInit() {
|
|
2243
|
-
// React to
|
|
2244
|
-
|
|
2245
|
-
.pipe(takeUntil$1(this.unsubscribe))
|
|
2246
|
-
.subscribe((
|
|
2247
|
-
if (
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
this.updateContainerWidth();
|
|
2251
|
-
}
|
|
2234
|
+
// React to window size change
|
|
2235
|
+
fromEvent(window, 'resize')
|
|
2236
|
+
.pipe(takeUntil$1(this.unsubscribe), debounceTime(500))
|
|
2237
|
+
.subscribe(() => {
|
|
2238
|
+
if (this.collapseAt() > 0) {
|
|
2239
|
+
// Close the options menu if open
|
|
2240
|
+
this.updateContainerWidth();
|
|
2252
2241
|
}
|
|
2253
2242
|
});
|
|
2254
2243
|
}
|
|
@@ -2272,8 +2261,6 @@ class ChipsSelectorComponent {
|
|
|
2272
2261
|
this.containerWidth.set(this.collapseAtContainer()
|
|
2273
2262
|
? (elem?.clientWidth ?? -1)
|
|
2274
2263
|
: (window.innerWidth ?? -1));
|
|
2275
|
-
console.log(this.containerWidth());
|
|
2276
|
-
this.changeDetector.markForCheck();
|
|
2277
2264
|
}
|
|
2278
2265
|
}
|
|
2279
2266
|
writeValue(value) {
|
|
@@ -2403,5 +2390,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImpor
|
|
|
2403
2390
|
* Generated bundle index. Do not edit.
|
|
2404
2391
|
*/
|
|
2405
2392
|
|
|
2406
|
-
export { ApplicationDialogService,
|
|
2393
|
+
export { ApplicationDialogService, ArsUIApplicationModule, ButtonSelectorComponent, ButtonToggleComponent, CalendarEmptyHeader, ChipsSelectorComponent, CurrentFilter, CurrentFilterChanged, CurrentFilterItem, FileInputComponent, FilePreviewComponent, FilterBarComponent, Filters, ItemNode, PromptDateDialogComponent, PromptDialogComponent, PromptDialogType, PromptTimeDialogComponent, ResizeTableColumnDirective, SelectDialogComponent, SelectFileDialogComponent, SelectPictureDialogComponent, SelectTreeDialogComponent, SelectableItem, SelectableNode, SendToDialogComponent, TreeDataSource };
|
|
2407
2394
|
//# sourceMappingURL=arsedizioni-ars-utils-ui.application.mjs.map
|