@magmonium/one 0.4.8 → 0.4.10
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/fesm2022/{magmonium-one-image-editor-tRZa_hey.mjs → magmonium-one-image-editor-w_mIbhJH.mjs} +2 -2
- package/fesm2022/{magmonium-one-image-editor-tRZa_hey.mjs.map → magmonium-one-image-editor-w_mIbhJH.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-magmonium-one-E20M_YDk.mjs → magmonium-one-magmonium-one-Cu45fHus.mjs} +145 -37
- package/fesm2022/magmonium-one-magmonium-one-Cu45fHus.mjs.map +1 -0
- package/fesm2022/{magmonium-one-otp-D3REoA5M.mjs → magmonium-one-otp-Ct41thd0.mjs} +2 -2
- package/fesm2022/{magmonium-one-otp-D3REoA5M.mjs.map → magmonium-one-otp-Ct41thd0.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-password-QdZSw46k.mjs → magmonium-one-password-CT8y_iYQ.mjs} +2 -2
- package/fesm2022/{magmonium-one-password-QdZSw46k.mjs.map → magmonium-one-password-CT8y_iYQ.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-toggle-B3RHNaUP.mjs → magmonium-one-toggle-DELqFKZY.mjs} +2 -2
- package/fesm2022/{magmonium-one-toggle-B3RHNaUP.mjs.map → magmonium-one-toggle-DELqFKZY.mjs.map} +1 -1
- package/fesm2022/magmonium-one.mjs +1 -1
- package/package.json +1 -1
- package/types/magmonium-one.d.ts +81 -3
- package/fesm2022/magmonium-one-magmonium-one-E20M_YDk.mjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { signal, viewChildren, computed, inject, effect, afterRenderEffect, untracked, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
-
import { h as BaseTextInputComponent, k as IS_DESIGN_MODE, L as LabelComponent, j as TextOutputComponent } from './magmonium-one-magmonium-one-
|
|
3
|
+
import { h as BaseTextInputComponent, k as IS_DESIGN_MODE, L as LabelComponent, j as TextOutputComponent } from './magmonium-one-magmonium-one-Cu45fHus.mjs';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
5
|
|
|
6
6
|
class OtpInputComponent extends BaseTextInputComponent {
|
|
@@ -198,4 +198,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
198
198
|
}], ctorParameters: () => [], propDecorators: { otpInputs: [{ type: i0.ViewChildren, args: ['otpInput', { isSignal: true }] }] } });
|
|
199
199
|
|
|
200
200
|
export { OtpInputComponent };
|
|
201
|
-
//# sourceMappingURL=magmonium-one-otp-
|
|
201
|
+
//# sourceMappingURL=magmonium-one-otp-Ct41thd0.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"magmonium-one-otp-D3REoA5M.mjs","sources":["../../../../libs/one/src/lib/shared/ui/input/ui/text/otp.ts"],"sourcesContent":["import {\n afterRenderEffect,\n ChangeDetectionStrategy,\n Component,\n computed,\n effect,\n ElementRef,\n inject,\n signal,\n untracked,\n viewChildren,\n} from '@angular/core';\nimport { LabelComponent } from '../label';\nimport { TextOutputComponent } from '../../../text-output';\nimport { BaseTextInputComponent } from './base-text';\nimport { CommonModule } from '@angular/common';\nimport { OtpInput } from '../../model/input';\nimport { IS_DESIGN_MODE } from '../../../../config/tokens';\n\n@Component({\n selector: 'm-otp-input',\n template: `\n @if (otpConfig(); as otp) {\n <m-label\n [for]=\"otp.name\"\n [placeholder]=\"otp.label\"\n [params]=\"otp.params\"\n [required]=\"required()\"\n [disabled]=\"isDisabled()\"\n />\n <div class=\"otp-container\">\n @for (item of otpArray(); track $index) {\n <input\n [id]=\"$index === 0 ? (otp.name ?? '') : ''\"\n #otpInput\n type=\"text\"\n maxlength=\"1\"\n [class.error]=\"showErrors()\"\n [disabled]=\"isDisabled()\"\n [value]=\"otpValues()[$index] || ''\"\n (input)=\"onInput($event, $index)\"\n (keydown)=\"onKeyDown($event, $index)\"\n (paste)=\"onPaste($event)\"\n />\n }\n </div>\n @if (showErrors()) {\n @for (error of errors(); track $index) {\n <m-text-output\n variant=\"footer\"\n color=\"error\"\n [label]=\"error.message\"\n />\n }\n }\n }\n `,\n styleUrl: './otp.sass',\n imports: [LabelComponent, TextOutputComponent, CommonModule],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class OtpInputComponent extends BaseTextInputComponent<OtpInput> {\n otpValues = signal<string[]>([]);\n otpInputs = viewChildren<ElementRef<HTMLInputElement>>('otpInput');\n protected readonly otpConfig = computed(() => this.config() as OtpInput);\n otpArray = computed(() => {\n const length = this.otpConfig()?.length || 6;\n return Array(length).fill(0);\n });\n\n // Inert on the Canvas — other inputs stay idle because they never autofocus;\n // OTP used to steal focus and look live while composing (DesignMode).\n private readonly isDesignMode = !!inject(IS_DESIGN_MODE, { optional: true });\n protected readonly isDisabled = computed(\n () => this.isDesignMode || this.disabled()\n );\n\n // BaseText answers `focused` by focusing its `#inputElement`, and an OTP has\n // none — it has a row of boxes. Without this the caret never lands on an OTP\n // field, so the form that opens on one (login's verification step) reads as\n // dead until the User clicks it.\n private hasAutofocused = false;\n\n constructor() {\n super();\n effect(() => {\n const length = this.otpConfig()?.length || 6;\n this.otpValues.set(Array(length).fill(''));\n });\n\n afterRenderEffect(() => {\n const inputs = this.otpInputs();\n if (!this.focused() || !inputs.length || this.hasAutofocused) return;\n this.hasAutofocused = true;\n untracked(() => this.focusInput(0));\n });\n }\n\n onInput = (event: Event, index: number): void => {\n if (this.isDisabled()) return;\n const input = event.target as HTMLInputElement;\n let value = input.value;\n\n value = value.replace(/[^a-zA-Z0-9]/g, '');\n\n if (value.length > 1) {\n value = value.slice(-1);\n }\n\n input.value = value.toUpperCase();\n\n const newValues = [...this.otpValues()];\n newValues[index] = value.toUpperCase();\n this.otpValues.set(newValues);\n\n const length = this.otpConfig()?.length || 6;\n if (value && index < length - 1) {\n this.focusInput(index + 1);\n }\n this.updateValue();\n };\n\n onKeyDown = (event: KeyboardEvent, index: number): void => {\n if (this.isDisabled()) return;\n const input = event.target as HTMLInputElement;\n const length = this.otpConfig()?.length || 6;\n\n const isAlphaNumeric = /^[a-zA-Z0-9]$/.test(event.key);\n const isControlKey = [\n 'Backspace',\n 'Delete',\n 'ArrowLeft',\n 'ArrowRight',\n 'Tab',\n ].includes(event.key);\n\n if (!isAlphaNumeric && !isControlKey) {\n event.preventDefault();\n return;\n }\n\n if (event.key === 'Backspace') {\n if (!input.value && index > 0) {\n this.focusInput(index - 1);\n }\n }\n if (event.key === 'ArrowLeft' && index > 0) {\n event.preventDefault();\n this.focusInput(index - 1);\n }\n if (event.key === 'ArrowRight' && index < length - 1) {\n event.preventDefault();\n this.focusInput(index + 1);\n }\n };\n\n onPaste = (event: ClipboardEvent): void => {\n if (this.isDisabled()) return;\n event.preventDefault();\n event.stopPropagation();\n\n const length = this.otpConfig()?.length || 6;\n const pastedData = event.clipboardData?.getData('text') || '';\n\n const alphanumeric = pastedData\n .replace(/[^a-zA-Z0-9]/g, '')\n .slice(0, length);\n\n if (alphanumeric.length > 0) {\n const newValues = Array(length).fill('');\n alphanumeric.split('').forEach((char, index) => {\n if (index < length) {\n newValues[index] = char.toUpperCase();\n }\n });\n\n this.otpValues.set(newValues);\n this.updateValue();\n\n const focusIndex = Math.min(alphanumeric.length, length - 1);\n setTimeout(() => this.focusInput(focusIndex), 0);\n }\n };\n\n private focusInput(index: number): void {\n if (this.isDisabled()) return;\n const inputs = this.otpInputs();\n if (inputs[index]) {\n inputs[index].nativeElement.focus();\n }\n }\n\n private updateValue(): void {\n const otpValue = this.otpValues().join('');\n this.setValue(otpValue);\n }\n}\n"],"names":[],"mappings":";;;;;AA6DM,MAAO,iBAAkB,SAAQ,sBAAgC,CAAA;AACrE,IAAA,SAAS,GAAG,MAAM,CAAW,EAAE,gFAAC;AAChC,IAAA,SAAS,GAAG,YAAY,CAA+B,UAAU,gFAAC;IAC/C,SAAS,GAAG,QAAQ,CAA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AA,CAAA,+qEAAA,CAAA,EAAA;oGAIQ,UAAU,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;;;"}
|
|
1
|
+
{"version":3,"file":"magmonium-one-otp-Ct41thd0.mjs","sources":["../../../../libs/one/src/lib/shared/ui/input/ui/text/otp.ts"],"sourcesContent":["import {\n afterRenderEffect,\n ChangeDetectionStrategy,\n Component,\n computed,\n effect,\n ElementRef,\n inject,\n signal,\n untracked,\n viewChildren,\n} from '@angular/core';\nimport { LabelComponent } from '../label';\nimport { TextOutputComponent } from '../../../text-output';\nimport { BaseTextInputComponent } from './base-text';\nimport { CommonModule } from '@angular/common';\nimport { OtpInput } from '../../model/input';\nimport { IS_DESIGN_MODE } from '../../../../config/tokens';\n\n@Component({\n selector: 'm-otp-input',\n template: `\n @if (otpConfig(); as otp) {\n <m-label\n [for]=\"otp.name\"\n [placeholder]=\"otp.label\"\n [params]=\"otp.params\"\n [required]=\"required()\"\n [disabled]=\"isDisabled()\"\n />\n <div class=\"otp-container\">\n @for (item of otpArray(); track $index) {\n <input\n [id]=\"$index === 0 ? (otp.name ?? '') : ''\"\n #otpInput\n type=\"text\"\n maxlength=\"1\"\n [class.error]=\"showErrors()\"\n [disabled]=\"isDisabled()\"\n [value]=\"otpValues()[$index] || ''\"\n (input)=\"onInput($event, $index)\"\n (keydown)=\"onKeyDown($event, $index)\"\n (paste)=\"onPaste($event)\"\n />\n }\n </div>\n @if (showErrors()) {\n @for (error of errors(); track $index) {\n <m-text-output\n variant=\"footer\"\n color=\"error\"\n [label]=\"error.message\"\n />\n }\n }\n }\n `,\n styleUrl: './otp.sass',\n imports: [LabelComponent, TextOutputComponent, CommonModule],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class OtpInputComponent extends BaseTextInputComponent<OtpInput> {\n otpValues = signal<string[]>([]);\n otpInputs = viewChildren<ElementRef<HTMLInputElement>>('otpInput');\n protected readonly otpConfig = computed(() => this.config() as OtpInput);\n otpArray = computed(() => {\n const length = this.otpConfig()?.length || 6;\n return Array(length).fill(0);\n });\n\n // Inert on the Canvas — other inputs stay idle because they never autofocus;\n // OTP used to steal focus and look live while composing (DesignMode).\n private readonly isDesignMode = !!inject(IS_DESIGN_MODE, { optional: true });\n protected readonly isDisabled = computed(\n () => this.isDesignMode || this.disabled()\n );\n\n // BaseText answers `focused` by focusing its `#inputElement`, and an OTP has\n // none — it has a row of boxes. Without this the caret never lands on an OTP\n // field, so the form that opens on one (login's verification step) reads as\n // dead until the User clicks it.\n private hasAutofocused = false;\n\n constructor() {\n super();\n effect(() => {\n const length = this.otpConfig()?.length || 6;\n this.otpValues.set(Array(length).fill(''));\n });\n\n afterRenderEffect(() => {\n const inputs = this.otpInputs();\n if (!this.focused() || !inputs.length || this.hasAutofocused) return;\n this.hasAutofocused = true;\n untracked(() => this.focusInput(0));\n });\n }\n\n onInput = (event: Event, index: number): void => {\n if (this.isDisabled()) return;\n const input = event.target as HTMLInputElement;\n let value = input.value;\n\n value = value.replace(/[^a-zA-Z0-9]/g, '');\n\n if (value.length > 1) {\n value = value.slice(-1);\n }\n\n input.value = value.toUpperCase();\n\n const newValues = [...this.otpValues()];\n newValues[index] = value.toUpperCase();\n this.otpValues.set(newValues);\n\n const length = this.otpConfig()?.length || 6;\n if (value && index < length - 1) {\n this.focusInput(index + 1);\n }\n this.updateValue();\n };\n\n onKeyDown = (event: KeyboardEvent, index: number): void => {\n if (this.isDisabled()) return;\n const input = event.target as HTMLInputElement;\n const length = this.otpConfig()?.length || 6;\n\n const isAlphaNumeric = /^[a-zA-Z0-9]$/.test(event.key);\n const isControlKey = [\n 'Backspace',\n 'Delete',\n 'ArrowLeft',\n 'ArrowRight',\n 'Tab',\n ].includes(event.key);\n\n if (!isAlphaNumeric && !isControlKey) {\n event.preventDefault();\n return;\n }\n\n if (event.key === 'Backspace') {\n if (!input.value && index > 0) {\n this.focusInput(index - 1);\n }\n }\n if (event.key === 'ArrowLeft' && index > 0) {\n event.preventDefault();\n this.focusInput(index - 1);\n }\n if (event.key === 'ArrowRight' && index < length - 1) {\n event.preventDefault();\n this.focusInput(index + 1);\n }\n };\n\n onPaste = (event: ClipboardEvent): void => {\n if (this.isDisabled()) return;\n event.preventDefault();\n event.stopPropagation();\n\n const length = this.otpConfig()?.length || 6;\n const pastedData = event.clipboardData?.getData('text') || '';\n\n const alphanumeric = pastedData\n .replace(/[^a-zA-Z0-9]/g, '')\n .slice(0, length);\n\n if (alphanumeric.length > 0) {\n const newValues = Array(length).fill('');\n alphanumeric.split('').forEach((char, index) => {\n if (index < length) {\n newValues[index] = char.toUpperCase();\n }\n });\n\n this.otpValues.set(newValues);\n this.updateValue();\n\n const focusIndex = Math.min(alphanumeric.length, length - 1);\n setTimeout(() => this.focusInput(focusIndex), 0);\n }\n };\n\n private focusInput(index: number): void {\n if (this.isDisabled()) return;\n const inputs = this.otpInputs();\n if (inputs[index]) {\n inputs[index].nativeElement.focus();\n }\n }\n\n private updateValue(): void {\n const otpValue = this.otpValues().join('');\n this.setValue(otpValue);\n }\n}\n"],"names":[],"mappings":";;;;;AA6DM,MAAO,iBAAkB,SAAQ,sBAAgC,CAAA;AACrE,IAAA,SAAS,GAAG,MAAM,CAAW,EAAE,gFAAC;AAChC,IAAA,SAAS,GAAG,YAAY,CAA+B,UAAU,gFAAC;IAC/C,SAAS,GAAG,QAAQ,CAAC,MAAM,IAAI,CAAC,MAAM,EAAc,EAAA,IAAA,SAAA,GAAA,CAAA,EAAA,SAAA,EAAA,WAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAAC;AACxE,IAAA,QAAQ,GAAG,QAAQ,CAAC,MAAK;QACvB,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,EAAE,MAAM,IAAI,CAAC;QAC5C,OAAO,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;AAC9B,IAAA,CAAC,+EAAC;;;AAIe,IAAA,YAAY,GAAG,CAAC,CA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,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAES,cAAc,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,KAAA,EAAA,aAAA,EAAA,QAAA,EAAA,UAAA,EAAA,UAAA,EAAA,OAAA,EAAA,aAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,mBAAmB,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,CAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,OAAA,EAAA,YAAA,EAAA,OAAA,EAAA,aAAA,EAAA,QAAA,CAAA,EAAA,OAAA,EAAA,CAAA,cAAA,EAAA,SAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,YAAY,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAGhD,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBA1C7B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,aAAa,EAAA,QAAA,EACb;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCT,EAAA,OAAA,EAEQ,CAAC,cAAc,EAAE,mBAAmB,EAAE,YAAY,CAAC,EAAA,eAAA,EAC3C,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,+qEAAA,CAAA,EAAA;oGAIQ,UAAU,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;;;"}
|
package/fesm2022/{magmonium-one-password-QdZSw46k.mjs → magmonium-one-password-CT8y_iYQ.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { signal, computed, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
-
import { h as BaseTextInputComponent, L as LabelComponent, j as TextOutputComponent, B as ButtonComponent, T as TranslatePipe } from './magmonium-one-magmonium-one-
|
|
3
|
+
import { h as BaseTextInputComponent, L as LabelComponent, j as TextOutputComponent, B as ButtonComponent, T as TranslatePipe } from './magmonium-one-magmonium-one-Cu45fHus.mjs';
|
|
4
4
|
|
|
5
5
|
class PasswordInputComponent extends BaseTextInputComponent {
|
|
6
6
|
isPassword = signal(true, ...(ngDevMode ? [{ debugName: "isPassword" }] : /* istanbul ignore next */ []));
|
|
@@ -102,4 +102,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
102
102
|
}] });
|
|
103
103
|
|
|
104
104
|
export { PasswordInputComponent };
|
|
105
|
-
//# sourceMappingURL=magmonium-one-password-
|
|
105
|
+
//# sourceMappingURL=magmonium-one-password-CT8y_iYQ.mjs.map
|
package/fesm2022/{magmonium-one-password-QdZSw46k.mjs.map → magmonium-one-password-CT8y_iYQ.mjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"magmonium-one-password-
|
|
1
|
+
{"version":3,"file":"magmonium-one-password-CT8y_iYQ.mjs","sources":["../../../../libs/one/src/lib/shared/ui/input/ui/text/password.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n signal,\n} from '@angular/core';\nimport { LabelComponent } from '../label';\nimport { TextOutputComponent } from '../../../text-output';\nimport { BaseTextInputComponent } from './base-text';\nimport { ButtonComponent } from '../../../button/ui/button';\nimport { TranslatePipe } from '../../../../pipe';\n\n@Component({\n selector: 'm-password-input',\n template: `\n @if (config(); as text) {\n <m-label\n [for]=\"text.name\"\n [placeholder]=\"text.label\"\n [params]=\"text.params\"\n [required]=\"required()\"\n [disabled]=\"disabled()\"\n />\n <div class=\"input-wrapper\">\n <input\n [id]=\"text.name ?? ''\"\n [value]=\"value()\"\n #inputElement\n [class.error]=\"showErrors()\"\n [disabled]=\"disabled()\"\n [placeholder]=\"(text.placeholder ?? '') | translate: text.params\"\n (input)=\"onInput($event)\"\n (focus)=\"isFocused.set(true)\"\n (blur)=\"isFocused.set(false); touched.set(true)\"\n [type]=\"type()\"\n />\n <m-one-button\n type=\"button\"\n [disabled]=\"disabled()\"\n [name]=\"button()\"\n [color]=\"iconColor()\"\n (clicked)=\"toggleType()\"\n />\n </div>\n @if (showErrors()) {\n @for (error of errors(); track $index) {\n <m-text-output\n variant=\"footer\"\n color=\"error\"\n [label]=\"error.message\"\n />\n }\n }\n }\n `,\n imports: [LabelComponent, TextOutputComponent, ButtonComponent, TranslatePipe],\n styleUrl: './password.sass',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class PasswordInputComponent extends BaseTextInputComponent {\n isPassword = signal<boolean>(true);\n type = computed(() => (this.isPassword() ? 'password' : 'text'));\n button = computed(() => (!this.isPassword() ? 'eye' : 'eye_close'));\n\n protected toggleType() {\n this.isPassword.update((now) => !now);\n }\n\n protected onInput(event: Event): void {\n const target = event.target as HTMLInputElement;\n this.setValue(target?.value ?? '');\n }\n}\n"],"names":[],"mappings":";;;;AA2DM,MAAO,sBAAuB,SAAQ,sBAAsB,CAAA;AAChE,IAAA,UAAU,GAAG,MAAM,CAAU,IAAI,iFAAC;IAClC,IAAI,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,UAAU,EAAE,GAAG,UAAU,GAAG,MAAM,CAAC,EAAA,IAAA,SAAA,GAAA,CAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAAC;IAChE,MAAM,GAAG,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,EAAE,GAAG,KAAK,GAAG,WAAW,CAAC,EAAA,IAAA,SAAA,GAAA,CAAA,EAAA,SAAA,EAAA,QAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAAC;IAEzD,UAAU,GAAA;AAClB,QAAA,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC;IACvC;AAEU,IAAA,OA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AA,MAAA,EAAA,CAAA;;2FAIlE,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBA/ClC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,kBAAkB,EAAA,QAAA,EAClB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCT,EAAA,CAAA,EAAA,OAAA,EACQ,CAAC,cAAc,EAAE,mBAAmB,EAAE,eAAe,EAAE,aAAa,CAAC,EAAA,eAAA,EAE7D,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,s8HAAA,CAAA,EAAA;;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { model, input, computed, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
-
import { g as BaseInputComponent, T as TranslatePipe } from './magmonium-one-magmonium-one-
|
|
3
|
+
import { g as BaseInputComponent, T as TranslatePipe } from './magmonium-one-magmonium-one-Cu45fHus.mjs';
|
|
4
4
|
|
|
5
5
|
class ToggleInputComponent extends BaseInputComponent {
|
|
6
6
|
value = undefined;
|
|
@@ -59,4 +59,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
59
59
|
}], ctorParameters: () => [], propDecorators: { checked: [{ type: i0.Input, args: [{ isSignal: true, alias: "checked", required: false }] }, { type: i0.Output, args: ["checkedChange"] }], config: [{ type: i0.Input, args: [{ isSignal: true, alias: "config", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], invalid: [{ type: i0.Input, args: [{ isSignal: true, alias: "invalid", required: false }] }], touched: [{ type: i0.Input, args: [{ isSignal: true, alias: "touched", required: false }] }, { type: i0.Output, args: ["touchedChange"] }], focused: [{ type: i0.Input, args: [{ isSignal: true, alias: "focused", required: false }] }], errors: [{ type: i0.Input, args: [{ isSignal: true, alias: "errors", required: false }] }] } });
|
|
60
60
|
|
|
61
61
|
export { ToggleInputComponent };
|
|
62
|
-
//# sourceMappingURL=magmonium-one-toggle-
|
|
62
|
+
//# sourceMappingURL=magmonium-one-toggle-DELqFKZY.mjs.map
|
package/fesm2022/{magmonium-one-toggle-B3RHNaUP.mjs.map → magmonium-one-toggle-DELqFKZY.mjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"magmonium-one-toggle-
|
|
1
|
+
{"version":3,"file":"magmonium-one-toggle-DELqFKZY.mjs","sources":["../../../../libs/one/src/lib/shared/ui/input/ui/toggle/toggle.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n input,\n model,\n ModelSignal,\n} from '@angular/core';\nimport { ToggleInput } from '../../model/input';\nimport { TranslatePipe } from '../../../../pipe/translate';\nimport {\n FormCheckboxControl,\n ValidationError,\n WithOptionalField,\n} from '@angular/forms/signals';\nimport { BaseInputComponent } from '../../lib/base-input';\n\n@Component({\n selector: 'm-toggle-input',\n template: `\n @if (config(); as toggle) {\n <div class=\"toggle\">\n <input\n [id]=\"toggle.name ?? ''\"\n [checked]=\"checked()\"\n (change)=\"onChange($event)\"\n type=\"checkbox\"\n />\n <label [attr.for]=\"toggle.name || null\">{{\n toggle.label | translate\n }}</label>\n </div>\n }\n `,\n imports: [TranslatePipe],\n styleUrl: './toggle.sass',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ToggleInputComponent\n extends BaseInputComponent<ToggleInput>\n implements FormCheckboxControl\n{\n public value = undefined;\n public checked = model<boolean>(false) as ModelSignal<boolean>;\n public override config = input<Partial<ToggleInput> | undefined>();\n public override required = input<boolean>(false);\n public override disabled = input<boolean>(false);\n public override invalid = input<boolean>(false);\n public override touched = model<boolean>(false);\n public override focused = input<boolean>(false);\n public override errors = input<readonly WithOptionalField<ValidationError>[]>(\n []\n );\n public override showErrors = computed(() => this.touched() && this.invalid());\n\n /** Required by FormCheckboxControl interface */\n // public readonly checked: ModelSignal<boolean> = this.value; // Already defined above\n\n constructor() {\n super();\n }\n\n protected onChange(event: Event): void {\n const target = event.target as HTMLInputElement;\n this.checked.set(target?.checked ?? false);\n }\n}\n"],"names":[],"mappings":";;;;AAsCM,MAAO,oBACX,SAAQ,kBAA+B,CAAA;IAGhC,KAAK,GAAG,SAAS;AACjB,IAAA,OAAO,GAAG,KAAK,CAAU,KAAK,CAAyB;IAC9C,MAAM,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,QAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAAoC;AAClD,IAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,+EAAC;AAChC,IAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,+EAAC;AAChC,IAAA,OAAO,GAAG,KAAK,CAAU,KAAK,8EAAC;AAC/B,IAAA,OAAO,GAAG,KAAK,CAAU,KAAK,8EAAC;AAC/B,IAAA,OAAO,GAAG,KAAK,CAAU,KAAK,8EAAC;AAC/B,IAAA,MAAM,GAAG,KAAK,CAC5B,EAAE,6EACH;AACe,IAAA,UAAU,GAAG,QAAQ,CAAC,MAAM,IAAI,CAAC,OAAO,EAAE,IAAI,IAAI,CAAC,OAAO,EAAE,iFAAC;;;AAK7E,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;IACT;AAEU,IAAA,QAAQ,CAAC,KAAY,EAAA;AAC7B,QAAA,MAAM,MAAM,GAAG,KAAK,CAAC,MAA0B;QAC/C,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,OAAO,IAAI,KAAK,CAAC;IAC5C;uGA3BW,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAApB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA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EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,OAAA,EAAA,eAAA,EAAA,OAAA,EAAA,eAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAnBrB;;;;;;;;;;;;;;AAcT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,+6GAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EACS,aAAa,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAIZ,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBArBhC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,gBAAgB,EAAA,QAAA,EAChB;;;;;;;;;;;;;;AAcT,EAAA,CAAA,EAAA,OAAA,EACQ,CAAC,aAAa,CAAC,EAAA,eAAA,EAEP,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,+6GAAA,CAAA,EAAA;;;;;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { A as ACCESS_DOMAINS, l as APP_CONTEXT_REF, m as APP_LINK, n as ASSET_BASE_URL, q as AccordionBodyDirective, s as AccordionComponent, t as AccordionGroupComponent, u as ActionComponent, v as AnimatedGraphsComponent, w as AppCardComponent, x as AppRelationType, y as AppTileComponent, z as AssetStore, C as AssetUrlPipe, D as Assets, E as AuthActivityPageComponent, F as AuthApiService, G as AuthStore, J as AutosizeDirective, K as BadgeComponent, N as BandingComponent, O as BaseArrayInputComponent, P as BaseRootWebComponent, Q as BaseWebComponent, B as ButtonComponent, S as ButtonGroupComponent, U as CALLING_APP_HEADER, V as COMPONENT_INPUT_REGISTRY, W as CardComponent, X as CardWrapperComponent, Y as CarouselComponent, Z as ChartComponent, _ as ChatBubbleComponent, $ as CheckboxGroupComponent, a0 as CheckboxInputComponent, a1 as ClearableInputComponent, a2 as ClipboardService, a3 as ColComponent, a4 as ColorPickerInputComponent, a5 as CommentItemComponent, a6 as CommentsApiService, a7 as CommentsComponent, a8 as CommentsStore, a9 as CompactNumberPipe, aa as ComponentInputComponent, ab as ComponentStepperComponent, ac as ConfigComponent, ad as ConfirmComponent, ae as ContextMenuComponent, af as CustomIconClass, ag as CustomIconEditComponent, ah as DEFAULT_DENIAL, ai as DEFAULT_DOC_DENSITY, aj as DEFAULT_DOC_VARIANT, ak as DEFAULT_FILTER_RANGE_MODE, al as DEFAULT_FILTER_VARIANT, am as DEFAULT_NAV_PARAM, an as DEFAULT_NAV_SEGMENT, ao as DEFAULT_SIZE, ap as DOCK_MIN_PAGE_REMAINDER, aq as DOCS_FOLDER, ar as DOC_ACTION_ICONS, as as DOC_DENSITIES, at as DOC_EDIT_ACTIONS, au as DOC_TOOLBAR_GROUPS, av as DOC_VARIANTS, aw as DashboardCardComponent, ax as DateInputComponent, ay as DatePickerComponent, az as DeviceService, aA as DocComponent, aB as DocEditorComponent, aC as DomService, aD as Domain, aE as DotGridComponent, aF as DragListDirective, aG as DragListItemDirective, aH as DraggableDirective, aI as DropdownInputComponent, aJ as FILTER_GROUP_CONTEXT, aK as FILTER_RANGE_MODES, aL as FILTER_VARIANTS, aM as FLEX_VARIANTS, aN as FOLDER_PICK_LISTENER, aO as FORM_ASSET_FOLDER, aP as FileService, aQ as FileUploadDirective, aR as FileUploadInputComponent, aS as FlexComponent, aT as FlexItemComponent, aU as FormGroupComponent, aV as FrameComponent, aW as FreezeService, aX as GRID_BREAKPOINTS, aY as GetNavService, H as HeaderComponent, aZ as HighlightDirective, a_ as HttpService, a$ as ICON_SOURCE, k as IS_DESIGN_MODE, b0 as IS_SIDE_PANEL, b1 as IconComponent, b2 as ImgComponent, I as InputType, b3 as InstrumentScoreComponent, b4 as InterceptorObservables, b5 as JumbotronComponent, b6 as KeyValueComponent, b7 as LAYOUT_ASSET_FOLDER, b8 as LOGIN_COMPONENT, b9 as LOGIN_STORE, ba as LanguageComponent, bb as ListComponent, bc as LogoComponent, bd as MAG_SOCKET_EVENT, be as MHeroColorDirective, bf as MHeroComponent, M as MODAL_REF, bg as MODAL_STORE_REF, bh as MOUNT_STATIC_SEGMENT, bi as MOUNT_TOKEN, bj as MRefDirective, bk as MStepComponent, bl as MURL_PARAM, bm as MURL_SEP, bn as ManifestEnrichmentService, bo as MenuComponent, bp as ModalDirective, bq as ModalRef, br as ModalStore, bs as MoneyPipe, bt as MultiRangeInputComponent, bu as MurlUrlSerializer, bv as NAV_DEFAULT_MURL, bw as NAV_ID_SEP, bx as NAV_MAIN_BUTTONS, by as NAV_SEGMENT_RE, bz as NAV_STORE_REF, bA as NAV_WC_COMPONENTS, bB as NAV_WIDGET_MAP, bC as NavComponent, bD as NavDetailsComponent, bE as NavHeaderComponent, bF as NavMenuComponent, bG as NavStore, bH as NavTrailComponent, bI as NothingComponent, bJ as NotificationElementComponent, bK as NotificationGroupComponent, bL as NotificationPopupComponent, bM as NotificationService, bN as NotificationStore, bO as NotificationType, bP as NotificationWidgetComponent, bQ as ONE_ASSET_BASE_URL, bR as OPTIONS_SOURCE, bS as OVERLAY_WIDGETS, bT as OneApp, bU as OptionsSourceDirective, bV as OverlayBodyComponent, bW as OverlayRef, bX as OverlayService, bY as PLATFORM_BUTTON_NAV_IDS, bZ as PLATFORM_EXTENSIBLE_NAV_IDS, b_ as PLATFORM_NAV_MAP, b$ as PLATFORM_ROOT_CHILDREN, c0 as PaginationComponent, c1 as PanelComponent, c2 as PercentagePipe, c3 as PlaygroundComponent, c4 as PositionDirective, c5 as PwaInstallComponent, c6 as RECENT_SEARCH_LIMIT, c7 as REMOTE_PAGE_RELOAD, c8 as ROOT_NAV, c9 as RadioGroupComponent, ca as RadioInputComponent, R as RangeInputComponent, cb as RatingInputComponent, cc as ReactiveElementComponent, cd as RemoteComponent, ce as RemoteLoaderService, cf as ResizeElementComponent, cg as RouteContainer, ch as RowComponent, ci as SEARCH_QUERY, cj as SEARCH_RESULTS_EVENT, ck as SECTION_ACCORDION_GROUP, cl as SECTION_FORM_CONTEXT, cm as SECTION_TABLE_VARIANTS, cn as SHARED_ICONS, co as SIZE_CONTEXT, cp as ScoreComponent, cq as ScrollComponent, cr as ScrollService, cs as SearchPanelComponent, ct as SearchStore, cu as SearchUserPanelComponent, cv as SectionAccordionDirective, cw as SectionAccordionGroupDirective, cx as SectionBackComponent, cy as SectionBadgesComponent, cz as SectionButtonGroupComponent, cA as SectionCardComponent, cB as SectionCarouselComponent, cC as SectionComponent, cD as SectionFilterComponent, cE as SectionFilterGroupComponent, cF as SectionFilterMenuComponent, cG as SectionFilterPanelComponent, cH as SectionFilterRangePanelComponent, cI as SectionFooterComponent, cJ as SectionFormComponent, cK as SectionFormItemComponent, cL as SectionHeaderComponent, cM as SectionHeroComponent, cN as SectionPaginationComponent, cO as SectionSearchComponent, cP as SectionStepperComponent, cQ as SectionTableCellComponent, cR as SectionTableComponent, cS as SectionTableRowComponent, cT as SectionTableSortPipe, cU as SectionTabsComponent, cV as SectionToggleComponent, cW as SectionToggleItemDirective, cX as SelectableCardInputComponent, cY as SelectorDirective, cZ as SettingsSearchBarComponent, c_ as SettingsSearchService, c$ as ShapeComponent, d0 as SharedStoreRegistry, d1 as SidePanelDirective, d2 as Size, d3 as SocketStore, d4 as SortComponent, d5 as StatComponent, d6 as StepComponent, d7 as StepperComponent, d8 as StepsComponent, d9 as StorageService, da as StrokeLinecap, db as StrokeLinejoin, dc as SummaryComponent, dd as SvgGeneratorComponent, de as SvgGeneratorService, df as SvgService, dg as TOTAL_COLUMNS, dh as TRANSLATION_SOURCE, di as TableComponent, dj as TechnicalMeterComponent, dk as TextInputComponent, j as TextOutputComponent, dl as TextareaInputComponent, dm as ThemeComponent, dn as ThemeDataService, dp as ThemeService, dq as ThemeStore, dr as TimeAgoPipe, ds as TimelineComponent, dt as ToggleButtonComponent, du as ToggleInputComponent, dv as ToggleRadioInputComponent, dw as ToolTipDirective, dx as TooltipComponent, T as TranslatePipe, dy as TranslateService, dz as TreeGridComponent, dA as URL_SEP, dB as USER_STORE_REF, dC as USER_TAB_MAP, dD as UniverseComponent, dE as UserApiService, dF as UserAvatarComponent, dG as UserComponent, dH as UserNavComponent, dI as UserSettingsComponent, dJ as UserStore, dK as WC_BUNDLE, dL as WC_NAVIGATE_EVENT, dM as WC_ROUTE_CHANGED_EVENT, dN as WC_SEARCH_GROUPS, dO as WIN_USER_TAB_HOOK, dP as WIN_USER_TAB_KEY, dQ as WatermarkComponent, dR as WcRouterStore, dS as WrapperInputComponent, dT as anchorNavId, dU as applyColorsToElement, dV as applyDocEdit, dW as assetOptions, dX as bootstrapMagApp, dY as bootstrapPwaInstall, dZ as buildWcBaseUrl, d_ as calculateLuminance, d$ as calculateRanks, e0 as cellText, e1 as checkDoc, e2 as checkFilterCondition, e3 as childNavId, e4 as claimDenial, e5 as classListSignal, e6 as coerceSize, e7 as cornerEdge, e8 as cornerSide, e9 as createMap, ea as createPlatformNavMap, eb as definedWcTierOf, ec as deriveAvatarGradient, ed as deriveContrastColor, ee as deriveOppositeColor, ef as derivePropertyName, eg as docActionKey, eh as docAssetCandidates, ei as docProblemKey, ej as docRemotePath, ek as emailValidation, el as evaluate, em as evaluateBool, en as fieldBoolean, eo as fieldNumber, ep as fieldString, eq as filterHoldsList, er as filterHoldsOneBound, es as filterHoldsOptions, et as filterHoldsRange, eu as filterList, ev as filterNumber, ew as filterNumberList, ex as filterOne, ey as filterPanelOf, ez as filterPanelWidth, eA as filterRange, eB as filterTreeGridRows, eC as filterValueList, eD as filterValues, eE as flattenTreeGridRows, eF as formatBadgeCount, eG as fullName, eH as generateClipPath, eI as generateTransform, eJ as getClassList, eK as getProperty, eL as getScrollParent, eM as getTierFromPreviewPath, eN as getTreeGridRow, eO as getUniqueId, eP as getValue, eQ as hasErrorComputed, eR as hexToRgb, eS as hslToRgb, eT as initMagmoniumApp, eU as initialNotificationState, eV as initialState, eW as initials, eX as injectAuthenticate, eY as injectDefaultDenial, eZ as injectInstallApp, e_ as injectParentSize, e$ as injectScrollSticky, f0 as isBootRedirect, f1 as isButtonName, f2 as isCancelledComputed, f3 as isExtensiblePlatformNavId, f4 as isJson, f5 as isLoadingComputed, f6 as isLocalhost, f7 as isNavInstanceConfig, f8 as isNavMenuConfig, f9 as isNavRowsConfig, fa as isNavVisibilityConfig, fb as isPlatformNavId, fc as isSize, fd as isTierPreview, fe as isUrlLocalhost, ff as isValidNavId, fg as isValidNavSegment, fh as isWebComponent, fi as linkToId, fj as linkToNav, fk as loadingActions, fl as mInterceptor, fm as manualValidation, fn as matchFieldValidation, fo as matchMount, fp as maxLengthValidation, fq as maxValidation, fr as mergePlatformNav, fs as mergeUnique, ft as mergeUniqueBy, fu as mergeUniqueWith, fv as minAgeValidation, fw as minLengthValidation, fx as minValidation, fy as miniMarkToHtml, fz as mountFor, fA as mountPatternProblem, fB as mountPatternText, fC as mountSegmentOf, fD as mountTokenOf, fE as navIdChain, fF as navIdFor, fG as navIdSegment, fH as navIdToRoutePath, fI as navIdToSegments, fJ as navParamOf, fK as navTailMatcher, fL as navToId, fM as navVisibilityGuard, fN as nextSectionTableSort, fO as normalizeAssetOptions, fP as offsetOfLine, fQ as parentNavId, fR as parseAddress, fS as parseColor, fT as parseMountPattern, fU as parsePatternNames, fV as patternValidation, fW as patternsValidation, fX as permissionRefusal, fY as platformNavWidgets, fZ as privateGuard, f_ as processImageToSvg, f$ as provideAppContext, g0 as provideMagAppConfig, g1 as provideMagWcConfig, g2 as provideMagWcRoutes, g3 as provideModalComponents, g4 as provideMurlUrlSerializer, g5 as provideNavWidgets, g6 as provideOverlayWidgets, g7 as providePlatformNavWidgets, g8 as provideSearch, g9 as provideSizeContext, ga as provideUserTabs, gb as publicGuard, gc as readFieldPatterns, gd as recordDefinedWcTier, ge as remoteOutletRoute, gf as renderAddress, gg as renderDocument, gh as requiredValidation, gi as resolveConfigAsset, gj as resolveIconSize, gk as resolvePallet, gl as resolvePatternRules, gm as resolveSize, gn as rgbToHex, go as rgbToHsl, gp as rowHasChildren, gq as samePatterns, gr as sectionTableColumnId, gs as sectionTableColumnWidths, gt as sectionTableFrozenCount, gu as segmentsToNavId, gv as setProperty, gw as setTreeGridChildren, gx as setWcTier, gy as settingsWidgets, gz as shouldShowBadge, gA as sortSectionTableRows, gB as splitNavId, gC as splitOnMatch, gD as stringToColor, gE as tailRouteOf, gF as toAttrBool, gG as toAttrNumber, gH as toCssLength, gI as toHostNavId, gJ as toLength, gK as toLocalNavId, gL as toggleTreeGridRow, gM as unfetchedPlatformNav, gN as ungroupedDocActions, gO as urlValidation, gP as wcTierOf } from './magmonium-one-magmonium-one-E20M_YDk.mjs';
|
|
1
|
+
export { A as ACCESS_DOMAINS, l as APP_CONTEXT_REF, m as APP_LINK, n as ASSET_BASE_URL, q as AccordionBodyDirective, s as AccordionComponent, t as AccordionGroupComponent, u as ActionComponent, v as AnimatedGraphsComponent, w as AppCardComponent, x as AppRelationType, y as AppTileComponent, z as AssetStore, C as AssetUrlPipe, D as Assets, E as AuthActivityPageComponent, F as AuthApiService, G as AuthStore, J as AutosizeDirective, K as BadgeComponent, N as BandingComponent, O as BaseArrayInputComponent, P as BaseRootWebComponent, Q as BaseWebComponent, B as ButtonComponent, S as ButtonGroupComponent, U as CALLING_APP_HEADER, V as COMPONENT_INPUT_REGISTRY, W as CardComponent, X as CardWrapperComponent, Y as CarouselComponent, Z as ChartComponent, _ as ChatBubbleComponent, $ as CheckboxGroupComponent, a0 as CheckboxInputComponent, a1 as ClearableInputComponent, a2 as ClipboardService, a3 as ColComponent, a4 as ColorPickerInputComponent, a5 as CommentItemComponent, a6 as CommentsApiService, a7 as CommentsComponent, a8 as CommentsStore, a9 as CompactNumberPipe, aa as ComponentInputComponent, ab as ComponentStepperComponent, ac as ConfigComponent, ad as ConfirmComponent, ae as ContextMenuComponent, af as CustomIconClass, ag as CustomIconEditComponent, ah as DEFAULT_DENIAL, ai as DEFAULT_DOC_DENSITY, aj as DEFAULT_DOC_VARIANT, ak as DEFAULT_FILTER_RANGE_MODE, al as DEFAULT_FILTER_VARIANT, am as DEFAULT_NAV_PARAM, an as DEFAULT_NAV_SEGMENT, ao as DEFAULT_SIZE, ap as DOCK_MIN_PAGE_REMAINDER, aq as DOCS_FOLDER, ar as DOC_ACTION_ICONS, as as DOC_DENSITIES, at as DOC_EDIT_ACTIONS, au as DOC_TOOLBAR_GROUPS, av as DOC_VARIANTS, aw as DashboardCardComponent, ax as DateInputComponent, ay as DatePickerComponent, az as DeviceService, aA as DocComponent, aB as DocEditorComponent, aC as DomService, aD as Domain, aE as DotGridComponent, aF as DragListDirective, aG as DragListItemDirective, aH as DraggableDirective, aI as DropdownInputComponent, aJ as FILTER_GROUP_CONTEXT, aK as FILTER_RANGE_MODES, aL as FILTER_VARIANTS, aM as FLEX_VARIANTS, aN as FOLDER_PICK_LISTENER, aO as FORM_ASSET_FOLDER, aP as FileService, aQ as FileUploadDirective, aR as FileUploadInputComponent, aS as FlexComponent, aT as FlexItemComponent, aU as FormGroupComponent, aV as FrameComponent, aW as FreezeService, aX as GRID_BREAKPOINTS, aY as GetNavService, H as HeaderComponent, aZ as HighlightDirective, a_ as HttpService, a$ as ICON_SOURCE, k as IS_DESIGN_MODE, b0 as IS_SIDE_PANEL, b1 as IconComponent, b2 as ImgComponent, I as InputType, b3 as InstrumentScoreComponent, b4 as InterceptorObservables, b5 as JumbotronComponent, b6 as KeyValueComponent, b7 as LAYOUT_ASSET_FOLDER, b8 as LOGIN_COMPONENT, b9 as LOGIN_STORE, ba as LanguageComponent, bb as ListComponent, bc as LogoComponent, bd as MAG_SOCKET_EVENT, be as MHeroColorDirective, bf as MHeroComponent, M as MODAL_REF, bg as MODAL_STORE_REF, bh as MOUNT_STATIC_SEGMENT, bi as MOUNT_TOKEN, bj as MRefDirective, bk as MStepComponent, bl as MURL_PARAM, bm as MURL_SEP, bn as ManifestEnrichmentService, bo as MarginDirective, bp as MenuComponent, bq as ModalDirective, br as ModalRef, bs as ModalStore, bt as MoneyPipe, bu as MultiRangeInputComponent, bv as MurlUrlSerializer, bw as NAV_DEFAULT_MURL, bx as NAV_ID_SEP, by as NAV_MAIN_BUTTONS, bz as NAV_SEGMENT_RE, bA as NAV_STORE_REF, bB as NAV_WC_COMPONENTS, bC as NAV_WIDGET_MAP, bD as NavComponent, bE as NavDetailsComponent, bF as NavHeaderComponent, bG as NavMenuComponent, bH as NavStore, bI as NavTrailComponent, bJ as NothingComponent, bK as NotificationElementComponent, bL as NotificationGroupComponent, bM as NotificationPopupComponent, bN as NotificationService, bO as NotificationStore, bP as NotificationType, bQ as NotificationWidgetComponent, bR as ONE_ASSET_BASE_URL, bS as OPTIONS_SOURCE, bT as OVERLAY_WIDGETS, bU as OneApp, bV as OptionsSourceDirective, bW as OverlayBodyComponent, bX as OverlayRef, bY as OverlayService, bZ as PLATFORM_BUTTON_NAV_IDS, b_ as PLATFORM_EXTENSIBLE_NAV_IDS, b$ as PLATFORM_NAV_MAP, c0 as PLATFORM_ROOT_CHILDREN, c1 as PaddingDirective, c2 as PaginationComponent, c3 as PanelComponent, c4 as PercentagePipe, c5 as PlaygroundComponent, c6 as PositionDirective, c7 as PwaInstallComponent, c8 as RECENT_SEARCH_LIMIT, c9 as REMOTE_PAGE_RELOAD, ca as ROOT_NAV, cb as RadioGroupComponent, cc as RadioInputComponent, R as RangeInputComponent, cd as RatingInputComponent, ce as ReactiveElementComponent, cf as RemoteComponent, cg as RemoteLoaderService, ch as ResizeElementComponent, ci as RouteContainer, cj as RowComponent, ck as SEARCH_QUERY, cl as SEARCH_RESULTS_EVENT, cm as SECTION_ACCORDION_GROUP, cn as SECTION_FORM_CONTEXT, co as SECTION_TABLE_VARIANTS, cp as SHARED_ICONS, cq as SIZE_CONTEXT, cr as SPACING_INWARD, cs as ScoreComponent, ct as ScrollComponent, cu as ScrollService, cv as SearchPanelComponent, cw as SearchStore, cx as SearchUserPanelComponent, cy as SectionAccordionDirective, cz as SectionAccordionGroupDirective, cA as SectionBackComponent, cB as SectionBadgesComponent, cC as SectionButtonGroupComponent, cD as SectionCardComponent, cE as SectionCarouselComponent, cF as SectionComponent, cG as SectionFilterComponent, cH as SectionFilterGroupComponent, cI as SectionFilterMenuComponent, cJ as SectionFilterPanelComponent, cK as SectionFilterRangePanelComponent, cL as SectionFooterComponent, cM as SectionFormComponent, cN as SectionFormItemComponent, cO as SectionHeaderComponent, cP as SectionHeroComponent, cQ as SectionPaginationComponent, cR as SectionSearchComponent, cS as SectionStepperComponent, cT as SectionTableCellComponent, cU as SectionTableComponent, cV as SectionTableRowComponent, cW as SectionTableSortPipe, cX as SectionTabsComponent, cY as SectionToggleComponent, cZ as SectionToggleItemDirective, c_ as SelectableCardInputComponent, c$ as SelectorDirective, d0 as SettingsSearchBarComponent, d1 as SettingsSearchService, d2 as ShapeComponent, d3 as SharedStoreRegistry, d4 as SidePanelDirective, d5 as Size, d6 as SocketStore, d7 as SortComponent, d8 as StatComponent, d9 as StepComponent, da as StepperComponent, db as StepsComponent, dc as StorageService, dd as StrokeLinecap, de as StrokeLinejoin, df as SummaryComponent, dg as SvgGeneratorComponent, dh as SvgGeneratorService, di as SvgService, dj as TOTAL_COLUMNS, dk as TRANSLATION_SOURCE, dl as TableComponent, dm as TechnicalMeterComponent, dn as TextInputComponent, j as TextOutputComponent, dp as TextareaInputComponent, dq as ThemeComponent, dr as ThemeDataService, ds as ThemeService, dt as ThemeStore, du as TimeAgoPipe, dv as TimelineComponent, dw as ToggleButtonComponent, dx as ToggleInputComponent, dy as ToggleRadioInputComponent, dz as ToolTipDirective, dA as TooltipComponent, T as TranslatePipe, dB as TranslateService, dC as TreeGridComponent, dD as URL_SEP, dE as USER_STORE_REF, dF as USER_TAB_MAP, dG as UniverseComponent, dH as UserApiService, dI as UserAvatarComponent, dJ as UserComponent, dK as UserNavComponent, dL as UserSettingsComponent, dM as UserStore, dN as WC_BUNDLE, dO as WC_NAVIGATE_EVENT, dP as WC_ROUTE_CHANGED_EVENT, dQ as WC_SEARCH_GROUPS, dR as WIN_USER_TAB_HOOK, dS as WIN_USER_TAB_KEY, dT as WatermarkComponent, dU as WcRouterStore, dV as WrapperInputComponent, dW as anchorNavId, dX as applyColorsToElement, dY as applyDocEdit, dZ as assetOptions, d_ as bootstrapMagApp, d$ as bootstrapPwaInstall, e0 as buildWcBaseUrl, e1 as calculateLuminance, e2 as calculateRanks, e3 as cellText, e4 as checkDoc, e5 as checkFilterCondition, e6 as childNavId, e7 as claimDenial, e8 as classListSignal, e9 as coerceSize, ea as cornerEdge, eb as cornerSide, ec as createMap, ed as createPlatformNavMap, ee as definedWcTierOf, ef as deriveAvatarGradient, eg as deriveContrastColor, eh as deriveOppositeColor, ei as derivePropertyName, ej as docActionKey, ek as docAssetCandidates, el as docProblemKey, em as docRemotePath, en as emailValidation, eo as evaluate, ep as evaluateBool, eq as fieldBoolean, er as fieldNumber, es as fieldString, et as filterHoldsList, eu as filterHoldsOneBound, ev as filterHoldsOptions, ew as filterHoldsRange, ex as filterList, ey as filterNumber, ez as filterNumberList, eA as filterOne, eB as filterPanelOf, eC as filterPanelWidth, eD as filterRange, eE as filterTreeGridRows, eF as filterValueList, eG as filterValues, eH as flattenTreeGridRows, eI as formatBadgeCount, eJ as fullName, eK as generateClipPath, eL as generateTransform, eM as getClassList, eN as getProperty, eO as getScrollParent, eP as getTierFromPreviewPath, eQ as getTreeGridRow, eR as getUniqueId, eS as getValue, eT as hasErrorComputed, eU as hexToRgb, eV as hslToRgb, eW as initMagmoniumApp, eX as initialNotificationState, eY as initialState, eZ as initials, e_ as injectAuthenticate, e$ as injectDefaultDenial, f0 as injectInstallApp, f1 as injectParentSize, f2 as injectScrollSticky, f3 as isBootRedirect, f4 as isButtonName, f5 as isCancelledComputed, f6 as isExtensiblePlatformNavId, f7 as isJson, f8 as isLoadingComputed, f9 as isLocalhost, fa as isNavInstanceConfig, fb as isNavMenuConfig, fc as isNavRowsConfig, fd as isNavVisibilityConfig, fe as isPlatformNavId, ff as isSize, fg as isTierPreview, fh as isUrlLocalhost, fi as isValidNavId, fj as isValidNavSegment, fk as isWebComponent, fl as linkToId, fm as linkToNav, fn as loadingActions, fo as mInterceptor, fp as manualValidation, fq as matchFieldValidation, fr as matchMount, fs as maxLengthValidation, ft as maxValidation, fu as mergePlatformNav, fv as mergeUnique, fw as mergeUniqueBy, fx as mergeUniqueWith, fy as minAgeValidation, fz as minLengthValidation, fA as minValidation, fB as miniMarkToHtml, fC as mountFor, fD as mountPatternProblem, fE as mountPatternText, fF as mountSegmentOf, fG as mountTokenOf, fH as navIdChain, fI as navIdFor, fJ as navIdSegment, fK as navIdToRoutePath, fL as navIdToSegments, fM as navParamOf, fN as navTailMatcher, fO as navToId, fP as navVisibilityGuard, fQ as nextSectionTableSort, fR as normalizeAssetOptions, fS as offsetOfLine, fT as parentNavId, fU as parseAddress, fV as parseColor, fW as parseMountPattern, fX as parsePatternNames, fY as patternValidation, fZ as patternsValidation, f_ as permissionRefusal, f$ as platformNavWidgets, g0 as privateGuard, g1 as processImageToSvg, g2 as provideAppContext, g3 as provideMagAppConfig, g4 as provideMagWcConfig, g5 as provideMagWcRoutes, g6 as provideModalComponents, g7 as provideMurlUrlSerializer, g8 as provideNavWidgets, g9 as provideOverlayWidgets, ga as providePlatformNavWidgets, gb as provideSearch, gc as provideSizeContext, gd as provideUserTabs, ge as publicGuard, gf as readFieldPatterns, gg as recordDefinedWcTier, gh as remoteOutletRoute, gi as renderAddress, gj as renderDocument, gk as requiredValidation, gl as resolveConfigAsset, gm as resolveIconSize, gn as resolvePallet, go as resolvePatternRules, gp as resolveSize, gq as resolveSpacing, gr as rgbToHex, gs as rgbToHsl, gt as rowHasChildren, gu as samePatterns, gv as sectionTableColumnId, gw as sectionTableColumnWidths, gx as sectionTableFrozenCount, gy as segmentsToNavId, gz as setProperty, gA as setTreeGridChildren, gB as setWcTier, gC as settingsWidgets, gD as shouldShowBadge, gE as sortSectionTableRows, gF as splitNavId, gG as splitOnMatch, gH as stringToColor, gI as tailRouteOf, gJ as toAttrBool, gK as toAttrNumber, gL as toCssLength, gM as toHostNavId, gN as toLength, gO as toLocalNavId, gP as toggleTreeGridRow, gQ as unfetchedPlatformNav, gR as ungroupedDocActions, gS as urlValidation, gT as wcTierOf } from './magmonium-one-magmonium-one-Cu45fHus.mjs';
|
|
2
2
|
//# sourceMappingURL=magmonium-one.mjs.map
|
package/package.json
CHANGED
package/types/magmonium-one.d.ts
CHANGED
|
@@ -1205,6 +1205,12 @@ declare function resolveIconSize(override: number | string | undefined | null, c
|
|
|
1205
1205
|
* `undefined` so the style binding is dropped rather than written as `''`.
|
|
1206
1206
|
*/
|
|
1207
1207
|
declare function toCssLength(value: number | string | undefined): string | undefined;
|
|
1208
|
+
/**
|
|
1209
|
+
* Spacing on the em scale — gap, padding, margin — or nothing at all: an unset
|
|
1210
|
+
* value drops the style binding rather than writing `toLength`'s `0` over what
|
|
1211
|
+
* CSS would have done.
|
|
1212
|
+
*/
|
|
1213
|
+
declare function resolveSpacing(value: number | string | undefined | null): string | undefined;
|
|
1208
1214
|
|
|
1209
1215
|
declare function getUniqueId(): string;
|
|
1210
1216
|
|
|
@@ -1551,6 +1557,60 @@ declare class MRefDirective {
|
|
|
1551
1557
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<MRefDirective, "[mRef]", never, { "mRef": { "alias": "mRef"; "required": true; "isSignal": true; }; "mRefLinkActive": { "alias": "mRefLinkActive"; "required": false; "isSignal": true; }; "mRefToggle": { "alias": "mRefToggle"; "required": false; "isSignal": true; }; "mRefParams": { "alias": "mRefParams"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1552
1558
|
}
|
|
1553
1559
|
|
|
1560
|
+
type SpacingValue = number | string | undefined | null;
|
|
1561
|
+
/**
|
|
1562
|
+
* Which of the two spacings a primitive takes inward rather than on its host.
|
|
1563
|
+
* Provided in a component's own `providers`, so the directive on that host
|
|
1564
|
+
* reads it from the same element and nowhere else.
|
|
1565
|
+
*
|
|
1566
|
+
* `padding` — the primitive draws a box of its own inside the host (a Card's
|
|
1567
|
+
* header, main and footer) and pads that box from `--m-padding-inline` /
|
|
1568
|
+
* `--m-padding-block` in place of its built-in padding. Padding the host too
|
|
1569
|
+
* would pad it twice.
|
|
1570
|
+
*
|
|
1571
|
+
* `margin` — the primitive stretches to its container's width, so a margin on
|
|
1572
|
+
* the host pushes it past the edge. It reads `--m-margin-inline` and narrows
|
|
1573
|
+
* itself instead.
|
|
1574
|
+
*/
|
|
1575
|
+
type SpacingInward = {
|
|
1576
|
+
padding?: boolean;
|
|
1577
|
+
margin?: boolean;
|
|
1578
|
+
};
|
|
1579
|
+
declare const SPACING_INWARD: InjectionToken<SpacingInward>;
|
|
1580
|
+
/**
|
|
1581
|
+
* Space inside any element. A bare number is `em`, any other CSS length
|
|
1582
|
+
* passes through; the axis inputs win over the shorthand on their own axis.
|
|
1583
|
+
* Always writes the resolved lengths as `--m-padding-inline` /
|
|
1584
|
+
* `--m-padding-block`, and pads the host itself unless the host takes padding
|
|
1585
|
+
* inward (`SPACING_INWARD`).
|
|
1586
|
+
*/
|
|
1587
|
+
declare class PaddingDirective {
|
|
1588
|
+
readonly mPadding: _angular_core.InputSignal<SpacingValue>;
|
|
1589
|
+
readonly mPaddingX: _angular_core.InputSignal<SpacingValue>;
|
|
1590
|
+
readonly mPaddingY: _angular_core.InputSignal<SpacingValue>;
|
|
1591
|
+
protected readonly inward: boolean;
|
|
1592
|
+
protected readonly inline: _angular_core.Signal<string | undefined>;
|
|
1593
|
+
protected readonly block: _angular_core.Signal<string | undefined>;
|
|
1594
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PaddingDirective, never>;
|
|
1595
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<PaddingDirective, "[mPadding],[mPaddingX],[mPaddingY]", never, { "mPadding": { "alias": "mPadding"; "required": false; "isSignal": true; }; "mPaddingX": { "alias": "mPaddingX"; "required": false; "isSignal": true; }; "mPaddingY": { "alias": "mPaddingY"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1596
|
+
}
|
|
1597
|
+
/**
|
|
1598
|
+
* Space around any element, on `PaddingDirective`'s scale. Writes
|
|
1599
|
+
* `--m-margin-inline` / `--m-margin-block` always; the block margin is set on
|
|
1600
|
+
* the host always, the inline one only when the host does not take it inward
|
|
1601
|
+
* (`SPACING_INWARD`) — a full-width host narrows by it instead.
|
|
1602
|
+
*/
|
|
1603
|
+
declare class MarginDirective {
|
|
1604
|
+
readonly mMargin: _angular_core.InputSignal<SpacingValue>;
|
|
1605
|
+
readonly mMarginX: _angular_core.InputSignal<SpacingValue>;
|
|
1606
|
+
readonly mMarginY: _angular_core.InputSignal<SpacingValue>;
|
|
1607
|
+
protected readonly inward: boolean;
|
|
1608
|
+
protected readonly inline: _angular_core.Signal<string | undefined>;
|
|
1609
|
+
protected readonly block: _angular_core.Signal<string | undefined>;
|
|
1610
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MarginDirective, never>;
|
|
1611
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<MarginDirective, "[mMargin],[mMarginX],[mMarginY]", never, { "mMargin": { "alias": "mMargin"; "required": false; "isSignal": true; }; "mMarginX": { "alias": "mMarginX"; "required": false; "isSignal": true; }; "mMarginY": { "alias": "mMarginY"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1612
|
+
}
|
|
1613
|
+
|
|
1554
1614
|
/**
|
|
1555
1615
|
* Merges multiple arrays and removes duplicates
|
|
1556
1616
|
* @param arrays - Arrays to merge
|
|
@@ -5594,6 +5654,12 @@ interface SectionFormConfig extends Omit<Form, 'label' | 'subtitle'> {
|
|
|
5594
5654
|
maxHeight?: number | string;
|
|
5595
5655
|
height?: number | string;
|
|
5596
5656
|
align?: 'left' | 'right' | 'center';
|
|
5657
|
+
padding?: number | string;
|
|
5658
|
+
paddingX?: number | string;
|
|
5659
|
+
paddingY?: number | string;
|
|
5660
|
+
margin?: number | string;
|
|
5661
|
+
marginX?: number | string;
|
|
5662
|
+
marginY?: number | string;
|
|
5597
5663
|
}
|
|
5598
5664
|
|
|
5599
5665
|
/**
|
|
@@ -5652,6 +5718,12 @@ declare class SectionFormComponent<T extends object = Record<string, unknown>> e
|
|
|
5652
5718
|
readonly maxHeight: _angular_core.InputSignal<string | number | undefined>;
|
|
5653
5719
|
readonly height: _angular_core.InputSignal<string | number | undefined>;
|
|
5654
5720
|
readonly align: _angular_core.InputSignal<"center" | "left" | "right" | undefined>;
|
|
5721
|
+
readonly padding: _angular_core.InputSignal<string | number | undefined>;
|
|
5722
|
+
readonly paddingX: _angular_core.InputSignal<string | number | undefined>;
|
|
5723
|
+
readonly paddingY: _angular_core.InputSignal<string | number | undefined>;
|
|
5724
|
+
readonly margin: _angular_core.InputSignal<string | number | undefined>;
|
|
5725
|
+
readonly marginX: _angular_core.InputSignal<string | number | undefined>;
|
|
5726
|
+
readonly marginY: _angular_core.InputSignal<string | number | undefined>;
|
|
5655
5727
|
readonly size: _angular_core.InputSignal<"sm" | "md" | "lg" | Size | undefined>;
|
|
5656
5728
|
readonly autofocus: _angular_core.InputSignal<boolean>;
|
|
5657
5729
|
data: _angular_core.InputSignal<T | undefined>;
|
|
@@ -5694,6 +5766,12 @@ declare class SectionFormComponent<T extends object = Record<string, unknown>> e
|
|
|
5694
5766
|
readonly resolvedAlign: _angular_core.Signal<"center" | "left" | "right">;
|
|
5695
5767
|
readonly resolvedVariant: _angular_core.Signal<string | undefined>;
|
|
5696
5768
|
readonly resolvedMaxWidth: _angular_core.Signal<string | number | undefined>;
|
|
5769
|
+
private readonly resolvedPadding;
|
|
5770
|
+
readonly resolvedPaddingInline: _angular_core.Signal<string | undefined>;
|
|
5771
|
+
readonly resolvedPaddingBlock: _angular_core.Signal<string | undefined>;
|
|
5772
|
+
private readonly resolvedMargin;
|
|
5773
|
+
readonly resolvedMarginInline: _angular_core.Signal<string | undefined>;
|
|
5774
|
+
readonly resolvedMarginBlock: _angular_core.Signal<string | undefined>;
|
|
5697
5775
|
readonly resolvedMinHeight: _angular_core.Signal<string | undefined>;
|
|
5698
5776
|
readonly resolvedMinWidth: _angular_core.Signal<string | undefined>;
|
|
5699
5777
|
readonly resolvedMaxHeight: _angular_core.Signal<string | number | undefined>;
|
|
@@ -5712,7 +5790,7 @@ declare class SectionFormComponent<T extends object = Record<string, unknown>> e
|
|
|
5712
5790
|
*/
|
|
5713
5791
|
readonly reset: () => void;
|
|
5714
5792
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SectionFormComponent<any>, never>;
|
|
5715
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SectionFormComponent<any>, "m-section-form, m-one-section-form", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "maxWidth": { "alias": "maxWidth"; "required": false; "isSignal": true; }; "heightMode": { "alias": "heightMode"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "autofocus": { "alias": "autofocus"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "validation": { "alias": "validation"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "fieldConfigs": { "alias": "fieldConfigs"; "required": false; "isSignal": true; }; "fieldRenderIds": { "alias": "fieldRenderIds"; "required": false; "isSignal": true; }; }, { "dataChange": "dataChange"; "submitted": "submitted"; "formInitialized": "formInitialized"; }, never, ["*"], true, never>;
|
|
5793
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SectionFormComponent<any>, "m-section-form, m-one-section-form", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "maxWidth": { "alias": "maxWidth"; "required": false; "isSignal": true; }; "heightMode": { "alias": "heightMode"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; "padding": { "alias": "padding"; "required": false; "isSignal": true; }; "paddingX": { "alias": "paddingX"; "required": false; "isSignal": true; }; "paddingY": { "alias": "paddingY"; "required": false; "isSignal": true; }; "margin": { "alias": "margin"; "required": false; "isSignal": true; }; "marginX": { "alias": "marginX"; "required": false; "isSignal": true; }; "marginY": { "alias": "marginY"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "autofocus": { "alias": "autofocus"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "validation": { "alias": "validation"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "fieldConfigs": { "alias": "fieldConfigs"; "required": false; "isSignal": true; }; "fieldRenderIds": { "alias": "fieldRenderIds"; "required": false; "isSignal": true; }; }, { "dataChange": "dataChange"; "submitted": "submitted"; "formInitialized": "formInitialized"; }, never, ["*"], true, never>;
|
|
5716
5794
|
}
|
|
5717
5795
|
|
|
5718
5796
|
type LabelOrientation = 'horizontal' | 'vertical';
|
|
@@ -11145,5 +11223,5 @@ interface AuthResult {
|
|
|
11145
11223
|
}
|
|
11146
11224
|
declare function injectAuthenticate(): () => Promise<AuthResult>;
|
|
11147
11225
|
|
|
11148
|
-
export { ACCESS_DOMAINS, APP_CONTEXT_REF, APP_LINK, ASSET_BASE_URL, AccordionBodyDirective, AccordionComponent, AccordionGroupComponent, ActionComponent, AnimatedGraphsComponent, AppCardComponent, AppRelationType, AppTileComponent, AssetStore, AssetUrlPipe, Assets, AuthActivityPageComponent, AuthApiService, AuthStore, AutosizeDirective, BadgeComponent, BandingComponent, BaseArrayInputComponent, BaseRootWebComponent, BaseWebComponent, ButtonComponent, ButtonGroupComponent, CALLING_APP_HEADER, COMPONENT_INPUT_REGISTRY, CardComponent, CardWrapperComponent, CarouselComponent, ChartComponent, ChatBubbleComponent, CheckboxGroupComponent, CheckboxInputComponent, ClearableInputComponent, ClipboardService, ColComponent, ColorPickerInputComponent, CommentItemComponent, CommentsApiService, CommentsComponent, CommentsStore, CompactNumberPipe, ComponentInputComponent, ComponentStepperComponent, ConfigComponent, ConfirmComponent, ContextMenuComponent, CustomIconClass, CustomIconEditComponent, DEFAULT_DENIAL, DEFAULT_DOC_DENSITY, DEFAULT_DOC_VARIANT, DEFAULT_FILTER_RANGE_MODE, DEFAULT_FILTER_VARIANT, DEFAULT_NAV_PARAM, DEFAULT_NAV_SEGMENT, DEFAULT_SIZE, DOCK_MIN_PAGE_REMAINDER, DOCS_FOLDER, DOC_ACTION_ICONS, DOC_DENSITIES, DOC_EDIT_ACTIONS, DOC_TOOLBAR_GROUPS, DOC_VARIANTS, DashboardCardComponent, DateInputComponent, DatePickerComponent, DeviceService, DocComponent, DocEditorComponent, DomService, Domain, DotGridComponent, DragListDirective, DragListItemDirective, DraggableDirective, DropdownInputComponent, FILTER_GROUP_CONTEXT, FILTER_RANGE_MODES, FILTER_VARIANTS, FLEX_VARIANTS, FOLDER_PICK_LISTENER, FORM_ASSET_FOLDER, FileService, FileUploadDirective, FileUploadInputComponent, FlexComponent, FlexItemComponent, FormGroupComponent, FrameComponent, FreezeService, GRID_BREAKPOINTS, GetNavService, HeaderComponent, HighlightDirective, HttpService, ICON_SOURCE, IS_DESIGN_MODE, IS_SIDE_PANEL, IconComponent, ImgComponent, InputType, InstrumentScoreComponent, InterceptorObservables, JumbotronComponent, KeyValueComponent, LAYOUT_ASSET_FOLDER, LOGIN_COMPONENT, LOGIN_STORE, LanguageComponent, ListComponent, LogoComponent, MAG_SOCKET_EVENT, MHeroColorDirective, MHeroComponent, MODAL_REF, MODAL_STORE_REF, MOUNT_STATIC_SEGMENT, MOUNT_TOKEN, MRefDirective, MStepComponent, MURL_PARAM, MURL_SEP, ManifestEnrichmentService, MenuComponent, ModalDirective, ModalRef, ModalStore, MoneyPipe, MultiRangeInputComponent, MurlUrlSerializer, NAV_DEFAULT_MURL, NAV_ID_SEP, NAV_MAIN_BUTTONS, NAV_SEGMENT_RE, NAV_STORE_REF, NAV_WC_COMPONENTS, NAV_WIDGET_MAP, NavComponent, NavDetailsComponent, NavHeaderComponent, NavMenuComponent, NavStore, NavTrailComponent, NothingComponent, NotificationElementComponent, NotificationGroupComponent, NotificationPopupComponent, NotificationService, NotificationStore, NotificationType, NotificationWidgetComponent, ONE_ASSET_BASE_URL, OPTIONS_SOURCE, OVERLAY_WIDGETS, OneApp, OptionsSourceDirective, OverlayBodyComponent, OverlayRef, OverlayService, PLATFORM_BUTTON_NAV_IDS, PLATFORM_EXTENSIBLE_NAV_IDS, PLATFORM_NAV_MAP, PLATFORM_ROOT_CHILDREN, PaginationComponent, PanelComponent, PercentagePipe, PlaygroundComponent, PositionDirective, PwaInstallComponent, RECENT_SEARCH_LIMIT, REMOTE_PAGE_RELOAD, ROOT_NAV, RadioGroupComponent, RadioInputComponent, RangeInputComponent, RatingInputComponent, ReactiveElementComponent, RemoteComponent, RemoteLoaderService, ResizeElementComponent, RouteContainer, RowComponent, SEARCH_QUERY, SEARCH_RESULTS_EVENT, SECTION_ACCORDION_GROUP, SECTION_FORM_CONTEXT, SECTION_TABLE_VARIANTS, SHARED_ICONS, SIZE_CONTEXT, ScoreComponent, ScrollComponent, ScrollService, SearchPanelComponent, SearchStore, SearchUserPanelComponent, SectionAccordionDirective, SectionAccordionGroupDirective, SectionBackComponent, SectionBadgesComponent, SectionButtonGroupComponent, SectionCardComponent, SectionCarouselComponent, SectionComponent, SectionFilterComponent, SectionFilterGroupComponent, SectionFilterMenuComponent, SectionFilterPanelComponent, SectionFilterRangePanelComponent, SectionFooterComponent, SectionFormComponent, SectionFormItemComponent, SectionHeaderComponent, SectionHeroComponent, SectionPaginationComponent, SectionSearchComponent, SectionStepperComponent, SectionTableCellComponent, SectionTableComponent, SectionTableRowComponent, SectionTableSortPipe, SectionTabsComponent, SectionToggleComponent, SectionToggleItemDirective, SelectableCardInputComponent, SelectorDirective, SettingsSearchBarComponent, SettingsSearchService, ShapeComponent, SharedStoreRegistry, SidePanelDirective, Size, SocketStore, SortComponent, StatComponent, StepComponent, StepperComponent, StepsComponent, StorageService, StrokeLinecap, StrokeLinejoin, SummaryComponent, SvgGeneratorComponent, SvgGeneratorService, SvgService, TOTAL_COLUMNS, TRANSLATION_SOURCE, TableComponent, TableFilterCondition, TechnicalMeterComponent, TextInputComponent, TextOutputComponent, TextareaInputComponent, ThemeComponent, ThemeDataService, ThemeService, ThemeStore, TimeAgoPipe, TimelineComponent, ToggleButtonComponent, ToggleInputComponent, ToggleRadioInputComponent, ToolTipDirective, TooltipComponent, TranslatePipe, TranslateService, TreeGridComponent, URL_SEP, USER_STORE_REF, USER_TAB_MAP, UniverseComponent, UserApiService, UserAvatarComponent, UserComponent, UserNavComponent, UserSettingsComponent, UserStore, WC_BUNDLE, WC_NAVIGATE_EVENT, WC_ROUTE_CHANGED_EVENT, WC_SEARCH_GROUPS, WIN_USER_TAB_HOOK, WIN_USER_TAB_KEY, WatermarkComponent, WcRouterStore, WrapperInputComponent, anchorNavId, applyColorsToElement, applyDocEdit, assetOptions, bootstrapMagApp, bootstrapPwaInstall, buildWcBaseUrl, calculateLuminance, calculateRanks, cellText, checkDoc, checkFilterCondition, childNavId, claimDenial, classListSignal, coerceSize, cornerEdge, cornerSide, createMap, createPlatformNavMap, definedWcTierOf, deriveAvatarGradient, deriveContrastColor, deriveOppositeColor, derivePropertyName, docActionKey, docAssetCandidates, docProblemKey, docRemotePath, emailValidation, evaluate, evaluateBool, fieldBoolean, fieldNumber, fieldString, filterHoldsList, filterHoldsOneBound, filterHoldsOptions, filterHoldsRange, filterList, filterNumber, filterNumberList, filterOne, filterPanelOf, filterPanelWidth, filterRange, filterTreeGridRows, filterValueList, filterValues, flattenTreeGridRows, formatBadgeCount, fullName, generateClipPath, generateTransform, getClassList, getProperty, getScrollParent, getTierFromPreviewPath, getTreeGridRow, getUniqueId, getValue, hasErrorComputed, hexToRgb, hslToRgb, initMagmoniumApp, initialNotificationState, initialState, initials, injectAuthenticate, injectDefaultDenial, injectInstallApp, injectParentSize, injectScrollSticky, isBootRedirect, isButtonName, isCancelledComputed, isExtensiblePlatformNavId, isJson, isLoadingComputed, isLocalhost, isNavInstanceConfig, isNavMenuConfig, isNavRowsConfig, isNavVisibilityConfig, isPlatformNavId, isSize, isTierPreview, isUrlLocalhost, isValidNavId, isValidNavSegment, isWebComponent, linkToId, linkToNav, loadingActions, mInterceptor, manualValidation, matchFieldValidation, matchMount, maxLengthValidation, maxValidation, mergePlatformNav, mergeUnique, mergeUniqueBy, mergeUniqueWith, minAgeValidation, minLengthValidation, minValidation, miniMarkToHtml, mountFor, mountPatternProblem, mountPatternText, mountSegmentOf, mountTokenOf, navIdChain, navIdFor, navIdSegment, navIdToRoutePath, navIdToSegments, navParamOf, navTailMatcher, navToId, navVisibilityGuard, nextSectionTableSort, normalizeAssetOptions, offsetOfLine, parentNavId, parseAddress, parseColor, parseMountPattern, parsePatternNames, patternValidation, patternsValidation, permissionRefusal, platformNavWidgets, privateGuard, processImageToSvg, provideAppContext, provideMagAppConfig, provideMagWcConfig, provideMagWcRoutes, provideModalComponents, provideMurlUrlSerializer, provideNavWidgets, provideOverlayWidgets, providePlatformNavWidgets, provideSearch, provideSizeContext, provideUserTabs, publicGuard, readFieldPatterns, recordDefinedWcTier, remoteOutletRoute, renderAddress, renderDocument, requiredValidation, resolveConfigAsset, resolveIconSize, resolvePallet, resolvePatternRules, resolveSize, rgbToHex, rgbToHsl, rowHasChildren, samePatterns, sectionTableColumnId, sectionTableColumnWidths, sectionTableFrozenCount, segmentsToNavId, setProperty, setTreeGridChildren, setWcTier, settingsWidgets, shouldShowBadge, sortSectionTableRows, splitNavId, splitOnMatch, stringToColor, tailRouteOf, toAttrBool, toAttrNumber, toCssLength, toHostNavId, toLength, toLocalNavId, toggleTreeGridRow, unfetchedPlatformNav, ungroupedDocActions, urlValidation, wcTierOf };
|
|
11149
|
-
export type { Accordion, AccordionGroup, AccordionVariant, ActionNotification, Align, AnimatedGraphConfig, AnimatedGraphCurveInput, AppCardData, AppCardInputs, AppCardVariant, AppContextRef, AppHint, AppManifest, AppPermission, AppRelation, AppRelationView, AppTileData, AssetOption, AuthEmailCreate404Response, AuthEmailCreate422Response, AuthEmailCreateRequest, AuthEmailCreateResponse, AuthIdentitiesListResponse, AuthOtpCreateRequest, AuthOtpCreateResponse, AuthOtpUpdateRequest, AuthOtpUpdateResponse, AuthPasswordCreateRequest, AuthPasswordCreateResponse, AuthPasswordCreateResponseTokens, AuthPasswordCreateResponseUser, AuthPasswordUpdateRequest, AuthPasswordUpdateResponse, AuthPasswordUpdateResponseTokens, AuthPasswordUpdateResponseUser, AuthResult, AuthSignupCreateRequest, AuthSignupCreateRequestUser, AuthSignupCreateResponse, AuthSignupCreateResponseTokens, AuthState, AuthUser, Badge, BadgePosition, BadgeVariant, BandingConfig, BreadCrumb, BreadcrumbTrail, Button, ButtonGroup, Carousel, CarouselIndicatorPosition, CarouselIndicatorShape, CarouselPosition, CarouselSlide, CellChangeEvent, CellClickEvent, Chart, ChartSeries, ChatBubblePointerAlignment, ChatBubblePointerPosition, ChatBubbleVariant, CheckboxGroupInput, ColBreakpoint, ColSpan, ColorInput, ColorPallet, ColorPropertyType, ColumnDef, Comment, CommentItem, ComponentInput, Config, ConfirmOptions, ContextMenu, ContextMenuEvent, CropData, Cursor, CustomIcon, DateInput, Direction$2 as Direction, DocAiPhase, DocDensity, DocEditAction, DocEditState, DocLookup, DocOutline, DocProblem, DocProblemKind, DocProposal, DocToolbarGroup, DocVariant, DotGridVariant, DragListReorder, Draggable, DraggableState, DropdownInput, DropdownOption, ElementType, FieldPatterns, FileReadAs, FileUploadConfig, FileUploadEvent, FileUploadInput, FilterGroupContext, FilterGroupMember, FilterOption, FilterPanel, FilterPanelIo, FilterRangeMode, FilterSelectionMap, FilterValue, FilterVariant, FilteredTreeGrid, FlatTreeGridRow, FlexAlign, FlexAlignSelf, FlexConfig, FlexDirection, FlexItemConfig, FlexJustify, FlexVariant, FolderPickListener, Form, FormState, Genre, GridAlignX, GridAlignY, GridBreakpoint, Header, HeaderLevel, HeldShelf, HeroDataRecord, HeroDimensions, HslColor, Icon, Input, InputModel, InputSpan, InputState, InputValue, Jumbotron, JumbotronAnimation, KeyValueVariant, LabelSegment, ListConfig, ListContext, ListItem, ListOrientation, ListVariant, LoadingActionsApi, LoginStoreContract, LogoVariant, MagAppConfigOptions, MagWcConfigOptions, ManualErrorValidator, MenuItem, Modal, ModalOverlayConfig, ModalStoreRef, ModalStoreTrigger, ModalTrigger, MoneySystem, MountMatch, MountPattern, MountPatternProblem, MountRoute, MountSegment, MountSegmentKind, MultiRangeInput, Nav, NavIdKey, NavInstanceConfig, NavKind, NavMap, NavMenuConfig, NavPresentation, NavRow, NavRowsConfig, NavStoreRef, NavVisibilityConfig, NavVisibleAnswer, NavWidgetConfig, NavWidgetEntry, NavWidgetMap, Notification, NotificationAction, NotificationSeverity, NotificationState, NotificationUser, NumberInput, Option, OtpInput, OverlayConfig, OverlayWidgetLoader, OverlayWidgetMap, PageChangeEvent, Pagination, PaginationWindow, PanelOverlayConfig, PanelTrigger, PasswordInput, PatternRule, Position, QueryParams, QueryValue, RadioGroupInput, RadioInput, RangeInput, RatingInput, RemoteFailReason, RemoteLoadResult, RemoteMount, RemoteReport, RemoteSelectorConfig, ResolvedUserTab, RgbColor, ScreenOverlayTrigger, SearchChangeEvent, SearchInput, SearchResult, SearchSourceGroup, SearchState, SectionAccordion, SectionAccordionGroup, SectionAccordionGroupContext, SectionAccordionRef, SectionButtonGroupConfig, SectionCarousel, SectionCarouselContext, SectionCarouselItem, SectionFilterGroupConfig, SectionFormConfig, SectionFormContext, SectionHero, SectionHeroVariant, SectionTableAlign, SectionTableColumn, SectionTableConfig, SectionTableDataType, SectionTableSort, SectionTableSortDirection, SectionTableVariant, SectionToggleItem, SectionToggleItemContext, SelectableCardContext, SelectableCardInput, SelectableCardItem, SelectionAction, SelectionActionEvent, SelectionChangeEvent, SelectorConfig, Shape, ShapeType, ShapeVariant, SharedToken, SharedUser, SizeContext, SizeDeclarer, SocketMessage, Sort, SortChange, SortChangeEvent, SortOption, SortOrder, SqueezeMode, StatAlign, StatCornerEdge, StatCornerPosition, StatCornerSide, StatSurface, StatVariant, Step, Stepper, StepperResponsiveConfig, StepperStep, Steps, StickyBehavior, Summary, SummaryAction, SummaryRow, SummaryRowType, Svg, SvgGenOptions, SvgGeneratorCoreOptions, SvgGeneratorEditOptions, TabGroup, TableConfig, TableFilterDef, TextInput, TextNotification, TextOrNumberInput, TextOutputAlign, TextOutputConfig, TextOutputFontWeight, TextOutputVariant, TextareaInput, Timeline, TimelineItem, ToggleInput, ToggleRadioInput, Tokens, TreeGridCellClickEvent, TreeGridLoadChildrenEvent, TreeGridRow, TreeGridRowSelectEvent, TreeGridToggleEvent, UniverseColorScheme, UrlMode, User, UserRole, UserStoreRef, Version, Watermark, WcTier, WebComponentConfig, WeeklyData };
|
|
11226
|
+
export { ACCESS_DOMAINS, APP_CONTEXT_REF, APP_LINK, ASSET_BASE_URL, AccordionBodyDirective, AccordionComponent, AccordionGroupComponent, ActionComponent, AnimatedGraphsComponent, AppCardComponent, AppRelationType, AppTileComponent, AssetStore, AssetUrlPipe, Assets, AuthActivityPageComponent, AuthApiService, AuthStore, AutosizeDirective, BadgeComponent, BandingComponent, BaseArrayInputComponent, BaseRootWebComponent, BaseWebComponent, ButtonComponent, ButtonGroupComponent, CALLING_APP_HEADER, COMPONENT_INPUT_REGISTRY, CardComponent, CardWrapperComponent, CarouselComponent, ChartComponent, ChatBubbleComponent, CheckboxGroupComponent, CheckboxInputComponent, ClearableInputComponent, ClipboardService, ColComponent, ColorPickerInputComponent, CommentItemComponent, CommentsApiService, CommentsComponent, CommentsStore, CompactNumberPipe, ComponentInputComponent, ComponentStepperComponent, ConfigComponent, ConfirmComponent, ContextMenuComponent, CustomIconClass, CustomIconEditComponent, DEFAULT_DENIAL, DEFAULT_DOC_DENSITY, DEFAULT_DOC_VARIANT, DEFAULT_FILTER_RANGE_MODE, DEFAULT_FILTER_VARIANT, DEFAULT_NAV_PARAM, DEFAULT_NAV_SEGMENT, DEFAULT_SIZE, DOCK_MIN_PAGE_REMAINDER, DOCS_FOLDER, DOC_ACTION_ICONS, DOC_DENSITIES, DOC_EDIT_ACTIONS, DOC_TOOLBAR_GROUPS, DOC_VARIANTS, DashboardCardComponent, DateInputComponent, DatePickerComponent, DeviceService, DocComponent, DocEditorComponent, DomService, Domain, DotGridComponent, DragListDirective, DragListItemDirective, DraggableDirective, DropdownInputComponent, FILTER_GROUP_CONTEXT, FILTER_RANGE_MODES, FILTER_VARIANTS, FLEX_VARIANTS, FOLDER_PICK_LISTENER, FORM_ASSET_FOLDER, FileService, FileUploadDirective, FileUploadInputComponent, FlexComponent, FlexItemComponent, FormGroupComponent, FrameComponent, FreezeService, GRID_BREAKPOINTS, GetNavService, HeaderComponent, HighlightDirective, HttpService, ICON_SOURCE, IS_DESIGN_MODE, IS_SIDE_PANEL, IconComponent, ImgComponent, InputType, InstrumentScoreComponent, InterceptorObservables, JumbotronComponent, KeyValueComponent, LAYOUT_ASSET_FOLDER, LOGIN_COMPONENT, LOGIN_STORE, LanguageComponent, ListComponent, LogoComponent, MAG_SOCKET_EVENT, MHeroColorDirective, MHeroComponent, MODAL_REF, MODAL_STORE_REF, MOUNT_STATIC_SEGMENT, MOUNT_TOKEN, MRefDirective, MStepComponent, MURL_PARAM, MURL_SEP, ManifestEnrichmentService, MarginDirective, MenuComponent, ModalDirective, ModalRef, ModalStore, MoneyPipe, MultiRangeInputComponent, MurlUrlSerializer, NAV_DEFAULT_MURL, NAV_ID_SEP, NAV_MAIN_BUTTONS, NAV_SEGMENT_RE, NAV_STORE_REF, NAV_WC_COMPONENTS, NAV_WIDGET_MAP, NavComponent, NavDetailsComponent, NavHeaderComponent, NavMenuComponent, NavStore, NavTrailComponent, NothingComponent, NotificationElementComponent, NotificationGroupComponent, NotificationPopupComponent, NotificationService, NotificationStore, NotificationType, NotificationWidgetComponent, ONE_ASSET_BASE_URL, OPTIONS_SOURCE, OVERLAY_WIDGETS, OneApp, OptionsSourceDirective, OverlayBodyComponent, OverlayRef, OverlayService, PLATFORM_BUTTON_NAV_IDS, PLATFORM_EXTENSIBLE_NAV_IDS, PLATFORM_NAV_MAP, PLATFORM_ROOT_CHILDREN, PaddingDirective, PaginationComponent, PanelComponent, PercentagePipe, PlaygroundComponent, PositionDirective, PwaInstallComponent, RECENT_SEARCH_LIMIT, REMOTE_PAGE_RELOAD, ROOT_NAV, RadioGroupComponent, RadioInputComponent, RangeInputComponent, RatingInputComponent, ReactiveElementComponent, RemoteComponent, RemoteLoaderService, ResizeElementComponent, RouteContainer, RowComponent, SEARCH_QUERY, SEARCH_RESULTS_EVENT, SECTION_ACCORDION_GROUP, SECTION_FORM_CONTEXT, SECTION_TABLE_VARIANTS, SHARED_ICONS, SIZE_CONTEXT, SPACING_INWARD, ScoreComponent, ScrollComponent, ScrollService, SearchPanelComponent, SearchStore, SearchUserPanelComponent, SectionAccordionDirective, SectionAccordionGroupDirective, SectionBackComponent, SectionBadgesComponent, SectionButtonGroupComponent, SectionCardComponent, SectionCarouselComponent, SectionComponent, SectionFilterComponent, SectionFilterGroupComponent, SectionFilterMenuComponent, SectionFilterPanelComponent, SectionFilterRangePanelComponent, SectionFooterComponent, SectionFormComponent, SectionFormItemComponent, SectionHeaderComponent, SectionHeroComponent, SectionPaginationComponent, SectionSearchComponent, SectionStepperComponent, SectionTableCellComponent, SectionTableComponent, SectionTableRowComponent, SectionTableSortPipe, SectionTabsComponent, SectionToggleComponent, SectionToggleItemDirective, SelectableCardInputComponent, SelectorDirective, SettingsSearchBarComponent, SettingsSearchService, ShapeComponent, SharedStoreRegistry, SidePanelDirective, Size, SocketStore, SortComponent, StatComponent, StepComponent, StepperComponent, StepsComponent, StorageService, StrokeLinecap, StrokeLinejoin, SummaryComponent, SvgGeneratorComponent, SvgGeneratorService, SvgService, TOTAL_COLUMNS, TRANSLATION_SOURCE, TableComponent, TableFilterCondition, TechnicalMeterComponent, TextInputComponent, TextOutputComponent, TextareaInputComponent, ThemeComponent, ThemeDataService, ThemeService, ThemeStore, TimeAgoPipe, TimelineComponent, ToggleButtonComponent, ToggleInputComponent, ToggleRadioInputComponent, ToolTipDirective, TooltipComponent, TranslatePipe, TranslateService, TreeGridComponent, URL_SEP, USER_STORE_REF, USER_TAB_MAP, UniverseComponent, UserApiService, UserAvatarComponent, UserComponent, UserNavComponent, UserSettingsComponent, UserStore, WC_BUNDLE, WC_NAVIGATE_EVENT, WC_ROUTE_CHANGED_EVENT, WC_SEARCH_GROUPS, WIN_USER_TAB_HOOK, WIN_USER_TAB_KEY, WatermarkComponent, WcRouterStore, WrapperInputComponent, anchorNavId, applyColorsToElement, applyDocEdit, assetOptions, bootstrapMagApp, bootstrapPwaInstall, buildWcBaseUrl, calculateLuminance, calculateRanks, cellText, checkDoc, checkFilterCondition, childNavId, claimDenial, classListSignal, coerceSize, cornerEdge, cornerSide, createMap, createPlatformNavMap, definedWcTierOf, deriveAvatarGradient, deriveContrastColor, deriveOppositeColor, derivePropertyName, docActionKey, docAssetCandidates, docProblemKey, docRemotePath, emailValidation, evaluate, evaluateBool, fieldBoolean, fieldNumber, fieldString, filterHoldsList, filterHoldsOneBound, filterHoldsOptions, filterHoldsRange, filterList, filterNumber, filterNumberList, filterOne, filterPanelOf, filterPanelWidth, filterRange, filterTreeGridRows, filterValueList, filterValues, flattenTreeGridRows, formatBadgeCount, fullName, generateClipPath, generateTransform, getClassList, getProperty, getScrollParent, getTierFromPreviewPath, getTreeGridRow, getUniqueId, getValue, hasErrorComputed, hexToRgb, hslToRgb, initMagmoniumApp, initialNotificationState, initialState, initials, injectAuthenticate, injectDefaultDenial, injectInstallApp, injectParentSize, injectScrollSticky, isBootRedirect, isButtonName, isCancelledComputed, isExtensiblePlatformNavId, isJson, isLoadingComputed, isLocalhost, isNavInstanceConfig, isNavMenuConfig, isNavRowsConfig, isNavVisibilityConfig, isPlatformNavId, isSize, isTierPreview, isUrlLocalhost, isValidNavId, isValidNavSegment, isWebComponent, linkToId, linkToNav, loadingActions, mInterceptor, manualValidation, matchFieldValidation, matchMount, maxLengthValidation, maxValidation, mergePlatformNav, mergeUnique, mergeUniqueBy, mergeUniqueWith, minAgeValidation, minLengthValidation, minValidation, miniMarkToHtml, mountFor, mountPatternProblem, mountPatternText, mountSegmentOf, mountTokenOf, navIdChain, navIdFor, navIdSegment, navIdToRoutePath, navIdToSegments, navParamOf, navTailMatcher, navToId, navVisibilityGuard, nextSectionTableSort, normalizeAssetOptions, offsetOfLine, parentNavId, parseAddress, parseColor, parseMountPattern, parsePatternNames, patternValidation, patternsValidation, permissionRefusal, platformNavWidgets, privateGuard, processImageToSvg, provideAppContext, provideMagAppConfig, provideMagWcConfig, provideMagWcRoutes, provideModalComponents, provideMurlUrlSerializer, provideNavWidgets, provideOverlayWidgets, providePlatformNavWidgets, provideSearch, provideSizeContext, provideUserTabs, publicGuard, readFieldPatterns, recordDefinedWcTier, remoteOutletRoute, renderAddress, renderDocument, requiredValidation, resolveConfigAsset, resolveIconSize, resolvePallet, resolvePatternRules, resolveSize, resolveSpacing, rgbToHex, rgbToHsl, rowHasChildren, samePatterns, sectionTableColumnId, sectionTableColumnWidths, sectionTableFrozenCount, segmentsToNavId, setProperty, setTreeGridChildren, setWcTier, settingsWidgets, shouldShowBadge, sortSectionTableRows, splitNavId, splitOnMatch, stringToColor, tailRouteOf, toAttrBool, toAttrNumber, toCssLength, toHostNavId, toLength, toLocalNavId, toggleTreeGridRow, unfetchedPlatformNav, ungroupedDocActions, urlValidation, wcTierOf };
|
|
11227
|
+
export type { Accordion, AccordionGroup, AccordionVariant, ActionNotification, Align, AnimatedGraphConfig, AnimatedGraphCurveInput, AppCardData, AppCardInputs, AppCardVariant, AppContextRef, AppHint, AppManifest, AppPermission, AppRelation, AppRelationView, AppTileData, AssetOption, AuthEmailCreate404Response, AuthEmailCreate422Response, AuthEmailCreateRequest, AuthEmailCreateResponse, AuthIdentitiesListResponse, AuthOtpCreateRequest, AuthOtpCreateResponse, AuthOtpUpdateRequest, AuthOtpUpdateResponse, AuthPasswordCreateRequest, AuthPasswordCreateResponse, AuthPasswordCreateResponseTokens, AuthPasswordCreateResponseUser, AuthPasswordUpdateRequest, AuthPasswordUpdateResponse, AuthPasswordUpdateResponseTokens, AuthPasswordUpdateResponseUser, AuthResult, AuthSignupCreateRequest, AuthSignupCreateRequestUser, AuthSignupCreateResponse, AuthSignupCreateResponseTokens, AuthState, AuthUser, Badge, BadgePosition, BadgeVariant, BandingConfig, BreadCrumb, BreadcrumbTrail, Button, ButtonGroup, Carousel, CarouselIndicatorPosition, CarouselIndicatorShape, CarouselPosition, CarouselSlide, CellChangeEvent, CellClickEvent, Chart, ChartSeries, ChatBubblePointerAlignment, ChatBubblePointerPosition, ChatBubbleVariant, CheckboxGroupInput, ColBreakpoint, ColSpan, ColorInput, ColorPallet, ColorPropertyType, ColumnDef, Comment, CommentItem, ComponentInput, Config, ConfirmOptions, ContextMenu, ContextMenuEvent, CropData, Cursor, CustomIcon, DateInput, Direction$2 as Direction, DocAiPhase, DocDensity, DocEditAction, DocEditState, DocLookup, DocOutline, DocProblem, DocProblemKind, DocProposal, DocToolbarGroup, DocVariant, DotGridVariant, DragListReorder, Draggable, DraggableState, DropdownInput, DropdownOption, ElementType, FieldPatterns, FileReadAs, FileUploadConfig, FileUploadEvent, FileUploadInput, FilterGroupContext, FilterGroupMember, FilterOption, FilterPanel, FilterPanelIo, FilterRangeMode, FilterSelectionMap, FilterValue, FilterVariant, FilteredTreeGrid, FlatTreeGridRow, FlexAlign, FlexAlignSelf, FlexConfig, FlexDirection, FlexItemConfig, FlexJustify, FlexVariant, FolderPickListener, Form, FormState, Genre, GridAlignX, GridAlignY, GridBreakpoint, Header, HeaderLevel, HeldShelf, HeroDataRecord, HeroDimensions, HslColor, Icon, Input, InputModel, InputSpan, InputState, InputValue, Jumbotron, JumbotronAnimation, KeyValueVariant, LabelSegment, ListConfig, ListContext, ListItem, ListOrientation, ListVariant, LoadingActionsApi, LoginStoreContract, LogoVariant, MagAppConfigOptions, MagWcConfigOptions, ManualErrorValidator, MenuItem, Modal, ModalOverlayConfig, ModalStoreRef, ModalStoreTrigger, ModalTrigger, MoneySystem, MountMatch, MountPattern, MountPatternProblem, MountRoute, MountSegment, MountSegmentKind, MultiRangeInput, Nav, NavIdKey, NavInstanceConfig, NavKind, NavMap, NavMenuConfig, NavPresentation, NavRow, NavRowsConfig, NavStoreRef, NavVisibilityConfig, NavVisibleAnswer, NavWidgetConfig, NavWidgetEntry, NavWidgetMap, Notification, NotificationAction, NotificationSeverity, NotificationState, NotificationUser, NumberInput, Option, OtpInput, OverlayConfig, OverlayWidgetLoader, OverlayWidgetMap, PageChangeEvent, Pagination, PaginationWindow, PanelOverlayConfig, PanelTrigger, PasswordInput, PatternRule, Position, QueryParams, QueryValue, RadioGroupInput, RadioInput, RangeInput, RatingInput, RemoteFailReason, RemoteLoadResult, RemoteMount, RemoteReport, RemoteSelectorConfig, ResolvedUserTab, RgbColor, ScreenOverlayTrigger, SearchChangeEvent, SearchInput, SearchResult, SearchSourceGroup, SearchState, SectionAccordion, SectionAccordionGroup, SectionAccordionGroupContext, SectionAccordionRef, SectionButtonGroupConfig, SectionCarousel, SectionCarouselContext, SectionCarouselItem, SectionFilterGroupConfig, SectionFormConfig, SectionFormContext, SectionHero, SectionHeroVariant, SectionTableAlign, SectionTableColumn, SectionTableConfig, SectionTableDataType, SectionTableSort, SectionTableSortDirection, SectionTableVariant, SectionToggleItem, SectionToggleItemContext, SelectableCardContext, SelectableCardInput, SelectableCardItem, SelectionAction, SelectionActionEvent, SelectionChangeEvent, SelectorConfig, Shape, ShapeType, ShapeVariant, SharedToken, SharedUser, SizeContext, SizeDeclarer, SocketMessage, Sort, SortChange, SortChangeEvent, SortOption, SortOrder, SpacingInward, SqueezeMode, StatAlign, StatCornerEdge, StatCornerPosition, StatCornerSide, StatSurface, StatVariant, Step, Stepper, StepperResponsiveConfig, StepperStep, Steps, StickyBehavior, Summary, SummaryAction, SummaryRow, SummaryRowType, Svg, SvgGenOptions, SvgGeneratorCoreOptions, SvgGeneratorEditOptions, TabGroup, TableConfig, TableFilterDef, TextInput, TextNotification, TextOrNumberInput, TextOutputAlign, TextOutputConfig, TextOutputFontWeight, TextOutputVariant, TextareaInput, Timeline, TimelineItem, ToggleInput, ToggleRadioInput, Tokens, TreeGridCellClickEvent, TreeGridLoadChildrenEvent, TreeGridRow, TreeGridRowSelectEvent, TreeGridToggleEvent, UniverseColorScheme, UrlMode, User, UserRole, UserStoreRef, Version, Watermark, WcTier, WebComponentConfig, WeeklyData };
|