@piying-lib/angular-daisyui 1.1.4 → 1.1.5

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.
@@ -51,8 +51,11 @@ class LabelWC {
51
51
  const direction = this.labelPosition$$();
52
52
  return direction === 'top' || direction === 'bottom' ? 'flex flex-col' : 'flex';
53
53
  }, ...(ngDevMode ? [{ debugName: "layout$$" }] : []));
54
+ disableRequired$$ = computed(() => {
55
+ return this.props$$()['disableRequired'] ?? false;
56
+ }, ...(ngDevMode ? [{ debugName: "disableRequired$$" }] : []));
54
57
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: LabelWC, deps: [], target: i0.ɵɵFactoryTarget.Component });
55
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.14", type: LabelWC, isStandalone: true, selector: "app-label-wrapper", viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["templateRef"], descendants: true, isSignal: true }], ngImport: i0, template: "<ng-template #templateRef let-attr=\"attributes\">\n @let title = props$$()['title'];\n @let isEnd = isEnd$$();\n <ng-template #requiredTemplate>\n <span>{{ title }}</span>\n @if (field$$().form.control?.required$$()) {\n <span class=\"text-error\">*</span>\n }\n </ng-template>\n\n @if (labelInline$$()) {\n <label\n [class]=\"\n attr()?.class\n | mergeClass: (props$$()['floating'] ? ('floating-label' | cssPrefix) : undefined)\n \"\n [attributes]=\"attr()\"\n [excludes]=\"['class']\"\n >\n @if (title && !isEnd) {\n <span class=\"{{ 'label' | cssPrefix }}\">\n <ng-container *ngTemplateOutlet=\"requiredTemplate\"></ng-container\n ></span>\n }\n <ng-container insertField></ng-container>\n @if (title && isEnd) {\n <span class=\"{{ 'label' | cssPrefix }}\"\n ><ng-container *ngTemplateOutlet=\"requiredTemplate\"></ng-container\n ></span>\n }\n </label>\n } @else {\n <div\n [class]=\"layout$$() | twPrefix | mergeClass: attr()?.class\"\n [attributes]=\"attr()\"\n [excludes]=\"['class']\"\n >\n @if (title && !isEnd) {\n <label class=\"{{ 'label' | cssPrefix }}\"\n ><ng-container *ngTemplateOutlet=\"requiredTemplate\"></ng-container\n ></label>\n }\n <ng-container insertField></ng-container>\n @if (title && isEnd) {\n <label class=\"{{ 'label' | cssPrefix }}\"\n ><ng-container *ngTemplateOutlet=\"requiredTemplate\"></ng-container\n ></label>\n }\n </div>\n }\n</ng-template>\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: AttributesDirective, selector: "[attributes]", inputs: ["attributes", "excludes"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: InsertFieldDirective, selector: "[insertField]", exportAs: ["insertField"] }, { kind: "pipe", type: CssPrefixPipe, name: "cssPrefix" }, { kind: "pipe", type: MergeClassPipe, name: "mergeClass" }, { kind: "pipe", type: TwPrefixPipe, name: "twPrefix" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
58
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.14", type: LabelWC, isStandalone: true, selector: "app-label-wrapper", viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["templateRef"], descendants: true, isSignal: true }], ngImport: i0, template: "<ng-template #templateRef let-attr=\"attributes\">\n @let title = props$$()['title'];\n @let isEnd = isEnd$$();\n <ng-template #requiredTemplate>\n <span>{{ title }}</span>\n @if (field$$().form.control?.required$$() && !disableRequired$$()) {\n <span class=\"text-error\">*</span>\n }\n </ng-template>\n\n @if (labelInline$$()) {\n <label\n [class]=\"\n attr()?.class\n | mergeClass: (props$$()['floating'] ? ('floating-label' | cssPrefix) : undefined)\n \"\n [attributes]=\"attr()\"\n [excludes]=\"['class']\"\n >\n @if (title && !isEnd) {\n <span class=\"{{ 'label' | cssPrefix }}\">\n <ng-container *ngTemplateOutlet=\"requiredTemplate\"></ng-container\n ></span>\n }\n <ng-container insertField></ng-container>\n @if (title && isEnd) {\n <span class=\"{{ 'label' | cssPrefix }}\"\n ><ng-container *ngTemplateOutlet=\"requiredTemplate\"></ng-container\n ></span>\n }\n </label>\n } @else {\n <div\n [class]=\"layout$$() | twPrefix | mergeClass: attr()?.class\"\n [attributes]=\"attr()\"\n [excludes]=\"['class']\"\n >\n @if (title && !isEnd) {\n <label class=\"{{ 'label' | cssPrefix }}\"\n ><ng-container *ngTemplateOutlet=\"requiredTemplate\"></ng-container\n ></label>\n }\n <ng-container insertField></ng-container>\n @if (title && isEnd) {\n <label class=\"{{ 'label' | cssPrefix }}\"\n ><ng-container *ngTemplateOutlet=\"requiredTemplate\"></ng-container\n ></label>\n }\n </div>\n }\n</ng-template>\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: AttributesDirective, selector: "[attributes]", inputs: ["attributes", "excludes"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: InsertFieldDirective, selector: "[insertField]", exportAs: ["insertField"] }, { kind: "pipe", type: CssPrefixPipe, name: "cssPrefix" }, { kind: "pipe", type: MergeClassPipe, name: "mergeClass" }, { kind: "pipe", type: TwPrefixPipe, name: "twPrefix" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
56
59
  }
