@magmonium/one 0.4.27 → 0.4.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/docs/en/app-release.md +17 -14
- package/assets/i18n/af.json +9 -0
- package/assets/i18n/am.json +9 -0
- package/assets/i18n/ar.json +9 -0
- package/assets/i18n/as.json +9 -0
- package/assets/i18n/az.json +9 -0
- package/assets/i18n/ba.json +9 -0
- package/assets/i18n/be.json +9 -0
- package/assets/i18n/bg.json +9 -0
- package/assets/i18n/bn.json +9 -0
- package/assets/i18n/br.json +9 -0
- package/assets/i18n/bs.json +9 -0
- package/assets/i18n/ca.json +9 -0
- package/assets/i18n/ceb.json +9 -0
- package/assets/i18n/cnr.json +9 -0
- package/assets/i18n/co.json +9 -0
- package/assets/i18n/cs.json +8 -0
- package/assets/i18n/cy.json +9 -0
- package/assets/i18n/da.json +9 -0
- package/assets/i18n/de.json +9 -0
- package/assets/i18n/doi.json +9 -0
- package/assets/i18n/el.json +9 -0
- package/assets/i18n/eo.json +9 -0
- package/assets/i18n/es.json +9 -0
- package/assets/i18n/et.json +9 -0
- package/assets/i18n/eu.json +9 -0
- package/assets/i18n/fa.json +9 -0
- package/assets/i18n/fi.json +9 -0
- package/assets/i18n/fr.json +9 -0
- package/assets/i18n/fy.json +9 -0
- package/assets/i18n/ga.json +9 -0
- package/assets/i18n/gd.json +9 -0
- package/assets/i18n/gl.json +9 -0
- package/assets/i18n/gu.json +9 -0
- package/assets/i18n/ha.json +9 -0
- package/assets/i18n/haw.json +9 -0
- package/assets/i18n/he.json +9 -0
- package/assets/i18n/hi.json +9 -0
- package/assets/i18n/hmn.json +9 -0
- package/assets/i18n/hr.json +9 -0
- package/assets/i18n/hu.json +9 -0
- package/assets/i18n/hy.json +9 -0
- package/assets/i18n/id.json +9 -0
- package/assets/i18n/ig.json +9 -0
- package/assets/i18n/ilo.json +9 -0
- package/assets/i18n/is.json +9 -0
- package/assets/i18n/it.json +9 -0
- package/assets/i18n/iw.json +9 -0
- package/assets/i18n/ja.json +9 -0
- package/assets/i18n/jw.json +9 -0
- package/assets/i18n/ka.json +9 -0
- package/assets/i18n/kk.json +9 -0
- package/assets/i18n/km.json +9 -0
- package/assets/i18n/kn.json +9 -0
- package/assets/i18n/ko.json +9 -0
- package/assets/i18n/kok.json +9 -0
- package/assets/i18n/ks.json +3 -0
- package/assets/i18n/ku.json +9 -0
- package/assets/i18n/ky.json +9 -0
- package/assets/i18n/la.json +8 -0
- package/assets/i18n/lb.json +9 -0
- package/assets/i18n/lo.json +9 -0
- package/assets/i18n/lt.json +9 -0
- package/assets/i18n/lv.json +9 -0
- package/assets/i18n/mai.json +9 -0
- package/assets/i18n/mg.json +9 -0
- package/assets/i18n/mi.json +9 -0
- package/assets/i18n/mk.json +9 -0
- package/assets/i18n/ml.json +9 -0
- package/assets/i18n/mn.json +9 -0
- package/assets/i18n/mni.json +3 -0
- package/assets/i18n/mr.json +9 -0
- package/assets/i18n/ms.json +9 -0
- package/assets/i18n/mt.json +9 -0
- package/assets/i18n/my.json +9 -0
- package/assets/i18n/ne.json +9 -0
- package/assets/i18n/nl.json +9 -0
- package/assets/i18n/no.json +9 -0
- package/assets/i18n/ny.json +9 -0
- package/assets/i18n/or.json +9 -0
- package/assets/i18n/pa.json +9 -0
- package/assets/i18n/pl.json +9 -0
- package/assets/i18n/ps.json +9 -0
- package/assets/i18n/pt.json +9 -0
- package/assets/i18n/ro.json +9 -0
- package/assets/i18n/ru.json +9 -0
- package/assets/i18n/sa.json +9 -0
- package/assets/i18n/sat.json +9 -0
- package/assets/i18n/sc.json +3 -0
- package/assets/i18n/sd.json +9 -0
- package/assets/i18n/si.json +9 -0
- package/assets/i18n/sk.json +9 -0
- package/assets/i18n/sl.json +9 -0
- package/assets/i18n/sm.json +9 -0
- package/assets/i18n/sn.json +9 -0
- package/assets/i18n/so.json +9 -0
- package/assets/i18n/sq.json +9 -0
- package/assets/i18n/sr.json +9 -0
- package/assets/i18n/st.json +9 -0
- package/assets/i18n/su.json +9 -0
- package/assets/i18n/sv.json +9 -0
- package/assets/i18n/sw.json +9 -0
- package/assets/i18n/ta.json +9 -0
- package/assets/i18n/te.json +9 -0
- package/assets/i18n/tg.json +9 -0
- package/assets/i18n/th.json +9 -0
- package/assets/i18n/tl.json +9 -0
- package/assets/i18n/tr.json +9 -0
- package/assets/i18n/uk.json +9 -0
- package/assets/i18n/ur.json +9 -0
- package/assets/i18n/uz.json +9 -0
- package/assets/i18n/vi.json +9 -0
- package/assets/i18n/xh.json +9 -0
- package/assets/i18n/yi.json +9 -0
- package/assets/i18n/yo.json +9 -0
- package/assets/i18n/zh.json +9 -0
- package/assets/i18n/zu.json +9 -0
- package/assets/index.json +1 -1
- package/assets/options/permissions.json +49 -0
- package/fesm2022/{magmonium-one-image-editor-CgWR5JsA.mjs → magmonium-one-image-editor-DYbS7fRP.mjs} +2 -2
- package/fesm2022/{magmonium-one-image-editor-CgWR5JsA.mjs.map → magmonium-one-image-editor-DYbS7fRP.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-magmonium-one-gmpPJsnC.mjs → magmonium-one-magmonium-one-jBGfJvgl.mjs} +110 -63
- package/fesm2022/magmonium-one-magmonium-one-jBGfJvgl.mjs.map +1 -0
- package/fesm2022/{magmonium-one-otp-CVAektYK.mjs → magmonium-one-otp-DY1B1djA.mjs} +2 -2
- package/fesm2022/{magmonium-one-otp-CVAektYK.mjs.map → magmonium-one-otp-DY1B1djA.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-password-BIv5qjgx.mjs → magmonium-one-password-CzMwV84X.mjs} +2 -2
- package/fesm2022/{magmonium-one-password-BIv5qjgx.mjs.map → magmonium-one-password-CzMwV84X.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-toggle-AftA6cwc.mjs → magmonium-one-toggle-EoE3fKjl.mjs} +2 -2
- package/fesm2022/{magmonium-one-toggle-AftA6cwc.mjs.map → magmonium-one-toggle-EoE3fKjl.mjs.map} +1 -1
- package/fesm2022/magmonium-one.mjs +1 -1
- package/package.json +1 -1
- package/types/magmonium-one.d.ts +23 -4
- package/fesm2022/magmonium-one-magmonium-one-gmpPJsnC.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-jBGfJvgl.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-DY1B1djA.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"magmonium-one-otp-CVAektYK.mjs","sources":["../../../../libs/one/src/lib/shared/ui/input/ui/text/otp.ts"],"sourcesContent":["import {\n afterRenderEffect,\n ChangeDetectionStrategy,\n Component,\n computed,\n effect,\n ElementRef,\n inject,\n signal,\n untracked,\n viewChildren,\n} from '@angular/core';\nimport { LabelComponent } from '../label';\nimport { TextOutputComponent } from '../../../text-output';\nimport { BaseTextInputComponent } from './base-text';\nimport { CommonModule } from '@angular/common';\nimport { OtpInput } from '../../model/input';\nimport { IS_DESIGN_MODE } from '../../../../config/tokens';\n\n@Component({\n selector: 'm-otp-input',\n template: `\n @if (otpConfig(); as otp) {\n <m-label\n [for]=\"otp.name\"\n [placeholder]=\"otp.label\"\n [params]=\"otp.params\"\n [required]=\"required()\"\n [disabled]=\"isDisabled()\"\n />\n <div class=\"otp-container\">\n @for (item of otpArray(); track $index) {\n <input\n [id]=\"$index === 0 ? (otp.name ?? '') : ''\"\n #otpInput\n type=\"text\"\n maxlength=\"1\"\n [class.error]=\"showErrors()\"\n [disabled]=\"isDisabled()\"\n [value]=\"otpValues()[$index] || ''\"\n (input)=\"onInput($event, $index)\"\n (keydown)=\"onKeyDown($event, $index)\"\n (paste)=\"onPaste($event)\"\n />\n }\n </div>\n @if (showErrors()) {\n @for (error of errors(); track $index) {\n <m-text-output\n variant=\"footer\"\n color=\"error\"\n [label]=\"error.message\"\n />\n }\n }\n }\n `,\n styleUrl: './otp.sass',\n imports: [LabelComponent, TextOutputComponent, CommonModule],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class OtpInputComponent extends BaseTextInputComponent<OtpInput> {\n otpValues = signal<string[]>([]);\n otpInputs = viewChildren<ElementRef<HTMLInputElement>>('otpInput');\n protected readonly otpConfig = computed(() => this.config() as OtpInput);\n otpArray = computed(() => {\n const length = this.otpConfig()?.length || 6;\n return Array(length).fill(0);\n });\n\n // Inert on the Canvas — other inputs stay idle because they never autofocus;\n // OTP used to steal focus and look live while composing (DesignMode).\n private readonly isDesignMode = !!inject(IS_DESIGN_MODE, { optional: true });\n protected readonly isDisabled = computed(\n () => this.isDesignMode || this.disabled()\n );\n\n // BaseText answers `focused` by focusing its `#inputElement`, and an OTP has\n // none — it has a row of boxes. Without this the caret never lands on an OTP\n // field, so the form that opens on one (login's verification step) reads as\n // dead until the User clicks it.\n private hasAutofocused = false;\n\n constructor() {\n super();\n effect(() => {\n const length = this.otpConfig()?.length || 6;\n this.otpValues.set(Array(length).fill(''));\n });\n\n afterRenderEffect(() => {\n const inputs = this.otpInputs();\n if (!this.focused() || !inputs.length || this.hasAutofocused) return;\n this.hasAutofocused = true;\n untracked(() => this.focusInput(0));\n });\n }\n\n onInput = (event: Event, index: number): void => {\n if (this.isDisabled()) return;\n const input = event.target as HTMLInputElement;\n let value = input.value;\n\n value = value.replace(/[^a-zA-Z0-9]/g, '');\n\n if (value.length > 1) {\n value = value.slice(-1);\n }\n\n input.value = value.toUpperCase();\n\n const newValues = [...this.otpValues()];\n newValues[index] = value.toUpperCase();\n this.otpValues.set(newValues);\n\n const length = this.otpConfig()?.length || 6;\n if (value && index < length - 1) {\n this.focusInput(index + 1);\n }\n this.updateValue();\n };\n\n onKeyDown = (event: KeyboardEvent, index: number): void => {\n if (this.isDisabled()) return;\n const input = event.target as HTMLInputElement;\n const length = this.otpConfig()?.length || 6;\n\n const isAlphaNumeric = /^[a-zA-Z0-9]$/.test(event.key);\n const isControlKey = [\n 'Backspace',\n 'Delete',\n 'ArrowLeft',\n 'ArrowRight',\n 'Tab',\n ].includes(event.key);\n\n if (!isAlphaNumeric && !isControlKey) {\n event.preventDefault();\n return;\n }\n\n if (event.key === 'Backspace') {\n if (!input.value && index > 0) {\n this.focusInput(index - 1);\n }\n }\n if (event.key === 'ArrowLeft' && index > 0) {\n event.preventDefault();\n this.focusInput(index - 1);\n }\n if (event.key === 'ArrowRight' && index < length - 1) {\n event.preventDefault();\n this.focusInput(index + 1);\n }\n };\n\n onPaste = (event: ClipboardEvent): void => {\n if (this.isDisabled()) return;\n event.preventDefault();\n event.stopPropagation();\n\n const length = this.otpConfig()?.length || 6;\n const pastedData = event.clipboardData?.getData('text') || '';\n\n const alphanumeric = pastedData\n .replace(/[^a-zA-Z0-9]/g, '')\n .slice(0, length);\n\n if (alphanumeric.length > 0) {\n const newValues = Array(length).fill('');\n alphanumeric.split('').forEach((char, index) => {\n if (index < length) {\n newValues[index] = char.toUpperCase();\n }\n });\n\n this.otpValues.set(newValues);\n this.updateValue();\n\n const focusIndex = Math.min(alphanumeric.length, length - 1);\n setTimeout(() => this.focusInput(focusIndex), 0);\n }\n };\n\n private focusInput(index: number): void {\n if (this.isDisabled()) return;\n const inputs = this.otpInputs();\n if (inputs[index]) {\n inputs[index].nativeElement.focus();\n }\n }\n\n private updateValue(): void {\n const otpValue = this.otpValues().join('');\n this.setValue(otpValue);\n }\n}\n"],"names":[],"mappings":";;;;;AA6DM,MAAO,iBAAkB,SAAQ,sBAAgC,CAAA;AACrE,IAAA,SAAS,GAAG,MAAM,CAAW,EAAE,gFAAC;AAChC,IAAA,SAAS,GAAG,YAAY,CAA+B,UAAU,gFAAC;IAC/C,SAAS,GAAG,QAAQ,CAAC,MAAM,IAAI,CAAC,MAAM,EAAc,EAAA,IAAA,SAAA,GAAA,CAAA,EAAA,SAAA,EAAA,WAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAAC;AACxE,IAAA,QAAQ,GAAG,QAAQ,CAAC,MAAK;QACvB,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,EAAE,MAAM,IAAI,CAAC;QAC5C,OAAO,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;AAC9B,IAAA,CAAC,+EAAC;;;AAIe,IAAA,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC,cAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;AACzD,IAAA,UAAU,GAAG,QAAQ,CACtC,MAAM,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,QAAQ,EAAE,iFAC3C;;;;;IAMO,cAAc,GAAG,KAAK;AAE9B,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;QACP,MAAM,CAAC,MAAK;YACV,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,EAAE,MAAM,IAAI,CAAC;AAC5C,YAAA,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC5C,QAAA,CAAC,CAAC;QAEF,iBAAiB,CAAC,M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Y,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;;;;"}
|
|
1
|
+
{"version":3,"file":"magmonium-one-otp-DY1B1djA.mjs","sources":["../../../../libs/one/src/lib/shared/ui/input/ui/text/otp.ts"],"sourcesContent":["import {\n afterRenderEffect,\n ChangeDetectionStrategy,\n Component,\n computed,\n effect,\n ElementRef,\n inject,\n signal,\n untracked,\n viewChildren,\n} from '@angular/core';\nimport { LabelComponent } from '../label';\nimport { TextOutputComponent } from '../../../text-output';\nimport { BaseTextInputComponent } from './base-text';\nimport { CommonModule } from '@angular/common';\nimport { OtpInput } from '../../model/input';\nimport { IS_DESIGN_MODE } from '../../../../config/tokens';\n\n@Component({\n selector: 'm-otp-input',\n template: `\n @if (otpConfig(); as otp) {\n <m-label\n [for]=\"otp.name\"\n [placeholder]=\"otp.label\"\n [params]=\"otp.params\"\n [required]=\"required()\"\n [disabled]=\"isDisabled()\"\n />\n <div class=\"otp-container\">\n @for (item of otpArray(); track $index) {\n <input\n [id]=\"$index === 0 ? (otp.name ?? '') : ''\"\n #otpInput\n type=\"text\"\n maxlength=\"1\"\n [class.error]=\"showErrors()\"\n [disabled]=\"isDisabled()\"\n [value]=\"otpValues()[$index] || ''\"\n (input)=\"onInput($event, $index)\"\n (keydown)=\"onKeyDown($event, $index)\"\n (paste)=\"onPaste($event)\"\n />\n }\n </div>\n @if (showErrors()) {\n @for (error of errors(); track $index) {\n <m-text-output\n variant=\"footer\"\n color=\"error\"\n [label]=\"error.message\"\n />\n }\n }\n }\n `,\n styleUrl: './otp.sass',\n imports: [LabelComponent, TextOutputComponent, CommonModule],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class OtpInputComponent extends BaseTextInputComponent<OtpInput> {\n otpValues = signal<string[]>([]);\n otpInputs = viewChildren<ElementRef<HTMLInputElement>>('otpInput');\n protected readonly otpConfig = computed(() => this.config() as OtpInput);\n otpArray = computed(() => {\n const length = this.otpConfig()?.length || 6;\n return Array(length).fill(0);\n });\n\n // Inert on the Canvas — other inputs stay idle because they never autofocus;\n // OTP used to steal focus and look live while composing (DesignMode).\n private readonly isDesignMode = !!inject(IS_DESIGN_MODE, { optional: true });\n protected readonly isDisabled = computed(\n () => this.isDesignMode || this.disabled()\n );\n\n // BaseText answers `focused` by focusing its `#inputElement`, and an OTP has\n // none — it has a row of boxes. Without this the caret never lands on an OTP\n // field, so the form that opens on one (login's verification step) reads as\n // dead until the User clicks it.\n private hasAutofocused = false;\n\n constructor() {\n super();\n effect(() => {\n const length = this.otpConfig()?.length || 6;\n this.otpValues.set(Array(length).fill(''));\n });\n\n afterRenderEffect(() => {\n const inputs = this.otpInputs();\n if (!this.focused() || !inputs.length || this.hasAutofocused) return;\n this.hasAutofocused = true;\n untracked(() => this.focusInput(0));\n });\n }\n\n onInput = (event: Event, index: number): void => {\n if (this.isDisabled()) return;\n const input = event.target as HTMLInputElement;\n let value = input.value;\n\n value = value.replace(/[^a-zA-Z0-9]/g, '');\n\n if (value.length > 1) {\n value = value.slice(-1);\n }\n\n input.value = value.toUpperCase();\n\n const newValues = [...this.otpValues()];\n newValues[index] = value.toUpperCase();\n this.otpValues.set(newValues);\n\n const length = this.otpConfig()?.length || 6;\n if (value && index < length - 1) {\n this.focusInput(index + 1);\n }\n this.updateValue();\n };\n\n onKeyDown = (event: KeyboardEvent, index: number): void => {\n if (this.isDisabled()) return;\n const input = event.target as HTMLInputElement;\n const length = this.otpConfig()?.length || 6;\n\n const isAlphaNumeric = /^[a-zA-Z0-9]$/.test(event.key);\n const isControlKey = [\n 'Backspace',\n 'Delete',\n 'ArrowLeft',\n 'ArrowRight',\n 'Tab',\n ].includes(event.key);\n\n if (!isAlphaNumeric && !isControlKey) {\n event.preventDefault();\n return;\n }\n\n if (event.key === 'Backspace') {\n if (!input.value && index > 0) {\n this.focusInput(index - 1);\n }\n }\n if (event.key === 'ArrowLeft' && index > 0) {\n event.preventDefault();\n this.focusInput(index - 1);\n }\n if (event.key === 'ArrowRight' && index < length - 1) {\n event.preventDefault();\n this.focusInput(index + 1);\n }\n };\n\n onPaste = (event: ClipboardEvent): void => {\n if (this.isDisabled()) return;\n event.preventDefault();\n event.stopPropagation();\n\n const length = this.otpConfig()?.length || 6;\n const pastedData = event.clipboardData?.getData('text') || '';\n\n const alphanumeric = pastedData\n .replace(/[^a-zA-Z0-9]/g, '')\n .slice(0, length);\n\n if (alphanumeric.length > 0) {\n const newValues = Array(length).fill('');\n alphanumeric.split('').forEach((char, index) => {\n if (index < length) {\n newValues[index] = char.toUpperCase();\n }\n });\n\n this.otpValues.set(newValues);\n this.updateValue();\n\n const focusIndex = Math.min(alphanumeric.length, length - 1);\n setTimeout(() => this.focusInput(focusIndex), 0);\n }\n };\n\n private focusInput(index: number): void {\n if (this.isDisabled()) return;\n const inputs = this.otpInputs();\n if (inputs[index]) {\n inputs[index].nativeElement.focus();\n }\n }\n\n private updateValue(): void {\n const otpValue = this.otpValues().join('');\n this.setValue(otpValue);\n }\n}\n"],"names":[],"mappings":";;;;;AA6DM,MAAO,iBAAkB,SAAQ,sBAAgC,CAAA;AACrE,IAAA,SAAS,GAAG,MAAM,CAAW,EAAE,gFAAC;AAChC,IAAA,SAAS,GAAG,YAAY,CAA+B,UAAU,gFAAC;IAC/C,SAAS,GAAG,QAAQ,CAA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AA,CAAA,+qEAAA,CAAA,EAAA;oGAIQ,UAAU,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;;;"}
|
package/fesm2022/{magmonium-one-password-BIv5qjgx.mjs → magmonium-one-password-CzMwV84X.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-jBGfJvgl.mjs';
|
|
4
4
|
|
|
5
5
|
class PasswordInputComponent extends BaseTextInputComponent {
|
|
6
6
|
isPassword = signal(true, ...(ngDevMode ? [{ debugName: "isPassword" }] : /* istanbul ignore next */ []));
|
|
@@ -102,4 +102,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
102
102
|
}] });
|
|
103
103
|
|
|
104
104
|
export { PasswordInputComponent };
|
|
105
|
-
//# sourceMappingURL=magmonium-one-password-
|
|
105
|
+
//# sourceMappingURL=magmonium-one-password-CzMwV84X.mjs.map
|
package/fesm2022/{magmonium-one-password-BIv5qjgx.mjs.map → magmonium-one-password-CzMwV84X.mjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"magmonium-one-password-
|
|
1
|
+
{"version":3,"file":"magmonium-one-password-CzMwV84X.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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,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,WAAA,EAAA,IAAA,EAAE,eAAe,4YAAE,aAAa,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAIlE,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBA/ClC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,kBAAkB,EAAA,QAAA,EAClB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCT,EAAA,CAAA,EAAA,OAAA,EACQ,CAAC,cAAc,EAAE,mBAAmB,EAAE,eAAe,EAAE,aAAa,CAAC,EAAA,eAAA,EAE7D,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,s8HAAA,CAAA,EAAA;;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { model, input, computed, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
-
import { g as BaseInputComponent, T as TranslatePipe } from './magmonium-one-magmonium-one-
|
|
3
|
+
import { g as BaseInputComponent, T as TranslatePipe } from './magmonium-one-magmonium-one-jBGfJvgl.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-EoE3fKjl.mjs.map
|
package/fesm2022/{magmonium-one-toggle-AftA6cwc.mjs.map → magmonium-one-toggle-EoE3fKjl.mjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"magmonium-one-toggle-
|
|
1
|
+
{"version":3,"file":"magmonium-one-toggle-EoE3fKjl.mjs","sources":["../../../../libs/one/src/lib/shared/ui/input/ui/toggle/toggle.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n input,\n model,\n ModelSignal,\n} from '@angular/core';\nimport { ToggleInput } from '../../model/input';\nimport { TranslatePipe } from '../../../../pipe/translate';\nimport {\n FormCheckboxControl,\n ValidationError,\n WithOptionalField,\n} from '@angular/forms/signals';\nimport { BaseInputComponent } from '../../lib/base-input';\n\n@Component({\n selector: 'm-toggle-input',\n template: `\n @if (config(); as toggle) {\n <div class=\"toggle\">\n <input\n [id]=\"toggle.name ?? ''\"\n [checked]=\"checked()\"\n (change)=\"onChange($event)\"\n type=\"checkbox\"\n />\n <label [attr.for]=\"toggle.name || null\">{{\n toggle.label | translate\n }}</label>\n </div>\n }\n `,\n imports: [TranslatePipe],\n styleUrl: './toggle.sass',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ToggleInputComponent\n extends BaseInputComponent<ToggleInput>\n implements FormCheckboxControl\n{\n public value = undefined;\n public checked = model<boolean>(false) as ModelSignal<boolean>;\n public override config = input<Partial<ToggleInput> | undefined>();\n public override required = input<boolean>(false);\n public override disabled = input<boolean>(false);\n public override invalid = input<boolean>(false);\n public override touched = model<boolean>(false);\n public override focused = input<boolean>(false);\n public override errors = input<readonly WithOptionalField<ValidationError>[]>(\n []\n );\n public override showErrors = computed(() => this.touched() && this.invalid());\n\n /** Required by FormCheckboxControl interface */\n // public readonly checked: ModelSignal<boolean> = this.value; // Already defined above\n\n constructor() {\n super();\n }\n\n protected onChange(event: Event): void {\n const target = event.target as HTMLInputElement;\n this.checked.set(target?.checked ?? false);\n }\n}\n"],"names":[],"mappings":";;;;AAsCM,MAAO,oBACX,SAAQ,kBAA+B,CAAA;IAGhC,KAAK,GAAG,SAAS;AACjB,IAAA,OAAO,GAAG,KAAK,CAAU,KAAK,CAAyB;IAC9C,MAAM,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,QAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAAoC;AAClD,IAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,+EAAC;AAChC,IAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,+EAAC;AAChC,IAAA,OAAO,GAAG,KAAK,CAAU,KAAK,8EAAC;AAC/B,IAAA,OAAO,GAAG,KAAK,CAAU,KAAK,8EAAC;AAC/B,IAAA,OAAO,GAAG,KAAK,CAAU,KAAK,8EAAC;AAC/B,IAAA,MAAM,GAAG,KAAK,CAC5B,EAAE,6EACH;AACe,IAAA,UAAU,GAAG,QAAQ,CAAC,MAAM,IAAI,CAAC,OAAO,EAAE,IAAI,IAAI,CAAC,OAAO,EAAE,iFAAC;;;AAK7E,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAA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AccordionBodyDirective, s as AccordionComponent, t as AccordionGroupComponent, u as ActionComponent, v as AnimatedGraphsComponent, w as AppCardComponent, x as AppRelationType, y as AppTileComponent, z as AssetStore, C as AssetUrlPipe, D as Assets, E as AuthActivityPageComponent, F as AuthApiService, G as AuthStore, J as AutosizeDirective, K as BadgeComponent, N as BandingComponent, O as BaseArrayInputComponent, P as BaseRootWebComponent, Q as BaseWebComponent, S as BrowserLocaleService, B as ButtonComponent, U as ButtonGroupComponent, V as CALLING_APP_HEADER, W as COMPONENT_INPUT_REGISTRY, X as CardComponent, Y as CardWrapperComponent, Z as CarouselComponent, _ as ChartComponent, $ as ChatBubbleComponent, a0 as CheckboxGroupComponent, a1 as CheckboxInputComponent, a2 as ClearableInputComponent, a3 as ClipboardService, a4 as ColComponent, a5 as ColorPickerInputComponent, a6 as CommentItemComponent, a7 as CommentsApiService, a8 as CommentsComponent, a9 as CommentsStore, aa as CompactNumberPipe, ab as ComponentInputComponent, ac as ComponentStepperComponent, ad as ConfigComponent, ae as ConfirmComponent, af as ContextMenuComponent, ag as CustomIconClass, ah as CustomIconEditComponent, ai as DEFAULT_DENIAL, aj as DEFAULT_DOC_ALIGN, ak as DEFAULT_DOC_DENSITY, al as DEFAULT_DOC_VARIANT, am as DEFAULT_FILTER_RANGE_MODE, an as DEFAULT_FILTER_VARIANT, ao as DEFAULT_NAV_PARAM, ap as DEFAULT_NAV_SEGMENT, aq as DEFAULT_SIZE, ar as DOCK_MIN_PAGE_REMAINDER, as as DOCS_FOLDER, at as DOC_ACTION_ICONS, au as DOC_ALIGNS, av as DOC_DENSITIES, aw as DOC_EDIT_ACTIONS, ax as DOC_TOOLBAR_GROUPS, ay as DOC_VARIANTS, az as DashboardCardComponent, aA as DateInputComponent, aB as DatePickerComponent, aC as DeviceService, aD as DocComponent, aE as DocEditorComponent, aF as DomService, aG as Domain, aH as DotGridComponent, aI as DragListDirective, aJ as DragListItemDirective, aK as DraggableDirective, aL as DropdownInputComponent, aM as FILTER_GROUP_CONTEXT, aN as FILTER_RANGE_MODES, aO as FILTER_VARIANTS, aP as FLEX_VARIANTS, aQ as FOLDER_PICK_LISTENER, aR as FORM_ASSET_FOLDER, aS as FileService, aT as FileUploadDirective, aU as FileUploadInputComponent, aV as FlexComponent, aW as FlexItemComponent, aX as FormGroupComponent, aY as FrameComponent, aZ as FreezeService, a_ as GRID_BREAKPOINTS, a$ as GetNavService, H as HeaderComponent, b0 as HighlightDirective, b1 as HttpService, b2 as ICON_SOURCE, k as IS_DESIGN_MODE, b3 as IS_SIDE_PANEL, b4 as IconComponent, b5 as ImgComponent, I as InputType, b6 as InstrumentScoreComponent, b7 as InterceptorObservables, b8 as JumbotronComponent, b9 as KeyValueComponent, ba as LAYOUT_ASSET_FOLDER, bb as LOADING_ACTIONS_REF, bc as LOGIN_COMPONENT, bd as LOGIN_STORE, be as LanguageComponent, bf as ListComponent, bg as LogoComponent, bh as MAG_SOCKET_EVENT, bi as MHeroColorDirective, bj as MHeroComponent, M as MODAL_REF, bk as MODAL_STORE_REF, bl as MOUNT_STATIC_SEGMENT, bm as MOUNT_TOKEN, bn as MRefDirective, bo as MStepComponent, bp as MURL_PARAM, bq as MURL_SEP, br as ManifestEnrichmentService, bs as MarginDirective, bt as MenuComponent, bu as ModalDirective, bv as ModalRef, bw as ModalStore, bx as MoneyPipe, by as MultiRangeInputComponent, bz as MultiselectInputComponent, bA as MurlUrlSerializer, bB as NAV_DEFAULT_MURL, bC as NAV_ID_SEP, bD as NAV_MAIN_BUTTONS, bE as NAV_SEGMENT_RE, bF as NAV_STORE_REF, bG as NAV_WC_COMPONENTS, bH as NAV_WIDGET_MAP, bI as NavComponent, bJ as NavDetailsComponent, bK as NavHeaderComponent, bL as NavMenuComponent, bM as NavStore, bN as NavTrailComponent, bO as NothingComponent, bP as NotificationElementComponent, bQ as NotificationGroupComponent, bR as NotificationPopupComponent, bS as NotificationService, bT as NotificationStore, bU as NotificationType, bV as NotificationWidgetComponent, bW as ONE_ASSET_BASE_URL, bX as OPTIONS_SOURCE, bY as OVERLAY_WIDGETS, bZ as OneApp, b_ as OptionsSourceDirective, b$ as OverlayBodyComponent, c0 as OverlayRef, c1 as OverlayService, c2 as PLATFORM_BUTTON_NAV_IDS, c3 as PLATFORM_EXTENSIBLE_NAV_IDS, c4 as PLATFORM_NAV_MAP, c5 as PLATFORM_ROOT_CHILDREN, c6 as PLUGIN_FALLBACK_LANG, c7 as PLUGIN_OUTPUT_EVENT, c8 as PLUGIN_SCREENS, c9 as PaddingDirective, ca as PaginationComponent, cb as PanelComponent, cc as PercentagePipe, cd as PlaygroundComponent, ce as PluginComponent, cf as PluginInputComponent, cg as PluginOutputComponent, ch as PositionDirective, ci as PwaInstallComponent, cj as RECENT_SEARCH_LIMIT, ck as REMOTE_PAGE_RELOAD, cl as ROOT_NAV, cm as RadioGroupComponent, cn as RadioInputComponent, R as RangeInputComponent, co as RatingInputComponent, cp as ReactiveElementComponent, cq as RemoteComponent, cr as RemoteLoaderService, cs as ResizeElementComponent, ct as RouteContainer, cu as RowComponent, cv as SEARCH_QUERY, cw as SEARCH_RESULTS_EVENT, cx as SECTION_ACCORDION_GROUP, cy as SECTION_FORM_CONTEXT, cz as SECTION_TABLE_VARIANTS, cA as SHARED_ICONS, cB as SIZE_CONTEXT, cC as SPACING_INWARD, cD as ScoreComponent, cE as ScrollComponent, cF as ScrollService, cG as SearchPanelComponent, cH as SearchStore, cI as SearchUserPanelComponent, cJ as SectionAccordionDirective, cK as SectionAccordionGroupDirective, cL as SectionBackComponent, cM as SectionBadgesComponent, cN as SectionButtonGroupComponent, cO as SectionCardComponent, cP as SectionCarouselComponent, cQ as SectionComponent, cR as SectionFilterComponent, cS as SectionFilterGroupComponent, cT as SectionFilterMenuComponent, cU as SectionFilterPanelComponent, cV as SectionFilterRangePanelComponent, cW as SectionFooterComponent, cX as SectionFormComponent, cY as SectionFormItemComponent, cZ as SectionHeaderComponent, c_ as SectionHeroComponent, c$ as SectionPaginationComponent, d0 as SectionSearchComponent, d1 as SectionStepperComponent, d2 as SectionTableCellComponent, d3 as SectionTableComponent, d4 as SectionTableRowComponent, d5 as SectionTableSortPipe, d6 as SectionTabsComponent, d7 as SectionToggleComponent, d8 as SectionToggleItemDirective, d9 as SelectableCardInputComponent, da as SelectorDirective, db as SettingsSearchBarComponent, dc as SettingsSearchService, dd as ShapeComponent, de as SharedStoreRegistry, df as SidePanelDirective, dg as Size, dh as SocketStore, di as SortComponent, dj as StatComponent, dk as StepComponent, dl as StepperComponent, dm as StepsComponent, dn as StorageService, dp as StrokeLinecap, dq as StrokeLinejoin, dr as SummaryComponent, ds as SvgGeneratorComponent, dt as SvgGeneratorService, du as SvgService, dv as TOTAL_COLUMNS, dw as TRANSLATION_SOURCE, dx as TableComponent, dy as TechnicalMeterComponent, dz as TextInputComponent, j as TextOutputComponent, dA as TextareaInputComponent, dB as ThemeComponent, dC as ThemeDataService, dD as ThemeService, dE as ThemeStore, dF as TimeAgoPipe, dG as TimelineComponent, dH as ToggleButtonComponent, dI as ToggleInputComponent, dJ as ToggleRadioInputComponent, dK as ToolTipDirective, dL as TooltipComponent, T as TranslatePipe, dM as TranslateService, dN as TreeGridComponent, dO as URL_SEP, dP as USER_STORE_REF, dQ as USER_TAB_MAP, dR as UniverseComponent, dS as UserApiService, dT as UserAvatarComponent, dU as UserComponent, dV as UserNavComponent, dW as UserSettingsComponent, dX as UserStore, dY as WC_BUNDLE, dZ as WC_NAVIGATE_EVENT, d_ as WC_ROUTE_CHANGED_EVENT, d$ as WC_SEARCH_GROUPS, e0 as WIN_USER_TAB_HOOK, e1 as WIN_USER_TAB_KEY, e2 as WatermarkComponent, e3 as WcRouterStore, e4 as WrapperInputComponent, e5 as allowedCodes, e6 as anchorNavId, e7 as applyColorsToElement, e8 as applyDocEdit, e9 as assetOptions, ea as bootstrapMagApp, eb as bootstrapPwaInstall, ec as browserLocale, ed as buildWcBaseUrl, ee as calculateLuminance, ef as calculateRanks, eg as cellText, eh as checkDoc, ei as checkFilterCondition, ej as childNavId, ek as claimDenial, el as classListSignal, em as coerceSize, en as cornerEdge, eo as cornerSide, ep as createLoadingState, eq as createMap, er as createPlatformNavMap, es as createPluginElement, et as definePluginScreens, eu as definedWcTierOf, ev as deriveAvatarGradient, ew as deriveContrastColor, ex as deriveOppositeColor, ey as derivePropertyName, ez as docActionKey, eA as docAssetCandidates, eB as docProblemKey, eC as docRemotePath, eD as emailValidation, eE as evaluate, eF as evaluateBool, eG as exposeScreens, eH as exposedScreensOf, eI as fieldBoolean, eJ as fieldNumber, eK as fieldString, eL as filterHoldsList, eM as filterHoldsOneBound, eN as filterHoldsOptions, eO as filterHoldsRange, eP as filterList, eQ as filterNumber, eR as filterNumberList, eS as filterOne, eT as filterPanelOf, eU as filterPanelWidth, eV as filterRange, eW as filterTreeGridRows, eX as filterValueList, eY as filterValues, eZ as flattenTreeGridRows, e_ as formatBadgeCount, e$ as fullName, f0 as generateClipPath, f1 as generateTransform, f2 as getClassList, f3 as getProperty, f4 as getScrollParent, f5 as getTierFromPreviewPath, f6 as getTreeGridRow, f7 as getUniqueId, f8 as getValue, f9 as hasErrorComputed, fa as hexToRgb, fb as hslToRgb, fc as initMagmoniumApp, fd as initialNotificationState, fe as initialState, ff as initials, fg as injectAuthenticate, fh as injectDefaultDenial, fi as injectInstallApp, fj as injectParentSize, fk as injectScrollSticky, fl as isBootRedirect, fm as isButtonName, fn as isCancelledComputed, fo as isExtensiblePlatformNavId, fp as isJson, fq as isLoadingComputed, fr as isLocalhost, fs as isNavInstanceConfig, ft as isNavMenuConfig, fu as isNavRowsConfig, fv as isNavVisibilityConfig, fw as isPlatformNavId, fx as isSize, fy as isTierPreview, fz as isUrlLocalhost, fA as isValidNavId, fB as isValidNavSegment, fC as isWebComponent, fD as linkToId, fE as linkToNav, fF as loadingActions, fG as mInterceptor, fH as manualValidation, fI as matchFieldValidation, fJ as matchMount, fK as maxLengthValidation, fL as maxValidation, fM as mergePlatformNav, fN as mergeUnique, fO as mergeUniqueBy, fP as mergeUniqueWith, fQ as minAgeValidation, fR as minLengthValidation, fS as minValidation, fT as miniMarkToHtml, fU as mountFor, fV as mountPatternProblem, fW as mountPatternText, fX as mountSegmentOf, fY as mountTokenOf, fZ as navIdChain, f_ as navIdFor, f$ as navIdSegment, g0 as navIdToRoutePath, g1 as navIdToSegments, g2 as navParamOf, g3 as navTailMatcher, g4 as navToId, g5 as navVisibilityGuard, g6 as nextSectionTableSort, g7 as normalizeAssetOptions, g8 as offsetOfLine, g9 as parentNavId, ga as parseAddress, gb as parseColor, gc as parseMountPattern, gd as parsePatternNames, ge as patternValidation, gf as patternsValidation, gg as permissionRefusal, gh as pickSupportedLanguage, gi as platformNavWidgets, gj as pluginTag, gk as presetDefaultOption, gl as privateGuard, gm as processImageToSvg, gn as provideAppContext, go as provideMagAppConfig, gp as provideMagWcConfig, gq as provideMagWcRoutes, gr as provideModalComponents, gs as provideMurlUrlSerializer, gt as provideNavWidgets, gu as provideOverlayWidgets, gv as providePlatformNavWidgets, gw as providePluginRuntime, gx as provideSearch, gy as provideSizeContext, gz as provideUserTabs, gA as publicGuard, gB as readFieldPatterns, gC as recordDefinedWcTier, gD as remoteOutletRoute, gE as renderAddress, gF as renderDocument, gG as requiredValidation, gH as resolveConfigAsset, gI as resolveIconSize, gJ as resolvePallet, gK as resolvePatternRules, gL as resolveSize, gM as resolveSpacing, gN as rgbToHex, gO as rgbToHsl, gP as rowHasChildren, gQ as samePatterns, gR as sectionTableColumnId, gS as sectionTableColumnWidths, gT as sectionTableFrozenCount, gU as segmentsToNavId, gV as setProperty, gW as setTreeGridChildren, gX as setWcLocalPort, gY as setWcTier, gZ as settingsWidgets, g_ as shouldShowBadge, g$ as sortSectionTableRows, h0 as splitNavId, h1 as splitOnMatch, h2 as stringToColor, h3 as tailRouteOf, h4 as toAttrBool, h5 as toAttrNumber, h6 as toCssLength, h7 as toHostNavId, h8 as toLength, h9 as toLocalNavId, ha as toggleTreeGridRow, hb as unfetchedPlatformNav, hc as ungroupedDocActions, hd as urlValidation, he as wcLocalBaseOf, hf as wcTierOf } from './magmonium-one-magmonium-one-gmpPJsnC.mjs';
|
|
1
|
+
export { A as ACCESS_DOMAINS, l as APP_CONTEXT_REF, m as APP_LINK, n as ASSET_BASE_URL, q as AccordionBodyDirective, s as AccordionComponent, t as AccordionGroupComponent, u as ActionComponent, v as AnimatedGraphsComponent, w as AppAvailability, x as AppCardComponent, y as AppRelationType, z as AppTileComponent, C as AssetStore, D as AssetUrlPipe, E as Assets, F as AuthActivityPageComponent, G as AuthApiService, J as AuthStore, K as AutosizeDirective, N as BadgeComponent, O as BandingComponent, P as BaseArrayInputComponent, Q as BaseRootWebComponent, S as BaseWebComponent, U as BrowserLocaleService, B as ButtonComponent, V as ButtonGroupComponent, W as CALLING_APP_HEADER, X as COMPONENT_INPUT_REGISTRY, Y as CardComponent, Z as CardWrapperComponent, _ as CarouselComponent, $ as ChartComponent, a0 as ChatBubbleComponent, a1 as CheckboxGroupComponent, a2 as CheckboxInputComponent, a3 as ClearableInputComponent, a4 as ClipboardService, a5 as ColComponent, a6 as ColorPickerInputComponent, a7 as CommentItemComponent, a8 as CommentsApiService, a9 as CommentsComponent, aa as CommentsStore, ab as CompactNumberPipe, ac as ComponentInputComponent, ad as ComponentStepperComponent, ae as ConfigComponent, af as ConfirmComponent, ag as ContextMenuComponent, ah as CustomIconClass, ai as CustomIconEditComponent, aj as DEFAULT_DENIAL, ak as DEFAULT_DOC_ALIGN, al as DEFAULT_DOC_DENSITY, am as DEFAULT_DOC_VARIANT, an as DEFAULT_FILTER_RANGE_MODE, ao as DEFAULT_FILTER_VARIANT, ap as DEFAULT_NAV_PARAM, aq as DEFAULT_NAV_SEGMENT, ar as DEFAULT_SIZE, as as DOCK_MIN_PAGE_REMAINDER, at as DOCS_FOLDER, au as DOC_ACTION_ICONS, av as DOC_ALIGNS, aw as DOC_DENSITIES, ax as DOC_EDIT_ACTIONS, ay as DOC_TOOLBAR_GROUPS, az as DOC_VARIANTS, aA as DashboardCardComponent, aB as DateInputComponent, aC as DatePickerComponent, aD as DeviceService, aE as DocComponent, aF as DocEditorComponent, aG as DomService, aH as Domain, aI as DotGridComponent, aJ as DragListDirective, aK as DragListItemDirective, aL as DraggableDirective, aM as DropdownInputComponent, aN as FILTER_GROUP_CONTEXT, aO as FILTER_RANGE_MODES, aP as FILTER_VARIANTS, aQ as FLEX_VARIANTS, aR as FOLDER_PICK_LISTENER, aS as FORM_ASSET_FOLDER, aT as FileService, aU as FileUploadDirective, aV as FileUploadInputComponent, aW as FlexComponent, aX as FlexItemComponent, aY as FormGroupComponent, aZ as FrameComponent, a_ as FreezeService, a$ as GRID_BREAKPOINTS, b0 as GetNavService, H as HeaderComponent, b1 as HighlightDirective, b2 as HttpService, b3 as ICON_SOURCE, k as IS_DESIGN_MODE, b4 as IS_SIDE_PANEL, b5 as IconComponent, b6 as ImgComponent, I as InputType, b7 as InstrumentScoreComponent, b8 as InterceptorObservables, b9 as JumbotronComponent, ba as KeyValueComponent, bb as LAYOUT_ASSET_FOLDER, bc as LOADING_ACTIONS_REF, bd as LOGIN_COMPONENT, be as LOGIN_STORE, bf as LanguageComponent, bg as ListComponent, bh as LogoComponent, bi as MAG_SOCKET_EVENT, bj as MHeroColorDirective, bk as MHeroComponent, M as MODAL_REF, bl as MODAL_STORE_REF, bm as MOUNT_STATIC_SEGMENT, bn as MOUNT_TOKEN, bo as MRefDirective, bp as MStepComponent, bq as MURL_PARAM, br as MURL_SEP, bs as ManifestEnrichmentService, bt as MarginDirective, bu as MenuComponent, bv as ModalDirective, bw as ModalRef, bx as ModalStore, by as MoneyPipe, bz as MultiRangeInputComponent, bA as MultiselectInputComponent, bB as MurlUrlSerializer, bC as NAV_DEFAULT_MURL, bD as NAV_ID_SEP, bE as NAV_MAIN_BUTTONS, bF as NAV_SEGMENT_RE, bG as NAV_STORE_REF, bH as NAV_WC_COMPONENTS, bI as NAV_WIDGET_MAP, bJ as NavComponent, bK as NavDetailsComponent, bL as NavHeaderComponent, bM as NavMenuComponent, bN as NavStore, bO as NavTrailComponent, bP as NothingComponent, bQ as NotificationElementComponent, bR as NotificationGroupComponent, bS as NotificationPopupComponent, bT as NotificationService, bU as NotificationStore, bV as NotificationType, bW as NotificationWidgetComponent, bX as ONE_ASSET_BASE_URL, bY as OPTIONS_SOURCE, bZ as OVERLAY_WIDGETS, b_ as OneApp, b$ as OptionsSourceDirective, c0 as OverlayBodyComponent, c1 as OverlayRef, c2 as OverlayService, c3 as PLATFORM_BUTTON_NAV_IDS, c4 as PLATFORM_EXTENSIBLE_NAV_IDS, c5 as PLATFORM_NAV_MAP, c6 as PLATFORM_ROOT_CHILDREN, c7 as PLUGIN_FALLBACK_LANG, c8 as PLUGIN_OUTPUT_EVENT, c9 as PLUGIN_SCREENS, ca as PaddingDirective, cb as PaginationComponent, cc as PanelComponent, cd as PercentagePipe, ce as PlaygroundComponent, cf as PluginComponent, cg as PluginInputComponent, ch as PluginOutputComponent, ci as PositionDirective, cj as PwaInstallComponent, ck as RECENT_SEARCH_LIMIT, cl as REMOTE_PAGE_RELOAD, cm as ROOT_NAV, cn as RadioGroupComponent, co as RadioInputComponent, R as RangeInputComponent, cp as RatingInputComponent, cq as ReactiveElementComponent, cr as RemoteComponent, cs as RemoteLoaderService, ct as ResizeElementComponent, cu as RouteContainer, cv as RowComponent, cw as SEARCH_QUERY, cx as SEARCH_RESULTS_EVENT, cy as SECTION_ACCORDION_GROUP, cz as SECTION_FORM_CONTEXT, cA as SECTION_TABLE_VARIANTS, cB as SHARED_ICONS, cC as SIZE_CONTEXT, cD as SPACING_INWARD, cE as ScoreComponent, cF as ScrollComponent, cG as ScrollService, cH as SearchPanelComponent, cI as SearchStore, cJ as SearchUserPanelComponent, cK as SectionAccordionDirective, cL as SectionAccordionGroupDirective, cM as SectionBackComponent, cN as SectionBadgesComponent, cO as SectionButtonGroupComponent, cP as SectionCardComponent, cQ as SectionCarouselComponent, cR as SectionComponent, cS as SectionFilterComponent, cT as SectionFilterGroupComponent, cU as SectionFilterMenuComponent, cV as SectionFilterPanelComponent, cW as SectionFilterRangePanelComponent, cX as SectionFooterComponent, cY as SectionFormComponent, cZ as SectionFormItemComponent, c_ as SectionHeaderComponent, c$ as SectionHeroComponent, d0 as SectionPaginationComponent, d1 as SectionSearchComponent, d2 as SectionStepperComponent, d3 as SectionTableCellComponent, d4 as SectionTableComponent, d5 as SectionTableRowComponent, d6 as SectionTableSortPipe, d7 as SectionTabsComponent, d8 as SectionToggleComponent, d9 as SectionToggleItemDirective, da as SelectableCardInputComponent, db as SelectorDirective, dc as SettingsSearchBarComponent, dd as SettingsSearchService, de as ShapeComponent, df as SharedStoreRegistry, dg as SidePanelDirective, dh as Size, di as SocketStore, dj as SortComponent, dk as StatComponent, dl as StepComponent, dm as StepperComponent, dn as StepsComponent, dp as StorageService, dq as StrokeLinecap, dr as StrokeLinejoin, ds as SummaryComponent, dt as SvgGeneratorComponent, du as SvgGeneratorService, dv as SvgService, dw as TOTAL_COLUMNS, dx as TRANSLATION_SOURCE, dy as TableComponent, dz as TechnicalMeterComponent, dA as TextInputComponent, j as TextOutputComponent, dB as TextareaInputComponent, dC as ThemeComponent, dD as ThemeDataService, dE as ThemeService, dF as ThemeStore, dG as TimeAgoPipe, dH as TimelineComponent, dI as ToggleButtonComponent, dJ as ToggleInputComponent, dK as ToggleRadioInputComponent, dL as ToolTipDirective, dM as TooltipComponent, T as TranslatePipe, dN as TranslateService, dO as TreeGridComponent, dP as URL_SEP, dQ as USER_STORE_REF, dR as USER_TAB_MAP, dS as UniverseComponent, dT as UserApiService, dU as UserAvatarComponent, dV as UserComponent, dW as UserNavComponent, dX as UserSettingsComponent, dY as UserStore, dZ as WC_BUNDLE, d_ as WC_NAVIGATE_EVENT, d$ as WC_ROUTE_CHANGED_EVENT, e0 as WC_SEARCH_GROUPS, e1 as WIN_USER_TAB_HOOK, e2 as WIN_USER_TAB_KEY, e3 as WatermarkComponent, e4 as WcRouterStore, e5 as WrapperInputComponent, e6 as allowedCodes, e7 as anchorNavId, e8 as applyColorsToElement, e9 as applyDocEdit, ea as assetOptions, eb as bootstrapMagApp, ec as bootstrapPwaInstall, ed as browserLocale, ee as buildWcBaseUrl, ef as calculateLuminance, eg as calculateRanks, eh as cellText, ei as checkDoc, ej as checkFilterCondition, ek as childNavId, el as claimDenial, em as classListSignal, en as coerceSize, eo as cornerEdge, ep as cornerSide, eq as createLoadingState, er as createMap, es as createPlatformNavMap, et as createPluginElement, eu as definePluginScreens, ev as definedWcTierOf, ew as deriveAvatarGradient, ex as deriveContrastColor, ey as deriveOppositeColor, ez as derivePropertyName, eA as docActionKey, eB as docAssetCandidates, eC as docProblemKey, eD as docRemotePath, eE as emailValidation, eF as evaluate, eG as evaluateBool, eH as exposeScreens, eI as exposedScreensOf, eJ as fieldBoolean, eK as fieldNumber, eL as fieldString, eM as filterHoldsList, eN as filterHoldsOneBound, eO as filterHoldsOptions, eP as filterHoldsRange, eQ as filterList, eR as filterNumber, eS as filterNumberList, eT as filterOne, eU as filterPanelOf, eV as filterPanelWidth, eW as filterRange, eX as filterTreeGridRows, eY as filterValueList, eZ as filterValues, e_ as flattenTreeGridRows, e$ as formatBadgeCount, f0 as fullName, f1 as generateClipPath, f2 as generateTransform, f3 as getClassList, f4 as getProperty, f5 as getScrollParent, f6 as getTierFromPreviewPath, f7 as getTreeGridRow, f8 as getUniqueId, f9 as getValue, fa as hasErrorComputed, fb as hexToRgb, fc as hslToRgb, fd as initMagmoniumApp, fe as initialNotificationState, ff as initialState, fg as initials, fh as injectAuthenticate, fi as injectDefaultDenial, fj as injectInstallApp, fk as injectParentSize, fl as injectScrollSticky, fm as isBootRedirect, fn as isButtonName, fo as isCancelledComputed, fp as isExtensiblePlatformNavId, fq as isJson, fr as isLoadingComputed, fs as isLocalhost, ft as isNavInstanceConfig, fu as isNavMenuConfig, fv as isNavRowsConfig, fw as isNavVisibilityConfig, fx as isPlatformNavId, fy as isSize, fz as isTierPreview, fA as isUrlLocalhost, fB as isValidNavId, fC as isValidNavSegment, fD as isWebComponent, fE as linkToId, fF as linkToNav, fG as loadingActions, fH as mInterceptor, fI as manualValidation, fJ as matchFieldValidation, fK as matchMount, fL as maxLengthValidation, fM as maxValidation, fN as mergePlatformNav, fO as mergeUnique, fP as mergeUniqueBy, fQ as mergeUniqueWith, fR as minAgeValidation, fS as minLengthValidation, fT as minValidation, fU as miniMarkToHtml, fV as mountFor, fW as mountPatternProblem, fX as mountPatternText, fY as mountSegmentOf, fZ as mountTokenOf, f_ as navIdChain, f$ as navIdFor, g0 as navIdSegment, g1 as navIdToRoutePath, g2 as navIdToSegments, g3 as navParamOf, g4 as navTailMatcher, g5 as navToId, g6 as navVisibilityGuard, g7 as nextSectionTableSort, g8 as normalizeAssetOptions, g9 as offsetOfLine, ga as parentNavId, gb as parseAddress, gc as parseColor, gd as parseMountPattern, ge as parsePatternNames, gf as patternValidation, gg as patternsValidation, gh as permissionRefusal, gi as pickSupportedLanguage, gj as platformNavWidgets, gk as pluginTag, gl as presetDefaultOption, gm as privateGuard, gn as processImageToSvg, go as provideAppContext, gp as provideMagAppConfig, gq as provideMagWcConfig, gr as provideMagWcRoutes, gs as provideModalComponents, gt as provideMurlUrlSerializer, gu as provideNavWidgets, gv as provideOverlayWidgets, gw as providePlatformNavWidgets, gx as providePluginRuntime, gy as provideSearch, gz as provideSizeContext, gA as provideUserTabs, gB as publicGuard, gC as readFieldPatterns, gD as recordDefinedWcTier, gE as remoteOutletRoute, gF as renderAddress, gG as renderDocument, gH as requiredValidation, gI as resolveConfigAsset, gJ as resolveIconSize, gK as resolvePallet, gL as resolvePatternRules, gM as resolveSize, gN as resolveSpacing, gO as rgbToHex, gP as rgbToHsl, gQ as rowHasChildren, gR as samePatterns, gS as sectionTableColumnId, gT as sectionTableColumnWidths, gU as sectionTableFrozenCount, gV as segmentsToNavId, gW as setProperty, gX as setTreeGridChildren, gY as setWcLocalPort, gZ as setWcTier, g_ as settingsWidgets, g$ as shouldShowBadge, h0 as sortSectionTableRows, h1 as splitNavId, h2 as splitOnMatch, h3 as stringToColor, h4 as tailRouteOf, h5 as toAttrBool, h6 as toAttrNumber, h7 as toCssLength, h8 as toHostNavId, h9 as toLength, ha as toLocalNavId, hb as toggleTreeGridRow, hc as unfetchedPlatformNav, hd as ungroupedDocActions, he as urlValidation, hf as wcLocalBaseOf, hg as wcTierOf } from './magmonium-one-magmonium-one-jBGfJvgl.mjs';
|
|
2
2
|
//# sourceMappingURL=magmonium-one.mjs.map
|
package/package.json
CHANGED
package/types/magmonium-one.d.ts
CHANGED
|
@@ -965,8 +965,16 @@ interface AppCodeRule {
|
|
|
965
965
|
mode: 'allow' | 'block';
|
|
966
966
|
list: string[];
|
|
967
967
|
}
|
|
968
|
+
/** Who may use an App, stored and sent as its number. `OPEN` Apps are embedded by other Apps as their own. */
|
|
969
|
+
declare enum AppAvailability {
|
|
970
|
+
EVERYONE = 1,
|
|
971
|
+
TEAM_ONLY = 2,
|
|
972
|
+
ONLY_ME = 3,
|
|
973
|
+
OPEN = 4
|
|
974
|
+
}
|
|
968
975
|
/** What every user of an App is bound by, as `store/app/<id>/permission` answers it. */
|
|
969
976
|
interface AppRules {
|
|
977
|
+
availability: AppAvailability;
|
|
970
978
|
permissions: AppPermission[];
|
|
971
979
|
countries: AppCodeRule;
|
|
972
980
|
languages: AppCodeRule & {
|
|
@@ -2990,6 +2998,8 @@ type RadioGroupInput = Input & {
|
|
|
2990
2998
|
type CheckboxGroupInput = Input & {
|
|
2991
2999
|
type: InputType.CHECKBOX_GROUP;
|
|
2992
3000
|
vertical?: boolean;
|
|
3001
|
+
/** Name of a `mag_assets/options/<name>.yml` asset, read when no options are bound or placed. */
|
|
3002
|
+
optionsAsset?: string;
|
|
2993
3003
|
};
|
|
2994
3004
|
type DateInput = Input & {
|
|
2995
3005
|
type: InputType.DATE;
|
|
@@ -5038,9 +5048,10 @@ type CheckboxGroupRow = {
|
|
|
5038
5048
|
/**
|
|
5039
5049
|
* The many-pick sibling of `m-radio-group` (CONTEXT.md CheckboxGroup). One
|
|
5040
5050
|
* `m-checkbox` per option, its value the picked options' values in option
|
|
5041
|
-
* order. Options are bound,
|
|
5042
|
-
*
|
|
5043
|
-
*
|
|
5051
|
+
* order. Options are bound, placed or named (ADR 0039, ADR 0041): bound or
|
|
5052
|
+
* placed `options` win, and an OptionSet named by `optionsAsset` / `mOptions`
|
|
5053
|
+
* fills the group only when neither offers a row — the order a Dropdown reads
|
|
5054
|
+
* its own sources in.
|
|
5044
5055
|
*/
|
|
5045
5056
|
declare class CheckboxGroupComponent extends BaseInputComponent<CheckboxGroupInput> implements FormValueControl<string[] | undefined> {
|
|
5046
5057
|
readonly value: _angular_core.ModelSignal<string[] | undefined>;
|
|
@@ -5053,8 +5064,10 @@ declare class CheckboxGroupComponent extends BaseInputComponent<CheckboxGroupInp
|
|
|
5053
5064
|
private readonly uid;
|
|
5054
5065
|
protected readonly isVertical: Signal<boolean>;
|
|
5055
5066
|
protected readonly isDisabled: Signal<boolean>;
|
|
5067
|
+
private readonly namedOptions;
|
|
5056
5068
|
private readonly offered;
|
|
5057
5069
|
protected readonly rows: Signal<CheckboxGroupRow[]>;
|
|
5070
|
+
constructor();
|
|
5058
5071
|
private readonly picked;
|
|
5059
5072
|
protected readonly isPicked: (value: string) => boolean;
|
|
5060
5073
|
/**
|
|
@@ -7536,6 +7549,12 @@ type ColumnDef = {
|
|
|
7536
7549
|
menuOptions?: MenuItem[][];
|
|
7537
7550
|
/** `icon-text` only — which data slot holds the icon name. */
|
|
7538
7551
|
iconIndex?: number;
|
|
7552
|
+
/**
|
|
7553
|
+
* `link` only — which data slot says the row links. Empty there, the cell is
|
|
7554
|
+
* plain text, so a column can link the rows that lead somewhere and leave the
|
|
7555
|
+
* rest alone. Absent, every row links.
|
|
7556
|
+
*/
|
|
7557
|
+
linkIndex?: number;
|
|
7539
7558
|
originalIndex?: number;
|
|
7540
7559
|
translate?: boolean;
|
|
7541
7560
|
};
|
|
@@ -11598,5 +11617,5 @@ interface AuthResult {
|
|
|
11598
11617
|
}
|
|
11599
11618
|
declare function injectAuthenticate(): () => Promise<AuthResult>;
|
|
11600
11619
|
|
|
11601
|
-
export { ACCESS_DOMAINS, APP_CONTEXT_REF, APP_LINK, ASSET_BASE_URL, AccordionBodyDirective, AccordionComponent, AccordionGroupComponent, ActionComponent, AnimatedGraphsComponent, AppCardComponent, AppRelationType, AppTileComponent, AssetStore, AssetUrlPipe, Assets, AuthActivityPageComponent, AuthApiService, AuthStore, AutosizeDirective, BadgeComponent, BandingComponent, BaseArrayInputComponent, BaseRootWebComponent, BaseWebComponent, BrowserLocaleService, ButtonComponent, ButtonGroupComponent, CALLING_APP_HEADER, COMPONENT_INPUT_REGISTRY, CardComponent, CardWrapperComponent, CarouselComponent, ChartComponent, ChatBubbleComponent, CheckboxGroupComponent, CheckboxInputComponent, ClearableInputComponent, ClipboardService, ColComponent, ColorPickerInputComponent, CommentItemComponent, CommentsApiService, CommentsComponent, CommentsStore, CompactNumberPipe, ComponentInputComponent, ComponentStepperComponent, ConfigComponent, ConfirmComponent, ContextMenuComponent, CustomIconClass, CustomIconEditComponent, DEFAULT_DENIAL, DEFAULT_DOC_ALIGN, DEFAULT_DOC_DENSITY, DEFAULT_DOC_VARIANT, DEFAULT_FILTER_RANGE_MODE, DEFAULT_FILTER_VARIANT, DEFAULT_NAV_PARAM, DEFAULT_NAV_SEGMENT, DEFAULT_SIZE, DOCK_MIN_PAGE_REMAINDER, DOCS_FOLDER, DOC_ACTION_ICONS, DOC_ALIGNS, DOC_DENSITIES, DOC_EDIT_ACTIONS, DOC_TOOLBAR_GROUPS, DOC_VARIANTS, DashboardCardComponent, DateInputComponent, DatePickerComponent, DeviceService, DocComponent, DocEditorComponent, DomService, Domain, DotGridComponent, DragListDirective, DragListItemDirective, DraggableDirective, DropdownInputComponent, FILTER_GROUP_CONTEXT, FILTER_RANGE_MODES, FILTER_VARIANTS, FLEX_VARIANTS, FOLDER_PICK_LISTENER, FORM_ASSET_FOLDER, FileService, FileUploadDirective, FileUploadInputComponent, FlexComponent, FlexItemComponent, FormGroupComponent, FrameComponent, FreezeService, GRID_BREAKPOINTS, GetNavService, HeaderComponent, HighlightDirective, HttpService, ICON_SOURCE, IS_DESIGN_MODE, IS_SIDE_PANEL, IconComponent, ImgComponent, InputType, InstrumentScoreComponent, InterceptorObservables, JumbotronComponent, KeyValueComponent, LAYOUT_ASSET_FOLDER, LOADING_ACTIONS_REF, LOGIN_COMPONENT, LOGIN_STORE, LanguageComponent, ListComponent, LogoComponent, MAG_SOCKET_EVENT, MHeroColorDirective, MHeroComponent, MODAL_REF, MODAL_STORE_REF, MOUNT_STATIC_SEGMENT, MOUNT_TOKEN, MRefDirective, MStepComponent, MURL_PARAM, MURL_SEP, ManifestEnrichmentService, MarginDirective, MenuComponent, ModalDirective, ModalRef, ModalStore, MoneyPipe, MultiRangeInputComponent, MultiselectInputComponent, MurlUrlSerializer, NAV_DEFAULT_MURL, NAV_ID_SEP, NAV_MAIN_BUTTONS, NAV_SEGMENT_RE, NAV_STORE_REF, NAV_WC_COMPONENTS, NAV_WIDGET_MAP, NavComponent, NavDetailsComponent, NavHeaderComponent, NavMenuComponent, NavStore, NavTrailComponent, NothingComponent, NotificationElementComponent, NotificationGroupComponent, NotificationPopupComponent, NotificationService, NotificationStore, NotificationType, NotificationWidgetComponent, ONE_ASSET_BASE_URL, OPTIONS_SOURCE, OVERLAY_WIDGETS, OneApp, OptionsSourceDirective, OverlayBodyComponent, OverlayRef, OverlayService, PLATFORM_BUTTON_NAV_IDS, PLATFORM_EXTENSIBLE_NAV_IDS, PLATFORM_NAV_MAP, PLATFORM_ROOT_CHILDREN, PLUGIN_FALLBACK_LANG, PLUGIN_OUTPUT_EVENT, PLUGIN_SCREENS, PaddingDirective, PaginationComponent, PanelComponent, PercentagePipe, PlaygroundComponent, PluginComponent, PluginInputComponent, PluginOutputComponent, PositionDirective, PwaInstallComponent, RECENT_SEARCH_LIMIT, REMOTE_PAGE_RELOAD, ROOT_NAV, RadioGroupComponent, RadioInputComponent, RangeInputComponent, RatingInputComponent, ReactiveElementComponent, RemoteComponent, RemoteLoaderService, ResizeElementComponent, RouteContainer, RowComponent, SEARCH_QUERY, SEARCH_RESULTS_EVENT, SECTION_ACCORDION_GROUP, SECTION_FORM_CONTEXT, SECTION_TABLE_VARIANTS, SHARED_ICONS, SIZE_CONTEXT, SPACING_INWARD, ScoreComponent, ScrollComponent, ScrollService, SearchPanelComponent, SearchStore, SearchUserPanelComponent, SectionAccordionDirective, SectionAccordionGroupDirective, SectionBackComponent, SectionBadgesComponent, SectionButtonGroupComponent, SectionCardComponent, SectionCarouselComponent, SectionComponent, SectionFilterComponent, SectionFilterGroupComponent, SectionFilterMenuComponent, SectionFilterPanelComponent, SectionFilterRangePanelComponent, SectionFooterComponent, SectionFormComponent, SectionFormItemComponent, SectionHeaderComponent, SectionHeroComponent, SectionPaginationComponent, SectionSearchComponent, SectionStepperComponent, SectionTableCellComponent, SectionTableComponent, SectionTableRowComponent, SectionTableSortPipe, SectionTabsComponent, SectionToggleComponent, SectionToggleItemDirective, SelectableCardInputComponent, SelectorDirective, SettingsSearchBarComponent, SettingsSearchService, ShapeComponent, SharedStoreRegistry, SidePanelDirective, Size, SocketStore, SortComponent, StatComponent, StepComponent, StepperComponent, StepsComponent, StorageService, StrokeLinecap, StrokeLinejoin, SummaryComponent, SvgGeneratorComponent, SvgGeneratorService, SvgService, TOTAL_COLUMNS, TRANSLATION_SOURCE, TableComponent, TableFilterCondition, TechnicalMeterComponent, TextInputComponent, TextOutputComponent, TextareaInputComponent, ThemeComponent, ThemeDataService, ThemeService, ThemeStore, TimeAgoPipe, TimelineComponent, ToggleButtonComponent, ToggleInputComponent, ToggleRadioInputComponent, ToolTipDirective, TooltipComponent, TranslatePipe, TranslateService, TreeGridComponent, URL_SEP, USER_STORE_REF, USER_TAB_MAP, UniverseComponent, UserApiService, UserAvatarComponent, UserComponent, UserNavComponent, UserSettingsComponent, UserStore, WC_BUNDLE, WC_NAVIGATE_EVENT, WC_ROUTE_CHANGED_EVENT, WC_SEARCH_GROUPS, WIN_USER_TAB_HOOK, WIN_USER_TAB_KEY, WatermarkComponent, WcRouterStore, WrapperInputComponent, allowedCodes, anchorNavId, applyColorsToElement, applyDocEdit, assetOptions, bootstrapMagApp, bootstrapPwaInstall, browserLocale, buildWcBaseUrl, calculateLuminance, calculateRanks, cellText, checkDoc, checkFilterCondition, childNavId, claimDenial, classListSignal, coerceSize, cornerEdge, cornerSide, createLoadingState, createMap, createPlatformNavMap, createPluginElement, definePluginScreens, definedWcTierOf, deriveAvatarGradient, deriveContrastColor, deriveOppositeColor, derivePropertyName, docActionKey, docAssetCandidates, docProblemKey, docRemotePath, emailValidation, evaluate, evaluateBool, exposeScreens, exposedScreensOf, fieldBoolean, fieldNumber, fieldString, filterHoldsList, filterHoldsOneBound, filterHoldsOptions, filterHoldsRange, filterList, filterNumber, filterNumberList, filterOne, filterPanelOf, filterPanelWidth, filterRange, filterTreeGridRows, filterValueList, filterValues, flattenTreeGridRows, formatBadgeCount, fullName, generateClipPath, generateTransform, getClassList, getProperty, getScrollParent, getTierFromPreviewPath, getTreeGridRow, getUniqueId, getValue, hasErrorComputed, hexToRgb, hslToRgb, initMagmoniumApp, initialNotificationState, initialState, initials, injectAuthenticate, injectDefaultDenial, injectInstallApp, injectParentSize, injectScrollSticky, isBootRedirect, isButtonName, isCancelledComputed, isExtensiblePlatformNavId, isJson, isLoadingComputed, isLocalhost, isNavInstanceConfig, isNavMenuConfig, isNavRowsConfig, isNavVisibilityConfig, isPlatformNavId, isSize, isTierPreview, isUrlLocalhost, isValidNavId, isValidNavSegment, isWebComponent, linkToId, linkToNav, loadingActions, mInterceptor, manualValidation, matchFieldValidation, matchMount, maxLengthValidation, maxValidation, mergePlatformNav, mergeUnique, mergeUniqueBy, mergeUniqueWith, minAgeValidation, minLengthValidation, minValidation, miniMarkToHtml, mountFor, mountPatternProblem, mountPatternText, mountSegmentOf, mountTokenOf, navIdChain, navIdFor, navIdSegment, navIdToRoutePath, navIdToSegments, navParamOf, navTailMatcher, navToId, navVisibilityGuard, nextSectionTableSort, normalizeAssetOptions, offsetOfLine, parentNavId, parseAddress, parseColor, parseMountPattern, parsePatternNames, patternValidation, patternsValidation, permissionRefusal, pickSupportedLanguage, platformNavWidgets, pluginTag, presetDefaultOption, privateGuard, processImageToSvg, provideAppContext, provideMagAppConfig, provideMagWcConfig, provideMagWcRoutes, provideModalComponents, provideMurlUrlSerializer, provideNavWidgets, provideOverlayWidgets, providePlatformNavWidgets, providePluginRuntime, provideSearch, provideSizeContext, provideUserTabs, publicGuard, readFieldPatterns, recordDefinedWcTier, remoteOutletRoute, renderAddress, renderDocument, requiredValidation, resolveConfigAsset, resolveIconSize, resolvePallet, resolvePatternRules, resolveSize, resolveSpacing, rgbToHex, rgbToHsl, rowHasChildren, samePatterns, sectionTableColumnId, sectionTableColumnWidths, sectionTableFrozenCount, segmentsToNavId, setProperty, setTreeGridChildren, setWcLocalPort, setWcTier, settingsWidgets, shouldShowBadge, sortSectionTableRows, splitNavId, splitOnMatch, stringToColor, tailRouteOf, toAttrBool, toAttrNumber, toCssLength, toHostNavId, toLength, toLocalNavId, toggleTreeGridRow, unfetchedPlatformNav, ungroupedDocActions, urlValidation, wcLocalBaseOf, wcTierOf };
|
|
11620
|
+
export { ACCESS_DOMAINS, APP_CONTEXT_REF, APP_LINK, ASSET_BASE_URL, AccordionBodyDirective, AccordionComponent, AccordionGroupComponent, ActionComponent, AnimatedGraphsComponent, AppAvailability, AppCardComponent, AppRelationType, AppTileComponent, AssetStore, AssetUrlPipe, Assets, AuthActivityPageComponent, AuthApiService, AuthStore, AutosizeDirective, BadgeComponent, BandingComponent, BaseArrayInputComponent, BaseRootWebComponent, BaseWebComponent, BrowserLocaleService, ButtonComponent, ButtonGroupComponent, CALLING_APP_HEADER, COMPONENT_INPUT_REGISTRY, CardComponent, CardWrapperComponent, CarouselComponent, ChartComponent, ChatBubbleComponent, CheckboxGroupComponent, CheckboxInputComponent, ClearableInputComponent, ClipboardService, ColComponent, ColorPickerInputComponent, CommentItemComponent, CommentsApiService, CommentsComponent, CommentsStore, CompactNumberPipe, ComponentInputComponent, ComponentStepperComponent, ConfigComponent, ConfirmComponent, ContextMenuComponent, CustomIconClass, CustomIconEditComponent, DEFAULT_DENIAL, DEFAULT_DOC_ALIGN, DEFAULT_DOC_DENSITY, DEFAULT_DOC_VARIANT, DEFAULT_FILTER_RANGE_MODE, DEFAULT_FILTER_VARIANT, DEFAULT_NAV_PARAM, DEFAULT_NAV_SEGMENT, DEFAULT_SIZE, DOCK_MIN_PAGE_REMAINDER, DOCS_FOLDER, DOC_ACTION_ICONS, DOC_ALIGNS, DOC_DENSITIES, DOC_EDIT_ACTIONS, DOC_TOOLBAR_GROUPS, DOC_VARIANTS, DashboardCardComponent, DateInputComponent, DatePickerComponent, DeviceService, DocComponent, DocEditorComponent, DomService, Domain, DotGridComponent, DragListDirective, DragListItemDirective, DraggableDirective, DropdownInputComponent, FILTER_GROUP_CONTEXT, FILTER_RANGE_MODES, FILTER_VARIANTS, FLEX_VARIANTS, FOLDER_PICK_LISTENER, FORM_ASSET_FOLDER, FileService, FileUploadDirective, FileUploadInputComponent, FlexComponent, FlexItemComponent, FormGroupComponent, FrameComponent, FreezeService, GRID_BREAKPOINTS, GetNavService, HeaderComponent, HighlightDirective, HttpService, ICON_SOURCE, IS_DESIGN_MODE, IS_SIDE_PANEL, IconComponent, ImgComponent, InputType, InstrumentScoreComponent, InterceptorObservables, JumbotronComponent, KeyValueComponent, LAYOUT_ASSET_FOLDER, LOADING_ACTIONS_REF, LOGIN_COMPONENT, LOGIN_STORE, LanguageComponent, ListComponent, LogoComponent, MAG_SOCKET_EVENT, MHeroColorDirective, MHeroComponent, MODAL_REF, MODAL_STORE_REF, MOUNT_STATIC_SEGMENT, MOUNT_TOKEN, MRefDirective, MStepComponent, MURL_PARAM, MURL_SEP, ManifestEnrichmentService, MarginDirective, MenuComponent, ModalDirective, ModalRef, ModalStore, MoneyPipe, MultiRangeInputComponent, MultiselectInputComponent, MurlUrlSerializer, NAV_DEFAULT_MURL, NAV_ID_SEP, NAV_MAIN_BUTTONS, NAV_SEGMENT_RE, NAV_STORE_REF, NAV_WC_COMPONENTS, NAV_WIDGET_MAP, NavComponent, NavDetailsComponent, NavHeaderComponent, NavMenuComponent, NavStore, NavTrailComponent, NothingComponent, NotificationElementComponent, NotificationGroupComponent, NotificationPopupComponent, NotificationService, NotificationStore, NotificationType, NotificationWidgetComponent, ONE_ASSET_BASE_URL, OPTIONS_SOURCE, OVERLAY_WIDGETS, OneApp, OptionsSourceDirective, OverlayBodyComponent, OverlayRef, OverlayService, PLATFORM_BUTTON_NAV_IDS, PLATFORM_EXTENSIBLE_NAV_IDS, PLATFORM_NAV_MAP, PLATFORM_ROOT_CHILDREN, PLUGIN_FALLBACK_LANG, PLUGIN_OUTPUT_EVENT, PLUGIN_SCREENS, PaddingDirective, PaginationComponent, PanelComponent, PercentagePipe, PlaygroundComponent, PluginComponent, PluginInputComponent, PluginOutputComponent, PositionDirective, PwaInstallComponent, RECENT_SEARCH_LIMIT, REMOTE_PAGE_RELOAD, ROOT_NAV, RadioGroupComponent, RadioInputComponent, RangeInputComponent, RatingInputComponent, ReactiveElementComponent, RemoteComponent, RemoteLoaderService, ResizeElementComponent, RouteContainer, RowComponent, SEARCH_QUERY, SEARCH_RESULTS_EVENT, SECTION_ACCORDION_GROUP, SECTION_FORM_CONTEXT, SECTION_TABLE_VARIANTS, SHARED_ICONS, SIZE_CONTEXT, SPACING_INWARD, ScoreComponent, ScrollComponent, ScrollService, SearchPanelComponent, SearchStore, SearchUserPanelComponent, SectionAccordionDirective, SectionAccordionGroupDirective, SectionBackComponent, SectionBadgesComponent, SectionButtonGroupComponent, SectionCardComponent, SectionCarouselComponent, SectionComponent, SectionFilterComponent, SectionFilterGroupComponent, SectionFilterMenuComponent, SectionFilterPanelComponent, SectionFilterRangePanelComponent, SectionFooterComponent, SectionFormComponent, SectionFormItemComponent, SectionHeaderComponent, SectionHeroComponent, SectionPaginationComponent, SectionSearchComponent, SectionStepperComponent, SectionTableCellComponent, SectionTableComponent, SectionTableRowComponent, SectionTableSortPipe, SectionTabsComponent, SectionToggleComponent, SectionToggleItemDirective, SelectableCardInputComponent, SelectorDirective, SettingsSearchBarComponent, SettingsSearchService, ShapeComponent, SharedStoreRegistry, SidePanelDirective, Size, SocketStore, SortComponent, StatComponent, StepComponent, StepperComponent, StepsComponent, StorageService, StrokeLinecap, StrokeLinejoin, SummaryComponent, SvgGeneratorComponent, SvgGeneratorService, SvgService, TOTAL_COLUMNS, TRANSLATION_SOURCE, TableComponent, TableFilterCondition, TechnicalMeterComponent, TextInputComponent, TextOutputComponent, TextareaInputComponent, ThemeComponent, ThemeDataService, ThemeService, ThemeStore, TimeAgoPipe, TimelineComponent, ToggleButtonComponent, ToggleInputComponent, ToggleRadioInputComponent, ToolTipDirective, TooltipComponent, TranslatePipe, TranslateService, TreeGridComponent, URL_SEP, USER_STORE_REF, USER_TAB_MAP, UniverseComponent, UserApiService, UserAvatarComponent, UserComponent, UserNavComponent, UserSettingsComponent, UserStore, WC_BUNDLE, WC_NAVIGATE_EVENT, WC_ROUTE_CHANGED_EVENT, WC_SEARCH_GROUPS, WIN_USER_TAB_HOOK, WIN_USER_TAB_KEY, WatermarkComponent, WcRouterStore, WrapperInputComponent, allowedCodes, anchorNavId, applyColorsToElement, applyDocEdit, assetOptions, bootstrapMagApp, bootstrapPwaInstall, browserLocale, buildWcBaseUrl, calculateLuminance, calculateRanks, cellText, checkDoc, checkFilterCondition, childNavId, claimDenial, classListSignal, coerceSize, cornerEdge, cornerSide, createLoadingState, createMap, createPlatformNavMap, createPluginElement, definePluginScreens, definedWcTierOf, deriveAvatarGradient, deriveContrastColor, deriveOppositeColor, derivePropertyName, docActionKey, docAssetCandidates, docProblemKey, docRemotePath, emailValidation, evaluate, evaluateBool, exposeScreens, exposedScreensOf, fieldBoolean, fieldNumber, fieldString, filterHoldsList, filterHoldsOneBound, filterHoldsOptions, filterHoldsRange, filterList, filterNumber, filterNumberList, filterOne, filterPanelOf, filterPanelWidth, filterRange, filterTreeGridRows, filterValueList, filterValues, flattenTreeGridRows, formatBadgeCount, fullName, generateClipPath, generateTransform, getClassList, getProperty, getScrollParent, getTierFromPreviewPath, getTreeGridRow, getUniqueId, getValue, hasErrorComputed, hexToRgb, hslToRgb, initMagmoniumApp, initialNotificationState, initialState, initials, injectAuthenticate, injectDefaultDenial, injectInstallApp, injectParentSize, injectScrollSticky, isBootRedirect, isButtonName, isCancelledComputed, isExtensiblePlatformNavId, isJson, isLoadingComputed, isLocalhost, isNavInstanceConfig, isNavMenuConfig, isNavRowsConfig, isNavVisibilityConfig, isPlatformNavId, isSize, isTierPreview, isUrlLocalhost, isValidNavId, isValidNavSegment, isWebComponent, linkToId, linkToNav, loadingActions, mInterceptor, manualValidation, matchFieldValidation, matchMount, maxLengthValidation, maxValidation, mergePlatformNav, mergeUnique, mergeUniqueBy, mergeUniqueWith, minAgeValidation, minLengthValidation, minValidation, miniMarkToHtml, mountFor, mountPatternProblem, mountPatternText, mountSegmentOf, mountTokenOf, navIdChain, navIdFor, navIdSegment, navIdToRoutePath, navIdToSegments, navParamOf, navTailMatcher, navToId, navVisibilityGuard, nextSectionTableSort, normalizeAssetOptions, offsetOfLine, parentNavId, parseAddress, parseColor, parseMountPattern, parsePatternNames, patternValidation, patternsValidation, permissionRefusal, pickSupportedLanguage, platformNavWidgets, pluginTag, presetDefaultOption, privateGuard, processImageToSvg, provideAppContext, provideMagAppConfig, provideMagWcConfig, provideMagWcRoutes, provideModalComponents, provideMurlUrlSerializer, provideNavWidgets, provideOverlayWidgets, providePlatformNavWidgets, providePluginRuntime, provideSearch, provideSizeContext, provideUserTabs, publicGuard, readFieldPatterns, recordDefinedWcTier, remoteOutletRoute, renderAddress, renderDocument, requiredValidation, resolveConfigAsset, resolveIconSize, resolvePallet, resolvePatternRules, resolveSize, resolveSpacing, rgbToHex, rgbToHsl, rowHasChildren, samePatterns, sectionTableColumnId, sectionTableColumnWidths, sectionTableFrozenCount, segmentsToNavId, setProperty, setTreeGridChildren, setWcLocalPort, setWcTier, settingsWidgets, shouldShowBadge, sortSectionTableRows, splitNavId, splitOnMatch, stringToColor, tailRouteOf, toAttrBool, toAttrNumber, toCssLength, toHostNavId, toLength, toLocalNavId, toggleTreeGridRow, unfetchedPlatformNav, ungroupedDocActions, urlValidation, wcLocalBaseOf, wcTierOf };
|
|
11602
11621
|
export type { Accordion, AccordionGroup, AccordionVariant, ActionNotification, Align, AnimatedGraphConfig, AnimatedGraphCurveInput, AppCardData, AppCardInputs, AppCardVariant, AppCodeRule, AppContextRef, AppHint, AppManifest, AppPermission, AppRelation, AppRelationView, AppRules, AppTileData, AssetOption, AuthEmailCreate404Response, AuthEmailCreate422Response, AuthEmailCreateRequest, AuthEmailCreateResponse, AuthIdentitiesListResponse, AuthOtpCreateRequest, AuthOtpCreateResponse, AuthOtpUpdateRequest, AuthOtpUpdateResponse, AuthPasswordCreateRequest, AuthPasswordCreateResponse, AuthPasswordCreateResponseTokens, AuthPasswordCreateResponseUser, AuthPasswordUpdateRequest, AuthPasswordUpdateResponse, AuthPasswordUpdateResponseTokens, AuthPasswordUpdateResponseUser, AuthResult, AuthSignupCreateRequest, AuthSignupCreateRequestUser, AuthSignupCreateResponse, AuthSignupCreateResponseTokens, AuthState, AuthUser, Badge, BadgePosition, BadgeVariant, BandingConfig, BreadCrumb, BreadcrumbTrail, BrowserLocale, Button, ButtonGroup, Carousel, CarouselIndicatorPosition, CarouselIndicatorShape, CarouselPosition, CarouselSlide, CellChangeEvent, CellClickEvent, Chart, ChartSeries, ChatBubblePointerAlignment, ChatBubblePointerPosition, ChatBubbleVariant, CheckboxGroupInput, ColBreakpoint, ColSpan, ColorInput, ColorPallet, ColorPropertyType, ColumnDef, Comment, CommentItem, ComponentInput, Config, ConfirmOptions, ContextMenu, ContextMenuEvent, CropData, Cursor, CustomIcon, DateInput, Direction$2 as Direction, DocAiPhase, DocAlign, DocDensity, DocEditAction, DocEditState, DocLookup, DocOutline, DocProblem, DocProblemKind, DocProposal, DocToolbarGroup, DocVariant, DotGridVariant, DragListReorder, Draggable, DraggableState, DropdownInput, DropdownOption, DropdownValue, ElementType, ExposedScreens, FieldPatterns, FileReadAs, FileUploadConfig, FileUploadEvent, FileUploadInput, FilterGroupContext, FilterGroupMember, FilterOption, FilterPanel, FilterPanelIo, FilterRangeMode, FilterSelectionMap, FilterValue, FilterVariant, FilteredTreeGrid, FlatTreeGridRow, FlexAlign, FlexAlignSelf, FlexConfig, FlexDirection, FlexItemConfig, FlexJustify, FlexVariant, FolderPickListener, Form, FormState, Genre, GridAlignX, GridAlignY, GridBreakpoint, Header, HeaderLevel, HeldShelf, HeroDataRecord, HeroDimensions, HslColor, Icon, Input, InputModel, InputSpan, InputState, InputValue, Jumbotron, JumbotronAnimation, KeyValueVariant, LabelSegment, ListConfig, ListContext, ListItem, ListOrientation, ListVariant, LoadingActionsApi, LoginStoreContract, LogoVariant, MagAppConfigOptions, MagWcConfigOptions, ManualErrorValidator, MenuItem, Modal, ModalOverlayConfig, ModalStoreRef, ModalStoreTrigger, ModalTrigger, MoneySystem, MountMatch, MountPattern, MountPatternProblem, MountRoute, MountSegment, MountSegmentKind, MultiRangeInput, Nav, NavIdKey, NavInstanceConfig, NavKind, NavMap, NavMenuConfig, NavPresentation, NavRow, NavRowsConfig, NavStoreRef, NavVisibilityConfig, NavVisibleAnswer, NavWidgetConfig, NavWidgetEntry, NavWidgetMap, Notification, NotificationAction, NotificationSeverity, NotificationState, NotificationUser, NumberInput, Option, OtpInput, OverlayConfig, OverlayWidgetLoader, OverlayWidgetMap, PageChangeEvent, Pagination, PaginationWindow, PanelOverlayConfig, PanelTrigger, PasswordInput, PatternRule, PluginOutput, PluginSource, Position, QueryParams, QueryValue, RadioGroupInput, RadioInput, RangeInput, RatingInput, RemoteFailReason, RemoteLoadResult, RemoteMount, RemoteReport, RemoteSelectorConfig, ResolvedUserTab, RgbColor, ScreenOverlayTrigger, SearchChangeEvent, SearchInput, SearchResult, SearchSourceGroup, SearchState, SectionAccordion, SectionAccordionGroup, SectionAccordionGroupContext, SectionAccordionRef, SectionButtonGroupConfig, SectionCarousel, SectionCarouselContext, SectionCarouselItem, SectionFilterGroupConfig, SectionFormConfig, SectionFormContext, SectionHero, SectionHeroVariant, SectionTableAlign, SectionTableColumn, SectionTableConfig, SectionTableDataType, SectionTableSort, SectionTableSortDirection, SectionTableVariant, SectionToggleItem, SectionToggleItemContext, SelectableCardContext, SelectableCardInput, SelectableCardItem, SelectionAction, SelectionActionEvent, SelectionChangeEvent, SelectorConfig, Shape, ShapeType, ShapeVariant, SharedToken, SharedUser, SizeContext, SizeDeclarer, SocketMessage, Sort, SortChange, SortChangeEvent, SortOption, SortOrder, SpacingInward, SqueezeMode, StatAlign, StatCornerEdge, StatCornerPosition, StatCornerSide, StatSurface, StatVariant, Step, Stepper, StepperResponsiveConfig, StepperStep, Steps, StickyBehavior, Summary, SummaryAction, SummaryRow, SummaryRowType, Svg, SvgGenOptions, SvgGeneratorCoreOptions, SvgGeneratorEditOptions, TabGroup, TableConfig, TableFilterDef, TextInput, TextNotification, TextOrNumberInput, TextOutputAlign, TextOutputConfig, TextOutputFontWeight, TextOutputVariant, TextareaInput, Timeline, TimelineItem, ToggleInput, ToggleRadioInput, Tokens, TreeGridCellClickEvent, TreeGridLoadChildrenEvent, TreeGridRow, TreeGridRowSelectEvent, TreeGridToggleEvent, UniverseColorScheme, UrlMode, User, UserRole, UserStoreRef, Version, Watermark, WcTier, WebComponentConfig, WeeklyData };
|