wacom 21.1.0 → 21.1.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.
@@ -981,6 +981,83 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImpor
981
981
  }]
982
982
  }], ctorParameters: () => [], propDecorators: { clickOutside: [{ type: i0.Output, args: ["clickOutside"] }] } });
983
983
 
984
+ class ManualDisabledDirective {
985
+ constructor() {
986
+ this.el = inject(ElementRef);
987
+ // Bind as: [manualDisabled]="isDisabled"
988
+ this.manualDisabled = input(null, { ...(ngDevMode ? { debugName: "manualDisabled" } : {}), alias: 'manualDisabled' });
989
+ this.syncDisabledEffect = effect(() => {
990
+ const disabled = this.manualDisabled();
991
+ if (disabled == null)
992
+ return;
993
+ const native = this.el.nativeElement;
994
+ if (!native)
995
+ return;
996
+ native.disabled = !!disabled;
997
+ }, { ...(ngDevMode ? { debugName: "syncDisabledEffect" } : {}) });
998
+ }
999
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: ManualDisabledDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1000
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.1", type: ManualDisabledDirective, isStandalone: true, selector: "input[manualDisabled]", inputs: { manualDisabled: { classPropertyName: "manualDisabled", publicName: "manualDisabled", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
1001
+ }
1002
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: ManualDisabledDirective, decorators: [{
1003
+ type: Directive,
1004
+ args: [{
1005
+ selector: 'input[manualDisabled]',
1006
+ }]
1007
+ }], propDecorators: { manualDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "manualDisabled", required: false }] }] } });
1008
+
1009
+ class ManualNameDirective {
1010
+ constructor() {
1011
+ this.el = inject(ElementRef);
1012
+ // Bind as: manualName="email" or [manualName]="expr"
1013
+ this.manualName = input(null, { ...(ngDevMode ? { debugName: "manualName" } : {}), alias: 'manualName' });
1014
+ this.syncNameEffect = effect(() => {
1015
+ const name = this.manualName();
1016
+ if (name == null)
1017
+ return;
1018
+ const native = this.el.nativeElement;
1019
+ if (!native)
1020
+ return;
1021
+ if (native.name !== name) {
1022
+ native.name = name;
1023
+ }
1024
+ }, { ...(ngDevMode ? { debugName: "syncNameEffect" } : {}) });
1025
+ }
1026
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: ManualNameDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1027
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.1", type: ManualNameDirective, isStandalone: true, selector: "input[manualName]", inputs: { manualName: { classPropertyName: "manualName", publicName: "manualName", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
1028
+ }
1029
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: ManualNameDirective, decorators: [{
1030
+ type: Directive,
1031
+ args: [{
1032
+ selector: 'input[manualName]',
1033
+ }]
1034
+ }], propDecorators: { manualName: [{ type: i0.Input, args: [{ isSignal: true, alias: "manualName", required: false }] }] } });
1035
+
1036
+ class ManualReadonlyDirective {
1037
+ constructor() {
1038
+ this.el = inject(ElementRef);
1039
+ // Bind as: [manualReadonly]="true"
1040
+ this.manualReadonly = input(null, { ...(ngDevMode ? { debugName: "manualReadonly" } : {}), alias: 'manualReadonly' });
1041
+ this.syncReadonlyEffect = effect(() => {
1042
+ const readonly = this.manualReadonly();
1043
+ if (readonly == null)
1044
+ return;
1045
+ const native = this.el.nativeElement;
1046
+ if (!native)
1047
+ return;
1048
+ native.readOnly = !!readonly;
1049
+ }, { ...(ngDevMode ? { debugName: "syncReadonlyEffect" } : {}) });
1050
+ }
1051
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: ManualReadonlyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1052
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.1", type: ManualReadonlyDirective, isStandalone: true, selector: "input[manualReadonly]", inputs: { manualReadonly: { classPropertyName: "manualReadonly", publicName: "manualReadonly", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
1053
+ }
1054
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: ManualReadonlyDirective, decorators: [{
1055
+ type: Directive,
1056
+ args: [{
1057
+ selector: 'input[manualReadonly]',
1058
+ }]
1059
+ }], propDecorators: { manualReadonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "manualReadonly", required: false }] }] } });
1060
+
984
1061
  class ManualTypeDirective {
985
1062
  constructor() {
986
1063
  this.el = inject(ElementRef);
@@ -3879,5 +3956,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImpor
3879
3956
  * Generated bundle index. Do not edit.
3880
3957
  */
3881
3958
 
3882
- export { ArrPipe, CONFIG_TOKEN, ClickOutsideDirective, CoreService, CrudComponent, CrudService, DEFAULT_CONFIG, DEFAULT_HTTP_CONFIG, DEFAULT_NETWORK_CONFIG, DomService, EmitterService, HttpService, ManualTypeDirective, MetaGuard, MetaService, MongodatePipe, NETWORK_CONFIG, NetworkService, NumberPipe, PaginationPipe, RtcService, SafePipe, SearchPipe, SocketService, SplicePipe, SplitPipe, StoreService, TimeService, UtilService, WacomModule, provideWacom };
3959
+ export { ArrPipe, CONFIG_TOKEN, ClickOutsideDirective, CoreService, CrudComponent, CrudService, DEFAULT_CONFIG, DEFAULT_HTTP_CONFIG, DEFAULT_NETWORK_CONFIG, DomService, EmitterService, HttpService, ManualDisabledDirective, ManualNameDirective, ManualReadonlyDirective, ManualTypeDirective, MetaGuard, MetaService, MongodatePipe, NETWORK_CONFIG, NetworkService, NumberPipe, PaginationPipe, RtcService, SafePipe, SearchPipe, SocketService, SplicePipe, SplitPipe, StoreService, TimeService, UtilService, WacomModule, provideWacom };
3883
3960
  //# sourceMappingURL=wacom.mjs.map