@acorex/components 18.8.8 → 18.8.9
Sign up to get free protection for your applications and to get access to all the features.
@@ -114,7 +114,7 @@ export class AXFormFieldComponent extends MXBaseComponent {
|
|
114
114
|
get __hostClass() {
|
115
115
|
let hasValue;
|
116
116
|
if (this.input) {
|
117
|
-
if (this.input instanceof AXSelectBoxComponent) {
|
117
|
+
if (this.input instanceof AXSelectBoxComponent && this.input.multiple) {
|
118
118
|
hasValue = this.input.value?.length;
|
119
119
|
}
|
120
120
|
else {
|
@@ -139,4 +139,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
139
139
|
type: HostBinding,
|
140
140
|
args: ['class']
|
141
141
|
}] } });
|
142
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvZm9ybS9zcmMvbGliL2Zvcm0tZmllbGQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxlQUFlLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUNqRixPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUM1RCxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUNyRSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFDcEQsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsWUFBWSxFQUNaLFdBQVcsRUFDWCxnQkFBZ0IsRUFDaEIsaUJBQWlCLEVBRWpCLGVBQWUsRUFDZixNQUFNLEVBQ04sTUFBTSxFQUNOLEtBQUssRUFDTCxNQUFNLEdB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xzZSB7XG4gICAgICAgIGhhc1ZhbHVlID0gdGhpcy5pbnB1dC52YWx1ZTtcbiAgICAgIH1cbiAgICB9XG4gICAgcmV0dXJuIFtgYXgtc3RhdGUtJHt0aGlzLl9sYWJlbE1vZGUoKX0tbGFiZWxgLCBgJHtoYXNWYWx1ZSA/ICdheC1zdGF0ZS1oYXMtdmFsdWUnIDogJyd9YF07XG4gIH1cbn1cbiJdfQ==
|
@@ -307,7 +307,7 @@ class AXFormFieldComponent extends MXBaseComponent {
|
|
307
307
|
get __hostClass() {
|
308
308
|
let hasValue;
|
309
309
|
if (this.input) {
|
310
|
-
if (this.input instanceof AXSelectBoxComponent) {
|
310
|
+
if (this.input instanceof AXSelectBoxComponent && this.input.multiple) {
|
311
311
|
hasValue = this.input.value?.length;
|
312
312
|
}
|
313
313
|
else {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"acorex-components-form.mjs","sources":["../../../../libs/components/form/src/lib/form.component.ts","../../../../libs/components/form/src/lib/form-field.component.ts","../../../../libs/components/form/src/lib/form.config.ts","../../../../libs/components/form/src/lib/validation-rule.directive.ts","../../../../libs/components/form/src/lib/validation-summary.component.ts","../../../../libs/components/form/src/lib/form.module.ts","../../../../libs/components/form/src/acorex-components-form.ts"],"sourcesContent":["import { AXEvent, AXValuableComponent, MXBaseComponent } from '@acorex/components/common';\nimport { AXValidationSummary } from '@acorex/core/validation';\nimport {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n Input,\n InputSignal,\n OnDestroy,\n Output,\n ViewEncapsulation,\n input,\n} from '@angular/core';\nimport { Subscription } from 'rxjs';\n\n/**\n * Contains native event\n * @category Events\n */\nexport class AXFormValidationEvent extends AXEvent {\n result: AXValidationSummary;\n}\n\n/**\n * Contains native event\n * @category Events\n */\nexport type AXFormUpdateOn = 'change' | 'blur' | 'submit';\nexport type AXFormMessageStyle = 'bottom' | 'float';\nexport type AXLabelMode = 'static' | 'floating' | 'over';\n\n/**\n * The AXForm is a component which detects user interaction and triggers a corresponding event\n *\n * @category Components\n */\n@Component({\n selector: 'ax-form',\n template: `<form (submit)=\"_handleSubmit($event)\" (reset)=\"_handleReset()\" class=\"ax-{{ messageStyle() }}-error\">\n <ng-content></ng-content>\n </form>`,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXFormComponent extends MXBaseComponent implements OnDestroy {\n /**\n * Specifies the mode of the label in the form field.\n * @defaultValue 'static'\n */\n labelMode = input<AXLabelMode>('static');\n\n /**\n * Determines the style of the message in the form field.\n * @defaultValue 'bottom'\n */\n messageStyle: InputSignal<AXFormMessageStyle> = input<AXFormMessageStyle>('bottom');\n\n /**\n * Emitted when the form is validated.\n *\n * @event\n */\n @Output()\n onValidate: EventEmitter<AXFormValidationEvent> = new EventEmitter<AXFormValidationEvent>();\n\n /**\n * Emitted when the form's update mode changes.\n *\n * @event\n */\n @Output()\n updateOnChange: EventEmitter<AXFormUpdateOn> = new EventEmitter<AXFormUpdateOn>();\n\n /**\n * @ignore\n */\n private _updateOn: AXFormUpdateOn = 'blur';\n\n /**\n * Determines when the form should be updated.\n */\n @Input()\n public get updateOn(): AXFormUpdateOn {\n return this._updateOn;\n }\n\n /**\n * Sets the criteria for when the form should be updated.\n * @param v The criteria to set (e.g., 'change', 'blur').\n */\n public set updateOn(v: AXFormUpdateOn) {\n this.setOption({\n name: 'updateOn',\n value: v,\n afterCallback: () => {\n //this._bindEvents();\n },\n });\n }\n\n /**\n * @ignore\n */\n private _subs: Subscription[] = [];\n\n /**\n * @ignore\n */\n protected async _handleSubmit(e: SubmitEvent) {\n e.preventDefault();\n await this.validate();\n }\n\n /**\n * @ignore\n */\n protected _handleReset() {\n this.reset();\n }\n\n /**\n * @ignore\n */\n constructor() {\n super();\n }\n\n //TODO: check update on\n\n // ngAfterViewInit(): void {\n // //this._bindEvents();\n // }\n\n // private _bindEvents() {\n // this._clearSubs();\n // const widgets = this._getComponenets();\n // //\n // widgets.forEach((w) => {\n // if (this.updateOn == 'change') {\n // this._subs.push(\n // w.onValueChanged?.subscribe((v: AXValueChangedEvent) => {\n // if (v.isUserInteraction) w.validate();\n // }),\n // );\n // } else if (this.updateOn == 'blur') {\n // this._subs.push(\n // w.onBlur?.subscribe((v) => {\n // w.validate();\n // }),\n // );\n // }\n // });\n // }\n\n /**\n * @ignore\n */\n private _clearSubs() {\n this._subs.forEach((c) => c?.unsubscribe());\n this._subs = [];\n }\n\n /**\n * @ignore\n */\n private get fields(): AXValuableComponent[] {\n return Array.from(this.getHostElement().querySelectorAll('[ax-form-item=\"true\"]'))\n .map((c) => (c as any).__axContext__)\n .filter((c) => c != null);\n }\n\n async validate(...names: string[]): Promise<AXValidationSummary> {\n const results = await Promise.all(\n this.fields.filter((c) => names == null || names.length == 0 || names.includes(c.name)).map((field) => field.validate()),\n );\n // Merge all validation summaries into one\n const mergedSummary: AXValidationSummary = {\n result: results.every((res) => res.result),\n rules: results.flatMap((res) => res.rules),\n };\n this._emitOnValidateEvent(mergedSummary);\n return mergedSummary;\n }\n\n /**\n * @ignore\n */\n private _emitOnValidateEvent(e: AXValidationSummary) {\n this.onValidate.emit({\n component: this,\n result: e,\n htmlElement: this.getHostElement(),\n });\n }\n\n /**\n * Resets all form fields without clearing errors.\n */\n reset() {\n this.fields.forEach((c) => c.reset(false));\n }\n\n /**\n * Resets validation errors for all form fields.\n */\n resetErrors() {\n this.fields.forEach((c) => c.resetErrors());\n }\n\n /**\n * @ignore\n */\n ngOnDestroy(): void {\n this._clearSubs();\n }\n}\n","import { AXValuableComponent, MXBaseComponent } from '@acorex/components/common';\nimport { AXLabelComponent } from '@acorex/components/label';\nimport { AXSelectBoxComponent } from '@acorex/components/select-box';\nimport { AXUnsubscriber } from '@acorex/core/utils';\nimport {\n ChangeDetectionStrategy,\n Component,\n ContentChild,\n HostBinding,\n ViewContainerRef,\n ViewEncapsulation,\n WritableSignal,\n afterNextRender,\n effect,\n inject,\n input,\n signal,\n} from '@angular/core';\nimport { Subject } from 'rxjs';\nimport { AXFormComponent, AXLabelMode } from './form.component';\n\n/**\n * A container component for form fields that provides styling and structure.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-form-field',\n template: `<ng-content></ng-content>`,\n styleUrls: ['./form-field.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [AXUnsubscriber],\n})\nexport class AXFormFieldComponent extends MXBaseComponent {\n /**\n * Specifies the mode of the label in the form field.\n * @defaultValue 'static'\n */\n labelMode = input<AXLabelMode>('static');\n\n /**\n * @ignore\n */\n protected _labelMode: WritableSignal<AXLabelMode> = signal(this.labelMode());\n\n private unsubscriber = inject(AXUnsubscriber);\n\n\n @ContentChild(AXValuableComponent)\n private input: AXValuableComponent;\n\n /**\n * @ignore\n */\n @ContentChild(AXLabelComponent)\n private label: AXLabelComponent;\n\n form = inject(AXFormComponent, { optional: true });\n\n host = inject(ViewContainerRef);\n\n /**\n * @ignore\n */\n prefix: HTMLElement;\n\n /**\n * @ignore\n */\n constructor() {\n super();\n\n afterNextRender(() => {\n this.calcIndentSize();\n this.setRequired();\n this.setLabelMode();\n this.listeningEvent();\n });\n\n effect(\n () => {\n this.setLabelMode();\n },\n { allowSignalWrites: true },\n );\n }\n\n /**\n * Calculates and sets the indentation size for the label based on the width of the prefix element.\n * @ignore\n */\n calcIndentSize() {\n const prefix = (this.input as any)?.getHostElement()?.querySelector('ax-prefix') as HTMLElement;\n if (prefix) {\n this.label.getHostElement().style.insetInlineStart = prefix?.clientWidth + 'px';\n }\n }\n\n /**\n * Sets the required attribute for the input field based on validation rules.\n * Automatically updates if validation rules change.\n * @ignore\n */\n setRequired() {\n this.autoSetRequired();\n this.input?.validationRulesChange.pipe(this.unsubscriber.takeUntilDestroy).subscribe(() => {\n this.autoSetRequired();\n });\n }\n /**\n * Sets the label mode based on the form's label mode configuration.\n * @ignore\n */\n setLabelMode() {\n this._labelMode.set(this.form?.labelMode());\n }\n\n /**\n * Subscribes to focus and blur events on the input element.\n * Adds or removes the 'ax-state-focused' class to/from the host element based on the focus state.\n * @ignone\n */\n listeningEvent() {\n const focusEvent = this.input?.['onFocus'] as Subject<any>;\n focusEvent?.subscribe((e) => {\n // this.handleFloating('focus');\n this.host.element.nativeElement.classList.add('ax-state-focused');\n });\n //\n const blurEvent = this.input?.['onBlur'] as Subject<any>;\n blurEvent?.subscribe((e) => {\n // this.handleFloating('blur');\n this.host.element.nativeElement.classList.remove('ax-state-focused');\n });\n }\n // protected handleFloating(mode: 'focus' | 'blur') {\n // const _host = this.host.element.nativeElement as HTMLElement;\n // const placeholder = this.input;\n\n // switch (mode) {\n // case 'focus':\n // _host.classList.add('ax-state-floating');\n // this.label.getHostElement().style.insetInlineStart = 'inherit';\n\n // break;\n // case 'blur':\n // _host.classList.remove('ax-state-floating');\n\n // break;\n // }\n // }\n\n /**\n * @ignore\n */\n private autoSetRequired() {\n if (this.label && this.input) {\n if (this.label.required == null || this.label['autoSetRequired']) {\n this.label.required = this.input.isRequired;\n this.label['autoSetRequired'] = true;\n }\n }\n }\n\n /**\n * @ignore\n */\n @HostBinding('class')\n get __hostClass(): string[] {\n let hasValue;\n if (this.input) {\n if (this.input instanceof AXSelectBoxComponent) {\n hasValue = (this.input as any).value?.length;\n } else {\n hasValue = this.input.value;\n }\n }\n return [`ax-state-${this._labelMode()}-label`, `${hasValue ? 'ax-state-has-value' : ''}`];\n }\n}\n","import { InjectionToken } from '@angular/core';\n\nexport interface AXFormConfig {}\n\nexport const AX_FORM_CONFIG = new InjectionToken<AXFormConfig>('AX_FORM_CONFIG', {\n providedIn: 'root',\n factory: () => {\n return AXFormDefaultConfig;\n },\n});\n\nexport const AXFormDefaultConfig: AXFormConfig = {};\n\nexport type PartialFormConfig = Partial<AXFormConfig>;\n\nexport function formConfig(config: PartialFormConfig = {}): AXFormConfig {\n const result = {\n ...AXFormDefaultConfig,\n ...config,\n };\n return result;\n}\n","import { AXValuableComponent } from '@acorex/components/common';\nimport { AXValidationRuleOptions } from '@acorex/core/validation';\nimport { Directive, Input, OnDestroy, OnInit } from '@angular/core';\n\n@Directive({\n selector: 'ax-validation-rule',\n})\nexport class AXValidationRuleDirective implements OnInit, OnDestroy {\n @Input() rule: string;\n @Input() options: Omit<AXValidationRuleOptions, 'message'>;\n @Input() message: string;\n\n constructor(private host: AXValuableComponent) {}\n\n ngOnInit() {\n this.host.addValidationRule({ rule: this.rule, options: this.ruleOptions });\n }\n\n ngOnDestroy() {\n this.host.removeValidationRule({\n rule: this.rule,\n options: this.ruleOptions,\n });\n }\n\n private get ruleOptions(): AXValidationRuleOptions {\n return Object.assign({ message: this.message, name: this.host.name }, this.options);\n }\n}\n","import { MXBaseComponent } from '@acorex/components/common';\nimport { AXToastService } from '@acorex/components/toast';\nimport { translateSync } from '@acorex/core/translation';\nimport { ChangeDetectionStrategy, Component, Inject, Input, OnDestroy, Optional, ViewEncapsulation } from '@angular/core';\nimport { Subscription } from 'rxjs';\nimport { AXFormComponent, AXFormValidationEvent } from './form.component';\n\nexport type AXValidationSummaryDisplayMode = 'toast' | 'alert';\n\n/**\n * Displays validation summaries in the form of an alert.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-validation-summary',\n template: `\n @if (displayMode === 'alert' && _content) {\n <ax-alert color=\"danger\" [timeOut]=\"_timeOut\" #a (onClosed)=\"_handleOnDismissed()\">\n <ax-icon></ax-icon>\n <ax-title>{{ title | translate | async }}</ax-title>\n <ax-content>\n <div [innerHTML]=\"_content\"></div>\n </ax-content>\n <ax-footer>\n <ax-suffix>\n <ax-button text=\"Dismiss\" (onClick)=\"a.close()\"></ax-button>\n </ax-suffix>\n </ax-footer>\n </ax-alert>\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXValidationSummaryComponent extends MXBaseComponent implements OnDestroy {\n /**\n * @ignore\n */\n protected _content?: string = null;\n\n /**\n * @ignore\n */\n private _title = 'validation.messages.title';\n\n /**\n * The title of the validation summary alert.\n */\n @Input()\n public get title(): string {\n return this._title;\n }\n\n /**\n * Sets the title of the validation summary alert.\n *\n * @param v The title to be set.\n */\n public set title(v: string) {\n this._title = v;\n }\n\n /**\n * Specifies the display mode for the validation summary.\n *\n * @defaultValue 'toast'\n */\n @Input()\n displayMode: AXValidationSummaryDisplayMode = 'toast';\n\n /**\n * Specifies the time in milliseconds before the validation summary automatically hides.\n */\n @Input()\n timeOut?: number;\n\n /**\n * Determines whether the validation summary should automatically hide after a specified time.\n * @defaultValue false\n */\n @Input()\n autoHide = false;\n\n /**\n * @ignore\n */\n protected _timeOut: number;\n\n /**\n * @ignore\n */\n private sub: Subscription;\n\n /**\n * @ignore\n */\n constructor(\n private _tosatService: AXToastService,\n @Optional()\n @Inject(AXFormComponent)\n private host: AXFormComponent,\n ) {\n super();\n //\n this.sub = host.onValidate.subscribe((e: AXFormValidationEvent) => {\n if (e.result.result) {\n this._content = null;\n } else {\n const failedRules = e.result.rules.filter((c) => !c.result && c.message);\n\n this._content = `<ul>${failedRules.map((c) => this.formatRule({ title: c['title'] as string, message: c.message })).join('')}</ul>`;\n this._timeOut = this.autoHide ? this.timeOut ?? Math.max(failedRules.length * 1000, 2000) : 0;\n\n if (this.displayMode == 'toast') {\n this._tosatService.show({\n color: 'danger',\n closeButton: true,\n timeOut: this._timeOut,\n timeOutProgress: true,\n content: this._content,\n title: translateSync(this.title),\n location: 'bottom-center',\n });\n }\n }\n this.cdr.markForCheck();\n });\n }\n\n /**\n * @ignore\n */\n private formatRule(rule: { title?: string; message: string }): string {\n return rule.title ? `<li><b>${rule.title}:</b> ${rule.message}</li>` : `<li>${rule.message}</li>`;\n }\n\n /**\n * @ignore\n */\n protected _handleOnDismissed() {\n this._content = null;\n }\n\n /**\n * @ignore\n */\n ngOnDestroy() {\n this.sub?.unsubscribe();\n }\n}\n","import { AXAlertModule } from '@acorex/components/alert';\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { AXValidationModule } from '@acorex/core/validation';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXFormFieldComponent } from './form-field.component';\nimport { AXFormComponent } from './form.component';\nimport { AXValidationRuleDirective } from './validation-rule.directive';\nimport { AXValidationSummaryComponent } from './validation-summary.component';\n\n@NgModule({\n declarations: [AXFormFieldComponent, AXFormComponent, AXValidationRuleDirective, AXValidationSummaryComponent],\n imports: [CommonModule, AXDecoratorModule, AXAlertModule, AXButtonModule, AXValidationModule, AXTranslationModule],\n exports: [AXFormFieldComponent, AXFormComponent, AXValidationRuleDirective, AXValidationSummaryComponent],\n providers: [],\n})\nexport class AXFormModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAeA;;;AAGG;AACG,MAAO,qBAAsB,SAAQ,OAAO,CAAA;AAEjD,CAAA;AAUD;;;;AAIG;AASG,MAAO,eAAgB,SAAQ,eAAe,CAAA;AAkClD;;AAEG;AACH,IAAA,IACW,QAAQ,GAAA;QACjB,OAAO,IAAI,CAAC,SAAS,CAAC;KACvB;AAED;;;AAGG;IACH,IAAW,QAAQ,CAAC,CAAiB,EAAA;QACnC,IAAI,CAAC,SAAS,CAAC;AACb,YAAA,IAAI,EAAE,UAAU;AAChB,YAAA,KAAK,EAAE,CAAC;YACR,aAAa,EAAE,MAAK;;aAEnB;AACF,SAAA,CAAC,CAAC;KACJ;AAOD;;AAEG;IACO,MAAM,aAAa,CAAC,CAAc,EAAA;QAC1C,CAAC,CAAC,cAAc,EAAE,CAAC;AACnB,QAAA,MAAM,IAAI,CAAC,QAAQ,EAAE,CAAC;KACvB;AAED;;AAEG;IACO,YAAY,GAAA;QACpB,IAAI,CAAC,KAAK,EAAE,CAAC;KACd;AAED;;AAEG;AACH,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE,CAAC;AA/EV;;;AAGG;AACH,QAAA,I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a,EAAE,cAAc,EAAE,kBAAkB,EAAE,mBAAmB,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAItG,YAAY,EAAA,UAAA,EAAA,CAAA;kBANxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,oBAAoB,EAAE,eAAe,EAAE,yBAAyB,EAAE,4BAA4B,CAAC;AAC9G,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,iBAAiB,EAAE,aAAa,EAAE,cAAc,EAAE,kBAAkB,EAAE,mBAAmB,CAAC;oBAClH,OAAO,EAAE,CAAC,oBAAoB,EAAE,eAAe,EAAE,yBAAyB,EAAE,4BAA4B,CAAC;AACzG,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA,CAAA;;;ACjBD;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"acorex-components-form.mjs","sources":["../../../../libs/components/form/src/lib/form.component.ts","../../../../libs/components/form/src/lib/form-field.component.ts","../../../../libs/components/form/src/lib/form.config.ts","../../../../libs/components/form/src/lib/validation-rule.directive.ts","../../../../libs/components/form/src/lib/validation-summary.component.ts","../../../../libs/components/form/src/lib/form.module.ts","../../../../libs/components/form/src/acorex-components-form.ts"],"sourcesContent":["import { AXEvent, AXValuableComponent, MXBaseComponent } from '@acorex/components/common';\nimport { AXValidationSummary } from '@acorex/core/validation';\nimport {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n Input,\n InputSignal,\n OnDestroy,\n Output,\n ViewEncapsulation,\n input,\n} from '@angular/core';\nimport { Subscription } from 'rxjs';\n\n/**\n * Contains native event\n * @category Events\n */\nexport class AXFormValidationEvent extends AXEvent {\n result: AXValidationSummary;\n}\n\n/**\n * Contains native event\n * @category Events\n */\nexport type AXFormUpdateOn = 'change' | 'blur' | 'submit';\nexport type AXFormMessageStyle = 'bottom' | 'float';\nexport type AXLabelMode = 'static' | 'floating' | 'over';\n\n/**\n * The AXForm is a component which detects user interaction and triggers a corresponding event\n *\n * @category Components\n */\n@Component({\n selector: 'ax-form',\n template: `<form (submit)=\"_handleSubmit($event)\" (reset)=\"_handleReset()\" class=\"ax-{{ messageStyle() }}-error\">\n <ng-content></ng-content>\n </form>`,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AXFormComponent extends MXBaseComponent implements OnDestroy {\n /**\n * Specifies the mode of the label in the form field.\n * @defaultValue 'static'\n */\n labelMode = input<AXLabelMode>('static');\n\n /**\n * Determines the style of the message in the form field.\n * @defaultValue 'bottom'\n */\n messageStyle: InputSignal<AXFormMessageStyle> = input<AXFormMessageStyle>('bottom');\n\n /**\n * Emitted when the form is validated.\n *\n * @event\n */\n @Output()\n onValidate: EventEmitter<AXFormValidationEvent> = new EventEmitter<AXFormValidationEvent>();\n\n /**\n * Emitted when the form's update mode changes.\n *\n * @event\n */\n @Output()\n updateOnChange: EventEmitter<AXFormUpdateOn> = new EventEmitter<AXFormUpdateOn>();\n\n /**\n * @ignore\n */\n private _updateOn: AXFormUpdateOn = 'blur';\n\n /**\n * Determines when the form should be updated.\n */\n @Input()\n public get updateOn(): AXFormUpdateOn {\n return this._updateOn;\n }\n\n /**\n * Sets the criteria for when the form should be updated.\n * @param v The criteria to set (e.g., 'change', 'blur').\n */\n public set updateOn(v: AXFormUpdateOn) {\n this.setOption({\n name: 'updateOn',\n value: v,\n afterCallback: () => {\n //this._bindEvents();\n },\n });\n }\n\n /**\n * @ignore\n */\n private _subs: Subscription[] = [];\n\n /**\n * @ignore\n */\n protected async _handleSubmit(e: SubmitEvent) {\n e.preventDefault();\n await this.validate();\n }\n\n /**\n * @ignore\n */\n protected _handleReset() {\n this.reset();\n }\n\n /**\n * @ignore\n */\n constructor() {\n super();\n }\n\n //TODO: check update on\n\n // ngAfterViewInit(): void {\n // //this._bindEvents();\n // }\n\n // private _bindEvents() {\n // this._clearSubs();\n // const widgets = this._getComponenets();\n // //\n // widgets.forEach((w) => {\n // if (this.updateOn == 'change') {\n // this._subs.push(\n // w.onValueChanged?.subscribe((v: AXValueChangedEvent) => {\n // if (v.isUserInteraction) w.validate();\n // }),\n // );\n // } else if (this.updateOn == 'blur') {\n // this._subs.push(\n // w.onBlur?.subscribe((v) => {\n // w.validate();\n // }),\n // );\n // }\n // });\n // }\n\n /**\n * @ignore\n */\n private _clearSubs() {\n this._subs.forEach((c) => c?.unsubscribe());\n this._subs = [];\n }\n\n /**\n * @ignore\n */\n private get fields(): AXValuableComponent[] {\n return Array.from(this.getHostElement().querySelectorAll('[ax-form-item=\"true\"]'))\n .map((c) => (c as any).__axContext__)\n .filter((c) => c != null);\n }\n\n async validate(...names: string[]): Promise<AXValidationSummary> {\n const results = await Promise.all(\n this.fields.filter((c) => names == null || names.length == 0 || names.includes(c.name)).map((field) => field.validate()),\n );\n // Merge all validation summaries into one\n const mergedSummary: AXValidationSummary = {\n result: results.every((res) => res.result),\n rules: results.flatMap((res) => res.rules),\n };\n this._emitOnValidateEvent(mergedSummary);\n return mergedSummary;\n }\n\n /**\n * @ignore\n */\n private _emitOnValidateEvent(e: AXValidationSummary) {\n this.onValidate.emit({\n component: this,\n result: e,\n htmlElement: this.getHostElement(),\n });\n }\n\n /**\n * Resets all form fields without clearing errors.\n */\n reset() {\n this.fields.forEach((c) => c.reset(false));\n }\n\n /**\n * Resets validation errors for all form fields.\n */\n resetErrors() {\n this.fields.forEach((c) => c.resetErrors());\n }\n\n /**\n * @ignore\n */\n ngOnDestroy(): void {\n this._clearSubs();\n }\n}\n","import { AXValuableComponent, MXBaseComponent } from '@acorex/components/common';\nimport { AXLabelComponent } from '@acorex/components/label';\nimport { AXSelectBoxComponent } from '@acorex/components/select-box';\nimport { AXUnsubscriber } from '@acorex/core/utils';\nimport {\n ChangeDetectionStrategy,\n Component,\n ContentChild,\n HostBinding,\n ViewContainerRef,\n ViewEncapsulation,\n WritableSignal,\n afterNextRender,\n effect,\n inject,\n input,\n signal,\n} from '@angular/core';\nimport { Subject } from 'rxjs';\nimport { AXFormComponent, AXLabelMode } from './form.component';\n\n/**\n * A container component for form fields that provides styling and structure.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-form-field',\n template: `<ng-content></ng-content>`,\n styleUrls: ['./form-field.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [AXUnsubscriber],\n})\nexport class AXFormFieldComponent extends MXBaseComponent {\n /**\n * Specifies the mode of the label in the form field.\n * @defaultValue 'static'\n */\n labelMode = input<AXLabelMode>('static');\n\n /**\n * @ignore\n */\n protected _labelMode: WritableSignal<AXLabelMode> = signal(this.labelMode());\n\n private unsubscriber = inject(AXUnsubscriber);\n\n\n @ContentChild(AXValuableComponent)\n private input: AXValuableComponent;\n\n /**\n * @ignore\n */\n @ContentChild(AXLabelComponent)\n private label: AXLabelComponent;\n\n form = inject(AXFormComponent, { optional: true });\n\n host = inject(ViewContainerRef);\n\n /**\n * @ignore\n */\n prefix: HTMLElement;\n\n /**\n * @ignore\n */\n constructor() {\n super();\n\n afterNextRender(() => {\n this.calcIndentSize();\n this.setRequired();\n this.setLabelMode();\n this.listeningEvent();\n });\n\n effect(\n () => {\n this.setLabelMode();\n },\n { allowSignalWrites: true },\n );\n }\n\n /**\n * Calculates and sets the indentation size for the label based on the width of the prefix element.\n * @ignore\n */\n calcIndentSize() {\n const prefix = (this.input as any)?.getHostElement()?.querySelector('ax-prefix') as HTMLElement;\n if (prefix) {\n this.label.getHostElement().style.insetInlineStart = prefix?.clientWidth + 'px';\n }\n }\n\n /**\n * Sets the required attribute for the input field based on validation rules.\n * Automatically updates if validation rules change.\n * @ignore\n */\n setRequired() {\n this.autoSetRequired();\n this.input?.validationRulesChange.pipe(this.unsubscriber.takeUntilDestroy).subscribe(() => {\n this.autoSetRequired();\n });\n }\n /**\n * Sets the label mode based on the form's label mode configuration.\n * @ignore\n */\n setLabelMode() {\n this._labelMode.set(this.form?.labelMode());\n }\n\n /**\n * Subscribes to focus and blur events on the input element.\n * Adds or removes the 'ax-state-focused' class to/from the host element based on the focus state.\n * @ignone\n */\n listeningEvent() {\n const focusEvent = this.input?.['onFocus'] as Subject<any>;\n focusEvent?.subscribe((e) => {\n // this.handleFloating('focus');\n this.host.element.nativeElement.classList.add('ax-state-focused');\n });\n //\n const blurEvent = this.input?.['onBlur'] as Subject<any>;\n blurEvent?.subscribe((e) => {\n // this.handleFloating('blur');\n this.host.element.nativeElement.classList.remove('ax-state-focused');\n });\n }\n // protected handleFloating(mode: 'focus' | 'blur') {\n // const _host = this.host.element.nativeElement as HTMLElement;\n // const placeholder = this.input;\n\n // switch (mode) {\n // case 'focus':\n // _host.classList.add('ax-state-floating');\n // this.label.getHostElement().style.insetInlineStart = 'inherit';\n\n // break;\n // case 'blur':\n // _host.classList.remove('ax-state-floating');\n\n // break;\n // }\n // }\n\n /**\n * @ignore\n */\n private autoSetRequired() {\n if (this.label && this.input) {\n if (this.label.required == null || this.label['autoSetRequired']) {\n this.label.required = this.input.isRequired;\n this.label['autoSetRequired'] = true;\n }\n }\n }\n\n /**\n * @ignore\n */\n @HostBinding('class')\n get __hostClass(): string[] {\n let hasValue;\n if (this.input) {\n if (this.input instanceof AXSelectBoxComponent && this.input.multiple) {\n hasValue = (this.input as any).value?.length;\n } else {\n hasValue = this.input.value;\n }\n }\n return [`ax-state-${this._labelMode()}-label`, `${hasValue ? 'ax-state-has-value' : ''}`];\n }\n}\n","import { InjectionToken } from '@angular/core';\n\nexport interface AXFormConfig {}\n\nexport const AX_FORM_CONFIG = new InjectionToken<AXFormConfig>('AX_FORM_CONFIG', {\n providedIn: 'root',\n factory: () => {\n return AXFormDefaultConfig;\n },\n});\n\nexport const AXFormDefaultConfig: AXFormConfig = {};\n\nexport type PartialFormConfig = Partial<AXFormConfig>;\n\nexport function formConfig(config: PartialFormConfig = {}): AXFormConfig {\n const result = {\n ...AXFormDefaultConfig,\n ...config,\n };\n return result;\n}\n","import { AXValuableComponent } from '@acorex/components/common';\nimport { AXValidationRuleOptions } from '@acorex/core/validation';\nimport { Directive, Input, OnDestroy, OnInit } from '@angular/core';\n\n@Directive({\n selector: 'ax-validation-rule',\n})\nexport class AXValidationRuleDirective implements OnInit, OnDestroy {\n @Input() rule: string;\n @Input() options: Omit<AXValidationRuleOptions, 'message'>;\n @Input() message: string;\n\n constructor(private host: AXValuableComponent) {}\n\n ngOnInit() {\n this.host.addValidationRule({ rule: this.rule, options: this.ruleOptions });\n }\n\n ngOnDestroy() {\n this.host.removeValidationRule({\n rule: this.rule,\n options: this.ruleOptions,\n });\n }\n\n private get ruleOptions(): AXValidationRuleOptions {\n return Object.assign({ message: this.message, name: this.host.name }, this.options);\n }\n}\n","import { MXBaseComponent } from '@acorex/components/common';\nimport { AXToastService } from '@acorex/components/toast';\nimport { translateSync } from '@acorex/core/translation';\nimport { ChangeDetectionStrategy, Component, Inject, Input, OnDestroy, Optional, ViewEncapsulation } from '@angular/core';\nimport { Subscription } from 'rxjs';\nimport { AXFormComponent, AXFormValidationEvent } from './form.component';\n\nexport type AXValidationSummaryDisplayMode = 'toast' | 'alert';\n\n/**\n * Displays validation summaries in the form of an alert.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-validation-summary',\n template: `\n @if (displayMode === 'alert' && _content) {\n <ax-alert color=\"danger\" [timeOut]=\"_timeOut\" #a (onClosed)=\"_handleOnDismissed()\">\n <ax-icon></ax-icon>\n <ax-title>{{ title | translate | async }}</ax-title>\n <ax-content>\n <div [innerHTML]=\"_content\"></div>\n </ax-content>\n <ax-footer>\n <ax-suffix>\n <ax-button text=\"Dismiss\" (onClick)=\"a.close()\"></ax-button>\n </ax-suffix>\n </ax-footer>\n </ax-alert>\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXValidationSummaryComponent extends MXBaseComponent implements OnDestroy {\n /**\n * @ignore\n */\n protected _content?: string = null;\n\n /**\n * @ignore\n */\n private _title = 'validation.messages.title';\n\n /**\n * The title of the validation summary alert.\n */\n @Input()\n public get title(): string {\n return this._title;\n }\n\n /**\n * Sets the title of the validation summary alert.\n *\n * @param v The title to be set.\n */\n public set title(v: string) {\n this._title = v;\n }\n\n /**\n * Specifies the display mode for the validation summary.\n *\n * @defaultValue 'toast'\n */\n @Input()\n displayMode: AXValidationSummaryDisplayMode = 'toast';\n\n /**\n * Specifies the time in milliseconds before the validation summary automatically hides.\n */\n @Input()\n timeOut?: number;\n\n /**\n * Determines whether the validation summary should automatically hide after a specified time.\n * @defaultValue false\n */\n @Input()\n autoHide = false;\n\n /**\n * @ignore\n */\n protected _timeOut: number;\n\n /**\n * @ignore\n */\n private sub: Subscription;\n\n /**\n * @ignore\n */\n constructor(\n private _tosatService: AXToastService,\n @Optional()\n @Inject(AXFormComponent)\n private host: AXFormComponent,\n ) {\n super();\n //\n this.sub = host.onValidate.subscribe((e: AXFormValidationEvent) => {\n if (e.result.result) {\n this._content = null;\n } else {\n const failedRules = e.result.rules.filter((c) => !c.result && c.message);\n\n this._content = `<ul>${failedRules.map((c) => this.formatRule({ title: c['title'] as string, message: c.message })).join('')}</ul>`;\n this._timeOut = this.autoHide ? this.timeOut ?? Math.max(failedRules.length * 1000, 2000) : 0;\n\n if (this.displayMode == 'toast') {\n this._tosatService.show({\n color: 'danger',\n closeButton: true,\n timeOut: this._timeOut,\n timeOutProgress: true,\n content: this._content,\n title: translateSync(this.title),\n location: 'bottom-center',\n });\n }\n }\n this.cdr.markForCheck();\n });\n }\n\n /**\n * @ignore\n */\n private formatRule(rule: { title?: string; message: string }): string {\n return rule.title ? `<li><b>${rule.title}:</b> ${rule.message}</li>` : `<li>${rule.message}</li>`;\n }\n\n /**\n * @ignore\n */\n protected _handleOnDismissed() {\n this._content = null;\n }\n\n /**\n * @ignore\n */\n ngOnDestroy() {\n this.sub?.unsubscribe();\n }\n}\n","import { AXAlertModule } from '@acorex/components/alert';\nimport { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { AXValidationModule } from '@acorex/core/validation';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXFormFieldComponent } from './form-field.component';\nimport { AXFormComponent } from './form.component';\nimport { AXValidationRuleDirective } from './validation-rule.directive';\nimport { AXValidationSummaryComponent } from './validation-summary.component';\n\n@NgModule({\n declarations: [AXFormFieldComponent, AXFormComponent, AXValidationRuleDirective, AXValidationSummaryComponent],\n imports: [CommonModule, AXDecoratorModule, AXAlertModule, AXButtonModule, AXValidationModule, AXTranslationModule],\n exports: [AXFormFieldComponent, AXFormComponent, AXValidationRuleDirective, AXValidationSummaryComponent],\n providers: [],\n})\nexport class AXFormModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAeA;;;AAGG;AACG,MAAO,qBAAsB,SAAQ,OAAO,CAAA;AAEjD,CAAA;AAUD;;;;AAIG;AASG,MAAO,eAAgB,SAAQ,eAAe,CAAA;AAkClD;;AAEG;AACH,IAAA,IACW,QAAQ,GAAA;QACjB,OAAO,IAAI,CAAC,SAAS,CAAC;KACvB;AAED;;;AAGG;IACH,IAAW,QAAQ,CAAC,CAAiB,EAAA;QACnC,IAAI,CAAC,SAAS,CAAC;AACb,YAAA,IAAI,EAAE,UAAU;AAChB,YAAA,KAAK,EAAE,CAAC;YACR,aAAa,EAAE,MAAK;;aAEnB;AACF,SAAA,CAAC,CAAC;KACJ;AAOD;;AAEG;IACO,MAAM,aAAa,CAAC,CAAc,EAAA;QAC1C,CAAC,CAAC,cAAc,EAAE,CAAC;AACnB,QAAA,MAAM,IAAI,CAAC,QAAQ,EAAE,CAAC;KACvB;AAED;;AAEG;IACO,YAAY,GAAA;QACpB,IAAI,CAAC,KAAK,EAAE,CAAC;KACd;AAED;;AAEG;AACH,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE,CAAC;AA/EV;;;AAGG;AACH,QAAA,IAAA,CAAA,SAAS,GAA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AAiB,EAAE,aAAa,EAAE,cAAc,EAAE,kBAAkB,EAAE,mBAAmB,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAItG,YAAY,EAAA,UAAA,EAAA,CAAA;kBANxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,oBAAoB,EAAE,eAAe,EAAE,yBAAyB,EAAE,4BAA4B,CAAC;AAC9G,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,iBAAiB,EAAE,aAAa,EAAE,cAAc,EAAE,kBAAkB,EAAE,mBAAmB,CAAC;oBAClH,OAAO,EAAE,CAAC,oBAAoB,EAAE,eAAe,EAAE,yBAAyB,EAAE,4BAA4B,CAAC;AACzG,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA,CAAA;;;ACjBD;;AAEG;;;;"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@acorex/components",
|
3
|
-
"version": "18.8.
|
3
|
+
"version": "18.8.9",
|
4
4
|
"peerDependencies": {
|
5
5
|
"@angular/common": ">=18.2.0",
|
6
6
|
"@angular/core": ">=18.2.0",
|
@@ -31,11 +31,11 @@
|
|
31
31
|
"esm": "./esm2022/action-sheet/acorex-components-action-sheet.mjs",
|
32
32
|
"default": "./fesm2022/acorex-components-action-sheet.mjs"
|
33
33
|
},
|
34
|
-
"./
|
35
|
-
"types": "./
|
36
|
-
"esm2022": "./esm2022/
|
37
|
-
"esm": "./esm2022/
|
38
|
-
"default": "./fesm2022/acorex-components-
|
34
|
+
"./badge": {
|
35
|
+
"types": "./badge/index.d.ts",
|
36
|
+
"esm2022": "./esm2022/badge/acorex-components-badge.mjs",
|
37
|
+
"esm": "./esm2022/badge/acorex-components-badge.mjs",
|
38
|
+
"default": "./fesm2022/acorex-components-badge.mjs"
|
39
39
|
},
|
40
40
|
"./avatar": {
|
41
41
|
"types": "./avatar/index.d.ts",
|
@@ -43,12 +43,6 @@
|
|
43
43
|
"esm": "./esm2022/avatar/acorex-components-avatar.mjs",
|
44
44
|
"default": "./fesm2022/acorex-components-avatar.mjs"
|
45
45
|
},
|
46
|
-
"./badge": {
|
47
|
-
"types": "./badge/index.d.ts",
|
48
|
-
"esm2022": "./esm2022/badge/acorex-components-badge.mjs",
|
49
|
-
"esm": "./esm2022/badge/acorex-components-badge.mjs",
|
50
|
-
"default": "./fesm2022/acorex-components-badge.mjs"
|
51
|
-
},
|
52
46
|
"./audio-wave": {
|
53
47
|
"types": "./audio-wave/index.d.ts",
|
54
48
|
"esm2022": "./esm2022/audio-wave/acorex-components-audio-wave.mjs",
|
@@ -61,6 +55,12 @@
|
|
61
55
|
"esm": "./esm2022/bottom-navigation/acorex-components-bottom-navigation.mjs",
|
62
56
|
"default": "./fesm2022/acorex-components-bottom-navigation.mjs"
|
63
57
|
},
|
58
|
+
"./alert": {
|
59
|
+
"types": "./alert/index.d.ts",
|
60
|
+
"esm2022": "./esm2022/alert/acorex-components-alert.mjs",
|
61
|
+
"esm": "./esm2022/alert/acorex-components-alert.mjs",
|
62
|
+
"default": "./fesm2022/acorex-components-alert.mjs"
|
63
|
+
},
|
64
64
|
"./breadcrumbs": {
|
65
65
|
"types": "./breadcrumbs/index.d.ts",
|
66
66
|
"esm2022": "./esm2022/breadcrumbs/acorex-components-breadcrumbs.mjs",
|
@@ -91,18 +91,18 @@
|
|
91
91
|
"esm": "./esm2022/check-box/acorex-components-check-box.mjs",
|
92
92
|
"default": "./fesm2022/acorex-components-check-box.mjs"
|
93
93
|
},
|
94
|
-
"./circular-progress": {
|
95
|
-
"types": "./circular-progress/index.d.ts",
|
96
|
-
"esm2022": "./esm2022/circular-progress/acorex-components-circular-progress.mjs",
|
97
|
-
"esm": "./esm2022/circular-progress/acorex-components-circular-progress.mjs",
|
98
|
-
"default": "./fesm2022/acorex-components-circular-progress.mjs"
|
99
|
-
},
|
100
94
|
"./chips": {
|
101
95
|
"types": "./chips/index.d.ts",
|
102
96
|
"esm2022": "./esm2022/chips/acorex-components-chips.mjs",
|
103
97
|
"esm": "./esm2022/chips/acorex-components-chips.mjs",
|
104
98
|
"default": "./fesm2022/acorex-components-chips.mjs"
|
105
99
|
},
|
100
|
+
"./circular-progress": {
|
101
|
+
"types": "./circular-progress/index.d.ts",
|
102
|
+
"esm2022": "./esm2022/circular-progress/acorex-components-circular-progress.mjs",
|
103
|
+
"esm": "./esm2022/circular-progress/acorex-components-circular-progress.mjs",
|
104
|
+
"default": "./fesm2022/acorex-components-circular-progress.mjs"
|
105
|
+
},
|
106
106
|
"./collapse": {
|
107
107
|
"types": "./collapse/index.d.ts",
|
108
108
|
"esm2022": "./esm2022/collapse/acorex-components-collapse.mjs",
|
@@ -175,23 +175,17 @@
|
|
175
175
|
"esm": "./esm2022/decorators/acorex-components-decorators.mjs",
|
176
176
|
"default": "./fesm2022/acorex-components-decorators.mjs"
|
177
177
|
},
|
178
|
-
"./dialog": {
|
179
|
-
"types": "./dialog/index.d.ts",
|
180
|
-
"esm2022": "./esm2022/dialog/acorex-components-dialog.mjs",
|
181
|
-
"esm": "./esm2022/dialog/acorex-components-dialog.mjs",
|
182
|
-
"default": "./fesm2022/acorex-components-dialog.mjs"
|
183
|
-
},
|
184
178
|
"./drawer": {
|
185
179
|
"types": "./drawer/index.d.ts",
|
186
180
|
"esm2022": "./esm2022/drawer/acorex-components-drawer.mjs",
|
187
181
|
"esm": "./esm2022/drawer/acorex-components-drawer.mjs",
|
188
182
|
"default": "./fesm2022/acorex-components-drawer.mjs"
|
189
183
|
},
|
190
|
-
"./
|
191
|
-
"types": "./
|
192
|
-
"esm2022": "./esm2022/
|
193
|
-
"esm": "./esm2022/
|
194
|
-
"default": "./fesm2022/acorex-components-
|
184
|
+
"./dialog": {
|
185
|
+
"types": "./dialog/index.d.ts",
|
186
|
+
"esm2022": "./esm2022/dialog/acorex-components-dialog.mjs",
|
187
|
+
"esm": "./esm2022/dialog/acorex-components-dialog.mjs",
|
188
|
+
"default": "./fesm2022/acorex-components-dialog.mjs"
|
195
189
|
},
|
196
190
|
"./dropdown-button": {
|
197
191
|
"types": "./dropdown-button/index.d.ts",
|
@@ -199,6 +193,12 @@
|
|
199
193
|
"esm": "./esm2022/dropdown-button/acorex-components-dropdown-button.mjs",
|
200
194
|
"default": "./fesm2022/acorex-components-dropdown-button.mjs"
|
201
195
|
},
|
196
|
+
"./dropdown": {
|
197
|
+
"types": "./dropdown/index.d.ts",
|
198
|
+
"esm2022": "./esm2022/dropdown/acorex-components-dropdown.mjs",
|
199
|
+
"esm": "./esm2022/dropdown/acorex-components-dropdown.mjs",
|
200
|
+
"default": "./fesm2022/acorex-components-dropdown.mjs"
|
201
|
+
},
|
202
202
|
"./form": {
|
203
203
|
"types": "./form/index.d.ts",
|
204
204
|
"esm2022": "./esm2022/form/acorex-components-form.mjs",
|
@@ -211,18 +211,18 @@
|
|
211
211
|
"esm": "./esm2022/image/acorex-components-image.mjs",
|
212
212
|
"default": "./fesm2022/acorex-components-image.mjs"
|
213
213
|
},
|
214
|
-
"./label": {
|
215
|
-
"types": "./label/index.d.ts",
|
216
|
-
"esm2022": "./esm2022/label/acorex-components-label.mjs",
|
217
|
-
"esm": "./esm2022/label/acorex-components-label.mjs",
|
218
|
-
"default": "./fesm2022/acorex-components-label.mjs"
|
219
|
-
},
|
220
214
|
"./list": {
|
221
215
|
"types": "./list/index.d.ts",
|
222
216
|
"esm2022": "./esm2022/list/acorex-components-list.mjs",
|
223
217
|
"esm": "./esm2022/list/acorex-components-list.mjs",
|
224
218
|
"default": "./fesm2022/acorex-components-list.mjs"
|
225
219
|
},
|
220
|
+
"./label": {
|
221
|
+
"types": "./label/index.d.ts",
|
222
|
+
"esm2022": "./esm2022/label/acorex-components-label.mjs",
|
223
|
+
"esm": "./esm2022/label/acorex-components-label.mjs",
|
224
|
+
"default": "./fesm2022/acorex-components-label.mjs"
|
225
|
+
},
|
226
226
|
"./loading": {
|
227
227
|
"types": "./loading/index.d.ts",
|
228
228
|
"esm2022": "./esm2022/loading/acorex-components-loading.mjs",
|
@@ -235,18 +235,18 @@
|
|
235
235
|
"esm": "./esm2022/loading-dialog/acorex-components-loading-dialog.mjs",
|
236
236
|
"default": "./fesm2022/acorex-components-loading-dialog.mjs"
|
237
237
|
},
|
238
|
-
"./menu": {
|
239
|
-
"types": "./menu/index.d.ts",
|
240
|
-
"esm2022": "./esm2022/menu/acorex-components-menu.mjs",
|
241
|
-
"esm": "./esm2022/menu/acorex-components-menu.mjs",
|
242
|
-
"default": "./fesm2022/acorex-components-menu.mjs"
|
243
|
-
},
|
244
238
|
"./nav": {
|
245
239
|
"types": "./nav/index.d.ts",
|
246
240
|
"esm2022": "./esm2022/nav/acorex-components-nav.mjs",
|
247
241
|
"esm": "./esm2022/nav/acorex-components-nav.mjs",
|
248
242
|
"default": "./fesm2022/acorex-components-nav.mjs"
|
249
243
|
},
|
244
|
+
"./menu": {
|
245
|
+
"types": "./menu/index.d.ts",
|
246
|
+
"esm2022": "./esm2022/menu/acorex-components-menu.mjs",
|
247
|
+
"esm": "./esm2022/menu/acorex-components-menu.mjs",
|
248
|
+
"default": "./fesm2022/acorex-components-menu.mjs"
|
249
|
+
},
|
250
250
|
"./navbar": {
|
251
251
|
"types": "./navbar/index.d.ts",
|
252
252
|
"esm2022": "./esm2022/navbar/acorex-components-navbar.mjs",
|
@@ -331,18 +331,18 @@
|
|
331
331
|
"esm": "./esm2022/range-slider/acorex-components-range-slider.mjs",
|
332
332
|
"default": "./fesm2022/acorex-components-range-slider.mjs"
|
333
333
|
},
|
334
|
-
"./routing-progress": {
|
335
|
-
"types": "./routing-progress/index.d.ts",
|
336
|
-
"esm2022": "./esm2022/routing-progress/acorex-components-routing-progress.mjs",
|
337
|
-
"esm": "./esm2022/routing-progress/acorex-components-routing-progress.mjs",
|
338
|
-
"default": "./fesm2022/acorex-components-routing-progress.mjs"
|
339
|
-
},
|
340
334
|
"./result": {
|
341
335
|
"types": "./result/index.d.ts",
|
342
336
|
"esm2022": "./esm2022/result/acorex-components-result.mjs",
|
343
337
|
"esm": "./esm2022/result/acorex-components-result.mjs",
|
344
338
|
"default": "./fesm2022/acorex-components-result.mjs"
|
345
339
|
},
|
340
|
+
"./routing-progress": {
|
341
|
+
"types": "./routing-progress/index.d.ts",
|
342
|
+
"esm2022": "./esm2022/routing-progress/acorex-components-routing-progress.mjs",
|
343
|
+
"esm": "./esm2022/routing-progress/acorex-components-routing-progress.mjs",
|
344
|
+
"default": "./fesm2022/acorex-components-routing-progress.mjs"
|
345
|
+
},
|
346
346
|
"./scheduler": {
|
347
347
|
"types": "./scheduler/index.d.ts",
|
348
348
|
"esm2022": "./esm2022/scheduler/acorex-components-scheduler.mjs",
|
@@ -379,18 +379,18 @@
|
|
379
379
|
"esm": "./esm2022/side-menu/acorex-components-side-menu.mjs",
|
380
380
|
"default": "./fesm2022/acorex-components-side-menu.mjs"
|
381
381
|
},
|
382
|
-
"./skeleton": {
|
383
|
-
"types": "./skeleton/index.d.ts",
|
384
|
-
"esm2022": "./esm2022/skeleton/acorex-components-skeleton.mjs",
|
385
|
-
"esm": "./esm2022/skeleton/acorex-components-skeleton.mjs",
|
386
|
-
"default": "./fesm2022/acorex-components-skeleton.mjs"
|
387
|
-
},
|
388
382
|
"./slider": {
|
389
383
|
"types": "./slider/index.d.ts",
|
390
384
|
"esm2022": "./esm2022/slider/acorex-components-slider.mjs",
|
391
385
|
"esm": "./esm2022/slider/acorex-components-slider.mjs",
|
392
386
|
"default": "./fesm2022/acorex-components-slider.mjs"
|
393
387
|
},
|
388
|
+
"./skeleton": {
|
389
|
+
"types": "./skeleton/index.d.ts",
|
390
|
+
"esm2022": "./esm2022/skeleton/acorex-components-skeleton.mjs",
|
391
|
+
"esm": "./esm2022/skeleton/acorex-components-skeleton.mjs",
|
392
|
+
"default": "./fesm2022/acorex-components-skeleton.mjs"
|
393
|
+
},
|
394
394
|
"./step-wizard": {
|
395
395
|
"types": "./step-wizard/index.d.ts",
|
396
396
|
"esm2022": "./esm2022/step-wizard/acorex-components-step-wizard.mjs",
|
@@ -409,36 +409,36 @@
|
|
409
409
|
"esm": "./esm2022/tabs/acorex-components-tabs.mjs",
|
410
410
|
"default": "./fesm2022/acorex-components-tabs.mjs"
|
411
411
|
},
|
412
|
-
"./tag": {
|
413
|
-
"types": "./tag/index.d.ts",
|
414
|
-
"esm2022": "./esm2022/tag/acorex-components-tag.mjs",
|
415
|
-
"esm": "./esm2022/tag/acorex-components-tag.mjs",
|
416
|
-
"default": "./fesm2022/acorex-components-tag.mjs"
|
417
|
-
},
|
418
412
|
"./text-area": {
|
419
413
|
"types": "./text-area/index.d.ts",
|
420
414
|
"esm2022": "./esm2022/text-area/acorex-components-text-area.mjs",
|
421
415
|
"esm": "./esm2022/text-area/acorex-components-text-area.mjs",
|
422
416
|
"default": "./fesm2022/acorex-components-text-area.mjs"
|
423
417
|
},
|
418
|
+
"./tag": {
|
419
|
+
"types": "./tag/index.d.ts",
|
420
|
+
"esm2022": "./esm2022/tag/acorex-components-tag.mjs",
|
421
|
+
"esm": "./esm2022/tag/acorex-components-tag.mjs",
|
422
|
+
"default": "./fesm2022/acorex-components-tag.mjs"
|
423
|
+
},
|
424
424
|
"./text-box": {
|
425
425
|
"types": "./text-box/index.d.ts",
|
426
426
|
"esm2022": "./esm2022/text-box/acorex-components-text-box.mjs",
|
427
427
|
"esm": "./esm2022/text-box/acorex-components-text-box.mjs",
|
428
428
|
"default": "./fesm2022/acorex-components-text-box.mjs"
|
429
429
|
},
|
430
|
-
"./toast": {
|
431
|
-
"types": "./toast/index.d.ts",
|
432
|
-
"esm2022": "./esm2022/toast/acorex-components-toast.mjs",
|
433
|
-
"esm": "./esm2022/toast/acorex-components-toast.mjs",
|
434
|
-
"default": "./fesm2022/acorex-components-toast.mjs"
|
435
|
-
},
|
436
430
|
"./tooltip": {
|
437
431
|
"types": "./tooltip/index.d.ts",
|
438
432
|
"esm2022": "./esm2022/tooltip/acorex-components-tooltip.mjs",
|
439
433
|
"esm": "./esm2022/tooltip/acorex-components-tooltip.mjs",
|
440
434
|
"default": "./fesm2022/acorex-components-tooltip.mjs"
|
441
435
|
},
|
436
|
+
"./toast": {
|
437
|
+
"types": "./toast/index.d.ts",
|
438
|
+
"esm2022": "./esm2022/toast/acorex-components-toast.mjs",
|
439
|
+
"esm": "./esm2022/toast/acorex-components-toast.mjs",
|
440
|
+
"default": "./fesm2022/acorex-components-toast.mjs"
|
441
|
+
},
|
442
442
|
"./uploader": {
|
443
443
|
"types": "./uploader/index.d.ts",
|
444
444
|
"esm2022": "./esm2022/uploader/acorex-components-uploader.mjs",
|