57
60
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: LabelWC, decorators: [{
58
61
  type: Component,
@@ -64,7 +67,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImpo
64
67
  MergeClassPipe,
65
68
  TwPrefixPipe,
66
69
  InsertFieldDirective,
67
- ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template #templateRef let-attr=\"attributes\">\n @let title = props$$()['title'];\n @let isEnd = isEnd$$();\n <ng-template #requiredTemplate>\n <span>{{ title }}</span>\n @if (field$$().form.control?.required$$()) {\n <span class=\"text-error\">*</span>\n }\n </ng-template>\n\n @if (labelInline$$()) {\n <label\n [class]=\"\n attr()?.class\n | mergeClass: (props$$()['floating'] ? ('floating-label' | cssPrefix) : undefined)\n \"\n [attributes]=\"attr()\"\n [excludes]=\"['class']\"\n >\n @if (title && !isEnd) {\n <span class=\"{{ 'label' | cssPrefix }}\">\n <ng-container *ngTemplateOutlet=\"requiredTemplate\"></ng-container\n ></span>\n }\n <ng-container insertField></ng-container>\n @if (title && isEnd) {\n <span class=\"{{ 'label' | cssPrefix }}\"\n ><ng-container *ngTemplateOutlet=\"requiredTemplate\"></ng-container\n ></span>\n }\n </label>\n } @else {\n <div\n [class]=\"layout$$() | twPrefix | mergeClass: attr()?.class\"\n [attributes]=\"attr()\"\n [excludes]=\"['class']\"\n >\n @if (title && !isEnd) {\n <label class=\"{{ 'label' | cssPrefix }}\"\n ><ng-container *ngTemplateOutlet=\"requiredTemplate\"></ng-container\n ></label>\n }\n <ng-container insertField></ng-container>\n @if (title && isEnd) {\n <label class=\"{{ 'label' | cssPrefix }}\"\n ><ng-container *ngTemplateOutlet=\"requiredTemplate\"></ng-container\n ></label>\n }\n </div>\n }\n</ng-template>\n" }]
70
+ ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template #templateRef let-attr=\"attributes\">\n @let title = props$$()['title'];\n @let isEnd = isEnd$$();\n <ng-template #requiredTemplate>\n <span>{{ title }}</span>\n @if (field$$().form.control?.required$$() && !disableRequired$$()) {\n <span class=\"text-error\">*</span>\n }\n </ng-template>\n\n @if (labelInline$$()) {\n <label\n [class]=\"\n attr()?.class\n | mergeClass: (props$$()['floating'] ? ('floating-label' | cssPrefix) : undefined)\n \"\n [attributes]=\"attr()\"\n [excludes]=\"['class']\"\n >\n @if (title && !isEnd) {\n <span class=\"{{ 'label' | cssPrefix }}\">\n <ng-container *ngTemplateOutlet=\"requiredTemplate\"></ng-container\n ></span>\n }\n <ng-container insertField></ng-container>\n @if (title && isEnd) {\n <span class=\"{{ 'label' | cssPrefix }}\"\n ><ng-container *ngTemplateOutlet=\"requiredTemplate\"></ng-container\n ></span>\n }\n </label>\n } @else {\n <div\n [class]=\"layout$$() | twPrefix | mergeClass: attr()?.class\"\n [attributes]=\"attr()\"\n [excludes]=\"['class']\"\n >\n @if (title && !isEnd) {\n <label class=\"{{ 'label' | cssPrefix }}\"\n ><ng-container *ngTemplateOutlet=\"requiredTemplate\"></ng-container\n ></label>\n }\n <ng-container insertField></ng-container>\n @if (title && isEnd) {\n <label class=\"{{ 'label' | cssPrefix }}\"\n ><ng-container *ngTemplateOutlet=\"requiredTemplate\"></ng-container\n ></label>\n }\n </div>\n }\n</ng-template>\n" }]
68
71
  }], propDecorators: { templateRef: [{ type: i0.ViewChild, args: ['templateRef', { isSignal: true }] }] } });
