@magmonium/one 0.4.19 → 0.4.20
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/assets/docs/en/app-repo.md +294 -0
- package/assets/i18n/en.json +1 -0
- package/assets/index.json +1 -1
- package/fesm2022/{magmonium-one-image-editor-Da8b-YIx.mjs → magmonium-one-image-editor-B2079TFM.mjs} +2 -2
- package/fesm2022/{magmonium-one-image-editor-Da8b-YIx.mjs.map → magmonium-one-image-editor-B2079TFM.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-magmonium-one-DMTrzk7A.mjs → magmonium-one-magmonium-one-BLuMt3bj.mjs} +534 -55
- package/fesm2022/magmonium-one-magmonium-one-BLuMt3bj.mjs.map +1 -0
- package/fesm2022/{magmonium-one-otp-DN60WCy0.mjs → magmonium-one-otp-Kcns6JtV.mjs} +2 -2
- package/fesm2022/{magmonium-one-otp-DN60WCy0.mjs.map → magmonium-one-otp-Kcns6JtV.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-password-ClxmbaAV.mjs → magmonium-one-password-C1VDuH8J.mjs} +2 -2
- package/fesm2022/{magmonium-one-password-ClxmbaAV.mjs.map → magmonium-one-password-C1VDuH8J.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-toggle-CxTCwFOo.mjs → magmonium-one-toggle-BeNbv_Ox.mjs} +2 -2
- package/fesm2022/{magmonium-one-toggle-CxTCwFOo.mjs.map → magmonium-one-toggle-BeNbv_Ox.mjs.map} +1 -1
- package/fesm2022/magmonium-one.mjs +1 -1
- package/package.json +1 -1
- package/types/magmonium-one.d.ts +192 -7
- package/fesm2022/magmonium-one-magmonium-one-DMTrzk7A.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-BLuMt3bj.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-Kcns6JtV.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"magmonium-one-otp-DN60WCy0.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;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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;;;;"}
|
|
1
|
+
{"version":3,"file":"magmonium-one-otp-Kcns6JtV.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,IAA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y, 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-BLuMt3bj.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-C1VDuH8J.mjs.map
|
package/fesm2022/{magmonium-one-password-ClxmbaAV.mjs.map → magmonium-one-password-C1VDuH8J.mjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"magmonium-one-password-
|
|
1
|
+
{"version":3,"file":"magmonium-one-password-C1VDuH8J.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,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AAa,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,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-BLuMt3bj.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-BeNbv_Ox.mjs.map
|
package/fesm2022/{magmonium-one-toggle-CxTCwFOo.mjs.map → magmonium-one-toggle-BeNbv_Ox.mjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"magmonium-one-toggle-
|
|
1
|
+
{"version":3,"file":"magmonium-one-toggle-BeNbv_Ox.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,C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AA,MAAA,EAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,UAAA,EAAA,QAAA,EAAA,QAAA,EAAA,IAAA,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, S as BrowserLocaleService, B as ButtonComponent, U as ButtonGroupComponent, V as CALLING_APP_HEADER, W as COMPONENT_INPUT_REGISTRY, X as CardComponent, Y as CardWrapperComponent, Z as CarouselComponent, _ as ChartComponent, $ as ChatBubbleComponent, a0 as CheckboxGroupComponent, a1 as CheckboxInputComponent, a2 as ClearableInputComponent, a3 as ClipboardService, a4 as ColComponent, a5 as ColorPickerInputComponent, a6 as CommentItemComponent, a7 as CommentsApiService, a8 as CommentsComponent, a9 as CommentsStore, aa as CompactNumberPipe, ab as ComponentInputComponent, ac as ComponentStepperComponent, ad as ConfigComponent, ae as ConfirmComponent, af as ContextMenuComponent, ag as CustomIconClass, ah as CustomIconEditComponent, ai as DEFAULT_DENIAL, aj as DEFAULT_DOC_DENSITY, ak as DEFAULT_DOC_VARIANT, al as DEFAULT_FILTER_RANGE_MODE, am as DEFAULT_FILTER_VARIANT, an as DEFAULT_NAV_PARAM, ao as DEFAULT_NAV_SEGMENT, ap as DEFAULT_SIZE, aq as DOCK_MIN_PAGE_REMAINDER, ar as DOCS_FOLDER, as as DOC_ACTION_ICONS, at as DOC_DENSITIES, au as DOC_EDIT_ACTIONS, av as DOC_TOOLBAR_GROUPS, aw as DOC_VARIANTS, ax as DashboardCardComponent, ay as DateInputComponent, az as DatePickerComponent, aA as DeviceService, aB as DocComponent, aC as DocEditorComponent, aD as DomService, aE as Domain, aF as DotGridComponent, aG as DragListDirective, aH as DragListItemDirective, aI as DraggableDirective, aJ as DropdownInputComponent, aK as FILTER_GROUP_CONTEXT, aL as FILTER_RANGE_MODES, aM as FILTER_VARIANTS, aN as FLEX_VARIANTS, aO as FOLDER_PICK_LISTENER, aP as FORM_ASSET_FOLDER, aQ as FileService, aR as FileUploadDirective, aS as FileUploadInputComponent, aT as FlexComponent, aU as FlexItemComponent, aV as FormGroupComponent, aW as FrameComponent, aX as FreezeService, aY as GRID_BREAKPOINTS, aZ as GetNavService, H as HeaderComponent, a_ as HighlightDirective, a$ as HttpService, b0 as ICON_SOURCE, k as IS_DESIGN_MODE, b1 as IS_SIDE_PANEL, b2 as IconComponent, b3 as ImgComponent, I as InputType, b4 as InstrumentScoreComponent, b5 as InterceptorObservables, b6 as JumbotronComponent, b7 as KeyValueComponent, b8 as LAYOUT_ASSET_FOLDER, b9 as LOGIN_COMPONENT, ba as LOGIN_STORE, bb as LanguageComponent, bc as ListComponent, bd as LogoComponent, be as MAG_SOCKET_EVENT, bf as MHeroColorDirective, bg as MHeroComponent, M as MODAL_REF, bh as MODAL_STORE_REF, bi as MOUNT_STATIC_SEGMENT, bj as MOUNT_TOKEN, bk as MRefDirective, bl as MStepComponent, bm as MURL_PARAM, bn as MURL_SEP, bo as ManifestEnrichmentService, bp as MarginDirective, bq as MenuComponent, br as ModalDirective, bs as ModalRef, bt as ModalStore, bu as MoneyPipe, bv as MultiRangeInputComponent, bw as MultiselectInputComponent, bx as MurlUrlSerializer, by as NAV_DEFAULT_MURL, bz as NAV_ID_SEP, bA as NAV_MAIN_BUTTONS, bB as NAV_SEGMENT_RE, bC as NAV_STORE_REF, bD as NAV_WC_COMPONENTS, bE as NAV_WIDGET_MAP, bF as NavComponent, bG as NavDetailsComponent, bH as NavHeaderComponent, bI as NavMenuComponent, bJ as NavStore, bK as NavTrailComponent, bL as NothingComponent, bM as NotificationElementComponent, bN as NotificationGroupComponent, bO as NotificationPopupComponent, bP as NotificationService, bQ as NotificationStore, bR as NotificationType, bS as NotificationWidgetComponent, bT as ONE_ASSET_BASE_URL, bU as OPTIONS_SOURCE, bV as OVERLAY_WIDGETS, bW as OneApp, bX as OptionsSourceDirective, bY as OverlayBodyComponent, bZ as OverlayRef, b_ as OverlayService, b$ as PLATFORM_BUTTON_NAV_IDS, c0 as PLATFORM_EXTENSIBLE_NAV_IDS, c1 as PLATFORM_NAV_MAP, c2 as PLATFORM_ROOT_CHILDREN, c3 as PaddingDirective, c4 as PaginationComponent, c5 as PanelComponent, c6 as PercentagePipe, c7 as PlaygroundComponent, c8 as PositionDirective, c9 as PwaInstallComponent, ca as RECENT_SEARCH_LIMIT, cb as REMOTE_PAGE_RELOAD, cc as ROOT_NAV, cd as RadioGroupComponent, ce as RadioInputComponent, R as RangeInputComponent, cf as RatingInputComponent, cg as ReactiveElementComponent, ch as RemoteComponent, ci as RemoteLoaderService, cj as ResizeElementComponent, ck as RouteContainer, cl as RowComponent, cm as SEARCH_QUERY, cn as SEARCH_RESULTS_EVENT, co as SECTION_ACCORDION_GROUP, cp as SECTION_FORM_CONTEXT, cq as SECTION_TABLE_VARIANTS, cr as SHARED_ICONS, cs as SIZE_CONTEXT, ct as SPACING_INWARD, cu as ScoreComponent, cv as ScrollComponent, cw as ScrollService, cx as SearchPanelComponent, cy as SearchStore, cz as SearchUserPanelComponent, cA as SectionAccordionDirective, cB as SectionAccordionGroupDirective, cC as SectionBackComponent, cD as SectionBadgesComponent, cE as SectionButtonGroupComponent, cF as SectionCardComponent, cG as SectionCarouselComponent, cH as SectionComponent, cI as SectionFilterComponent, cJ as SectionFilterGroupComponent, cK as SectionFilterMenuComponent, cL as SectionFilterPanelComponent, cM as SectionFilterRangePanelComponent, cN as SectionFooterComponent, cO as SectionFormComponent, cP as SectionFormItemComponent, cQ as SectionHeaderComponent, cR as SectionHeroComponent, cS as SectionPaginationComponent, cT as SectionSearchComponent, cU as SectionStepperComponent, cV as SectionTableCellComponent, cW as SectionTableComponent, cX as SectionTableRowComponent, cY as SectionTableSortPipe, cZ as SectionTabsComponent, c_ as SectionToggleComponent, c$ as SectionToggleItemDirective, d0 as SelectableCardInputComponent, d1 as SelectorDirective, d2 as SettingsSearchBarComponent, d3 as SettingsSearchService, d4 as ShapeComponent, d5 as SharedStoreRegistry, d6 as SidePanelDirective, d7 as Size, d8 as SocketStore, d9 as SortComponent, da as StatComponent, db as StepComponent, dc as StepperComponent, dd as StepsComponent, de as StorageService, df as StrokeLinecap, dg as StrokeLinejoin, dh as SummaryComponent, di as SvgGeneratorComponent, dj as SvgGeneratorService, dk as SvgService, dl as TOTAL_COLUMNS, dm as TRANSLATION_SOURCE, dn as TableComponent, dp as TechnicalMeterComponent, dq as TextInputComponent, j as TextOutputComponent, dr as TextareaInputComponent, ds as ThemeComponent, dt as ThemeDataService, du as ThemeService, dv as ThemeStore, dw as TimeAgoPipe, dx as TimelineComponent, dy as ToggleButtonComponent, dz as ToggleInputComponent, dA as ToggleRadioInputComponent, dB as ToolTipDirective, dC as TooltipComponent, T as TranslatePipe, dD as TranslateService, dE as TreeGridComponent, dF as URL_SEP, dG as USER_STORE_REF, dH as USER_TAB_MAP, dI as UniverseComponent, dJ as UserApiService, dK as UserAvatarComponent, dL as UserComponent, dM as UserNavComponent, dN as UserSettingsComponent, dO as UserStore, dP as WC_BUNDLE, dQ as WC_NAVIGATE_EVENT, dR as WC_ROUTE_CHANGED_EVENT, dS as WC_SEARCH_GROUPS, dT as WIN_USER_TAB_HOOK, dU as WIN_USER_TAB_KEY, dV as WatermarkComponent, dW as WcRouterStore, dX as WrapperInputComponent, dY as allowedCodes, dZ as anchorNavId, d_ as applyColorsToElement, d$ as applyDocEdit, e0 as assetOptions, e1 as bootstrapMagApp, e2 as bootstrapPwaInstall, e3 as browserLocale, e4 as buildWcBaseUrl, e5 as calculateLuminance, e6 as calculateRanks, e7 as cellText, e8 as checkDoc, e9 as checkFilterCondition, ea as childNavId, eb as claimDenial, ec as classListSignal, ed as coerceSize, ee as cornerEdge, ef as cornerSide, eg as createMap, eh as createPlatformNavMap, ei as definedWcTierOf, ej as deriveAvatarGradient, ek as deriveContrastColor, el as deriveOppositeColor, em as derivePropertyName, en as docActionKey, eo as docAssetCandidates, ep as docProblemKey, eq as docRemotePath, er as emailValidation, es as evaluate, et as evaluateBool, eu as fieldBoolean, ev as fieldNumber, ew as fieldString, ex as filterHoldsList, ey as filterHoldsOneBound, ez as filterHoldsOptions, eA as filterHoldsRange, eB as filterList, eC as filterNumber, eD as filterNumberList, eE as filterOne, eF as filterPanelOf, eG as filterPanelWidth, eH as filterRange, eI as filterTreeGridRows, eJ as filterValueList, eK as filterValues, eL as flattenTreeGridRows, eM as formatBadgeCount, eN as fullName, eO as generateClipPath, eP as generateTransform, eQ as getClassList, eR as getProperty, eS as getScrollParent, eT as getTierFromPreviewPath, eU as getTreeGridRow, eV as getUniqueId, eW as getValue, eX as hasErrorComputed, eY as hexToRgb, eZ as hslToRgb, e_ as initMagmoniumApp, e$ as initialNotificationState, f0 as initialState, f1 as initials, f2 as injectAuthenticate, f3 as injectDefaultDenial, f4 as injectInstallApp, f5 as injectParentSize, f6 as injectScrollSticky, f7 as isBootRedirect, f8 as isButtonName, f9 as isCancelledComputed, fa as isExtensiblePlatformNavId, fb as isJson, fc as isLoadingComputed, fd as isLocalhost, fe as isNavInstanceConfig, ff as isNavMenuConfig, fg as isNavRowsConfig, fh as isNavVisibilityConfig, fi as isPlatformNavId, fj as isSize, fk as isTierPreview, fl as isUrlLocalhost, fm as isValidNavId, fn as isValidNavSegment, fo as isWebComponent, fp as linkToId, fq as linkToNav, fr as loadingActions, fs as mInterceptor, ft as manualValidation, fu as matchFieldValidation, fv as matchMount, fw as maxLengthValidation, fx as maxValidation, fy as mergePlatformNav, fz as mergeUnique, fA as mergeUniqueBy, fB as mergeUniqueWith, fC as minAgeValidation, fD as minLengthValidation, fE as minValidation, fF as miniMarkToHtml, fG as mountFor, fH as mountPatternProblem, fI as mountPatternText, fJ as mountSegmentOf, fK as mountTokenOf, fL as navIdChain, fM as navIdFor, fN as navIdSegment, fO as navIdToRoutePath, fP as navIdToSegments, fQ as navParamOf, fR as navTailMatcher, fS as navToId, fT as navVisibilityGuard, fU as nextSectionTableSort, fV as normalizeAssetOptions, fW as offsetOfLine, fX as parentNavId, fY as parseAddress, fZ as parseColor, f_ as parseMountPattern, f$ as parsePatternNames, g0 as patternValidation, g1 as patternsValidation, g2 as permissionRefusal, g3 as pickSupportedLanguage, g4 as platformNavWidgets, g5 as presetDefaultOption, g6 as privateGuard, g7 as processImageToSvg, g8 as provideAppContext, g9 as provideMagAppConfig, ga as provideMagWcConfig, gb as provideMagWcRoutes, gc as provideModalComponents, gd as provideMurlUrlSerializer, ge as provideNavWidgets, gf as provideOverlayWidgets, gg as providePlatformNavWidgets, gh as provideSearch, gi as provideSizeContext, gj as provideUserTabs, gk as publicGuard, gl as readFieldPatterns, gm as recordDefinedWcTier, gn as remoteOutletRoute, go as renderAddress, gp as renderDocument, gq as requiredValidation, gr as resolveConfigAsset, gs as resolveIconSize, gt as resolvePallet, gu as resolvePatternRules, gv as resolveSize, gw as resolveSpacing, gx as rgbToHex, gy as rgbToHsl, gz as rowHasChildren, gA as samePatterns, gB as sectionTableColumnId, gC as sectionTableColumnWidths, gD as sectionTableFrozenCount, gE as segmentsToNavId, gF as setProperty, gG as setTreeGridChildren, gH as setWcTier, gI as settingsWidgets, gJ as shouldShowBadge, gK as sortSectionTableRows, gL as splitNavId, gM as splitOnMatch, gN as stringToColor, gO as tailRouteOf, gP as toAttrBool, gQ as toAttrNumber, gR as toCssLength, gS as toHostNavId, gT as toLength, gU as toLocalNavId, gV as toggleTreeGridRow, gW as unfetchedPlatformNav, gX as ungroupedDocActions, gY as urlValidation, gZ as wcTierOf } from './magmonium-one-magmonium-one-DMTrzk7A.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, S as BrowserLocaleService, B as ButtonComponent, U as ButtonGroupComponent, V as CALLING_APP_HEADER, W as COMPONENT_INPUT_REGISTRY, X as CardComponent, Y as CardWrapperComponent, Z as CarouselComponent, _ as ChartComponent, $ as ChatBubbleComponent, a0 as CheckboxGroupComponent, a1 as CheckboxInputComponent, a2 as ClearableInputComponent, a3 as ClipboardService, a4 as ColComponent, a5 as ColorPickerInputComponent, a6 as CommentItemComponent, a7 as CommentsApiService, a8 as CommentsComponent, a9 as CommentsStore, aa as CompactNumberPipe, ab as ComponentInputComponent, ac as ComponentStepperComponent, ad as ConfigComponent, ae as ConfirmComponent, af as ContextMenuComponent, ag as CustomIconClass, ah as CustomIconEditComponent, ai as DEFAULT_DENIAL, aj as DEFAULT_DOC_DENSITY, ak as DEFAULT_DOC_VARIANT, al as DEFAULT_FILTER_RANGE_MODE, am as DEFAULT_FILTER_VARIANT, an as DEFAULT_NAV_PARAM, ao as DEFAULT_NAV_SEGMENT, ap as DEFAULT_SIZE, aq as DOCK_MIN_PAGE_REMAINDER, ar as DOCS_FOLDER, as as DOC_ACTION_ICONS, at as DOC_DENSITIES, au as DOC_EDIT_ACTIONS, av as DOC_TOOLBAR_GROUPS, aw as DOC_VARIANTS, ax as DashboardCardComponent, ay as DateInputComponent, az as DatePickerComponent, aA as DeviceService, aB as DocComponent, aC as DocEditorComponent, aD as DomService, aE as Domain, aF as DotGridComponent, aG as DragListDirective, aH as DragListItemDirective, aI as DraggableDirective, aJ as DropdownInputComponent, aK as FILTER_GROUP_CONTEXT, aL as FILTER_RANGE_MODES, aM as FILTER_VARIANTS, aN as FLEX_VARIANTS, aO as FOLDER_PICK_LISTENER, aP as FORM_ASSET_FOLDER, aQ as FileService, aR as FileUploadDirective, aS as FileUploadInputComponent, aT as FlexComponent, aU as FlexItemComponent, aV as FormGroupComponent, aW as FrameComponent, aX as FreezeService, aY as GRID_BREAKPOINTS, aZ as GetNavService, H as HeaderComponent, a_ as HighlightDirective, a$ as HttpService, b0 as ICON_SOURCE, k as IS_DESIGN_MODE, b1 as IS_SIDE_PANEL, b2 as IconComponent, b3 as ImgComponent, I as InputType, b4 as InstrumentScoreComponent, b5 as InterceptorObservables, b6 as JumbotronComponent, b7 as KeyValueComponent, b8 as LAYOUT_ASSET_FOLDER, b9 as LOADING_ACTIONS_REF, ba as LOGIN_COMPONENT, bb as LOGIN_STORE, bc as LanguageComponent, bd as ListComponent, be as LogoComponent, bf as MAG_SOCKET_EVENT, bg as MHeroColorDirective, bh as MHeroComponent, M as MODAL_REF, bi as MODAL_STORE_REF, bj as MOUNT_STATIC_SEGMENT, bk as MOUNT_TOKEN, bl as MRefDirective, bm as MStepComponent, bn as MURL_PARAM, bo as MURL_SEP, bp as ManifestEnrichmentService, bq as MarginDirective, br as MenuComponent, bs as ModalDirective, bt as ModalRef, bu as ModalStore, bv as MoneyPipe, bw as MultiRangeInputComponent, bx as MultiselectInputComponent, by as MurlUrlSerializer, bz as NAV_DEFAULT_MURL, bA as NAV_ID_SEP, bB as NAV_MAIN_BUTTONS, bC as NAV_SEGMENT_RE, bD as NAV_STORE_REF, bE as NAV_WC_COMPONENTS, bF as NAV_WIDGET_MAP, bG as NavComponent, bH as NavDetailsComponent, bI as NavHeaderComponent, bJ as NavMenuComponent, bK as NavStore, bL as NavTrailComponent, bM as NothingComponent, bN as NotificationElementComponent, bO as NotificationGroupComponent, bP as NotificationPopupComponent, bQ as NotificationService, bR as NotificationStore, bS as NotificationType, bT as NotificationWidgetComponent, bU as ONE_ASSET_BASE_URL, bV as OPTIONS_SOURCE, bW as OVERLAY_WIDGETS, bX as OneApp, bY as OptionsSourceDirective, bZ as OverlayBodyComponent, b_ as OverlayRef, b$ as OverlayService, c0 as PLATFORM_BUTTON_NAV_IDS, c1 as PLATFORM_EXTENSIBLE_NAV_IDS, c2 as PLATFORM_NAV_MAP, c3 as PLATFORM_ROOT_CHILDREN, c4 as PLUGIN_FALLBACK_LANG, c5 as PLUGIN_OUTPUT_EVENT, c6 as PLUGIN_SCREENS, c7 as PaddingDirective, c8 as PaginationComponent, c9 as PanelComponent, ca as PercentagePipe, cb as PlaygroundComponent, cc as PluginComponent, cd as PluginInputComponent, ce as PluginOutputComponent, cf as PositionDirective, cg as PwaInstallComponent, ch as RECENT_SEARCH_LIMIT, ci as REMOTE_PAGE_RELOAD, cj as ROOT_NAV, ck as RadioGroupComponent, cl as RadioInputComponent, R as RangeInputComponent, cm as RatingInputComponent, cn as ReactiveElementComponent, co as RemoteComponent, cp as RemoteLoaderService, cq as ResizeElementComponent, cr as RouteContainer, cs as RowComponent, ct as SEARCH_QUERY, cu as SEARCH_RESULTS_EVENT, cv as SECTION_ACCORDION_GROUP, cw as SECTION_FORM_CONTEXT, cx as SECTION_TABLE_VARIANTS, cy as SHARED_ICONS, cz as SIZE_CONTEXT, cA as SPACING_INWARD, cB as ScoreComponent, cC as ScrollComponent, cD as ScrollService, cE as SearchPanelComponent, cF as SearchStore, cG as SearchUserPanelComponent, cH as SectionAccordionDirective, cI as SectionAccordionGroupDirective, cJ as SectionBackComponent, cK as SectionBadgesComponent, cL as SectionButtonGroupComponent, cM as SectionCardComponent, cN as SectionCarouselComponent, cO as SectionComponent, cP as SectionFilterComponent, cQ as SectionFilterGroupComponent, cR as SectionFilterMenuComponent, cS as SectionFilterPanelComponent, cT as SectionFilterRangePanelComponent, cU as SectionFooterComponent, cV as SectionFormComponent, cW as SectionFormItemComponent, cX as SectionHeaderComponent, cY as SectionHeroComponent, cZ as SectionPaginationComponent, c_ as SectionSearchComponent, c$ as SectionStepperComponent, d0 as SectionTableCellComponent, d1 as SectionTableComponent, d2 as SectionTableRowComponent, d3 as SectionTableSortPipe, d4 as SectionTabsComponent, d5 as SectionToggleComponent, d6 as SectionToggleItemDirective, d7 as SelectableCardInputComponent, d8 as SelectorDirective, d9 as SettingsSearchBarComponent, da as SettingsSearchService, db as ShapeComponent, dc as SharedStoreRegistry, dd as SidePanelDirective, de as Size, df as SocketStore, dg as SortComponent, dh as StatComponent, di as StepComponent, dj as StepperComponent, dk as StepsComponent, dl as StorageService, dm as StrokeLinecap, dn as StrokeLinejoin, dp as SummaryComponent, dq as SvgGeneratorComponent, dr as SvgGeneratorService, ds as SvgService, dt as TOTAL_COLUMNS, du as TRANSLATION_SOURCE, dv as TableComponent, dw as TechnicalMeterComponent, dx as TextInputComponent, j as TextOutputComponent, dy as TextareaInputComponent, dz as ThemeComponent, dA as ThemeDataService, dB as ThemeService, dC as ThemeStore, dD as TimeAgoPipe, dE as TimelineComponent, dF as ToggleButtonComponent, dG as ToggleInputComponent, dH as ToggleRadioInputComponent, dI as ToolTipDirective, dJ as TooltipComponent, T as TranslatePipe, dK as TranslateService, dL as TreeGridComponent, dM as URL_SEP, dN as USER_STORE_REF, dO as USER_TAB_MAP, dP as UniverseComponent, dQ as UserApiService, dR as UserAvatarComponent, dS as UserComponent, dT as UserNavComponent, dU as UserSettingsComponent, dV as UserStore, dW as WC_BUNDLE, dX as WC_NAVIGATE_EVENT, dY as WC_ROUTE_CHANGED_EVENT, dZ as WC_SEARCH_GROUPS, d_ as WIN_USER_TAB_HOOK, d$ as WIN_USER_TAB_KEY, e0 as WatermarkComponent, e1 as WcRouterStore, e2 as WrapperInputComponent, e3 as allowedCodes, e4 as anchorNavId, e5 as applyColorsToElement, e6 as applyDocEdit, e7 as assetOptions, e8 as bootstrapMagApp, e9 as bootstrapPwaInstall, ea as browserLocale, eb as buildWcBaseUrl, ec as calculateLuminance, ed as calculateRanks, ee as cellText, ef as checkDoc, eg as checkFilterCondition, eh as childNavId, ei as claimDenial, ej as classListSignal, ek as coerceSize, el as cornerEdge, em as cornerSide, en as createLoadingState, eo as createMap, ep as createPlatformNavMap, eq as createPluginElement, er as definePluginScreens, es as definedWcTierOf, et as deriveAvatarGradient, eu as deriveContrastColor, ev as deriveOppositeColor, ew as derivePropertyName, ex as docActionKey, ey as docAssetCandidates, ez as docProblemKey, eA as docRemotePath, eB as emailValidation, eC as evaluate, eD as evaluateBool, eE as exposeScreens, eF as exposedScreensOf, eG as fieldBoolean, eH as fieldNumber, eI as fieldString, eJ as filterHoldsList, eK as filterHoldsOneBound, eL as filterHoldsOptions, eM as filterHoldsRange, eN as filterList, eO as filterNumber, eP as filterNumberList, eQ as filterOne, eR as filterPanelOf, eS as filterPanelWidth, eT as filterRange, eU as filterTreeGridRows, eV as filterValueList, eW as filterValues, eX as flattenTreeGridRows, eY as formatBadgeCount, eZ as fullName, e_ as generateClipPath, e$ as generateTransform, f0 as getClassList, f1 as getProperty, f2 as getScrollParent, f3 as getTierFromPreviewPath, f4 as getTreeGridRow, f5 as getUniqueId, f6 as getValue, f7 as hasErrorComputed, f8 as hexToRgb, f9 as hslToRgb, fa as initMagmoniumApp, fb as initialNotificationState, fc as initialState, fd as initials, fe as injectAuthenticate, ff as injectDefaultDenial, fg as injectInstallApp, fh as injectParentSize, fi as injectScrollSticky, fj as isBootRedirect, fk as isButtonName, fl as isCancelledComputed, fm as isExtensiblePlatformNavId, fn as isJson, fo as isLoadingComputed, fp as isLocalhost, fq as isNavInstanceConfig, fr as isNavMenuConfig, fs as isNavRowsConfig, ft as isNavVisibilityConfig, fu as isPlatformNavId, fv as isSize, fw as isTierPreview, fx as isUrlLocalhost, fy as isValidNavId, fz as isValidNavSegment, fA as isWebComponent, fB as linkToId, fC as linkToNav, fD as loadingActions, fE as mInterceptor, fF as manualValidation, fG as matchFieldValidation, fH as matchMount, fI as maxLengthValidation, fJ as maxValidation, fK as mergePlatformNav, fL as mergeUnique, fM as mergeUniqueBy, fN as mergeUniqueWith, fO as minAgeValidation, fP as minLengthValidation, fQ as minValidation, fR as miniMarkToHtml, fS as mountFor, fT as mountPatternProblem, fU as mountPatternText, fV as mountSegmentOf, fW as mountTokenOf, fX as navIdChain, fY as navIdFor, fZ as navIdSegment, f_ as navIdToRoutePath, f$ as navIdToSegments, g0 as navParamOf, g1 as navTailMatcher, g2 as navToId, g3 as navVisibilityGuard, g4 as nextSectionTableSort, g5 as normalizeAssetOptions, g6 as offsetOfLine, g7 as parentNavId, g8 as parseAddress, g9 as parseColor, ga as parseMountPattern, gb as parsePatternNames, gc as patternValidation, gd as patternsValidation, ge as permissionRefusal, gf as pickSupportedLanguage, gg as platformNavWidgets, gh as pluginTag, gi as presetDefaultOption, gj as privateGuard, gk as processImageToSvg, gl as provideAppContext, gm as provideMagAppConfig, gn as provideMagWcConfig, go as provideMagWcRoutes, gp as provideModalComponents, gq as provideMurlUrlSerializer, gr as provideNavWidgets, gs as provideOverlayWidgets, gt as providePlatformNavWidgets, gu as providePluginRuntime, gv as provideSearch, gw as provideSizeContext, gx as provideUserTabs, gy as publicGuard, gz as readFieldPatterns, gA as recordDefinedWcTier, gB as remoteOutletRoute, gC as renderAddress, gD as renderDocument, gE as requiredValidation, gF as resolveConfigAsset, gG as resolveIconSize, gH as resolvePallet, gI as resolvePatternRules, gJ as resolveSize, gK as resolveSpacing, gL as rgbToHex, gM as rgbToHsl, gN as rowHasChildren, gO as samePatterns, gP as sectionTableColumnId, gQ as sectionTableColumnWidths, gR as sectionTableFrozenCount, gS as segmentsToNavId, gT as setProperty, gU as setTreeGridChildren, gV as setWcLocalPort, gW as setWcTier, gX as settingsWidgets, gY as shouldShowBadge, gZ as sortSectionTableRows, g_ as splitNavId, g$ as splitOnMatch, h0 as stringToColor, h1 as tailRouteOf, h2 as toAttrBool, h3 as toAttrNumber, h4 as toCssLength, h5 as toHostNavId, h6 as toLength, h7 as toLocalNavId, h8 as toggleTreeGridRow, h9 as unfetchedPlatformNav, ha as ungroupedDocActions, hb as urlValidation, hc as wcLocalBaseOf, hd as wcTierOf } from './magmonium-one-magmonium-one-BLuMt3bj.mjs';
|
|
2
2
|
//# sourceMappingURL=magmonium-one.mjs.map
|
package/package.json
CHANGED
package/types/magmonium-one.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { HttpEvent, HttpRequest, HttpHandlerFn } from '@angular/common/http';
|
|
|
2
2
|
import * as rxjs from 'rxjs';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import * as _angular_core from '@angular/core';
|
|
5
|
-
import { Type, Binding, ComponentRef, PipeTransform, OnDestroy, Injector, Provider, EnvironmentProviders, InjectionToken, Signal, WritableSignal, AfterViewChecked, ElementRef, ChangeDetectorRef, ApplicationConfig, InputSignal, ModelSignal, TemplateRef, OnInit, EventEmitter, AfterViewInit, ViewContainerRef, AfterContentInit, StaticProvider } from '@angular/core';
|
|
5
|
+
import { Type, Binding, ComponentRef, PipeTransform, OnDestroy, Injector, Provider, EnvironmentProviders, InjectionToken, Signal, WritableSignal, AfterViewChecked, ElementRef, ChangeDetectorRef, ApplicationConfig, ApplicationRef, InputSignal, ModelSignal, TemplateRef, OnInit, EventEmitter, AfterViewInit, ViewContainerRef, AfterContentInit, StaticProvider } from '@angular/core';
|
|
6
6
|
import * as _magmonium_cli from '@magmonium/cli';
|
|
7
7
|
import { ThemeColor, Theme, ThemeList, WebComponentConfig as WebComponentConfig$1 } from '@magmonium/cli';
|
|
8
8
|
import * as _ngrx_signals from '@ngrx/signals';
|
|
@@ -789,6 +789,11 @@ interface WebComponentConfig {
|
|
|
789
789
|
providers?: (Provider | EnvironmentProviders)[];
|
|
790
790
|
selectorConfig?: Partial<RemoteSelectorConfig>;
|
|
791
791
|
backend?: string;
|
|
792
|
+
/**
|
|
793
|
+
* Open App (store CONTEXT.md), stamped by the Store on the served config: a
|
|
794
|
+
* host draws it as its own — no menu node, logo or settings of its own.
|
|
795
|
+
*/
|
|
796
|
+
open?: boolean;
|
|
792
797
|
}
|
|
793
798
|
/** How a Remote's internal route reaches the host URL (ADR 0038). */
|
|
794
799
|
type UrlMode = 'none' | 'tail' | 'outlet';
|
|
@@ -929,6 +934,8 @@ interface AppPermission {
|
|
|
929
934
|
interface AppRelationView {
|
|
930
935
|
app: string;
|
|
931
936
|
type: AppRelationType | null;
|
|
937
|
+
/** Open App: asks no Relation, Agreement or Country Restriction — the App just opens. */
|
|
938
|
+
open?: boolean;
|
|
932
939
|
/** The App's apis refuse until the caller agrees to its Declared Permissions again. */
|
|
933
940
|
needsAgreement: boolean;
|
|
934
941
|
/** The App's Declared Permissions — what an Agreement accepts, all at once. */
|
|
@@ -1055,6 +1062,12 @@ declare const APP_CONTEXT_REF: InjectionToken<AppContextRef>;
|
|
|
1055
1062
|
* 0007) and init asks for Agreement to it.
|
|
1056
1063
|
*/
|
|
1057
1064
|
declare const APP_LINK: InjectionToken<WritableSignal<string | undefined>>;
|
|
1065
|
+
/**
|
|
1066
|
+
* The loading counter this application's requests move, ahead of the host's
|
|
1067
|
+
* shared one. A Plugin provides its own so its requests never turn the host's
|
|
1068
|
+
* `busy` on (libs/one CONTEXT.md Plugin); unset, the host's counter is used.
|
|
1069
|
+
*/
|
|
1070
|
+
declare const LOADING_ACTIONS_REF: InjectionToken<LoadingActionsApi>;
|
|
1058
1071
|
declare const IS_SIDE_PANEL: InjectionToken<boolean>;
|
|
1059
1072
|
declare const ICON_SOURCE: InjectionToken<Signal<Record<string, string> | undefined>>;
|
|
1060
1073
|
declare const TRANSLATION_SOURCE: InjectionToken<Signal<Record<string, string> | undefined>>;
|
|
@@ -1356,10 +1369,21 @@ declare function linkToNav(link?: string): string[];
|
|
|
1356
1369
|
declare function navToId(ids?: string[]): string | undefined;
|
|
1357
1370
|
declare function linkToId(link: string): string | undefined;
|
|
1358
1371
|
|
|
1359
|
-
/**
|
|
1360
|
-
|
|
1372
|
+
/**
|
|
1373
|
+
* Where an app is mounted from instead of its status folder: the Store's beta
|
|
1374
|
+
* tier, or a dev server on this machine (`local`, at the port pinned beside it).
|
|
1375
|
+
*/
|
|
1376
|
+
type WcTier = 'beta' | 'local';
|
|
1361
1377
|
/** Pins an AppLink to a tier, or back to its status folder with `undefined`. */
|
|
1362
1378
|
declare function setWcTier(remoteId: string, tier: WcTier | undefined): void;
|
|
1379
|
+
/** Pins an AppLink's `local` tier to a dev-server port, or unpins it. */
|
|
1380
|
+
declare function setWcLocalPort(remoteId: string, port: number | undefined): void;
|
|
1381
|
+
/**
|
|
1382
|
+
* Where an AppLink pinned to `local` is served: the app's own dev server, whose
|
|
1383
|
+
* `assets/` holds `remote/app-wc.json`, the bundle and every asset. Undefined
|
|
1384
|
+
* when it is not pinned there, or has no usable port.
|
|
1385
|
+
*/
|
|
1386
|
+
declare function wcLocalBaseOf(remoteId: string): string | undefined;
|
|
1363
1387
|
declare function wcTierOf(remoteId: string): WcTier | undefined;
|
|
1364
1388
|
/** Which tier's bundle defined a tag — `status` for the app's status folder. */
|
|
1365
1389
|
declare function definedWcTierOf(selector: string): WcTier | 'status' | undefined;
|
|
@@ -1388,6 +1412,24 @@ declare const allowedCodes: (rule: AppCodeRule | undefined, all: string[]) => st
|
|
|
1388
1412
|
*/
|
|
1389
1413
|
declare const pickSupportedLanguage: (own: string | undefined, supported: string[], ownerDefault?: string | null) => string | undefined;
|
|
1390
1414
|
|
|
1415
|
+
/**
|
|
1416
|
+
* One loading counter and the actions that move it. The module's own is the
|
|
1417
|
+
* app-wide one every Screen's `busy` reads; a Plugin makes another so its
|
|
1418
|
+
* requests never move it (libs/one CONTEXT.md Plugin).
|
|
1419
|
+
*/
|
|
1420
|
+
declare function createLoadingState(): {
|
|
1421
|
+
isLoading: _angular_core.Signal<boolean>;
|
|
1422
|
+
hasError: _angular_core.Signal<boolean>;
|
|
1423
|
+
isCancelled: _angular_core.Signal<boolean>;
|
|
1424
|
+
actions: {
|
|
1425
|
+
startLoading: () => void;
|
|
1426
|
+
stopLoading: () => void;
|
|
1427
|
+
setError: () => void;
|
|
1428
|
+
clearError: () => void;
|
|
1429
|
+
cancelLoading: () => void;
|
|
1430
|
+
reset: () => void;
|
|
1431
|
+
};
|
|
1432
|
+
};
|
|
1391
1433
|
declare const isLoadingComputed: _angular_core.Signal<boolean>;
|
|
1392
1434
|
declare const hasErrorComputed: _angular_core.Signal<boolean>;
|
|
1393
1435
|
declare const isCancelledComputed: _angular_core.Signal<boolean>;
|
|
@@ -1933,6 +1975,52 @@ declare const mountPatternProblem: (pattern: MountPattern) => MountPatternProble
|
|
|
1933
1975
|
*/
|
|
1934
1976
|
declare const matchMount: (segments: readonly string[], pattern: MountPattern) => MountMatch | null;
|
|
1935
1977
|
|
|
1978
|
+
/** The Exposed Screens an app offers as Plugins, keyed by their name. */
|
|
1979
|
+
type ExposedScreens = Record<string, Type<unknown>>;
|
|
1980
|
+
/** What a Plugin element dispatches for every output its Screen emits. */
|
|
1981
|
+
declare const PLUGIN_OUTPUT_EVENT = "plugin-output";
|
|
1982
|
+
interface PluginOutput {
|
|
1983
|
+
name: string;
|
|
1984
|
+
value: unknown;
|
|
1985
|
+
}
|
|
1986
|
+
/**
|
|
1987
|
+
* The language a Plugin's keys fall back to when its app ships none for the
|
|
1988
|
+
* host's — the app's Default Language, which is `en` for every app today.
|
|
1989
|
+
*/
|
|
1990
|
+
declare const PLUGIN_FALLBACK_LANG = "en";
|
|
1991
|
+
declare const PLUGIN_SCREENS: InjectionToken<ExposedScreens[]>;
|
|
1992
|
+
/**
|
|
1993
|
+
* Offers Screens to other apps as Plugins (libs/one CONTEXT.md). Listed in the
|
|
1994
|
+
* app's providers; its wc bundle defines one element per Screen at load,
|
|
1995
|
+
* without booting the app's root.
|
|
1996
|
+
*/
|
|
1997
|
+
declare function exposeScreens(screens: ExposedScreens): Provider;
|
|
1998
|
+
/** Every Screen the app exposes, however many `exposeScreens` calls list them. */
|
|
1999
|
+
declare function exposedScreensOf(injector: Injector): ExposedScreens;
|
|
2000
|
+
/**
|
|
2001
|
+
* The element tag of an Exposed Screen: under the app's own root selector, so
|
|
2002
|
+
* two apps exposing one name never clash, and derivable by a host that holds
|
|
2003
|
+
* only the app's config and the Screen's name.
|
|
2004
|
+
*/
|
|
2005
|
+
declare const pluginTag: (selector: string, screen: string) => string;
|
|
2006
|
+
/**
|
|
2007
|
+
* The application a Plugin runs in, beside its app's root rather than inside
|
|
2008
|
+
* it: own HttpService, own translations, own loading counter. Spread last over
|
|
2009
|
+
* the app's providers so these win.
|
|
2010
|
+
*/
|
|
2011
|
+
declare function providePluginRuntime(): Provider[];
|
|
2012
|
+
/**
|
|
2013
|
+
* The custom element one Exposed Screen mounts as. Inputs are element
|
|
2014
|
+
* properties, outputs one `plugin-output` event each; `lang`, `pluginLink`
|
|
2015
|
+
* and `hostLink` are set by the host's `m-plugin` before it connects.
|
|
2016
|
+
*/
|
|
2017
|
+
declare function createPluginElement(component: Type<unknown>, pluginApp: () => Promise<ApplicationRef>): CustomElementConstructor;
|
|
2018
|
+
/**
|
|
2019
|
+
* Defines every Exposed Screen's element. The Plugin application is created
|
|
2020
|
+
* once, on the first mount, so an app nobody mounts a Plugin of pays nothing.
|
|
2021
|
+
*/
|
|
2022
|
+
declare function definePluginScreens(selector: string, screens: ExposedScreens, createPluginApp: () => Promise<ApplicationRef>): void;
|
|
2023
|
+
|
|
1936
2024
|
/**
|
|
1937
2025
|
* The route one `outlet` RemoteControl's segment needs: it renders nothing —
|
|
1938
2026
|
* the control reads the segment itself — and `children: []` is the least
|
|
@@ -6725,7 +6813,9 @@ declare class SectionCarouselComponent extends ConfigComponent<SectionCarousel>
|
|
|
6725
6813
|
/** Why a link did not become a mounted element — closed, one i18n key each. */
|
|
6726
6814
|
type RemoteFailReason = 'invalid-link' | 'config-not-found' | 'script-failed' | 'element-timeout' | 'offline'
|
|
6727
6815
|
/** The app's tag is already defined by another tier's bundle on this page. */
|
|
6728
|
-
| 'tier-conflict'
|
|
6816
|
+
| 'tier-conflict'
|
|
6817
|
+
/** The app loaded, but exposes no Screen by the name a Plugin asked for. */
|
|
6818
|
+
| 'screen-not-found';
|
|
6729
6819
|
/**
|
|
6730
6820
|
* Flat rather than a union: `assets:wc` builds without `strict`, where a
|
|
6731
6821
|
* discriminated union does not narrow.
|
|
@@ -6747,12 +6837,23 @@ declare class RemoteLoaderService {
|
|
|
6747
6837
|
* fetched, because the link is concatenated into a module-script URL.
|
|
6748
6838
|
*/
|
|
6749
6839
|
loadFromLink: (link: string, useShadow?: boolean, props?: Record<string, unknown>, children?: string | HTMLElement[]) => Promise<RemoteLoadResult>;
|
|
6840
|
+
/**
|
|
6841
|
+
* Loads one Exposed Screen of the app a Store link names, as a Plugin: the
|
|
6842
|
+
* app's bundle, then the Screen's own element, never the app's root.
|
|
6843
|
+
*/
|
|
6844
|
+
loadPluginFromLink: (link: string, screen: string, props?: Record<string, unknown>) => Promise<RemoteLoadResult>;
|
|
6845
|
+
/** The app's config, fetched by a link checked first — it is concatenated into a script URL. */
|
|
6846
|
+
private configOf;
|
|
6750
6847
|
loadComponentFromConfig: (config: WebComponentConfig$1, useShadow?: boolean, props?: Record<string, unknown>, children?: string | HTMLElement[]) => Promise<{
|
|
6751
6848
|
element: HTMLElement;
|
|
6752
6849
|
assetBaseUrl: string;
|
|
6753
6850
|
} | undefined>;
|
|
6754
|
-
/** Logged out answers nothing at all — not a failure, the login effect reloads. */
|
|
6755
6851
|
private mount;
|
|
6852
|
+
/**
|
|
6853
|
+
* The app's bundle loaded and its root element defined — `true`, or why not.
|
|
6854
|
+
* Logged out answers nothing at all: not a failure, the login effect reloads.
|
|
6855
|
+
*/
|
|
6856
|
+
private loadBundle;
|
|
6756
6857
|
private loadScript;
|
|
6757
6858
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RemoteLoaderService, never>;
|
|
6758
6859
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<RemoteLoaderService>;
|
|
@@ -6889,6 +6990,80 @@ declare class RemoteComponent implements OnDestroy {
|
|
|
6889
6990
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RemoteComponent, "m-remote", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; "link": { "alias": "link"; "required": false; "isSignal": true; }; "useShadow": { "alias": "useShadow"; "required": false; "isSignal": true; }; "props": { "alias": "props"; "required": false; "isSignal": true; }; "children": { "alias": "children"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "urlMode": { "alias": "urlMode"; "required": false; "isSignal": true; }; "path": { "alias": "path"; "required": false; "isSignal": true; }; "tail": { "alias": "tail"; "required": false; "isSignal": true; }; "out": { "alias": "out"; "required": false; "isSignal": true; }; "createMenu": { "alias": "createMenu"; "required": false; "isSignal": true; }; "mount": { "alias": "mount"; "required": false; "isSignal": true; }; "beta": { "alias": "beta"; "required": false; "isSignal": true; }; }, { "loaded": "loaded"; "failed": "failed"; }, never, never, true, never>;
|
|
6890
6991
|
}
|
|
6891
6992
|
|
|
6993
|
+
/**
|
|
6994
|
+
* Where a Plugin's app is loaded from — its bundle, manifest and assets alike:
|
|
6995
|
+
* a dev server on this machine, the Store's beta tier, or what it publishes.
|
|
6996
|
+
*/
|
|
6997
|
+
type PluginSource = 'local' | 'beta' | 'published';
|
|
6998
|
+
/**
|
|
6999
|
+
* Mounts another app's Exposed Screen as a Plugin (libs/one CONTEXT.md): an
|
|
7000
|
+
* AppLink, the Screen's name, a value per input and one `output` event per
|
|
7001
|
+
* output the Screen emits. Never a whole app and never an address — that is
|
|
7002
|
+
* `m-remote`.
|
|
7003
|
+
*/
|
|
7004
|
+
declare class PluginComponent implements OnDestroy {
|
|
7005
|
+
/** The AppLink of the app exposing the Screen. */
|
|
7006
|
+
readonly link: _angular_core.InputSignal<string>;
|
|
7007
|
+
/** The Exposed Screen's name. */
|
|
7008
|
+
readonly screen: _angular_core.InputSignal<string>;
|
|
7009
|
+
/** Where the app is loaded from; `published` unless asked otherwise. */
|
|
7010
|
+
readonly source: _angular_core.InputSignal<PluginSource>;
|
|
7011
|
+
/** The dev-server port a `local` source is served from — `port="4300"` reads as a number. */
|
|
7012
|
+
readonly port: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
|
|
7013
|
+
/** A value per input of the Exposed Screen, by its name. */
|
|
7014
|
+
readonly inputs: _angular_core.InputSignal<Record<string, unknown>>;
|
|
7015
|
+
/** The same, written as `m-plugin-input` children — these win over `inputs`. */
|
|
7016
|
+
private readonly inputChildren;
|
|
7017
|
+
/** `m-plugin-output` children, each handed the values of the output it names. */
|
|
7018
|
+
private readonly outputChildren;
|
|
7019
|
+
private readonly values;
|
|
7020
|
+
/** One per output the Exposed Screen emits, named as the Screen names it. */
|
|
7021
|
+
readonly output: _angular_core.OutputEmitterRef<PluginOutput>;
|
|
7022
|
+
/** Why a load drew the broken state. */
|
|
7023
|
+
readonly failed: _angular_core.OutputEmitterRef<RemoteLoadResult>;
|
|
7024
|
+
private readonly loader;
|
|
7025
|
+
private readonly translateService;
|
|
7026
|
+
private readonly loginStore;
|
|
7027
|
+
private readonly hostLink;
|
|
7028
|
+
private readonly elementRef;
|
|
7029
|
+
private loadedElement?;
|
|
7030
|
+
/** Bumped per load, so an answer for a link since replaced is dropped. */
|
|
7031
|
+
private loadId;
|
|
7032
|
+
protected readonly state: _angular_core.WritableSignal<"idle" | "loading" | "loaded" | "failed">;
|
|
7033
|
+
protected readonly failure: _angular_core.WritableSignal<RemoteLoadResult>;
|
|
7034
|
+
constructor();
|
|
7035
|
+
ngOnDestroy(): void;
|
|
7036
|
+
private load;
|
|
7037
|
+
private onOutput;
|
|
7038
|
+
private dismount;
|
|
7039
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PluginComponent, never>;
|
|
7040
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PluginComponent, "m-plugin", never, { "link": { "alias": "link"; "required": true; "isSignal": true; }; "screen": { "alias": "screen"; "required": true; "isSignal": true; }; "source": { "alias": "source"; "required": false; "isSignal": true; }; "port": { "alias": "port"; "required": false; "isSignal": true; }; "inputs": { "alias": "inputs"; "required": false; "isSignal": true; }; }, { "output": "output"; "failed": "failed"; }, ["inputChildren", "outputChildren"], never, true, never>;
|
|
7041
|
+
}
|
|
7042
|
+
|
|
7043
|
+
/**
|
|
7044
|
+
* One input of a Plugin's Exposed Screen, written as a child of `m-plugin`:
|
|
7045
|
+
* the input's name on the tag and its value as a binding, so a template never
|
|
7046
|
+
* spells the inputs as an object literal. Renders nothing.
|
|
7047
|
+
*/
|
|
7048
|
+
declare class PluginInputComponent {
|
|
7049
|
+
readonly name: _angular_core.InputSignal<string>;
|
|
7050
|
+
readonly value: _angular_core.InputSignal<unknown>;
|
|
7051
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PluginInputComponent, never>;
|
|
7052
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PluginInputComponent, "m-plugin-input", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
7053
|
+
}
|
|
7054
|
+
|
|
7055
|
+
/**
|
|
7056
|
+
* One output of a Plugin's Exposed Screen, written as a child of `m-plugin`:
|
|
7057
|
+
* the output's name on the tag and `(fired)` carrying each value it emits, so
|
|
7058
|
+
* a template handles it like any other event. Renders nothing.
|
|
7059
|
+
*/
|
|
7060
|
+
declare class PluginOutputComponent {
|
|
7061
|
+
readonly name: _angular_core.InputSignal<string>;
|
|
7062
|
+
readonly fired: _angular_core.OutputEmitterRef<unknown>;
|
|
7063
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PluginOutputComponent, never>;
|
|
7064
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PluginOutputComponent, "m-plugin-output", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; }, { "fired": "fired"; }, never, never, true, never>;
|
|
7065
|
+
}
|
|
7066
|
+
|
|
6892
7067
|
declare class TooltipComponent {
|
|
6893
7068
|
readonly text: _angular_core.InputSignal<string | undefined>;
|
|
6894
7069
|
readonly template: _angular_core.InputSignal<TemplateRef<unknown> | undefined>;
|
|
@@ -8947,6 +9122,8 @@ declare class FrameComponent {
|
|
|
8947
9122
|
navMenus: _angular_core.Signal<_magmonium_one.BreadcrumbTrail[]>;
|
|
8948
9123
|
navHasContent: _angular_core.Signal<boolean>;
|
|
8949
9124
|
currentWcConfig: _angular_core.Signal<dist_libs_cli_src.WebComponentConfig | undefined>;
|
|
9125
|
+
activeAppOpen: _angular_core.Signal<boolean>;
|
|
9126
|
+
transparentNavIds: _angular_core.Signal<ReadonlySet<string>>;
|
|
8950
9127
|
resolvedNavMenuConfig: _angular_core.Signal<_magmonium_one.NavMenuConfig | null>;
|
|
8951
9128
|
instanceLoaders: _angular_core.Signal<{
|
|
8952
9129
|
navId: string;
|
|
@@ -9203,6 +9380,8 @@ declare const NavStore: _angular_core.Type<{
|
|
|
9203
9380
|
navMenus: Signal<_magmonium_one.BreadcrumbTrail[]>;
|
|
9204
9381
|
navHasContent: Signal<boolean>;
|
|
9205
9382
|
currentWcConfig: Signal<WebComponentConfig$1 | undefined>;
|
|
9383
|
+
activeAppOpen: Signal<boolean>;
|
|
9384
|
+
transparentNavIds: Signal<ReadonlySet<string>>;
|
|
9206
9385
|
resolvedNavMenuConfig: Signal<NavMenuConfig | null>;
|
|
9207
9386
|
instanceLoaders: Signal<{
|
|
9208
9387
|
navId: string;
|
|
@@ -9559,6 +9738,8 @@ declare class NavComponent {
|
|
|
9559
9738
|
protected isNavOpened: _angular_core.Signal<boolean>;
|
|
9560
9739
|
protected currentWcConfig: _angular_core.Signal<dist_libs_cli_src.WebComponentConfig | undefined>;
|
|
9561
9740
|
protected appLink: _angular_core.Signal<string | undefined>;
|
|
9741
|
+
/** An Open App draws as part of the host: the host's logo, no apps button. */
|
|
9742
|
+
protected activeAppOpen: _angular_core.Signal<boolean>;
|
|
9562
9743
|
protected logoPending: _angular_core.Signal<boolean>;
|
|
9563
9744
|
protected logo: _angular_core.Signal<{
|
|
9564
9745
|
src: string;
|
|
@@ -9650,6 +9831,8 @@ declare class NavDetailsComponent {
|
|
|
9650
9831
|
navMenus: _angular_core.Signal<_magmonium_one.BreadcrumbTrail[]>;
|
|
9651
9832
|
navHasContent: _angular_core.Signal<boolean>;
|
|
9652
9833
|
currentWcConfig: _angular_core.Signal<dist_libs_cli_src.WebComponentConfig | undefined>;
|
|
9834
|
+
activeAppOpen: _angular_core.Signal<boolean>;
|
|
9835
|
+
transparentNavIds: _angular_core.Signal<ReadonlySet<string>>;
|
|
9653
9836
|
resolvedNavMenuConfig: _angular_core.Signal<_magmonium_one.NavMenuConfig | null>;
|
|
9654
9837
|
instanceLoaders: _angular_core.Signal<{
|
|
9655
9838
|
navId: string;
|
|
@@ -9854,6 +10037,8 @@ declare class NavHeaderComponent {
|
|
|
9854
10037
|
navMenus: _angular_core.Signal<_magmonium_one.BreadcrumbTrail[]>;
|
|
9855
10038
|
navHasContent: _angular_core.Signal<boolean>;
|
|
9856
10039
|
currentWcConfig: _angular_core.Signal<dist_libs_cli_src.WebComponentConfig | undefined>;
|
|
10040
|
+
activeAppOpen: _angular_core.Signal<boolean>;
|
|
10041
|
+
transparentNavIds: _angular_core.Signal<ReadonlySet<string>>;
|
|
9857
10042
|
resolvedNavMenuConfig: _angular_core.Signal<_magmonium_one.NavMenuConfig | null>;
|
|
9858
10043
|
instanceLoaders: _angular_core.Signal<{
|
|
9859
10044
|
navId: string;
|
|
@@ -11404,5 +11589,5 @@ interface AuthResult {
|
|
|
11404
11589
|
}
|
|
11405
11590
|
declare function injectAuthenticate(): () => Promise<AuthResult>;
|
|
11406
11591
|
|
|
11407
|
-
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, BrowserLocaleService, 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, MultiselectInputComponent, 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, allowedCodes, anchorNavId, applyColorsToElement, applyDocEdit, assetOptions, bootstrapMagApp, bootstrapPwaInstall, browserLocale, 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, pickSupportedLanguage, platformNavWidgets, presetDefaultOption, 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 };
|
|
11408
|
-
export type { Accordion, AccordionGroup, AccordionVariant, ActionNotification, Align, AnimatedGraphConfig, AnimatedGraphCurveInput, AppCardData, AppCardInputs, AppCardVariant, AppCodeRule, AppContextRef, AppHint, AppManifest, AppPermission, AppRelation, AppRelationView, AppRules, 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, BrowserLocale, 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, DropdownValue, 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 };
|
|
11592
|
+
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, BrowserLocaleService, 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, LOADING_ACTIONS_REF, 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, MultiselectInputComponent, 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, PLUGIN_FALLBACK_LANG, PLUGIN_OUTPUT_EVENT, PLUGIN_SCREENS, PaddingDirective, PaginationComponent, PanelComponent, PercentagePipe, PlaygroundComponent, PluginComponent, PluginInputComponent, PluginOutputComponent, 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, allowedCodes, anchorNavId, applyColorsToElement, applyDocEdit, assetOptions, bootstrapMagApp, bootstrapPwaInstall, browserLocale, buildWcBaseUrl, calculateLuminance, calculateRanks, cellText, checkDoc, checkFilterCondition, childNavId, claimDenial, classListSignal, coerceSize, cornerEdge, cornerSide, createLoadingState, createMap, createPlatformNavMap, createPluginElement, definePluginScreens, definedWcTierOf, deriveAvatarGradient, deriveContrastColor, deriveOppositeColor, derivePropertyName, docActionKey, docAssetCandidates, docProblemKey, docRemotePath, emailValidation, evaluate, evaluateBool, exposeScreens, exposedScreensOf, 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, pickSupportedLanguage, platformNavWidgets, pluginTag, presetDefaultOption, privateGuard, processImageToSvg, provideAppContext, provideMagAppConfig, provideMagWcConfig, provideMagWcRoutes, provideModalComponents, provideMurlUrlSerializer, provideNavWidgets, provideOverlayWidgets, providePlatformNavWidgets, providePluginRuntime, 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, setWcLocalPort, setWcTier, settingsWidgets, shouldShowBadge, sortSectionTableRows, splitNavId, splitOnMatch, stringToColor, tailRouteOf, toAttrBool, toAttrNumber, toCssLength, toHostNavId, toLength, toLocalNavId, toggleTreeGridRow, unfetchedPlatformNav, ungroupedDocActions, urlValidation, wcLocalBaseOf, wcTierOf };
|
|
11593
|
+
export type { Accordion, AccordionGroup, AccordionVariant, ActionNotification, Align, AnimatedGraphConfig, AnimatedGraphCurveInput, AppCardData, AppCardInputs, AppCardVariant, AppCodeRule, AppContextRef, AppHint, AppManifest, AppPermission, AppRelation, AppRelationView, AppRules, 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, BrowserLocale, 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, DropdownValue, ElementType, ExposedScreens, 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, PluginOutput, PluginSource, 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 };
|