@shival99/z-ui 2.6.6 → 2.6.7
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/.npmignore +9 -9
- package/assets/css/base.css +16 -16
- package/fesm2022/shival99-z-ui-components-z-autocomplete.mjs +10 -13
- package/fesm2022/shival99-z-ui-components-z-autocomplete.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-menu.mjs +5 -3
- package/fesm2022/shival99-z-ui-components-z-menu.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-select.mjs +3 -2
- package/fesm2022/shival99-z-ui-components-z-select.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-table.mjs +44 -25
- package/fesm2022/shival99-z-ui-components-z-table.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-upload.mjs +3 -2
- package/fesm2022/shival99-z-ui-components-z-upload.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-utils.mjs +27 -1
- package/fesm2022/shival99-z-ui-utils.mjs.map +1 -1
- package/package.json +1 -1
- package/types/shival99-z-ui-components-z-autocomplete.d.ts +3 -1
- package/types/shival99-z-ui-components-z-menu.d.ts +2 -0
- package/types/shival99-z-ui-components-z-select.d.ts +1 -0
- package/types/shival99-z-ui-components-z-table.d.ts +4 -3
- package/types/shival99-z-ui-components-z-upload.d.ts +1 -0
- package/types/shival99-z-ui-utils.d.ts +8 -2
|
@@ -14,7 +14,7 @@ import { ZPopoverDirective } from '@shival99/z-ui/components/z-popover';
|
|
|
14
14
|
import { ZTooltipDirective } from '@shival99/z-ui/components/z-tooltip';
|
|
15
15
|
import { ZHighlightPipe, ZSafeHtmlPipe } from '@shival99/z-ui/pipes';
|
|
16
16
|
import { ZTranslateService } from '@shival99/z-ui/services';
|
|
17
|
-
import { zRemoveVietnamese, zMergeClasses, zTransform, zUuid, zResolveAsyncSelectedOptions, zMergeAsyncOptions, zCreateEvent, zIsMobileViewport, Z_ASYNC_OPTIONS_DEFAULT_PAGE_SIZE, zToAsyncOptionsObservable, zResolveAsyncOptionsHasMore } from '@shival99/z-ui/utils';
|
|
17
|
+
import { zRemoveVietnamese, zMergeClasses, zTransform, zUuid, zResolveAsyncSelectedOptions, zMergeAsyncOptions, zCreateDestroySafeTimeout, zCreateEvent, zIsMobileViewport, Z_ASYNC_OPTIONS_DEFAULT_PAGE_SIZE, zToAsyncOptionsObservable, zResolveAsyncOptionsHasMore } from '@shival99/z-ui/utils';
|
|
18
18
|
import { injectVirtualizer } from '@tanstack/angular-virtual';
|
|
19
19
|
import { Subject, debounceTime, merge, filter, finalize, isObservable, takeUntil, catchError, of, firstValueFrom } from 'rxjs';
|
|
20
20
|
import { cva } from 'class-variance-authority';
|
|
@@ -1067,6 +1067,7 @@ class ZSelectComponent {
|
|
|
1067
1067
|
_isNgModel = signal(false, /* @ts-ignore */
|
|
1068
1068
|
...(ngDevMode ? [{ debugName: "_isNgModel" }] : /* istanbul ignore next */ []));
|
|
1069
1069
|
_pendingServerSearchScrollReset = false;
|
|
1070
|
+
_controlEmitTimer = zCreateDestroySafeTimeout(this._destroyRef);
|
|
1070
1071
|
constructor() {
|
|
1071
1072
|
afterNextRender(() => this._selectedTagLayoutVersion.update(version => version + 1));
|
|
1072
1073
|
effect(onCleanup => {
|
|
@@ -1208,7 +1209,7 @@ class ZSelectComponent {
|
|
|
1208
1209
|
this._ngControl = null;
|
|
1209
1210
|
}
|
|
1210
1211
|
});
|
|
1211
|
-
|
|
1212
|
+
this._controlEmitTimer.schedule(() => this._emitControl());
|
|
1212
1213
|
}
|
|
1213
1214
|
writeValue(value) {
|
|
1214
1215
|
const fieldKey = this.zKey();
|