69
72
 
70
73
  class LoadingWC {
@@ -1 +1 @@
1
- {"version":3,"file":"piying-lib-angular-daisyui-wrapper.mjs","sources":["../../../projects/daisyui/wrapper/table/td.component.ts","../../../projects/daisyui/wrapper/table/th.component.ts","../../../projects/daisyui/wrapper/label/component.ts","../../../projects/daisyui/wrapper/label/component.html","../../../projects/daisyui/wrapper/loading/component.ts","../../../projects/daisyui/wrapper/loading/component.html","../../../projects/daisyui/wrapper/fieldset/component.ts","../../../projects/daisyui/wrapper/fieldset/component.html","../../../projects/daisyui/wrapper/piying-lib-angular-daisyui-wrapper.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport { InsertFieldDirective } from '@piying/view-angular';\n\n@Component({\n selector: 'td',\n template: '<ng-container insertField></ng-container>',\n imports: [InsertFieldDirective],\n})\nexport class TdWC {}\n","import { Component } from '@angular/core';\nimport { InsertFieldDirective } from '@piying/view-angular';\n\n@Component({\n selector: 'th',\n template: '<ng-container insertField></ng-container>',\n imports: [InsertFieldDirective],\n})\nexport class ThWC {}\n","import { ChangeDetectionStrategy, Component, computed, inject, viewChild } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport {\n AttributesDirective,\n InsertFieldDirective,\n PI_VIEW_FIELD_TOKEN,\n} from '@piying/view-angular';\n\nimport { NgTemplateOutlet } from '@angular/common';\nimport { CssPrefixPipe, MergeClassPipe, TwPrefixPipe } from '@piying-lib/angular-daisyui/pipe';\n@Component({\n selector: 'app-label-wrapper',\n templateUrl: './component.html',\n imports: [\n FormsModule,\n AttributesDirective,\n NgTemplateOutlet,\n CssPrefixPipe,\n MergeClassPipe,\n TwPrefixPipe,\n InsertFieldDirective,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class LabelWC {\n static __version = 2;\n templateRef = viewChild.required('templateRef');\n field$$ = inject(PI_VIEW_FIELD_TOKEN);\n props$$ = computed(() => this.field$$().props());\n labelInline$$ = computed(() => {\n return this.props$$()['labelInline'] ?? false;\n });\n labelPosition$$ = computed(() => {\n return this.props$$()['labelPosition'] ?? 'top';\n });\n isEnd$$ = computed(() => {\n const direction = this.labelPosition$$();\n return direction === 'bottom' || direction === 'end';\n });\n layout$$ = computed(() => {\n const direction = this.labelPosition$$();\n return direction === 'top' || direction === 'bottom' ? 'flex flex-col' : 'flex';\n });\n}\n","<ng-template #templateRef let-attr=\"attributes\">\n @let title = props$$()['title'];\n @let isEnd = isEnd$$();\n <ng-template #requiredTemplate>\n <span>{{ title }}</span>\n @if (field$$().form.control?.required$$()) {\n <span class=\"text-error\">*</span>\n }\n </ng-template>\n\n @if (labelInline$$()) {\n <label\n [class]=\"\n attr()?.class\n | mergeClass: (props$$()['floating'] ? ('floating-label' | cssPrefix) : undefined)\n \"\n [attributes]=\"attr()\"\n [excludes]=\"['class']\"\n >\n @if (title && !isEnd) {\n <span class=\"{{ 'label' | cssPrefix }}\">\n <ng-container *ngTemplateOutlet=\"requiredTemplate\"></ng-container\n ></span>\n }\n <ng-container insertField></ng-container>\n @if (title && isEnd) {\n <span class=\"{{ 'label' | cssPrefix }}\"\n ><ng-container *ngTemplateOutlet=\"requiredTemplate\"></ng-container\n ></span>\n }\n </label>\n } @else {\n <div\n [class]=\"layout$$() | twPrefix | mergeClass: attr()?.class\"\n [attributes]=\"attr()\"\n [excludes]=\"['class']\"\n >\n @if (title && !isEnd) {\n <label class=\"{{ 'label' | cssPrefix }}\"\n ><ng-container *ngTemplateOutlet=\"requiredTemplate\"></ng-container\n ></label>\n }\n <ng-container insertField></ng-container>\n @if (title && isEnd) {\n <label class=\"{{ 'label' | cssPrefix }}\"\n ><ng-container *ngTemplateOutlet=\"requiredTemplate\"></ng-container\n ></label>\n }\n </div>\n }\n</ng-template>\n","import { ChangeDetectionStrategy, Component, computed, inject, viewChild } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { InsertFieldDirective, PI_VIEW_FIELD_TOKEN } from '@piying/view-angular';\n\nimport { CssPrefixPipe, MergeClassPipe, TwPrefixPipe } from '@piying-lib/angular-daisyui/pipe';\nimport { Size } from '@piying-lib/angular-core';\nimport { ThemeService } from '@piying-lib/angular-daisyui/service';\nexport interface LoadingOptions {\n type?: 'spinner' | 'dots' | 'ring' | 'ball' | 'bars' | 'infinity';\n size?: Size;\n}\n@Component({\n selector: 'app-loading-wrapper',\n templateUrl: './component.html',\n imports: [FormsModule, MergeClassPipe, TwPrefixPipe, InsertFieldDirective, CssPrefixPipe],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class LoadingWC {\n static __version = 2;\n templateRef = viewChild.required('templateRef');\n field$$ = inject(PI_VIEW_FIELD_TOKEN);\n props$$ = computed(() => this.field$$().props());\n\n loadingOptions$$ = computed(() => {\n const props = this.props$$();\n return (props['loading'] ?? {}) as LoadingOptions;\n });\n isLoading$$ = computed(() => {\n const props = this.props$$();\n return props['isLoading'] as boolean;\n });\n\n #theme = inject(ThemeService);\n\n wrapperClass$$ = computed(() => {\n const { size, type } = this.loadingOptions$$();\n return this.#theme.setClass(\n this.#theme.setSize('loading', size),\n type ? this.#theme.addPrefix(`loading-${type}`) : undefined,\n );\n });\n}\n","<ng-template #templateRef let-attr=\"attributes\">\n <div [class]=\"'relative' | twPrefix | mergeClass: attr()?.class\">\n <ng-container insertField></ng-container>\n @if (isLoading$$()) {\n <div\n class=\"absolute top-0 bottom-0 left-0 right-0 flex items-center justify-center bg-base-200/70\"\n >\n <span [class]=\"'loading' | cssPrefix | mergeClass: wrapperClass$$()\"></span>\n </div>\n }\n </div>\n</ng-template>\n","import { ChangeDetectionStrategy, Component, computed, inject, viewChild } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport {\n AttributesDirective,\n InsertFieldDirective,\n PI_VIEW_FIELD_TOKEN,\n} from '@piying/view-angular';\n\nimport { CssPrefixPipe, MergeClassPipe } from '@piying-lib/angular-daisyui/pipe';\n@Component({\n selector: 'app-fieldset-wrapper',\n templateUrl: './component.html',\n imports: [FormsModule, AttributesDirective, CssPrefixPipe, MergeClassPipe, InsertFieldDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FieldsetWC {\n static __version = 2;\n templateRef = viewChild.required('templateRef');\n field$$ = inject(PI_VIEW_FIELD_TOKEN);\n props$$ = computed(() => this.field$$().props());\n}\n","<ng-template #templateRef let-attr=\"attributes\">\n <fieldset\n [attributes]=\"attr()\"\n [excludes]=\"['class']\"\n [class]=\"'fieldset' | cssPrefix | mergeClass: attr()?.class\"\n >\n <legend [class]=\"'fieldset-legend' | cssPrefix\">{{ props$$()['title'] }}</legend>\n\n <ng-container insertField></ng-container>\n </fieldset>\n</ng-template>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MAQa,IAAI,CAAA;wGAAJ,IAAI,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAAJ,IAAI,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAHL,2CAA2C,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,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["../../../projects/daisyui/wrapper/table/td.component.ts","../../../projects/daisyui/wrapper/table/th.component.ts","../../../projects/daisyui/wrapper/label/component.ts","../../../projects/daisyui/wrapper/label/component.html","../../../projects/daisyui/wrapper/loading/component.ts","../../../projects/daisyui/wrapper/loading/component.html","../../../projects/daisyui/wrapper/fieldset/component.ts","../../../projects/daisyui/wrapper/fieldset/component.html","../../../projects/daisyui/wrapper/piying-lib-angular-daisyui-wrapper.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport { InsertFieldDirective } from '@piying/view-angular';\n\n@Component({\n selector: 'td',\n template: '<ng-container insertField></ng-container>',\n imports: [InsertFieldDirective],\n})\nexport class TdWC {}\n","import { Component } from '@angular/core';\nimport { InsertFieldDirective } from '@piying/view-angular';\n\n@Component({\n selector: 'th',\n template: '<ng-container insertField></ng-container>',\n imports: [InsertFieldDirective],\n})\nexport class ThWC {}\n","import { ChangeDetectionStrategy, Component, computed, inject, viewChild } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport {\n AttributesDirective,\n InsertFieldDirective,\n PI_VIEW_FIELD_TOKEN,\n} from '@piying/view-angular';\n\nimport { NgTemplateOutlet } from '@angular/common';\nimport { CssPrefixPipe, MergeClassPipe, TwPrefixPipe } from '@piying-lib/angular-daisyui/pipe';\n@Component({\n selector: 'app-label-wrapper',\n templateUrl: './component.html',\n imports: [\n FormsModule,\n AttributesDirective,\n NgTemplateOutlet,\n CssPrefixPipe,\n MergeClassPipe,\n TwPrefixPipe,\n InsertFieldDirective,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class LabelWC {\n static __version = 2;\n templateRef = viewChild.required('templateRef');\n field$$ = inject(PI_VIEW_FIELD_TOKEN);\n props$$ = computed(() => this.field$$().props());\n labelInline$$ = computed(() => {\n return this.props$$()['labelInline'] ?? false;\n });\n labelPosition$$ = computed(() => {\n return this.props$$()['labelPosition'] ?? 'top';\n });\n isEnd$$ = computed(() => {\n const direction = this.labelPosition$$();\n return direction === 'bottom' || direction === 'end';\n });\n layout$$ = computed(() => {\n const direction = this.labelPosition$$();\n return direction === 'top' || direction === 'bottom' ? 'flex flex-col' : 'flex';\n });\n disableRequired$$ = computed(() => {\n return this.props$$()['disableRequired'] ?? false;\n });\n}\n","<ng-template #templateRef let-attr=\"attributes\">\n @let title = props$$()['title'];\n @let isEnd = isEnd$$();\n <ng-template #requiredTemplate>\n <span>{{ title }}</span>\n @if (field$$().form.control?.required$$() && !disableRequired$$()) {\n <span class=\"text-error\">*</span>\n }\n </ng-template>\n\n @if (labelInline$$()) {\n <label\n [class]=\"\n attr()?.class\n | mergeClass: (props$$()['floating'] ? ('floating-label' | cssPrefix) : undefined)\n \"\n [attributes]=\"attr()\"\n [excludes]=\"['class']\"\n >\n @if (title && !isEnd) {\n <span class=\"{{ 'label' | cssPrefix }}\">\n <ng-container *ngTemplateOutlet=\"requiredTemplate\"></ng-container\n ></span>\n }\n <ng-container insertField></ng-container>\n @if (title && isEnd) {\n <span class=\"{{ 'label' | cssPrefix }}\"\n ><ng-container *ngTemplateOutlet=\"requiredTemplate\"></ng-container\n ></span>\n }\n </label>\n } @else {\n <div\n [class]=\"layout$$() | twPrefix | mergeClass: attr()?.class\"\n [attributes]=\"attr()\"\n [excludes]=\"['class']\"\n >\n @if (title && !isEnd) {\n <label class=\"{{ 'label' | cssPrefix }}\"\n ><ng-container *ngTemplateOutlet=\"requiredTemplate\"></ng-container\n ></label>\n }\n <ng-container insertField></ng-container>\n @if (title && isEnd) {\n <label class=\"{{ 'label' | cssPrefix }}\"\n ><ng-container *ngTemplateOutlet=\"requiredTemplate\"></ng-container\n ></label>\n }\n </div>\n }\n</ng-template>\n","import { ChangeDetectionStrategy, Component, computed, inject, viewChild } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { InsertFieldDirective, PI_VIEW_FIELD_TOKEN } from '@piying/view-angular';\n\nimport { CssPrefixPipe, MergeClassPipe, TwPrefixPipe } from '@piying-lib/angular-daisyui/pipe';\nimport { Size } from '@piying-lib/angular-core';\nimport { ThemeService } from '@piying-lib/angular-daisyui/service';\nexport interface LoadingOptions {\n type?: 'spinner' | 'dots' | 'ring' | 'ball' | 'bars' | 'infinity';\n size?: Size;\n}\n@Component({\n selector: 'app-loading-wrapper',\n templateUrl: './component.html',\n imports: [FormsModule, MergeClassPipe, TwPrefixPipe, InsertFieldDirective, CssPrefixPipe],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class LoadingWC {\n static __version = 2;\n templateRef = viewChild.required('templateRef');\n field$$ = inject(PI_VIEW_FIELD_TOKEN);\n props$$ = computed(() => this.field$$().props());\n\n loadingOptions$$ = computed(() => {\n const props = this.props$$();\n return (props['loading'] ?? {}) as LoadingOptions;\n });\n isLoading$$ = computed(() => {\n const props = this.props$$();\n return props['isLoading'] as boolean;\n });\n\n #theme = inject(ThemeService);\n\n wrapperClass$$ = computed(() => {\n const { size, type } = this.loadingOptions$$();\n return this.#theme.setClass(\n this.#theme.setSize('loading', size),\n type ? this.#theme.addPrefix(`loading-${type}`) : undefined,\n );\n });\n}\n","<ng-template #templateRef let-attr=\"attributes\">\n <div [class]=\"'relative' | twPrefix | mergeClass: attr()?.class\">\n <ng-container insertField></ng-container>\n @if (isLoading$$()) {\n <div\n class=\"absolute top-0 bottom-0 left-0 right-0 flex items-center justify-center bg-base-200/70\"\n >\n <span [class]=\"'loading' | cssPrefix | mergeClass: wrapperClass$$()\"></span>\n </div>\n }\n </div>\n</ng-template>\n","import { ChangeDetectionStrategy, Component, computed, inject, viewChild } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport {\n AttributesDirective,\n InsertFieldDirective,\n PI_VIEW_FIELD_TOKEN,\n} from '@piying/view-angular';\n\nimport { CssPrefixPipe, MergeClassPipe } from '@piying-lib/angular-daisyui/pipe';\n@Component({\n selector: 'app-fieldset-wrapper',\n templateUrl: './component.html',\n imports: [FormsModule, AttributesDirective, CssPrefixPipe, MergeClassPipe, InsertFieldDirective],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FieldsetWC {\n static __version = 2;\n templateRef = viewChild.required('templateRef');\n field$$ = inject(PI_VIEW_FIELD_TOKEN);\n props$$ = computed(() => this.field$$().props());\n}\n","<ng-template #templateRef let-attr=\"attributes\">\n <fieldset\n [attributes]=\"attr()\"\n [excludes]=\"['class']\"\n [class]=\"'fieldset' | cssPrefix | mergeClass: attr()?.class\"\n >\n <legend [class]=\"'fieldset-legend' | cssPrefix\">{{ props$$()['title'] }}</legend>\n\n <ng-container insertField></ng-container>\n </fieldset>\n</ng-template>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MAQa,IAAI,CAAA;wGAAJ,IAAI,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAAJ,IAAI,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAHL,2CAA2C,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAC3C,oBAAoB,EAAA,QAAA,EAAA,eAAA,EAAA,QAAA,EAAA,CAAA,aAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;4FAEnB,IAAI,EAAA,UAAA,EAAA,CAAA;kBALhB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,IAAI;AACd,oBAAA,QAAQ,EAAE,2CAA2C;oBACrD,OAAO,EAAE,CAAC,oBAAoB,CAAC;AAChC,iBAAA;;;MCCY,IAAI,CAAA;wGAAJ,IAAI,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAAJ,IAAI,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,QAAA,EAAA,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AA,YAAA,EAAA,UAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAiC,oBAAoB,EAAA,QAAA,EAAA,eAAA,EAAA,QAAA,EAAA,CAAA,aAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAnD,aAAa,EAAA,IAAA,EAAA,WAAA,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAE,cAAc,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FAG9D,UAAU,EAAA,UAAA,EAAA,CAAA;kBANtB,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,sBAAsB,EAAA,OAAA,EAEvB,CAAC,WAAW,EAAE,mBAAmB,EAAE,aAAa,EAAE,cAAc,EAAE,oBAAoB,CAAC,EAAA,eAAA,EAC/E,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,gXAAA,EAAA;yEAId,aAAa,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AEjBhD;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@piying-lib/angular-daisyui",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=20.3.0",
6
6
  "@angular/core": ">=20.3.0",
@@ -9,7 +9,7 @@
9
9
  },
10
10
  "dependencies": {
11
11
  "tslib": "^2.3.0",
12
- "@piying-lib/angular-core": "^1.1.4"
12
+ "@piying-lib/angular-core": "^1.1.5"
13
13
  },
14
14
  "sideEffects": false,
15
15
  "module": "fesm2022/piying-lib-angular-daisyui.mjs",
@@ -21,6 +21,7 @@ declare class LabelWC {
21
21
  labelPosition$$: _angular_core.Signal<any>;
22
22
  isEnd$$: _angular_core.Signal<boolean>;
23
23
  layout$$: _angular_core.Signal<"flex flex-col" | "flex">;
24
+ disableRequired$$: _angular_core.Signal<any>;
24
25
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<LabelWC, never>;
25
26
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<LabelWC, "app-label-wrapper", never, {}, {}, never, never, true, never>;
26
27
  }