@magmonium/one 0.2.91 → 0.2.93
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/i18n/en.json +2 -0
- package/fesm2022/{magmonium-one-image-editor-B_kkpa3g.mjs → magmonium-one-image-editor-BBxyHfY_.mjs} +2 -2
- package/fesm2022/{magmonium-one-image-editor-B_kkpa3g.mjs.map → magmonium-one-image-editor-BBxyHfY_.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-magmonium-one-fFTL275l.mjs → magmonium-one-magmonium-one-CzCUYYvz.mjs} +107 -27
- package/fesm2022/magmonium-one-magmonium-one-CzCUYYvz.mjs.map +1 -0
- package/fesm2022/{magmonium-one-otp-DbXNNhp5.mjs → magmonium-one-otp-BGGcDB4H.mjs} +2 -2
- package/fesm2022/{magmonium-one-otp-DbXNNhp5.mjs.map → magmonium-one-otp-BGGcDB4H.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-password--I81ks7B.mjs → magmonium-one-password-DCpAXJIf.mjs} +4 -4
- package/fesm2022/{magmonium-one-password--I81ks7B.mjs.map → magmonium-one-password-DCpAXJIf.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-toggle-DS5mTuzg.mjs → magmonium-one-toggle-qK5wYbFE.mjs} +2 -2
- package/fesm2022/{magmonium-one-toggle-DS5mTuzg.mjs.map → magmonium-one-toggle-qK5wYbFE.mjs.map} +1 -1
- package/fesm2022/magmonium-one.mjs +1 -1
- package/package.json +1 -1
- package/sass/mixins/_input.sass +18 -0
- package/types/magmonium-one.d.ts +41 -3
- package/fesm2022/magmonium-one-magmonium-one-fFTL275l.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-CzCUYYvz.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-BGGcDB4H.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"magmonium-one-otp-DbXNNhp5.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,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A,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-BGGcDB4H.mjs","sources":["../../../../libs/one/src/lib/shared/ui/input/ui/text/otp.ts"],"sourcesContent":["import {\n afterRenderEffect,\n ChangeDetectionStrategy,\n Component,\n computed,\n effect,\n ElementRef,\n inject,\n signal,\n untracked,\n viewChildren,\n} from '@angular/core';\nimport { LabelComponent } from '../label';\nimport { TextOutputComponent } from '../../../text-output';\nimport { BaseTextInputComponent } from './base-text';\nimport { CommonModule } from '@angular/common';\nimport { OtpInput } from '../../model/input';\nimport { IS_DESIGN_MODE } from '../../../../config/tokens';\n\n@Component({\n selector: 'm-otp-input',\n template: `\n @if (otpConfig(); as otp) {\n <m-label\n [for]=\"otp.name\"\n [placeholder]=\"otp.label\"\n [params]=\"otp.params\"\n [required]=\"required()\"\n [disabled]=\"isDisabled()\"\n />\n <div class=\"otp-container\">\n @for (item of otpArray(); track $index) {\n <input\n [id]=\"$index === 0 ? (otp.name ?? '') : ''\"\n #otpInput\n type=\"text\"\n maxlength=\"1\"\n [class.error]=\"showErrors()\"\n [disabled]=\"isDisabled()\"\n [value]=\"otpValues()[$index] || ''\"\n (input)=\"onInput($event, $index)\"\n (keydown)=\"onKeyDown($event, $index)\"\n (paste)=\"onPaste($event)\"\n />\n }\n </div>\n @if (showErrors()) {\n @for (error of errors(); track $index) {\n <m-text-output\n variant=\"footer\"\n color=\"error\"\n [label]=\"error.message\"\n />\n }\n }\n }\n `,\n styleUrl: './otp.sass',\n imports: [LabelComponent, TextOutputComponent, CommonModule],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class OtpInputComponent extends BaseTextInputComponent<OtpInput> {\n otpValues = signal<string[]>([]);\n otpInputs = viewChildren<ElementRef<HTMLInputElement>>('otpInput');\n protected readonly otpConfig = computed(() => this.config() as OtpInput);\n otpArray = computed(() => {\n const length = this.otpConfig()?.length || 6;\n return Array(length).fill(0);\n });\n\n // Inert on the Canvas — other inputs stay idle because they never autofocus;\n // OTP used to steal focus and look live while composing (DesignMode).\n private readonly isDesignMode = !!inject(IS_DESIGN_MODE, { optional: true });\n protected readonly isDisabled = computed(\n () => this.isDesignMode || this.disabled()\n );\n\n // BaseText answers `focused` by focusing its `#inputElement`, and an OTP has\n // none — it has a row of boxes. Without this the caret never lands on an OTP\n // field, so the form that opens on one (login's verification step) reads as\n // dead until the User clicks it.\n private hasAutofocused = false;\n\n constructor() {\n super();\n effect(() => {\n const length = this.otpConfig()?.length || 6;\n this.otpValues.set(Array(length).fill(''));\n });\n\n afterRenderEffect(() => {\n const inputs = this.otpInputs();\n if (!this.focused() || !inputs.length || this.hasAutofocused) return;\n this.hasAutofocused = true;\n untracked(() => this.focusInput(0));\n });\n }\n\n onInput = (event: Event, index: number): void => {\n if (this.isDisabled()) return;\n const input = event.target as HTMLInputElement;\n let value = input.value;\n\n value = value.replace(/[^a-zA-Z0-9]/g, '');\n\n if (value.length > 1) {\n value = value.slice(-1);\n }\n\n input.value = value.toUpperCase();\n\n const newValues = [...this.otpValues()];\n newValues[index] = value.toUpperCase();\n this.otpValues.set(newValues);\n\n const length = this.otpConfig()?.length || 6;\n if (value && index < length - 1) {\n this.focusInput(index + 1);\n }\n this.updateValue();\n };\n\n onKeyDown = (event: KeyboardEvent, index: number): void => {\n if (this.isDisabled()) return;\n const input = event.target as HTMLInputElement;\n const length = this.otpConfig()?.length || 6;\n\n const isAlphaNumeric = /^[a-zA-Z0-9]$/.test(event.key);\n const isControlKey = [\n 'Backspace',\n 'Delete',\n 'ArrowLeft',\n 'ArrowRight',\n 'Tab',\n ].includes(event.key);\n\n if (!isAlphaNumeric && !isControlKey) {\n event.preventDefault();\n return;\n }\n\n if (event.key === 'Backspace') {\n if (!input.value && index > 0) {\n this.focusInput(index - 1);\n }\n }\n if (event.key === 'ArrowLeft' && index > 0) {\n event.preventDefault();\n this.focusInput(index - 1);\n }\n if (event.key === 'ArrowRight' && index < length - 1) {\n event.preventDefault();\n this.focusInput(index + 1);\n }\n };\n\n onPaste = (event: ClipboardEvent): void => {\n if (this.isDisabled()) return;\n event.preventDefault();\n event.stopPropagation();\n\n const length = this.otpConfig()?.length || 6;\n const pastedData = event.clipboardData?.getData('text') || '';\n\n const alphanumeric = pastedData\n .replace(/[^a-zA-Z0-9]/g, '')\n .slice(0, length);\n\n if (alphanumeric.length > 0) {\n const newValues = Array(length).fill('');\n alphanumeric.split('').forEach((char, index) => {\n if (index < length) {\n newValues[index] = char.toUpperCase();\n }\n });\n\n this.otpValues.set(newValues);\n this.updateValue();\n\n const focusIndex = Math.min(alphanumeric.length, length - 1);\n setTimeout(() => this.focusInput(focusIndex), 0);\n }\n };\n\n private focusInput(index: number): void {\n if (this.isDisabled()) return;\n const inputs = this.otpInputs();\n if (inputs[index]) {\n inputs[index].nativeElement.focus();\n }\n }\n\n private updateValue(): void {\n const otpValue = this.otpValues().join('');\n this.setValue(otpValue);\n }\n}\n"],"names":[],"mappings":";;;;;AA6DM,MAAO,iBAAkB,SAAQ,sBAAgC,CAAA;AACrE,IAAA,SAAS,GAAG,MAAM,CAAW,EAAE,gFAAC;AAChC,IAAA,SAAS,GAAG,YAAY,CAA+B,UAAU,gFAAC;IAC/C,SAAS,GAAG,QAAQ,CAAC,MAAM,IAAI,CAAC,MAAM,EAAc,EAAA,IAAA,SAAA,GAAA,CAAA,EAAA,SAAA,EAAA,WAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAAC;AACxE,IAAA,QAAQ,GAAG,QAAQ,CAAC,MAAK;QACvB,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,EAAE,MAAM,IAAI,CAAC;QAC5C,OAAO,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;AAC9B,IAAA,CA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A,CAAA,+qEAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAES,cAAc,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,KAAA,EAAA,aAAA,EAAA,QAAA,EAAA,UAAA,EAAA,UAAA,EAAA,OAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,mBAAmB,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,CAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,OAAA,EAAA,YAAA,EAAA,OAAA,EAAA,aAAA,EAAA,QAAA,CAAA,EAAA,OAAA,EAAA,CAAA,cAAA,EAAA,SAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,YAAY,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAGhD,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBA1C7B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,aAAa,EAAA,QAAA,EACb;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCT,EAAA,OAAA,EAEQ,CAAC,cAAc,EAAE,mBAAmB,EAAE,YAAY,CAAC,EAAA,eAAA,EAC3C,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,+qEAAA,CAAA,EAAA;oGAIQ,UAAU,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;;;"}
|
package/fesm2022/{magmonium-one-password--I81ks7B.mjs → magmonium-one-password-DCpAXJIf.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { signal, computed, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
-
import { h as BaseTextInputComponent, L as LabelComponent, j as TextOutputComponent, B as ButtonComponent, T as TranslatePipe } from './magmonium-one-magmonium-one-
|
|
3
|
+
import { h as BaseTextInputComponent, L as LabelComponent, j as TextOutputComponent, B as ButtonComponent, T as TranslatePipe } from './magmonium-one-magmonium-one-CzCUYYvz.mjs';
|
|
4
4
|
|
|
5
5
|
class PasswordInputComponent extends BaseTextInputComponent {
|
|
6
6
|
isPassword = signal(true, ...(ngDevMode ? [{ debugName: "isPassword" }] : /* istanbul ignore next */ []));
|
|
@@ -54,7 +54,7 @@ class PasswordInputComponent extends BaseTextInputComponent {
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
-
`, isInline: true, styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}:host{display:block;width:100%}.input-wrapper{display:flex;align-items:center;background:var(--m-background);overflow:hidden;height:calc(var(--input-size, 1em) * 2);min-height:calc(var(--input-size, 1em) * 2);border-width:max(1px,var(--input-size, 1em) * .0625);border-radius:calc(var(--input-size, 1em) * .4);padding:calc(var(--input-size, 1em) * .5) calc(var(--input-size, 1em) * .5);gap:calc(var(--input-size, 1em) * .375);font-size:var(--input-size, 1em);border-width:var(--m-input-border-width, 1px);border-radius:var(--m-input-radius, calc(var(--input-size, 1em) * .5));height:calc(var(--input-size, 1em) * 2.25);min-height:calc(var(--input-size, 1em) * 2.25);padding-top:0;padding-bottom:0;border-color:var(--m-input-color, var(--m-mm));transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease,opacity .2s ease}.input-wrapper:hover:not(:disabled){background-color:color-mix(in srgb,var(--m-input-color, var(--m-mm)) 6%,transparent)}.input-wrapper:disabled{opacity:.6;cursor:not-allowed}.input-wrapper{border-style:solid;backdrop-filter:var(--m-text-input-backdrop-filter, none);-webkit-backdrop-filter:var(--m-text-input-backdrop-filter, none);box-shadow:var(--m-text-input-shadow, none)}.input-wrapper:has(>m-one-button,>m-button,>.input-indicator,>.input-suffix,>m-icon:last-child){padding-right:0}.input-wrapper:focus-visible:not(:disabled),.input-wrapper:focus-within:not(:disabled){border-color:var(--m-text-input-focus-border, var(--m-focus));box-shadow:none}.input-wrapper:has(.error){border-color:var(--m-error);box-shadow:none}.input-wrapper:has(.error):focus-within{border-color:var(--m-error);box-shadow:none}.input-wrapper input::placeholder,.input-wrapper textarea::placeholder{color:var(--m-border, var(--m-border))}.input-wrapper:focus-within input::placeholder,.input-wrapper:focus-visible input::placeholder,.input-wrapper:focus-within textarea::placeholder,.input-wrapper:focus-visible textarea::placeholder{color:var(--m-focus, var(--m-focus))}.input-wrapper:has(.error) input::placeholder,.input-wrapper:has(.error) textarea::placeholder{color:var(--m-error, var(--m-error))}.input-wrapper input,.input-wrapper textarea{flex:1;border:none;outline:none;background:transparent;color:var(--m-text);font-family:inherit;font-size:inherit;padding:0}.input-wrapper input:focus,.input-wrapper textarea:focus{border-color:transparent;box-shadow:none}.input-wrapper{width:100%;padding-left:var(--m-password-input-padding-left, var(--m-label-required-space, .75em));background:var(--m-password-input-background, var(--m-background));border-color:var(--m-password-input-border, var(--m-input-color, var(--m-mm)))}.input-wrapper:hover:not(:has(.error)){border-color:var(--m-password-input-hover-border, color-mix(in srgb, var(--m-input-color, var(--m-mm)) 45%, rgba(0, 0, 0, .12)))}.input-wrapper .m-icon{--m-icon-size: 1.1em !important}.input-wrapper input{appearance:none;font-size:1em}.input-wrapper .m-one-button{height:100%;display:flex;align-items:center;justify-content:center;--m-button-size: 1em !important}\n"], dependencies: [{ kind: "component", type: LabelComponent, selector: "m-label", inputs: ["for", "placeholder", "params", "required", "disabled", "color"] }, { kind: "component", type: TextOutputComponent, selector: "m-text-output", inputs: ["config", "align", "variant", "color", "fontWeight", "label", "noTranslate", "params"], outputs: ["configChange", "clicked"] }, { kind: "component", type: ButtonComponent, selector: "m-button,m-one-button", inputs: ["config", "color", "labelClass", "fullWidth", "nav", "navParams", "href", "disabled", "variant", "name", "baseUrl", "one", "remote", "label", "noTranslate", "params", "noNative", "icon", "isRightIcon", "iconOnly", "stacked", "imgSrc", "nonClickable", "inverted", "isSubmit", "tabindex"], outputs: ["configChange", "clicked"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
57
|
+
`, isInline: true, styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}:host{display:block;width:100%}.input-wrapper{display:flex;align-items:center;background:var(--m-background);overflow:hidden;height:calc(var(--input-size, 1em) * 2);min-height:calc(var(--input-size, 1em) * 2);border-width:max(1px,var(--input-size, 1em) * .0625);border-radius:calc(var(--input-size, 1em) * .4);padding:calc(var(--input-size, 1em) * .5) calc(var(--input-size, 1em) * .5);gap:calc(var(--input-size, 1em) * .375);font-size:var(--input-size, 1em);border-width:var(--m-input-border-width, 1px);border-radius:var(--m-input-radius, calc(var(--input-size, 1em) * .5));height:calc(var(--input-size, 1em) * 2.25);min-height:calc(var(--input-size, 1em) * 2.25);padding-top:0;padding-bottom:0;border-color:var(--m-input-color, var(--m-mm));transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease,opacity .2s ease}.input-wrapper:hover:not(:disabled){background-color:color-mix(in srgb,var(--m-input-color, var(--m-mm)) 6%,transparent)}.input-wrapper:disabled{opacity:.6;cursor:not-allowed}.input-wrapper{border-style:solid;backdrop-filter:var(--m-text-input-backdrop-filter, none);-webkit-backdrop-filter:var(--m-text-input-backdrop-filter, none);box-shadow:var(--m-text-input-shadow, none)}.input-wrapper:has(>m-one-button,>m-button,>.input-indicator,>.input-suffix,>m-icon:last-child){padding-right:0}.input-wrapper:focus-visible:not(:disabled),.input-wrapper:focus-within:not(:disabled){border-color:var(--m-text-input-focus-border, var(--m-focus));box-shadow:none}.input-wrapper:has(.warning){border-color:var(--m-input-warning-border, var(--m-warning));background:var(--m-input-warning-background, color-mix(in srgb, var(--m-warning) 6%, var(--m-background)));box-shadow:none}.input-wrapper:has(.warning):focus-within{border-color:var(--m-input-warning-border, var(--m-warning));background:var(--m-input-warning-background, color-mix(in srgb, var(--m-warning) 6%, var(--m-background)))}.input-wrapper:has(.warning) input::placeholder,.input-wrapper:has(.warning) textarea::placeholder{color:var(--m-warning, var(--m-warning))}.input-wrapper:has(.error){border-color:var(--m-error);background:var(--m-input-error-background, color-mix(in srgb, var(--m-error) 5%, var(--m-background)));box-shadow:none}.input-wrapper:has(.error):focus-within{border-color:var(--m-error);background:var(--m-input-error-background, color-mix(in srgb, var(--m-error) 5%, var(--m-background)));box-shadow:none}.input-wrapper input::placeholder,.input-wrapper textarea::placeholder{color:var(--m-border, var(--m-border))}.input-wrapper:focus-within input::placeholder,.input-wrapper:focus-visible input::placeholder,.input-wrapper:focus-within textarea::placeholder,.input-wrapper:focus-visible textarea::placeholder{color:var(--m-focus, var(--m-focus))}.input-wrapper:has(.error) input::placeholder,.input-wrapper:has(.error) textarea::placeholder{color:var(--m-error, var(--m-error))}.input-wrapper input,.input-wrapper textarea{flex:1;border:none;outline:none;background:transparent;color:var(--m-text);font-family:inherit;font-size:inherit;padding:0}.input-wrapper input:focus,.input-wrapper textarea:focus{border-color:transparent;box-shadow:none}.input-wrapper{width:100%;padding-left:var(--m-password-input-padding-left, var(--m-label-required-space, .75em));background:var(--m-password-input-background, var(--m-background));border-color:var(--m-password-input-border, var(--m-input-color, var(--m-mm)))}.input-wrapper:hover:not(:has(.error)){border-color:var(--m-password-input-hover-border, color-mix(in srgb, var(--m-input-color, var(--m-mm)) 45%, rgba(0, 0, 0, .12)))}.input-wrapper .m-icon{--m-icon-size: 1.1em !important}.input-wrapper input{appearance:none;font-size:1em}.input-wrapper .m-one-button{height:100%;display:flex;align-items:center;justify-content:center;--m-button-size: 1em !important}\n"], dependencies: [{ kind: "component", type: LabelComponent, selector: "m-label", inputs: ["for", "placeholder", "params", "required", "disabled", "color"] }, { kind: "component", type: TextOutputComponent, selector: "m-text-output", inputs: ["config", "align", "variant", "color", "fontWeight", "label", "noTranslate", "params"], outputs: ["configChange", "clicked"] }, { kind: "component", type: ButtonComponent, selector: "m-button,m-one-button", inputs: ["config", "color", "labelClass", "fullWidth", "nav", "navParams", "href", "disabled", "variant", "name", "baseUrl", "one", "remote", "label", "noTranslate", "params", "noNative", "icon", "isRightIcon", "iconOnly", "stacked", "imgSrc", "nonClickable", "inverted", "isSubmit", "tabindex"], outputs: ["configChange", "clicked"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
58
58
|
}
|
|
59
59
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: PasswordInputComponent, decorators: [{
|
|
60
60
|
type: Component,
|
|
@@ -98,8 +98,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
`, imports: [LabelComponent, TextOutputComponent, ButtonComponent, TranslatePipe], changeDetection: ChangeDetectionStrategy.OnPush, styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}:host{display:block;width:100%}.input-wrapper{display:flex;align-items:center;background:var(--m-background);overflow:hidden;height:calc(var(--input-size, 1em) * 2);min-height:calc(var(--input-size, 1em) * 2);border-width:max(1px,var(--input-size, 1em) * .0625);border-radius:calc(var(--input-size, 1em) * .4);padding:calc(var(--input-size, 1em) * .5) calc(var(--input-size, 1em) * .5);gap:calc(var(--input-size, 1em) * .375);font-size:var(--input-size, 1em);border-width:var(--m-input-border-width, 1px);border-radius:var(--m-input-radius, calc(var(--input-size, 1em) * .5));height:calc(var(--input-size, 1em) * 2.25);min-height:calc(var(--input-size, 1em) * 2.25);padding-top:0;padding-bottom:0;border-color:var(--m-input-color, var(--m-mm));transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease,opacity .2s ease}.input-wrapper:hover:not(:disabled){background-color:color-mix(in srgb,var(--m-input-color, var(--m-mm)) 6%,transparent)}.input-wrapper:disabled{opacity:.6;cursor:not-allowed}.input-wrapper{border-style:solid;backdrop-filter:var(--m-text-input-backdrop-filter, none);-webkit-backdrop-filter:var(--m-text-input-backdrop-filter, none);box-shadow:var(--m-text-input-shadow, none)}.input-wrapper:has(>m-one-button,>m-button,>.input-indicator,>.input-suffix,>m-icon:last-child){padding-right:0}.input-wrapper:focus-visible:not(:disabled),.input-wrapper:focus-within:not(:disabled){border-color:var(--m-text-input-focus-border, var(--m-focus));box-shadow:none}.input-wrapper:has(.error){border-color:var(--m-error);box-shadow:none}.input-wrapper:has(.error):focus-within{border-color:var(--m-error);box-shadow:none}.input-wrapper input::placeholder,.input-wrapper textarea::placeholder{color:var(--m-border, var(--m-border))}.input-wrapper:focus-within input::placeholder,.input-wrapper:focus-visible input::placeholder,.input-wrapper:focus-within textarea::placeholder,.input-wrapper:focus-visible textarea::placeholder{color:var(--m-focus, var(--m-focus))}.input-wrapper:has(.error) input::placeholder,.input-wrapper:has(.error) textarea::placeholder{color:var(--m-error, var(--m-error))}.input-wrapper input,.input-wrapper textarea{flex:1;border:none;outline:none;background:transparent;color:var(--m-text);font-family:inherit;font-size:inherit;padding:0}.input-wrapper input:focus,.input-wrapper textarea:focus{border-color:transparent;box-shadow:none}.input-wrapper{width:100%;padding-left:var(--m-password-input-padding-left, var(--m-label-required-space, .75em));background:var(--m-password-input-background, var(--m-background));border-color:var(--m-password-input-border, var(--m-input-color, var(--m-mm)))}.input-wrapper:hover:not(:has(.error)){border-color:var(--m-password-input-hover-border, color-mix(in srgb, var(--m-input-color, var(--m-mm)) 45%, rgba(0, 0, 0, .12)))}.input-wrapper .m-icon{--m-icon-size: 1.1em !important}.input-wrapper input{appearance:none;font-size:1em}.input-wrapper .m-one-button{height:100%;display:flex;align-items:center;justify-content:center;--m-button-size: 1em !important}\n"] }]
|
|
101
|
+
`, imports: [LabelComponent, TextOutputComponent, ButtonComponent, TranslatePipe], changeDetection: ChangeDetectionStrategy.OnPush, styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}:host{display:block;width:100%}.input-wrapper{display:flex;align-items:center;background:var(--m-background);overflow:hidden;height:calc(var(--input-size, 1em) * 2);min-height:calc(var(--input-size, 1em) * 2);border-width:max(1px,var(--input-size, 1em) * .0625);border-radius:calc(var(--input-size, 1em) * .4);padding:calc(var(--input-size, 1em) * .5) calc(var(--input-size, 1em) * .5);gap:calc(var(--input-size, 1em) * .375);font-size:var(--input-size, 1em);border-width:var(--m-input-border-width, 1px);border-radius:var(--m-input-radius, calc(var(--input-size, 1em) * .5));height:calc(var(--input-size, 1em) * 2.25);min-height:calc(var(--input-size, 1em) * 2.25);padding-top:0;padding-bottom:0;border-color:var(--m-input-color, var(--m-mm));transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease,opacity .2s ease}.input-wrapper:hover:not(:disabled){background-color:color-mix(in srgb,var(--m-input-color, var(--m-mm)) 6%,transparent)}.input-wrapper:disabled{opacity:.6;cursor:not-allowed}.input-wrapper{border-style:solid;backdrop-filter:var(--m-text-input-backdrop-filter, none);-webkit-backdrop-filter:var(--m-text-input-backdrop-filter, none);box-shadow:var(--m-text-input-shadow, none)}.input-wrapper:has(>m-one-button,>m-button,>.input-indicator,>.input-suffix,>m-icon:last-child){padding-right:0}.input-wrapper:focus-visible:not(:disabled),.input-wrapper:focus-within:not(:disabled){border-color:var(--m-text-input-focus-border, var(--m-focus));box-shadow:none}.input-wrapper:has(.warning){border-color:var(--m-input-warning-border, var(--m-warning));background:var(--m-input-warning-background, color-mix(in srgb, var(--m-warning) 6%, var(--m-background)));box-shadow:none}.input-wrapper:has(.warning):focus-within{border-color:var(--m-input-warning-border, var(--m-warning));background:var(--m-input-warning-background, color-mix(in srgb, var(--m-warning) 6%, var(--m-background)))}.input-wrapper:has(.warning) input::placeholder,.input-wrapper:has(.warning) textarea::placeholder{color:var(--m-warning, var(--m-warning))}.input-wrapper:has(.error){border-color:var(--m-error);background:var(--m-input-error-background, color-mix(in srgb, var(--m-error) 5%, var(--m-background)));box-shadow:none}.input-wrapper:has(.error):focus-within{border-color:var(--m-error);background:var(--m-input-error-background, color-mix(in srgb, var(--m-error) 5%, var(--m-background)));box-shadow:none}.input-wrapper input::placeholder,.input-wrapper textarea::placeholder{color:var(--m-border, var(--m-border))}.input-wrapper:focus-within input::placeholder,.input-wrapper:focus-visible input::placeholder,.input-wrapper:focus-within textarea::placeholder,.input-wrapper:focus-visible textarea::placeholder{color:var(--m-focus, var(--m-focus))}.input-wrapper:has(.error) input::placeholder,.input-wrapper:has(.error) textarea::placeholder{color:var(--m-error, var(--m-error))}.input-wrapper input,.input-wrapper textarea{flex:1;border:none;outline:none;background:transparent;color:var(--m-text);font-family:inherit;font-size:inherit;padding:0}.input-wrapper input:focus,.input-wrapper textarea:focus{border-color:transparent;box-shadow:none}.input-wrapper{width:100%;padding-left:var(--m-password-input-padding-left, var(--m-label-required-space, .75em));background:var(--m-password-input-background, var(--m-background));border-color:var(--m-password-input-border, var(--m-input-color, var(--m-mm)))}.input-wrapper:hover:not(:has(.error)){border-color:var(--m-password-input-hover-border, color-mix(in srgb, var(--m-input-color, var(--m-mm)) 45%, rgba(0, 0, 0, .12)))}.input-wrapper .m-icon{--m-icon-size: 1.1em !important}.input-wrapper input{appearance:none;font-size:1em}.input-wrapper .m-one-button{height:100%;display:flex;align-items:center;justify-content:center;--m-button-size: 1em !important}\n"] }]
|
|
102
102
|
}] });
|
|
103
103
|
|
|
104
104
|
export { PasswordInputComponent };
|
|
105
|
-
//# sourceMappingURL=magmonium-one-password
|
|
105
|
+
//# sourceMappingURL=magmonium-one-password-DCpAXJIf.mjs.map
|
package/fesm2022/{magmonium-one-password--I81ks7B.mjs.map → magmonium-one-password-DCpAXJIf.mjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"magmonium-one-password
|
|
1
|
+
{"version":3,"file":"magmonium-one-password-DCpAXJIf.mjs","sources":["../../../../libs/one/src/lib/shared/ui/input/ui/text/password.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n signal,\n} from '@angular/core';\nimport { LabelComponent } from '../label';\nimport { TextOutputComponent } from '../../../text-output';\nimport { BaseTextInputComponent } from './base-text';\nimport { ButtonComponent } from '../../../button/ui/button';\nimport { TranslatePipe } from '../../../../pipe';\n\n@Component({\n selector: 'm-password-input',\n template: `\n @if (config(); as text) {\n <m-label\n [for]=\"text.name\"\n [placeholder]=\"text.label\"\n [params]=\"text.params\"\n [required]=\"required()\"\n [disabled]=\"disabled()\"\n />\n <div class=\"input-wrapper\">\n <input\n [id]=\"text.name ?? ''\"\n [value]=\"value()\"\n #inputElement\n [class.error]=\"showErrors()\"\n [disabled]=\"disabled()\"\n [placeholder]=\"(text.placeholder ?? '') | translate: text.params\"\n (input)=\"onInput($event)\"\n (focus)=\"isFocused.set(true)\"\n (blur)=\"isFocused.set(false); touched.set(true)\"\n [type]=\"type()\"\n />\n <m-one-button\n type=\"button\"\n [disabled]=\"disabled()\"\n [name]=\"button()\"\n [color]=\"iconColor()\"\n (clicked)=\"toggleType()\"\n />\n </div>\n @if (showErrors()) {\n @for (error of errors(); track $index) {\n <m-text-output\n variant=\"footer\"\n color=\"error\"\n [label]=\"error.message\"\n />\n }\n }\n }\n `,\n imports: [LabelComponent, TextOutputComponent, ButtonComponent, TranslatePipe],\n styleUrl: './password.sass',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class PasswordInputComponent extends BaseTextInputComponent {\n isPassword = signal<boolean>(true);\n type = computed(() => (this.isPassword() ? 'password' : 'text'));\n button = computed(() => (!this.isPassword() ? 'eye' : 'eye_close'));\n\n protected toggleType() {\n this.isPassword.update((now) => !now);\n }\n\n protected onInput(event: Event): void {\n const target = event.target as HTMLInputElement;\n this.setValue(target?.value ?? '');\n }\n}\n"],"names":[],"mappings":";;;;AA2DM,MAAO,sBAAuB,SAAQ,sBAAsB,CAAA;AAChE,IAAA,UAAU,GAAG,MAAM,CAAU,IAAI,iFAAC;IAClC,IAAI,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,UAAU,EAAE,GAAG,UAAU,GAAG,MAAM,CAAC,EAAA,IAAA,SAAA,GAAA,CAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAAC;IAChE,MAAM,GAAG,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,EAAE,GAAG,KAAK,GAAG,WAAW,CAAC,EAAA,IAAA,SAAA,GAAA,CAAA,EAAA,SAAA,EAAA,QAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAAC;IAEzD,UAAU,GAAA;AAClB,QAAA,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC;IACvC;AAEU,IAAA,OAAO,CAAC,KAAY,EAAA;AAC5B,QAAA,MAAM,MAAM,GAAG,KAAK,CAAC,MAA0B;QAC/C,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,KAAK,IAAI,EAAE,CAAC;IACpC;uGAZW,sBAAsB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAtB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,sBAAsB,EAAA,YAAA,EAAA,IAAA,EAAA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
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-CzCUYYvz.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-qK5wYbFE.mjs.map
|
package/fesm2022/{magmonium-one-toggle-DS5mTuzg.mjs.map → magmonium-one-toggle-qK5wYbFE.mjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"magmonium-one-toggle-
|
|
1
|
+
{"version":3,"file":"magmonium-one-toggle-qK5wYbFE.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;AA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AA,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 ASSET_BASE_URL, n as AccordionBodyDirective, q as AccordionComponent, s as AccordionGroupComponent, t as ActionComponent, u as AnimatedGraphsComponent, v as AppCardComponent, w as AppRelationType, x as AppTileComponent, y as AssetStore, z as AssetUrlPipe, C as Assets, D as AuthActivityPageComponent, E as AuthApiService, F as AuthStore, G as AutosizeDirective, J as BadgeComponent, K as BandingComponent, N as BaseArrayInputComponent, O as BaseRootWebComponent, P as BaseWebComponent, B as ButtonComponent, Q as ButtonGroupComponent, S as COMPONENT_INPUT_REGISTRY, U as CardComponent, V as CardWrapperComponent, W as CarouselComponent, X as ChartComponent, Y as ChatBubbleComponent, Z as CheckboxInputComponent, _ as ClearableInputComponent, $ as ColComponent, a0 as ColorPickerInputComponent, a1 as CommentItemComponent, a2 as CommentsApiService, a3 as CommentsComponent, a4 as CommentsStore, a5 as CompactNumberPipe, a6 as ComponentInputComponent, a7 as ComponentStepperComponent, a8 as ConfigComponent, a9 as ConfirmComponent, aa as ContextMenuComponent, ab as CustomIconClass, ac as CustomIconEditComponent, ad as DEFAULT_FILTER_RANGE_MODE, ae as DEFAULT_FILTER_VARIANT, af as DEFAULT_NAV_PARAM, ag as DEFAULT_NAV_SEGMENT, ah as DEFAULT_SIZE, ai as DashboardCardComponent, aj as DateInputComponent, ak as DatePickerComponent, al as DeviceService, am as DomService, an as Domain, ao as DotGridComponent, ap as DragListDirective, aq as DragListItemDirective, ar as DraggableDirective, as as DropdownInputComponent, at as FILTER_GROUP_CONTEXT, au as FILTER_RANGE_MODES, av as FILTER_VARIANTS, aw as FLEX_VARIANTS, ax as FOLDER_PICK_LISTENER, ay as FORM_ASSET_FOLDER, az as FileService, aA as FileUploadDirective, aB as FileUploadInputComponent, aC as FlexComponent, aD as FlexItemComponent, aE as FormGroupComponent, aF as FrameComponent, aG as FreezeService, aH as GRID_BREAKPOINTS, aI as GetNavService, H as HeaderComponent, aJ as HighlightDirective, aK as HttpService, aL as ICON_SOURCE, k as IS_DESIGN_MODE, aM as IS_SIDE_PANEL, aN as IconComponent, aO as ImgComponent, I as InputType, aP as InstrumentScoreComponent, aQ as InterceptorObservables, aR as JumbotronComponent, aS as KeyValueComponent, aT as LAYOUT_ASSET_FOLDER, aU as LOGIN_COMPONENT, aV as LOGIN_STORE, aW as LanguageComponent, aX as ListComponent, aY as LogoComponent, aZ as MAG_SOCKET_EVENT, a_ as MHeroColorDirective, a$ as MHeroComponent, M as MODAL_REF, b0 as MODAL_STORE_REF, b1 as MRefDirective, b2 as MStepComponent, b3 as MURL_PARAM, b4 as MURL_SEP, b5 as ManifestEnrichmentService, b6 as MenuComponent, b7 as ModalDirective, b8 as ModalRef, b9 as ModalStore, ba as MoneyPipe, bb as MultiRangeInputComponent, bc as MurlUrlSerializer, bd as NAV_DEFAULT_MURL, be as NAV_ID_SEP, bf as NAV_MAIN_BUTTONS, bg as NAV_SEGMENT_RE, bh as NAV_STORE_REF, bi as NAV_WC_COMPONENTS, bj as NAV_WIDGET_MAP, bk as NavComponent, bl as NavDetailsComponent, bm as NavHeaderComponent, bn as NavMenuComponent, bo as NavStore, bp as NavTrailComponent, bq as NothingComponent, br as NotificationElementComponent, bs as NotificationGroupComponent, bt as NotificationPopupComponent, bu as NotificationService, bv as NotificationStore, bw as NotificationType, bx as NotificationWidgetComponent, by as ONE_ASSET_BASE_URL, bz as OPTIONS_SOURCE, bA as OVERLAY_WIDGETS, bB as OneApp, bC as OptionsSourceDirective, bD as OverlayBodyComponent, bE as OverlayRef, bF as OverlayService, bG as PLATFORM_BUTTON_NAV_IDS, bH as PLATFORM_EXTENSIBLE_NAV_IDS, bI as PLATFORM_NAV_MAP, bJ as PLATFORM_ROOT_CHILDREN, bK as PaginationComponent, bL as PanelComponent, bM as PercentagePipe, bN as PlaygroundComponent, bO as PositionDirective, bP as PwaInstallComponent, bQ as ROOT_NAV, bR as RadioGroupComponent, bS as RadioInputComponent, R as RangeInputComponent, bT as RatingInputComponent, bU as ReactiveElementComponent, bV as RemoteComponent, bW as RemoteLoaderService, bX as ResizeElementComponent, bY as RouteContainer, bZ as RowComponent, b_ as SEARCH_QUERY, b$ as SEARCH_RESULTS_EVENT, c0 as SECTION_ACCORDION_GROUP, c1 as SECTION_FORM_CONTEXT, c2 as SHARED_ICONS, c3 as SIZE_CONTEXT, c4 as ScoreComponent, c5 as ScrollComponent, c6 as ScrollService, c7 as SearchPanelComponent, c8 as SearchStore, c9 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 SectionTabsComponent, cw as SectionToggleComponent, cx as SectionToggleItemDirective, cy as SelectableCardInputComponent, cz as SelectorDirective, cA as SettingsSearchBarComponent, cB as SettingsSearchService, cC as ShapeComponent, cD as SharedStoreRegistry, cE as SidePanelDirective, cF as Size, cG as SocketStore, cH as SortComponent, cI as StatComponent, cJ as StepComponent, cK as StepperComponent, cL as StepsComponent, cM as StorageService, cN as StrokeLinecap, cO as StrokeLinejoin, cP as SummaryComponent, cQ as SvgGeneratorComponent, cR as SvgGeneratorService, cS as SvgService, cT as TOTAL_COLUMNS, cU as TRANSLATION_SOURCE, cV as TableComponent, cW as TechnicalMeterComponent, cX as TextInputComponent, j as TextOutputComponent, cY as TextareaInputComponent, cZ as ThemeComponent, c_ as ThemeDataService, c$ as ThemeService, d0 as ThemeStore, d1 as TimeAgoPipe, d2 as TimelineComponent, d3 as ToggleButtonComponent, d4 as ToggleInputComponent, d5 as ToggleRadioInputComponent, d6 as ToolTipDirective, d7 as TooltipComponent, T as TranslatePipe, d8 as TranslateService, d9 as TreeGridComponent, da as URL_SEP, db as USER_STORE_REF, dc as USER_TAB_MAP, dd as UniverseComponent, de as UserApiService, df as UserAvatarComponent, dg as UserComponent, dh as UserNavComponent, di as UserSettingsComponent, dj as UserStore, dk as WC_ROUTE_CHANGED_EVENT, dl as WC_SEARCH_GROUPS, dm as WIN_USER_TAB_HOOK, dn as WIN_USER_TAB_KEY, dp as WatermarkComponent, dq as WcRouterStore, dr as WrapperInputComponent, ds as anchorNavId, dt as applyColorsToElement, du as assetOptions, dv as bootstrapMagApp, dw as bootstrapPwaInstall, dx as buildWcBaseUrl, dy as calculateLuminance, dz as calculateRanks, dA as cellText, dB as checkFilterCondition, dC as childNavId, dD as classListSignal, dE as coerceSize, dF as cornerEdge, dG as cornerSide, dH as createMap, dI as createPlatformNavMap, dJ as deriveAvatarGradient, dK as deriveContrastColor, dL as deriveOppositeColor, dM as derivePropertyName, dN as emailValidation, dO as evaluate, dP as evaluateBool, dQ as fieldBoolean, dR as fieldNumber, dS as fieldString, dT as filterHoldsList, dU as filterHoldsOneBound, dV as filterHoldsOptions, dW as filterHoldsRange, dX as filterList, dY as filterNumber, dZ as filterNumberList, d_ as filterOne, d$ as filterPanelOf, e0 as filterPanelWidth, e1 as filterRange, e2 as filterTreeGridRows, e3 as filterValueList, e4 as filterValues, e5 as flattenTreeGridRows, e6 as formatBadgeCount, e7 as fullName, e8 as generateClipPath, e9 as generateTransform, ea as getClassList, eb as getProperty, ec as getScrollParent, ed as getTierFromPreviewPath, ee as getTreeGridRow, ef as getUniqueId, eg as getValue, eh as hasErrorComputed, ei as hexToRgb, ej as hslToRgb, ek as initMagmoniumApp, el as initialNotificationState, em as initialState, en as initials, eo as injectAuthenticate, ep as injectInstallApp, eq as injectParentSize, er as injectScrollSticky, es as isButtonName, et as isCancelledComputed, eu as isExtensiblePlatformNavId, ev as isJson, ew as isLoadingComputed, ex as isLocalhost, ey as isNavInstanceConfig, ez as isNavMenuConfig, eA as isNavRowsConfig, eB as isNavVisibilityConfig, eC as isPlatformNavId, eD as isSize, eE as isTierPreview, eF as isUrlLocalhost, eG as isValidNavId, eH as isValidNavSegment, eI as isWebComponent, eJ as linkToId, eK as linkToNav, eL as loadingActions, eM as mInterceptor, eN as manualValidation, eO as matchFieldValidation, eP as maxLengthValidation, eQ as maxValidation, eR as mergePlatformNav, eS as mergeUnique, eT as mergeUniqueBy, eU as mergeUniqueWith, eV as minAgeValidation, eW as minLengthValidation, eX as minValidation, eY as miniMarkToHtml, eZ as navIdChain, e_ as navIdFor, e$ as navIdSegment, f0 as navIdToRoutePath, f1 as navIdToSegments, f2 as navParamOf, f3 as navToId, f4 as navVisibilityGuard, f5 as normalizeAssetOptions, f6 as parentNavId, f7 as parseAddress, f8 as parseColor, f9 as parsePatternNames, fa as patternValidation, fb as patternsValidation, fc as platformNavWidgets, fd as privateGuard, fe as processImageToSvg, ff as provideAppContext, fg as provideMagAppConfig, fh as provideMagWcConfig, fi as provideMagWcRoutes, fj as provideModalComponents, fk as provideMurlUrlSerializer, fl as provideNavWidgets, fm as provideOverlayWidgets, fn as providePlatformNavWidgets, fo as provideSearch, fp as provideSizeContext, fq as provideUserTabs, fr as publicGuard, fs as readFieldPatterns, ft as renderAddress, fu as requiredValidation, fv as resolveConfigAsset, fw as resolveIconSize, fx as resolvePallet, fy as resolvePatternRules, fz as resolveSize, fA as rgbToHex, fB as rgbToHsl, fC as rowHasChildren, fD as samePatterns, fE as segmentsToNavId, fF as setProperty, fG as setTreeGridChildren, fH as settingsWidgets, fI as shouldShowBadge, fJ as splitNavId, fK as splitOnMatch, fL as stringToColor, fM as toAttrBool, fN as toAttrNumber, fO as toCssLength, fP as toHostNavId, fQ as toLength, fR as toLocalNavId, fS as toggleTreeGridRow, fT as unfetchedPlatformNav, fU as urlValidation } from './magmonium-one-magmonium-one-fFTL275l.mjs';
|
|
1
|
+
export { A as ACCESS_DOMAINS, l as APP_CONTEXT_REF, m as ASSET_BASE_URL, n as AccordionBodyDirective, q as AccordionComponent, s as AccordionGroupComponent, t as ActionComponent, u as AnimatedGraphsComponent, v as AppCardComponent, w as AppRelationType, x as AppTileComponent, y as AssetStore, z as AssetUrlPipe, C as Assets, D as AuthActivityPageComponent, E as AuthApiService, F as AuthStore, G as AutosizeDirective, J as BadgeComponent, K as BandingComponent, N as BaseArrayInputComponent, O as BaseRootWebComponent, P as BaseWebComponent, B as ButtonComponent, Q as ButtonGroupComponent, S as COMPONENT_INPUT_REGISTRY, U as CardComponent, V as CardWrapperComponent, W as CarouselComponent, X as ChartComponent, Y as ChatBubbleComponent, Z as CheckboxInputComponent, _ as ClearableInputComponent, $ as ColComponent, a0 as ColorPickerInputComponent, a1 as CommentItemComponent, a2 as CommentsApiService, a3 as CommentsComponent, a4 as CommentsStore, a5 as CompactNumberPipe, a6 as ComponentInputComponent, a7 as ComponentStepperComponent, a8 as ConfigComponent, a9 as ConfirmComponent, aa as ContextMenuComponent, ab as CustomIconClass, ac as CustomIconEditComponent, ad as DEFAULT_DENIAL, ae as DEFAULT_FILTER_RANGE_MODE, af as DEFAULT_FILTER_VARIANT, ag as DEFAULT_NAV_PARAM, ah as DEFAULT_NAV_SEGMENT, ai as DEFAULT_SIZE, aj as DashboardCardComponent, ak as DateInputComponent, al as DatePickerComponent, am as DeviceService, an as DomService, ao as Domain, ap as DotGridComponent, aq as DragListDirective, ar as DragListItemDirective, as as DraggableDirective, at as DropdownInputComponent, au as FILTER_GROUP_CONTEXT, av as FILTER_RANGE_MODES, aw as FILTER_VARIANTS, ax as FLEX_VARIANTS, ay as FOLDER_PICK_LISTENER, az as FORM_ASSET_FOLDER, aA as FileService, aB as FileUploadDirective, aC as FileUploadInputComponent, aD as FlexComponent, aE as FlexItemComponent, aF as FormGroupComponent, aG as FrameComponent, aH as FreezeService, aI as GRID_BREAKPOINTS, aJ as GetNavService, H as HeaderComponent, aK as HighlightDirective, aL as HttpService, aM as ICON_SOURCE, k as IS_DESIGN_MODE, aN as IS_SIDE_PANEL, aO as IconComponent, aP as ImgComponent, I as InputType, aQ as InstrumentScoreComponent, aR as InterceptorObservables, aS as JumbotronComponent, aT as KeyValueComponent, aU as LAYOUT_ASSET_FOLDER, aV as LOGIN_COMPONENT, aW as LOGIN_STORE, aX as LanguageComponent, aY as ListComponent, aZ as LogoComponent, a_ as MAG_SOCKET_EVENT, a$ as MHeroColorDirective, b0 as MHeroComponent, M as MODAL_REF, b1 as MODAL_STORE_REF, b2 as MRefDirective, b3 as MStepComponent, b4 as MURL_PARAM, b5 as MURL_SEP, b6 as ManifestEnrichmentService, b7 as MenuComponent, b8 as ModalDirective, b9 as ModalRef, ba as ModalStore, bb as MoneyPipe, bc as MultiRangeInputComponent, bd as MurlUrlSerializer, be as NAV_DEFAULT_MURL, bf as NAV_ID_SEP, bg as NAV_MAIN_BUTTONS, bh as NAV_SEGMENT_RE, bi as NAV_STORE_REF, bj as NAV_WC_COMPONENTS, bk as NAV_WIDGET_MAP, bl as NavComponent, bm as NavDetailsComponent, bn as NavHeaderComponent, bo as NavMenuComponent, bp as NavStore, bq as NavTrailComponent, br as NothingComponent, bs as NotificationElementComponent, bt as NotificationGroupComponent, bu as NotificationPopupComponent, bv as NotificationService, bw as NotificationStore, bx as NotificationType, by as NotificationWidgetComponent, bz as ONE_ASSET_BASE_URL, bA as OPTIONS_SOURCE, bB as OVERLAY_WIDGETS, bC as OneApp, bD as OptionsSourceDirective, bE as OverlayBodyComponent, bF as OverlayRef, bG as OverlayService, bH as PLATFORM_BUTTON_NAV_IDS, bI as PLATFORM_EXTENSIBLE_NAV_IDS, bJ as PLATFORM_NAV_MAP, bK as PLATFORM_ROOT_CHILDREN, bL as PaginationComponent, bM as PanelComponent, bN as PercentagePipe, bO as PlaygroundComponent, bP as PositionDirective, bQ as PwaInstallComponent, bR as ROOT_NAV, bS as RadioGroupComponent, bT as RadioInputComponent, R as RangeInputComponent, bU as RatingInputComponent, bV as ReactiveElementComponent, bW as RemoteComponent, bX as RemoteLoaderService, bY as ResizeElementComponent, bZ as RouteContainer, b_ as RowComponent, b$ as SEARCH_QUERY, c0 as SEARCH_RESULTS_EVENT, c1 as SECTION_ACCORDION_GROUP, c2 as SECTION_FORM_CONTEXT, c3 as SHARED_ICONS, c4 as SIZE_CONTEXT, c5 as ScoreComponent, c6 as ScrollComponent, c7 as ScrollService, c8 as SearchPanelComponent, c9 as SearchStore, ca as SearchUserPanelComponent, cb as SectionAccordionDirective, cc as SectionAccordionGroupDirective, cd as SectionBackComponent, ce as SectionBadgesComponent, cf as SectionButtonGroupComponent, cg as SectionCardComponent, ch as SectionCarouselComponent, ci as SectionComponent, cj as SectionFilterComponent, ck as SectionFilterGroupComponent, cl as SectionFilterMenuComponent, cm as SectionFilterPanelComponent, cn as SectionFilterRangePanelComponent, co as SectionFooterComponent, cp as SectionFormComponent, cq as SectionFormItemComponent, cr as SectionHeaderComponent, cs as SectionHeroComponent, ct as SectionPaginationComponent, cu as SectionSearchComponent, cv as SectionStepperComponent, cw as SectionTabsComponent, cx as SectionToggleComponent, cy as SectionToggleItemDirective, cz as SelectableCardInputComponent, cA as SelectorDirective, cB as SettingsSearchBarComponent, cC as SettingsSearchService, cD as ShapeComponent, cE as SharedStoreRegistry, cF as SidePanelDirective, cG as Size, cH as SocketStore, cI as SortComponent, cJ as StatComponent, cK as StepComponent, cL as StepperComponent, cM as StepsComponent, cN as StorageService, cO as StrokeLinecap, cP as StrokeLinejoin, cQ as SummaryComponent, cR as SvgGeneratorComponent, cS as SvgGeneratorService, cT as SvgService, cU as TOTAL_COLUMNS, cV as TRANSLATION_SOURCE, cW as TableComponent, cX as TechnicalMeterComponent, cY as TextInputComponent, j as TextOutputComponent, cZ as TextareaInputComponent, c_ as ThemeComponent, c$ as ThemeDataService, d0 as ThemeService, d1 as ThemeStore, d2 as TimeAgoPipe, d3 as TimelineComponent, d4 as ToggleButtonComponent, d5 as ToggleInputComponent, d6 as ToggleRadioInputComponent, d7 as ToolTipDirective, d8 as TooltipComponent, T as TranslatePipe, d9 as TranslateService, da as TreeGridComponent, db as URL_SEP, dc as USER_STORE_REF, dd as USER_TAB_MAP, de as UniverseComponent, df as UserApiService, dg as UserAvatarComponent, dh as UserComponent, di as UserNavComponent, dj as UserSettingsComponent, dk as UserStore, dl as WC_ROUTE_CHANGED_EVENT, dm as WC_SEARCH_GROUPS, dn as WIN_USER_TAB_HOOK, dp as WIN_USER_TAB_KEY, dq as WatermarkComponent, dr as WcRouterStore, ds as WrapperInputComponent, dt as anchorNavId, du as applyColorsToElement, dv as assetOptions, dw as bootstrapMagApp, dx as bootstrapPwaInstall, dy as buildWcBaseUrl, dz as calculateLuminance, dA as calculateRanks, dB as cellText, dC as checkFilterCondition, dD as childNavId, dE as claimDenial, dF as classListSignal, dG as coerceSize, dH as cornerEdge, dI as cornerSide, dJ as createMap, dK as createPlatformNavMap, dL as deriveAvatarGradient, dM as deriveContrastColor, dN as deriveOppositeColor, dO as derivePropertyName, dP as emailValidation, dQ as evaluate, dR as evaluateBool, dS as fieldBoolean, dT as fieldNumber, dU as fieldString, dV as filterHoldsList, dW as filterHoldsOneBound, dX as filterHoldsOptions, dY as filterHoldsRange, dZ as filterList, d_ as filterNumber, d$ as filterNumberList, e0 as filterOne, e1 as filterPanelOf, e2 as filterPanelWidth, e3 as filterRange, e4 as filterTreeGridRows, e5 as filterValueList, e6 as filterValues, e7 as flattenTreeGridRows, e8 as formatBadgeCount, e9 as fullName, ea as generateClipPath, eb as generateTransform, ec as getClassList, ed as getProperty, ee as getScrollParent, ef as getTierFromPreviewPath, eg as getTreeGridRow, eh as getUniqueId, ei as getValue, ej as hasErrorComputed, ek as hexToRgb, el as hslToRgb, em as initMagmoniumApp, en as initialNotificationState, eo as initialState, ep as initials, eq as injectAuthenticate, er as injectDefaultDenial, es as injectInstallApp, et as injectParentSize, eu as injectScrollSticky, ev as isButtonName, ew as isCancelledComputed, ex as isExtensiblePlatformNavId, ey as isJson, ez as isLoadingComputed, eA as isLocalhost, eB as isNavInstanceConfig, eC as isNavMenuConfig, eD as isNavRowsConfig, eE as isNavVisibilityConfig, eF as isPlatformNavId, eG as isSize, eH as isTierPreview, eI as isUrlLocalhost, eJ as isValidNavId, eK as isValidNavSegment, eL as isWebComponent, eM as linkToId, eN as linkToNav, eO as loadingActions, eP as mInterceptor, eQ as manualValidation, eR as matchFieldValidation, eS as maxLengthValidation, eT as maxValidation, eU as mergePlatformNav, eV as mergeUnique, eW as mergeUniqueBy, eX as mergeUniqueWith, eY as minAgeValidation, eZ as minLengthValidation, e_ as minValidation, e$ as miniMarkToHtml, f0 as navIdChain, f1 as navIdFor, f2 as navIdSegment, f3 as navIdToRoutePath, f4 as navIdToSegments, f5 as navParamOf, f6 as navToId, f7 as navVisibilityGuard, f8 as normalizeAssetOptions, f9 as parentNavId, fa as parseAddress, fb as parseColor, fc as parsePatternNames, fd as patternValidation, fe as patternsValidation, ff as permissionRefusal, fg as platformNavWidgets, fh as privateGuard, fi as processImageToSvg, fj as provideAppContext, fk as provideMagAppConfig, fl as provideMagWcConfig, fm as provideMagWcRoutes, fn as provideModalComponents, fo as provideMurlUrlSerializer, fp as provideNavWidgets, fq as provideOverlayWidgets, fr as providePlatformNavWidgets, fs as provideSearch, ft as provideSizeContext, fu as provideUserTabs, fv as publicGuard, fw as readFieldPatterns, fx as renderAddress, fy as requiredValidation, fz as resolveConfigAsset, fA as resolveIconSize, fB as resolvePallet, fC as resolvePatternRules, fD as resolveSize, fE as rgbToHex, fF as rgbToHsl, fG as rowHasChildren, fH as samePatterns, fI as segmentsToNavId, fJ as setProperty, fK as setTreeGridChildren, fL as settingsWidgets, fM as shouldShowBadge, fN as splitNavId, fO as splitOnMatch, fP as stringToColor, fQ as toAttrBool, fR as toAttrNumber, fS as toCssLength, fT as toHostNavId, fU as toLength, fV as toLocalNavId, fW as toggleTreeGridRow, fX as unfetchedPlatformNav, fY as urlValidation } from './magmonium-one-magmonium-one-CzCUYYvz.mjs';
|
|
2
2
|
//# sourceMappingURL=magmonium-one.mjs.map
|
package/package.json
CHANGED
package/sass/mixins/_input.sass
CHANGED
|
@@ -113,12 +113,30 @@
|
|
|
113
113
|
border-color: var(--m-text-input-focus-border, #{$focus})
|
|
114
114
|
box-shadow: none
|
|
115
115
|
|
|
116
|
+
// A non-error state signals through the border — the fill follows with the
|
|
117
|
+
// same tone so the whole control reads as one severity, not a red outline
|
|
118
|
+
// on a neutral field. Tints sit a few percent in over the background, the
|
|
119
|
+
// same recipe the focus background uses, so the text stays legible.
|
|
120
|
+
&:has(.warning)
|
|
121
|
+
border-color: var(--m-input-warning-border, #{$warning})
|
|
122
|
+
background: var(--m-input-warning-background, color-mix(in srgb, #{$warning} 6%, #{$background}))
|
|
123
|
+
box-shadow: none
|
|
124
|
+
|
|
125
|
+
&:focus-within
|
|
126
|
+
border-color: var(--m-input-warning-border, #{$warning})
|
|
127
|
+
background: var(--m-input-warning-background, color-mix(in srgb, #{$warning} 6%, #{$background}))
|
|
128
|
+
|
|
129
|
+
input::placeholder, textarea::placeholder
|
|
130
|
+
color: var(--m-warning, #{$warning})
|
|
131
|
+
|
|
116
132
|
&:has(.error)
|
|
117
133
|
border-color: $error
|
|
134
|
+
background: var(--m-input-error-background, color-mix(in srgb, #{$error} 5%, #{$background}))
|
|
118
135
|
box-shadow: none
|
|
119
136
|
|
|
120
137
|
&:has(.error):focus-within
|
|
121
138
|
border-color: $error
|
|
139
|
+
background: var(--m-input-error-background, color-mix(in srgb, #{$error} 5%, #{$background}))
|
|
122
140
|
box-shadow: none
|
|
123
141
|
|
|
124
142
|
// The placeholder carries the same colour the Field's icon does — the
|
package/types/magmonium-one.d.ts
CHANGED
|
@@ -816,6 +816,22 @@ interface AppHint {
|
|
|
816
816
|
}
|
|
817
817
|
declare function injectInstallApp(): (app: AppHint) => Promise<void>;
|
|
818
818
|
|
|
819
|
+
declare const DEFAULT_DENIAL: {
|
|
820
|
+
readonly header: "permission-denied";
|
|
821
|
+
readonly body: "permission-denied-body";
|
|
822
|
+
};
|
|
823
|
+
/**
|
|
824
|
+
* Answers the refused reason of a permission refusal and marks it answered, so
|
|
825
|
+
* the default dialog stays shut; `undefined` for any other error, untouched.
|
|
826
|
+
*/
|
|
827
|
+
declare const claimDenial: (error: unknown) => string | undefined;
|
|
828
|
+
/**
|
|
829
|
+
* The interceptor's half: sees every refusal first, and waits one microtask —
|
|
830
|
+
* the error reaches the caller's `catchError` synchronously — before opening
|
|
831
|
+
* the default for one nobody claimed.
|
|
832
|
+
*/
|
|
833
|
+
declare function injectDefaultDenial(): (error: unknown) => void;
|
|
834
|
+
|
|
819
835
|
/**
|
|
820
836
|
* The Size in force for a subtree. Provided by the only components that may
|
|
821
837
|
* declare one — Section, ButtonGroup, and the markup-composed SectionButtonGroup
|
|
@@ -1034,6 +1050,15 @@ declare function linkToId(link: string): string | undefined;
|
|
|
1034
1050
|
|
|
1035
1051
|
declare function buildWcBaseUrl(apiUrl: string, remoteId: string): string;
|
|
1036
1052
|
|
|
1053
|
+
/**
|
|
1054
|
+
* The api refusing work for a User Role the User lacks answers 406 with a
|
|
1055
|
+
* `permission` hint naming the reason (api ADR 0005) — never 403, which this
|
|
1056
|
+
* client reads as an expired token. Answers that reason, or `undefined` for
|
|
1057
|
+
* any other error, so a caller can branch on it and the interceptor can leave
|
|
1058
|
+
* it to the caller rather than toasting it.
|
|
1059
|
+
*/
|
|
1060
|
+
declare const permissionRefusal: (error: unknown) => string | undefined;
|
|
1061
|
+
|
|
1037
1062
|
declare const isLoadingComputed: _angular_core.Signal<boolean>;
|
|
1038
1063
|
declare const hasErrorComputed: _angular_core.Signal<boolean>;
|
|
1039
1064
|
declare const isCancelledComputed: _angular_core.Signal<boolean>;
|
|
@@ -9365,6 +9390,7 @@ declare class AuthActivityPageComponent {
|
|
|
9365
9390
|
hostUserTabs: Record<string, _angular_core.Type<unknown>>;
|
|
9366
9391
|
userId: _angular_core.Signal<string | undefined>;
|
|
9367
9392
|
isLoggedIn: _angular_core.Signal<boolean>;
|
|
9393
|
+
isAppAuthor: _angular_core.Signal<boolean>;
|
|
9368
9394
|
variant: _angular_core.Signal<{
|
|
9369
9395
|
create_new_user: boolean;
|
|
9370
9396
|
identity_exiest: boolean;
|
|
@@ -9379,6 +9405,7 @@ declare class AuthActivityPageComponent {
|
|
|
9379
9405
|
userMap: _angular_core.Signal<Map<any, any>>;
|
|
9380
9406
|
resolvedUserTabs: _angular_core.Signal<_magmonium_one.ResolvedUserTab[]>;
|
|
9381
9407
|
isCurrentUser: (id: string | undefined) => boolean;
|
|
9408
|
+
hasRole: (role: string | undefined) => boolean;
|
|
9382
9409
|
patch: (state: Partial<_magmonium_one.AuthState>) => void;
|
|
9383
9410
|
initApp: (data: {
|
|
9384
9411
|
navs: string[];
|
|
@@ -9393,6 +9420,7 @@ declare class AuthActivityPageComponent {
|
|
|
9393
9420
|
username?: string;
|
|
9394
9421
|
lang?: string;
|
|
9395
9422
|
dob?: string;
|
|
9423
|
+
roles?: _magmonium_one.UserRole[];
|
|
9396
9424
|
};
|
|
9397
9425
|
}) => void;
|
|
9398
9426
|
setTokens: (tokens: _magmonium_one.Tokens) => void;
|
|
@@ -9479,6 +9507,11 @@ declare class AuthActivityPageComponent {
|
|
|
9479
9507
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AuthActivityPageComponent, "m-auth-activity", never, {}, {}, never, never, true, never>;
|
|
9480
9508
|
}
|
|
9481
9509
|
|
|
9510
|
+
/**
|
|
9511
|
+
* One kind of work a User is allowed to do system-wide (api `UserRole`). A
|
|
9512
|
+
* User holds any number; a piece of work requires exactly one.
|
|
9513
|
+
*/
|
|
9514
|
+
type UserRole = 'user' | 'admin' | 'app-author';
|
|
9482
9515
|
interface AuthUser {
|
|
9483
9516
|
id: string;
|
|
9484
9517
|
firstName: string;
|
|
@@ -9486,6 +9519,8 @@ interface AuthUser {
|
|
|
9486
9519
|
username: string;
|
|
9487
9520
|
lang?: string;
|
|
9488
9521
|
dob?: string;
|
|
9522
|
+
/** The signed-in User's own roles — the api hands them to nobody else. */
|
|
9523
|
+
roles?: UserRole[];
|
|
9489
9524
|
}
|
|
9490
9525
|
interface AuthState {
|
|
9491
9526
|
navs: string[];
|
|
@@ -9525,6 +9560,7 @@ declare const AuthStore: Type<{
|
|
|
9525
9560
|
hostUserTabs: Record<string, Type<unknown>>;
|
|
9526
9561
|
userId: _angular_core.Signal<string | undefined>;
|
|
9527
9562
|
isLoggedIn: _angular_core.Signal<boolean>;
|
|
9563
|
+
isAppAuthor: _angular_core.Signal<boolean>;
|
|
9528
9564
|
variant: _angular_core.Signal<{
|
|
9529
9565
|
create_new_user: boolean;
|
|
9530
9566
|
identity_exiest: boolean;
|
|
@@ -9539,6 +9575,7 @@ declare const AuthStore: Type<{
|
|
|
9539
9575
|
userMap: _angular_core.Signal<Map<any, any>>;
|
|
9540
9576
|
resolvedUserTabs: _angular_core.Signal<ResolvedUserTab[]>;
|
|
9541
9577
|
isCurrentUser: (id: string | undefined) => boolean;
|
|
9578
|
+
hasRole: (role: string | undefined) => boolean;
|
|
9542
9579
|
patch: (state: Partial<AuthState>) => void;
|
|
9543
9580
|
initApp: (data: {
|
|
9544
9581
|
navs: string[];
|
|
@@ -9553,6 +9590,7 @@ declare const AuthStore: Type<{
|
|
|
9553
9590
|
username?: string;
|
|
9554
9591
|
lang?: string;
|
|
9555
9592
|
dob?: string;
|
|
9593
|
+
roles?: UserRole[];
|
|
9556
9594
|
};
|
|
9557
9595
|
}) => void;
|
|
9558
9596
|
setTokens: (tokens: Tokens) => void;
|
|
@@ -9621,7 +9659,7 @@ interface AuthSignupCreateResponseUser {
|
|
|
9621
9659
|
dob: string;
|
|
9622
9660
|
country: string;
|
|
9623
9661
|
active: boolean;
|
|
9624
|
-
roles:
|
|
9662
|
+
roles: UserRole[];
|
|
9625
9663
|
}
|
|
9626
9664
|
|
|
9627
9665
|
interface AuthEmailCreate404Response {
|
|
@@ -9748,5 +9786,5 @@ interface AuthResult {
|
|
|
9748
9786
|
}
|
|
9749
9787
|
declare function injectAuthenticate(): () => Promise<AuthResult>;
|
|
9750
9788
|
|
|
9751
|
-
export { ACCESS_DOMAINS, APP_CONTEXT_REF, ASSET_BASE_URL, AccordionBodyDirective, AccordionComponent, AccordionGroupComponent, ActionComponent, AnimatedGraphsComponent, AppCardComponent, AppRelationType, AppTileComponent, AssetStore, AssetUrlPipe, Assets, AuthActivityPageComponent, AuthApiService, AuthStore, AutosizeDirective, BadgeComponent, BandingComponent, BaseArrayInputComponent, BaseRootWebComponent, BaseWebComponent, ButtonComponent, ButtonGroupComponent, COMPONENT_INPUT_REGISTRY, CardComponent, CardWrapperComponent, CarouselComponent, ChartComponent, ChatBubbleComponent, CheckboxInputComponent, ClearableInputComponent, ColComponent, ColorPickerInputComponent, CommentItemComponent, CommentsApiService, CommentsComponent, CommentsStore, CompactNumberPipe, ComponentInputComponent, ComponentStepperComponent, ConfigComponent, ConfirmComponent, ContextMenuComponent, CustomIconClass, CustomIconEditComponent, DEFAULT_FILTER_RANGE_MODE, DEFAULT_FILTER_VARIANT, DEFAULT_NAV_PARAM, DEFAULT_NAV_SEGMENT, DEFAULT_SIZE, DashboardCardComponent, DateInputComponent, DatePickerComponent, DeviceService, 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, MRefDirective, MStepComponent, MURL_PARAM, MURL_SEP, ManifestEnrichmentService, MenuComponent, ModalDirective, ModalRef, ModalStore, MoneyPipe, MultiRangeInputComponent, MurlUrlSerializer, NAV_DEFAULT_MURL, NAV_ID_SEP, NAV_MAIN_BUTTONS, NAV_SEGMENT_RE, NAV_STORE_REF, NAV_WC_COMPONENTS, NAV_WIDGET_MAP, NavComponent, NavDetailsComponent, NavHeaderComponent, NavMenuComponent, NavStore, NavTrailComponent, NothingComponent, NotificationElementComponent, NotificationGroupComponent, NotificationPopupComponent, NotificationService, NotificationStore, NotificationType, NotificationWidgetComponent, ONE_ASSET_BASE_URL, OPTIONS_SOURCE, OVERLAY_WIDGETS, OneApp, OptionsSourceDirective, OverlayBodyComponent, OverlayRef, OverlayService, PLATFORM_BUTTON_NAV_IDS, PLATFORM_EXTENSIBLE_NAV_IDS, PLATFORM_NAV_MAP, PLATFORM_ROOT_CHILDREN, PaginationComponent, PanelComponent, PercentagePipe, PlaygroundComponent, PositionDirective, PwaInstallComponent, ROOT_NAV, RadioGroupComponent, RadioInputComponent, RangeInputComponent, RatingInputComponent, ReactiveElementComponent, RemoteComponent, RemoteLoaderService, ResizeElementComponent, RouteContainer, RowComponent, SEARCH_QUERY, SEARCH_RESULTS_EVENT, SECTION_ACCORDION_GROUP, SECTION_FORM_CONTEXT, SHARED_ICONS, SIZE_CONTEXT, ScoreComponent, ScrollComponent, ScrollService, SearchPanelComponent, SearchStore, SearchUserPanelComponent, SectionAccordionDirective, SectionAccordionGroupDirective, SectionBackComponent, SectionBadgesComponent, SectionButtonGroupComponent, SectionCardComponent, SectionCarouselComponent, SectionComponent, SectionFilterComponent, SectionFilterGroupComponent, SectionFilterMenuComponent, SectionFilterPanelComponent, SectionFilterRangePanelComponent, SectionFooterComponent, SectionFormComponent, SectionFormItemComponent, SectionHeaderComponent, SectionHeroComponent, SectionPaginationComponent, SectionSearchComponent, SectionStepperComponent, 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_ROUTE_CHANGED_EVENT, WC_SEARCH_GROUPS, WIN_USER_TAB_HOOK, WIN_USER_TAB_KEY, WatermarkComponent, WcRouterStore, WrapperInputComponent, anchorNavId, applyColorsToElement, assetOptions, bootstrapMagApp, bootstrapPwaInstall, buildWcBaseUrl, calculateLuminance, calculateRanks, cellText, checkFilterCondition, childNavId, classListSignal, coerceSize, cornerEdge, cornerSide, createMap, createPlatformNavMap, deriveAvatarGradient, deriveContrastColor, deriveOppositeColor, derivePropertyName, 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, injectInstallApp, injectParentSize, injectScrollSticky, isButtonName, isCancelledComputed, isExtensiblePlatformNavId, isJson, isLoadingComputed, isLocalhost, isNavInstanceConfig, isNavMenuConfig, isNavRowsConfig, isNavVisibilityConfig, isPlatformNavId, isSize, isTierPreview, isUrlLocalhost, isValidNavId, isValidNavSegment, isWebComponent, linkToId, linkToNav, loadingActions, mInterceptor, manualValidation, matchFieldValidation, maxLengthValidation, maxValidation, mergePlatformNav, mergeUnique, mergeUniqueBy, mergeUniqueWith, minAgeValidation, minLengthValidation, minValidation, miniMarkToHtml, navIdChain, navIdFor, navIdSegment, navIdToRoutePath, navIdToSegments, navParamOf, navToId, navVisibilityGuard, normalizeAssetOptions, parentNavId, parseAddress, parseColor, parsePatternNames, patternValidation, patternsValidation, platformNavWidgets, privateGuard, processImageToSvg, provideAppContext, provideMagAppConfig, provideMagWcConfig, provideMagWcRoutes, provideModalComponents, provideMurlUrlSerializer, provideNavWidgets, provideOverlayWidgets, providePlatformNavWidgets, provideSearch, provideSizeContext, provideUserTabs, publicGuard, readFieldPatterns, renderAddress, requiredValidation, resolveConfigAsset, resolveIconSize, resolvePallet, resolvePatternRules, resolveSize, rgbToHex, rgbToHsl, rowHasChildren, samePatterns, segmentsToNavId, setProperty, setTreeGridChildren, settingsWidgets, shouldShowBadge, splitNavId, splitOnMatch, stringToColor, toAttrBool, toAttrNumber, toCssLength, toHostNavId, toLength, toLocalNavId, toggleTreeGridRow, unfetchedPlatformNav, urlValidation };
|
|
9752
|
-
export type { Accordion, AccordionGroup, AccordionVariant, ActionNotification, Align, AnimatedGraphConfig, AnimatedGraphCurveInput, AppCardData, AppCardInputs, AppCardVariant, AppContextRef, AppHint, AppManifest, AppRelation, AppTileData, AssetOption, AuthEmailCreate404Response, AuthEmailCreate422Response, AuthEmailCreateRequest, AuthEmailCreateResponse, AuthIdentitiesListResponse, AuthOtpCreateRequest, AuthOtpCreateResponse, AuthOtpUpdateRequest, AuthOtpUpdateResponse, AuthPasswordCreateRequest, AuthPasswordCreateResponse, AuthPasswordCreateResponseTokens, AuthPasswordCreateResponseUser, AuthPasswordUpdateRequest, AuthPasswordUpdateResponse, AuthPasswordUpdateResponseTokens, AuthPasswordUpdateResponseUser, AuthResult, AuthSignupCreateRequest, AuthSignupCreateRequestUser, AuthSignupCreateResponse, AuthSignupCreateResponseTokens, AuthState, AuthUser, Badge, BadgePosition, BadgeVariant, BandingConfig, BreadCrumb, BreadcrumbTrail, Button, ButtonGroup, Carousel, CarouselIndicatorPosition, CarouselIndicatorShape, CarouselPosition, CarouselSlide, CellChangeEvent, CellClickEvent, Chart, ChartSeries, ChatBubblePointerAlignment, ChatBubblePointerPosition, ChatBubbleVariant, ColBreakpoint, ColSpan, ColorInput, ColorPallet, ColorPropertyType, ColumnDef, Comment, CommentItem, ComponentInput, Config, ConfirmOptions, ContextMenu, ContextMenuEvent, CropData, Cursor, CustomIcon, DateInput, Direction$2 as Direction, DotGridVariant, DragListReorder, Draggable, DraggableState, DropdownInput, DropdownOption, ElementType, FieldPatterns, FileReadAs, FileUploadConfig, FileUploadEvent, FileUploadInput, FilterGroupContext, FilterGroupMember, FilterOption, FilterPanel, FilterPanelIo, FilterRangeMode, FilterSelectionMap, FilterValue, FilterVariant, FilteredTreeGrid, FlatTreeGridRow, FlexAlign, FlexAlignSelf, FlexConfig, FlexDirection, FlexItemConfig, FlexJustify, FlexVariant, FolderPickListener, Form, FormState, Genre, GridAlignX, GridAlignY, GridBreakpoint, Header, HeaderLevel, HeldShelf, HeroDataRecord, HeroDimensions, HslColor, Icon, Input, InputModel, InputSpan, InputState, InputValue, Jumbotron, JumbotronAnimation, KeyValueVariant, LabelSegment, ListConfig, ListContext, ListItem, ListOrientation, ListVariant, LoadingActionsApi, LoginStoreContract, LogoVariant, MagAppConfigOptions, MagWcConfigOptions, ManualErrorValidator, MenuItem, Modal, ModalOverlayConfig, ModalStoreRef, ModalStoreTrigger, ModalTrigger, MoneySystem, MultiRangeInput, Nav, NavIdKey, NavInstanceConfig, NavKind, NavMap, NavMenuConfig, NavPresentation, NavRow, NavRowsConfig, NavStoreRef, NavVisibilityConfig, NavVisibleAnswer, NavWidgetConfig, NavWidgetEntry, NavWidgetMap, Notification, NotificationSeverity, NotificationState, NotificationUser, NumberInput, Option, OtpInput, OverlayConfig, OverlayWidgetLoader, OverlayWidgetMap, PageChangeEvent, Pagination, PaginationWindow, PanelOverlayConfig, PanelTrigger, PasswordInput, PatternRule, Position, QueryParams, QueryValue, RadioGroupInput, RadioInput, RangeInput, RatingInput, RemoteSelectorConfig, ResolvedUserTab, RgbColor, ScreenOverlayTrigger, SearchChangeEvent, SearchInput, SearchResult, SearchSourceGroup, SearchState, SectionAccordion, SectionAccordionGroup, SectionAccordionGroupContext, SectionAccordionRef, SectionButtonGroupConfig, SectionCarousel, SectionCarouselContext, SectionCarouselItem, SectionFilterGroupConfig, SectionFormConfig, SectionFormContext, SectionHero, SectionHeroVariant, SectionToggleItem, SectionToggleItemContext, SelectableCardContext, SelectableCardInput, SelectableCardItem, SelectionAction, SelectionActionEvent, SelectionChangeEvent, SelectorConfig, Shape, ShapeType, ShapeVariant, SharedToken, SharedUser, SizeContext, SizeDeclarer, SocketMessage, Sort, SortChange, SortChangeEvent, SortOption, SortOrder, SqueezeMode, StatAlign, StatCornerEdge, StatCornerPosition, StatCornerSide, StatSurface, StatVariant, Step, Stepper, StepperResponsiveConfig, StepperStep, Steps, StickyBehavior, Summary, SummaryAction, SummaryRow, SummaryRowType, Svg, SvgGenOptions, SvgGeneratorCoreOptions, SvgGeneratorEditOptions, TabGroup, TableConfig, TableFilterDef, TextInput, TextNotification, TextOutputAlign, TextOutputConfig, TextOutputFontWeight, TextOutputVariant, TextareaInput, Timeline, TimelineItem, ToggleInput, ToggleRadioInput, Tokens, TreeGridCellClickEvent, TreeGridLoadChildrenEvent, TreeGridRow, TreeGridRowSelectEvent, TreeGridToggleEvent, UniverseColorScheme, User, UserStoreRef, Version, Watermark, WebComponentConfig, WeeklyData };
|
|
9789
|
+
export { ACCESS_DOMAINS, APP_CONTEXT_REF, ASSET_BASE_URL, AccordionBodyDirective, AccordionComponent, AccordionGroupComponent, ActionComponent, AnimatedGraphsComponent, AppCardComponent, AppRelationType, AppTileComponent, AssetStore, AssetUrlPipe, Assets, AuthActivityPageComponent, AuthApiService, AuthStore, AutosizeDirective, BadgeComponent, BandingComponent, BaseArrayInputComponent, BaseRootWebComponent, BaseWebComponent, ButtonComponent, ButtonGroupComponent, COMPONENT_INPUT_REGISTRY, CardComponent, CardWrapperComponent, CarouselComponent, ChartComponent, ChatBubbleComponent, CheckboxInputComponent, ClearableInputComponent, ColComponent, ColorPickerInputComponent, CommentItemComponent, CommentsApiService, CommentsComponent, CommentsStore, CompactNumberPipe, ComponentInputComponent, ComponentStepperComponent, ConfigComponent, ConfirmComponent, ContextMenuComponent, CustomIconClass, CustomIconEditComponent, DEFAULT_DENIAL, DEFAULT_FILTER_RANGE_MODE, DEFAULT_FILTER_VARIANT, DEFAULT_NAV_PARAM, DEFAULT_NAV_SEGMENT, DEFAULT_SIZE, DashboardCardComponent, DateInputComponent, DatePickerComponent, DeviceService, 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, MRefDirective, MStepComponent, MURL_PARAM, MURL_SEP, ManifestEnrichmentService, MenuComponent, ModalDirective, ModalRef, ModalStore, MoneyPipe, MultiRangeInputComponent, MurlUrlSerializer, NAV_DEFAULT_MURL, NAV_ID_SEP, NAV_MAIN_BUTTONS, NAV_SEGMENT_RE, NAV_STORE_REF, NAV_WC_COMPONENTS, NAV_WIDGET_MAP, NavComponent, NavDetailsComponent, NavHeaderComponent, NavMenuComponent, NavStore, NavTrailComponent, NothingComponent, NotificationElementComponent, NotificationGroupComponent, NotificationPopupComponent, NotificationService, NotificationStore, NotificationType, NotificationWidgetComponent, ONE_ASSET_BASE_URL, OPTIONS_SOURCE, OVERLAY_WIDGETS, OneApp, OptionsSourceDirective, OverlayBodyComponent, OverlayRef, OverlayService, PLATFORM_BUTTON_NAV_IDS, PLATFORM_EXTENSIBLE_NAV_IDS, PLATFORM_NAV_MAP, PLATFORM_ROOT_CHILDREN, PaginationComponent, PanelComponent, PercentagePipe, PlaygroundComponent, PositionDirective, PwaInstallComponent, ROOT_NAV, RadioGroupComponent, RadioInputComponent, RangeInputComponent, RatingInputComponent, ReactiveElementComponent, RemoteComponent, RemoteLoaderService, ResizeElementComponent, RouteContainer, RowComponent, SEARCH_QUERY, SEARCH_RESULTS_EVENT, SECTION_ACCORDION_GROUP, SECTION_FORM_CONTEXT, SHARED_ICONS, SIZE_CONTEXT, ScoreComponent, ScrollComponent, ScrollService, SearchPanelComponent, SearchStore, SearchUserPanelComponent, SectionAccordionDirective, SectionAccordionGroupDirective, SectionBackComponent, SectionBadgesComponent, SectionButtonGroupComponent, SectionCardComponent, SectionCarouselComponent, SectionComponent, SectionFilterComponent, SectionFilterGroupComponent, SectionFilterMenuComponent, SectionFilterPanelComponent, SectionFilterRangePanelComponent, SectionFooterComponent, SectionFormComponent, SectionFormItemComponent, SectionHeaderComponent, SectionHeroComponent, SectionPaginationComponent, SectionSearchComponent, SectionStepperComponent, 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_ROUTE_CHANGED_EVENT, WC_SEARCH_GROUPS, WIN_USER_TAB_HOOK, WIN_USER_TAB_KEY, WatermarkComponent, WcRouterStore, WrapperInputComponent, anchorNavId, applyColorsToElement, assetOptions, bootstrapMagApp, bootstrapPwaInstall, buildWcBaseUrl, calculateLuminance, calculateRanks, cellText, checkFilterCondition, childNavId, claimDenial, classListSignal, coerceSize, cornerEdge, cornerSide, createMap, createPlatformNavMap, deriveAvatarGradient, deriveContrastColor, deriveOppositeColor, derivePropertyName, 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, isButtonName, isCancelledComputed, isExtensiblePlatformNavId, isJson, isLoadingComputed, isLocalhost, isNavInstanceConfig, isNavMenuConfig, isNavRowsConfig, isNavVisibilityConfig, isPlatformNavId, isSize, isTierPreview, isUrlLocalhost, isValidNavId, isValidNavSegment, isWebComponent, linkToId, linkToNav, loadingActions, mInterceptor, manualValidation, matchFieldValidation, maxLengthValidation, maxValidation, mergePlatformNav, mergeUnique, mergeUniqueBy, mergeUniqueWith, minAgeValidation, minLengthValidation, minValidation, miniMarkToHtml, navIdChain, navIdFor, navIdSegment, navIdToRoutePath, navIdToSegments, navParamOf, navToId, navVisibilityGuard, normalizeAssetOptions, parentNavId, parseAddress, parseColor, parsePatternNames, patternValidation, patternsValidation, permissionRefusal, platformNavWidgets, privateGuard, processImageToSvg, provideAppContext, provideMagAppConfig, provideMagWcConfig, provideMagWcRoutes, provideModalComponents, provideMurlUrlSerializer, provideNavWidgets, provideOverlayWidgets, providePlatformNavWidgets, provideSearch, provideSizeContext, provideUserTabs, publicGuard, readFieldPatterns, renderAddress, requiredValidation, resolveConfigAsset, resolveIconSize, resolvePallet, resolvePatternRules, resolveSize, rgbToHex, rgbToHsl, rowHasChildren, samePatterns, segmentsToNavId, setProperty, setTreeGridChildren, settingsWidgets, shouldShowBadge, splitNavId, splitOnMatch, stringToColor, toAttrBool, toAttrNumber, toCssLength, toHostNavId, toLength, toLocalNavId, toggleTreeGridRow, unfetchedPlatformNav, urlValidation };
|
|
9790
|
+
export type { Accordion, AccordionGroup, AccordionVariant, ActionNotification, Align, AnimatedGraphConfig, AnimatedGraphCurveInput, AppCardData, AppCardInputs, AppCardVariant, AppContextRef, AppHint, AppManifest, AppRelation, AppTileData, AssetOption, AuthEmailCreate404Response, AuthEmailCreate422Response, AuthEmailCreateRequest, AuthEmailCreateResponse, AuthIdentitiesListResponse, AuthOtpCreateRequest, AuthOtpCreateResponse, AuthOtpUpdateRequest, AuthOtpUpdateResponse, AuthPasswordCreateRequest, AuthPasswordCreateResponse, AuthPasswordCreateResponseTokens, AuthPasswordCreateResponseUser, AuthPasswordUpdateRequest, AuthPasswordUpdateResponse, AuthPasswordUpdateResponseTokens, AuthPasswordUpdateResponseUser, AuthResult, AuthSignupCreateRequest, AuthSignupCreateRequestUser, AuthSignupCreateResponse, AuthSignupCreateResponseTokens, AuthState, AuthUser, Badge, BadgePosition, BadgeVariant, BandingConfig, BreadCrumb, BreadcrumbTrail, Button, ButtonGroup, Carousel, CarouselIndicatorPosition, CarouselIndicatorShape, CarouselPosition, CarouselSlide, CellChangeEvent, CellClickEvent, Chart, ChartSeries, ChatBubblePointerAlignment, ChatBubblePointerPosition, ChatBubbleVariant, ColBreakpoint, ColSpan, ColorInput, ColorPallet, ColorPropertyType, ColumnDef, Comment, CommentItem, ComponentInput, Config, ConfirmOptions, ContextMenu, ContextMenuEvent, CropData, Cursor, CustomIcon, DateInput, Direction$2 as Direction, DotGridVariant, DragListReorder, Draggable, DraggableState, DropdownInput, DropdownOption, ElementType, FieldPatterns, FileReadAs, FileUploadConfig, FileUploadEvent, FileUploadInput, FilterGroupContext, FilterGroupMember, FilterOption, FilterPanel, FilterPanelIo, FilterRangeMode, FilterSelectionMap, FilterValue, FilterVariant, FilteredTreeGrid, FlatTreeGridRow, FlexAlign, FlexAlignSelf, FlexConfig, FlexDirection, FlexItemConfig, FlexJustify, FlexVariant, FolderPickListener, Form, FormState, Genre, GridAlignX, GridAlignY, GridBreakpoint, Header, HeaderLevel, HeldShelf, HeroDataRecord, HeroDimensions, HslColor, Icon, Input, InputModel, InputSpan, InputState, InputValue, Jumbotron, JumbotronAnimation, KeyValueVariant, LabelSegment, ListConfig, ListContext, ListItem, ListOrientation, ListVariant, LoadingActionsApi, LoginStoreContract, LogoVariant, MagAppConfigOptions, MagWcConfigOptions, ManualErrorValidator, MenuItem, Modal, ModalOverlayConfig, ModalStoreRef, ModalStoreTrigger, ModalTrigger, MoneySystem, MultiRangeInput, Nav, NavIdKey, NavInstanceConfig, NavKind, NavMap, NavMenuConfig, NavPresentation, NavRow, NavRowsConfig, NavStoreRef, NavVisibilityConfig, NavVisibleAnswer, NavWidgetConfig, NavWidgetEntry, NavWidgetMap, Notification, NotificationSeverity, NotificationState, NotificationUser, NumberInput, Option, OtpInput, OverlayConfig, OverlayWidgetLoader, OverlayWidgetMap, PageChangeEvent, Pagination, PaginationWindow, PanelOverlayConfig, PanelTrigger, PasswordInput, PatternRule, Position, QueryParams, QueryValue, RadioGroupInput, RadioInput, RangeInput, RatingInput, RemoteSelectorConfig, ResolvedUserTab, RgbColor, ScreenOverlayTrigger, SearchChangeEvent, SearchInput, SearchResult, SearchSourceGroup, SearchState, SectionAccordion, SectionAccordionGroup, SectionAccordionGroupContext, SectionAccordionRef, SectionButtonGroupConfig, SectionCarousel, SectionCarouselContext, SectionCarouselItem, SectionFilterGroupConfig, SectionFormConfig, SectionFormContext, SectionHero, SectionHeroVariant, SectionToggleItem, SectionToggleItemContext, SelectableCardContext, SelectableCardInput, SelectableCardItem, SelectionAction, SelectionActionEvent, SelectionChangeEvent, SelectorConfig, Shape, ShapeType, ShapeVariant, SharedToken, SharedUser, SizeContext, SizeDeclarer, SocketMessage, Sort, SortChange, SortChangeEvent, SortOption, SortOrder, SqueezeMode, StatAlign, StatCornerEdge, StatCornerPosition, StatCornerSide, StatSurface, StatVariant, Step, Stepper, StepperResponsiveConfig, StepperStep, Steps, StickyBehavior, Summary, SummaryAction, SummaryRow, SummaryRowType, Svg, SvgGenOptions, SvgGeneratorCoreOptions, SvgGeneratorEditOptions, TabGroup, TableConfig, TableFilterDef, TextInput, TextNotification, TextOutputAlign, TextOutputConfig, TextOutputFontWeight, TextOutputVariant, TextareaInput, Timeline, TimelineItem, ToggleInput, ToggleRadioInput, Tokens, TreeGridCellClickEvent, TreeGridLoadChildrenEvent, TreeGridRow, TreeGridRowSelectEvent, TreeGridToggleEvent, UniverseColorScheme, User, UserRole, UserStoreRef, Version, Watermark, WebComponentConfig, WeeklyData };
|