@magmonium/one 0.0.10 → 0.0.12
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/icons/download.svg +5 -0
- package/assets/icons/file-code.svg +6 -0
- package/assets/icons/file-data.svg +10 -0
- package/assets/icons/file-image.svg +6 -0
- package/assets/icons/file-markup.svg +7 -0
- package/assets/icons/file-style.svg +5 -0
- package/assets/icons/file-text.svg +7 -0
- package/assets/icons/svg.json +7 -0
- package/fesm2022/{magmonium-one-magmonium-one-Bsmruvcx.mjs → magmonium-one-magmonium-one-BGr9hr10.mjs} +289 -48
- package/fesm2022/magmonium-one-magmonium-one-BGr9hr10.mjs.map +1 -0
- package/fesm2022/{magmonium-one-otp-C-nsAtsR.mjs → magmonium-one-otp-DuzxXxaV.mjs} +2 -2
- package/fesm2022/{magmonium-one-otp-C-nsAtsR.mjs.map → magmonium-one-otp-DuzxXxaV.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-password-6C8utHLm.mjs → magmonium-one-password-D3Y-fAu1.mjs} +2 -2
- package/fesm2022/{magmonium-one-password-6C8utHLm.mjs.map → magmonium-one-password-D3Y-fAu1.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-toggle-w2R0ZIGV.mjs → magmonium-one-toggle-B2na96RD.mjs} +2 -2
- package/fesm2022/{magmonium-one-toggle-w2R0ZIGV.mjs.map → magmonium-one-toggle-B2na96RD.mjs.map} +1 -1
- package/fesm2022/magmonium-one.mjs +1 -1
- package/package.json +1 -1
- package/types/magmonium-one.d.ts +35 -3
- package/fesm2022/magmonium-one-magmonium-one-Bsmruvcx.mjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { signal, viewChildren, computed, effect, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
-
import { a as BaseTextInputComponent, L as LabelComponent, E as ErrorsComponent } from './magmonium-one-magmonium-one-
|
|
3
|
+
import { a as BaseTextInputComponent, L as LabelComponent, E as ErrorsComponent } from './magmonium-one-magmonium-one-BGr9hr10.mjs';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
5
|
|
|
6
6
|
class OtpInputComponent extends BaseTextInputComponent {
|
|
@@ -168,4 +168,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
168
168
|
}], ctorParameters: () => [], propDecorators: { otpInputs: [{ type: i0.ViewChildren, args: ['otpInput', { isSignal: true }] }] } });
|
|
169
169
|
|
|
170
170
|
export { OtpInputComponent };
|
|
171
|
-
//# sourceMappingURL=magmonium-one-otp-
|
|
171
|
+
//# sourceMappingURL=magmonium-one-otp-DuzxXxaV.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"magmonium-one-otp-
|
|
1
|
+
{"version":3,"file":"magmonium-one-otp-DuzxXxaV.mjs","sources":["../../../../libs/one/src/lib/shared/ui/input/ui/text/otp.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n effect,\n ElementRef,\n signal,\n viewChildren,\n} from '@angular/core';\nimport { LabelComponent } from '../label';\nimport { ErrorsComponent } from '../errors';\nimport { BaseTextInputComponent } from './base-text';\nimport { CommonModule } from '@angular/common';\nimport { OtpInput } from '../../model/input';\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 [required]=\"required()\"\n [disabled]=\"disabled()\"\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]=\"disabled()\"\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 <m-input-errors [errors]=\"errors()\" />\n }\n }\n `,\n styleUrl: './otp.sass',\n imports: [LabelComponent, ErrorsComponent, 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 constructor() {\n super();\n effect(() => {\n const length = this.otpConfig()?.length || 6;\n this.otpValues.set(Array(length).fill(''));\n });\n effect(() => {\n const inputs = this.otpInputs();\n if (inputs.length > 0) {\n setTimeout(() => {\n inputs[0].nativeElement.focus();\n }, 0);\n }\n });\n }\n\n onInput(event: Event, index: number): void {\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 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 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 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":";;;;;AAkDM,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;AAEF,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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A,EACvC,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,s8BAAA,CAAA,EAAA;oGAIQ,UAAU,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;;;"}
|
package/fesm2022/{magmonium-one-password-6C8utHLm.mjs → magmonium-one-password-D3Y-fAu1.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 { a as BaseTextInputComponent, L as LabelComponent, E as ErrorsComponent, b as ButtonComponent } from './magmonium-one-magmonium-one-
|
|
3
|
+
import { a as BaseTextInputComponent, L as LabelComponent, E as ErrorsComponent, b as ButtonComponent } from './magmonium-one-magmonium-one-BGr9hr10.mjs';
|
|
4
4
|
|
|
5
5
|
class PasswordInputComponent extends BaseTextInputComponent {
|
|
6
6
|
isPassword = signal(true, ...(ngDevMode ? [{ debugName: "isPassword" }] : /* istanbul ignore next */ []));
|
|
@@ -84,4 +84,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
84
84
|
}] });
|
|
85
85
|
|
|
86
86
|
export { PasswordInputComponent };
|
|
87
|
-
//# sourceMappingURL=magmonium-one-password-
|
|
87
|
+
//# sourceMappingURL=magmonium-one-password-D3Y-fAu1.mjs.map
|
package/fesm2022/{magmonium-one-password-6C8utHLm.mjs.map → magmonium-one-password-D3Y-fAu1.mjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"magmonium-one-password-
|
|
1
|
+
{"version":3,"file":"magmonium-one-password-D3Y-fAu1.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 { ErrorsComponent } from '../errors';\nimport { BaseTextInputComponent } from './base-text';\nimport { ButtonComponent } from '../../../button/ui/button';\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 [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 (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 [disabled]=\"disabled()\"\n [name]=\"button()\"\n [color]=\"iconColor()\"\n (clicked)=\"toggleType()\"\n />\n </div>\n @if (showErrors()) {\n <m-input-errors [errors]=\"errors()\" />\n }\n }\n `,\n imports: [LabelComponent, ErrorsComponent, ButtonComponent],\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":";;;;AAiDM,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,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EAAA,MAAA,EAAA,CAAA,QAAA,EAAA,OAAA,EAAA,YAAA,EAAA,WAAA,EAAA,KAAA,EAAA,WAAA,EAAA,MAAA,EAAA,UAAA,EAAA,SAAA,EAAA,MAAA,EAAA,SAAA,EAAA,KAAA,EAAA,QAAA,EAAA,OAAA,EAAA,aAAA,EAAA,MAAA,EAAA,aAAA,EAAA,UAAA,EAAA,SAAA,EAAA,QAAA,EAAA,cAAA,EAAA,UAAA,EAAA,MAAA,CAAA,EAAA,OAAA,EAAA,CAAA,cAAA,EAAA,SAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAI/C,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAtClC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,kBAAkB,EAAA,QAAA,EAClB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BT,EAAA,OAAA,EACQ,CAAC,cAAc,EAAE,eAAe,EAAE,eAAe,CAAC,EAAA,eAAA,EAE1C,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,+xFAAA,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 { B as BaseInputComponent, T as TranslatePipe } from './magmonium-one-magmonium-one-
|
|
3
|
+
import { B as BaseInputComponent, T as TranslatePipe } from './magmonium-one-magmonium-one-BGr9hr10.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-B2na96RD.mjs.map
|
package/fesm2022/{magmonium-one-toggle-w2R0ZIGV.mjs.map → magmonium-one-toggle-B2na96RD.mjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"magmonium-one-toggle-
|
|
1
|
+
{"version":3,"file":"magmonium-one-toggle-B2na96RD.mjs","sources":["../../../../libs/one/src/lib/shared/ui/input/ui/toggle/toggle.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n input,\n model,\n ModelSignal,\n} from '@angular/core';\nimport { ToggleInput } from '../../model/input';\nimport { TranslatePipe } from '../../../../pipe/translate';\nimport {\n FormCheckboxControl,\n ValidationError,\n WithOptionalField,\n} from '@angular/forms/signals';\nimport { BaseInputComponent } from '../../lib/base-input';\n\n@Component({\n selector: 'm-toggle-input',\n template: `\n @if (config(); as toggle) {\n <div class=\"toggle\">\n <input\n [id]=\"toggle.name ?? ''\"\n [checked]=\"checked()\"\n (change)=\"onChange($event)\"\n type=\"checkbox\"\n />\n <label [attr.for]=\"toggle.name || null\">{{\n toggle.label | translate\n }}</label>\n </div>\n }\n `,\n imports: [TranslatePipe],\n styleUrl: './toggle.sass',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ToggleInputComponent\n extends BaseInputComponent<ToggleInput>\n implements FormCheckboxControl\n{\n public value = undefined;\n public checked = model<boolean>(false) as ModelSignal<boolean>;\n public override config = input<Partial<ToggleInput> | undefined>();\n public override required = input<boolean>(false);\n public override disabled = input<boolean>(false);\n public override invalid = input<boolean>(false);\n public override touched = model<boolean>(false);\n public override focused = input<boolean>(false);\n public override errors = input<readonly WithOptionalField<ValidationError>[]>(\n []\n );\n public override showErrors = computed(() => this.touched() && this.invalid());\n\n /** Required by FormCheckboxControl interface */\n // public readonly checked: ModelSignal<boolean> = this.value; // Already defined above\n\n constructor() {\n super();\n }\n\n protected onChange(event: Event): void {\n const target = event.target as HTMLInputElement;\n this.checked.set(target?.checked ?? false);\n }\n}\n"],"names":[],"mappings":";;;;AAsCM,MAAO,oBACX,SAAQ,kBAA+B,CAAA;IAGhC,KAAK,GAAG,SAAS;AACjB,IAAA,OAAO,GAAG,KAAK,CAAU,KAAK,CAAyB;IAC9C,MAAM,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,QAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAAoC;AAClD,IAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,+EAAC;AAChC,IAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,+EAAC;AAChC,IAAA,OAAO,GAAG,KAAK,CAAU,KAAK,8EAAC;AAC/B,IAAA,OAAO,GAAG,KAAK,CAAU,KAAK,8EAAC;AAC/B,IAAA,OAAO,GAAG,KAAK,CAAU,KAAK,8EAAC;AAC/B,IAAA,MAAM,GAAG,KAAK,CAC5B,EAAE,6EACH;AACe,IAAA,UAAU,GAAG,QAAQ,CAAC,MAAM,IAAI,CAAC,OAAO,EAAE,IAAI,IAAI,CAAC,OAAO,EAAE,iFAAC;;;AAK7E,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;IACT;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Component, g as AccordionGroupComponent, h as ActionComponent, i as AnimatedGraphsComponent, j as AppCardComponent, k as AppRelationType, l as AppTileComponent, m as AssetStore, n as AssetUrlPipe, o as Assets, p as AutosizeDirective, q as BadgeComponent, r as BandingComponent, s as BaseArrayInputComponent, t as BaseRootWebComponent, u as BaseWebComponent, b as ButtonComponent, v as ButtonGroupComponent, C as COLOR_SCHEMES, w as COMPONENT_INPUT_REGISTRY, x as CardComponent, y as CardWrapperComponent, z as CarouselComponent, D as ChartComponent, F as CheckboxInputComponent, G as ClearableInputComponent, H as ColComponent, I as ColorPickerInputComponent, J as CommentItemComponent, K as CommentsApiService, M as CommentsComponent, N as CommentsStore, O as ComponentInputComponent, P as ComponentStepperComponent, Q as ConfigComponent, R as ConfirmComponent, S as ContextMenuComponent, U as CustomIconClass, V as CustomIconEditComponent, W as DEFAULT_SIZE, X as DashboardCardComponent, Y as DateInputComponent, Z as DatePickerComponent, _ as DeviceService, $ as DomService, a0 as Domain, a1 as DotGridComponent, a2 as DragListDirective, a3 as DragListItemDirective, a4 as DraggableDirective, a5 as DropdownInputComponent, a6 as FLEX_VARIANTS, a7 as FOLDER_PICK_LISTENER, a8 as FORM_ASSET_FOLDER, a9 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 GEN_NAV_DISPLAY_ORDER, ai as GRID_BREAKPOINTS, aj as GetNavService, ak as HeaderComponent, al as HighlightDirective, am as HttpService, an as ICON_SOURCE, ao as IS_DESIGN_MODE, ap as IS_SIDE_PANEL, aq as IconComponent, ar as ImgComponent, as as InputType, at as InstrumentScoreComponent, au as InterceptorObservables, av as JumbotronComponent, aw as KeyValueComponent, ax as LAYOUT_ASSET_FOLDER, ay as LOGIN_COMPONENT, az as LOGIN_FORM_GROUP, aA as LOGIN_PROCESS, aB as LOGIN_STORE, aC as LanguageComponent, aD as LoginDataService, aE as LoginOneComponent, aF as LoginStore, aG as LogoComponent, aH as MAG_SOCKET_EVENT, aI as MHeroColorDirective, aJ as MHeroComponent, aK as MODAL_REF, aL as MODAL_STORE_REF, aM as MRefDirective, aN as MStepComponent, aO as MURL_PARAM, aP as MURL_SEP, aQ as ManifestEnrichmentService, aR as MenuComponent, aS as ModalDirective, aT as ModalRef, aU as ModalStore, aV as MoneyPipe, aW as MultiRangeInputComponent, aX as MurlUrlSerializer, aY as NAV_DEFAULT_MURL, aZ as NAV_DISPLAY_ORDER, a_ as NAV_ID_SEP, a$ as NAV_MAIN_BUTTONS, b0 as NAV_SEGMENT_RE, b1 as NAV_STORE_REF, b2 as NAV_WC_COMPONENTS, b3 as NAV_WIDGET_MAP, b4 as NavComponent, b5 as NavDetailsComponent, b6 as NavMenuComponent, b7 as NavStore, b8 as NavTrailComponent, b9 as NothingComponent, ba as NotificationElementComponent, bb as NotificationGroupComponent, bc as NotificationPopupComponent, bd as NotificationService, be as NotificationStore, bf as NotificationType, bg as NotificationWidgetComponent, bh as ONE_ASSET_BASE_URL, bi as OPTIONS_SOURCE, bj as OneApp, bk as OptionsSourceDirective, bl as OverlayBodyComponent, bm as OverlayRef, bn as OverlayService, bo as PLATFORM_BUTTON_NAV_IDS, bp as PLATFORM_EXTENSIBLE_NAV_IDS, bq as PLATFORM_NAV_MAP, br as PLATFORM_ROOT_CHILDREN, bs as PaginationComponent, bt as PanelComponent, bu as PlaygroundComponent, bv as PositionDirective, bw as PwaInstallComponent, bx as ROOT_NAV, by as RadioGroupComponent, bz as RadioInputComponent, bA as RangeInputComponent, bB as RatingInputComponent, bC as ReactiveElementComponent, bD as RemoteComponent, bE as RemoteLoaderService, bF as ResizeElementComponent, bG as RouteContainer, bH as RowComponent, bI as SEARCH_QUERY, bJ as SEARCH_RESULTS_EVENT, bK as SECTION_ACCORDION_GROUP, bL as SECTION_FORM_CONTEXT, bM as SHARED_ICONS, bN as SIZE_CONTEXT, bO as ScoreComponent, bP as ScrollComponent, bQ as ScrollService, bR as SearchPanelComponent, bS as SearchStore, bT as SearchUserPanelComponent, bU as SectionAccordionDirective, bV as SectionAccordionGroupDirective, bW as SectionBackComponent, bX as SectionBadgesComponent, bY as SectionButtonGroupComponent, bZ as SectionCardComponent, b_ as SectionComponent, b$ as SectionFilterComponent, c0 as SectionFooterComponent, c1 as SectionFormComponent, c2 as SectionFormItemComponent, c3 as SectionHeaderComponent, c4 as SectionSearchComponent, c5 as SectionStepperComponent, c6 as SectionTabsComponent, c7 as SectionToggleComponent, c8 as SectionToggleItemDirective, c9 as SelectableCardInputComponent, ca as SelectorDirective, cb as SettingsSearchBarComponent, cc as SettingsSearchService, cd as Sex, ce as ShapeComponent, cf as SharedStoreRegistry, cg as SidePanelDirective, ch as Size, ci as SocketStore, cj as SortComponent, 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, cz as TextOutputComponent, cA as TextareaInputComponent, cB as ThemeComponent, cC as ThemeService, cD as ThemeStore, cE as TimeAgoPipe, cF as TimelineComponent, cG as ToggleButtonComponent, cH as ToggleInputComponent, cI as ToggleRadioInputComponent, cJ as ToolTipDirective, cK as TooltipComponent, T as TranslatePipe, cL as TranslateService, cM as TreeGridComponent, cN as URL_SEP, cO as USER_STORE_REF, cP as USER_TAB_MAP, cQ as UlComponent, cR as UniverseComponent, cS as UserApiService, cT as UserAvatarComponent, cU as UserComponent, cV as UserNavComponent, cW as UserSettingsComponent, cX as UserStore, cY as WC_ROUTE_CHANGED_EVENT, cZ as WC_SEARCH_GROUPS, c_ as WIN_USER_TAB_HOOK, c$ as WIN_USER_TAB_KEY, d0 as WatermarkComponent, d1 as WcRouterStore, d2 as WrapperInputComponent, d3 as anchorNavId, d4 as applyColorsToElement, d5 as authGuard, d6 as bootstrapMagApp, d7 as bootstrapPwaInstall, d8 as buildWcBaseUrl, d9 as calculateLuminance, da as calculateRanks, db as cellText, dc as checkFilterCondition, dd as childNavId, de as classListSignal, df as createMap, dg as createPlatformNavMap, dh as deriveAvatarGradient, di as deriveContrastColor, dj as deriveOppositeColor, dk as derivePropertyName, dl as emailValidation, dm as evaluate, dn as evaluateBool, dp as flattenTreeGridRows, dq as formatBadgeCount, dr as fullName, ds as generateClipPath, dt as generateTransform, du as getClassList, dv as getProperty, dw as getScrollParent, dx as getTierFromPreviewPath, dy as getTreeGridRow, dz as getUniqueId, dA as getValue, dB as hasErrorComputed, dC as hexToRgb, dD as hslToRgb, dE as initMagmoniumApp, dF as initialNotificationState, dG as initials, dH as injectAuthenticate, dI as injectInstallApp, dJ as injectParentSize, dK as injectScrollSticky, dL as isButtonName, dM as isCancelledComputed, dN as isExtensiblePlatformNavId, dO as isJson, dP as isLoadingComputed, dQ as isLocalhost, dR as isPlatformNavId, dS as isSize, dT as isTierPreview, dU as isUrlLocalhost, dV as isValidNavId, dW as isValidNavSegment, dX as isWebComponent, dY as linkToId, dZ as linkToNav, d_ as loadingActions, d$ as loginState, e0 as mInterceptor, e1 as manualValidation, e2 as matchFieldValidation, e3 as maxLengthValidation, e4 as maxValidation, e5 as mergePlatformNav, e6 as mergeUnique, e7 as mergeUniqueBy, e8 as mergeUniqueWith, e9 as minAgeValidation, ea as minLengthValidation, eb as minValidation, ec as miniMarkToHtml, ed as navIdChain, ee as navIdFor, ef as navIdSegment, eg as navIdToRoutePath, eh as navIdToSegments, ei as navToId, ej as parentNavId, ek as parseAddress, el as parseColor, em as patternValidation, en as platformNavWidgets, eo as privateGuard, ep as processImageToSvg, eq as provideAppContext, er as provideMagAppConfig, es as provideMagWcConfig, et as provideMagWcRoutes, eu as provideModalComponents, ev as provideMurlUrlSerializer, ew as provideNavWidgets, ex as providePlatformNavWidgets, ey as provideSearch, ez as provideSizeContext, eA as provideUserTabs, eB as publicGuard, eC as renderAddress, eD as requiredValidation, eE as resolveConfigAsset, eF as resolvePallet, eG as resolveSize, eH as rgbToHex, eI as rgbToHsl, eJ as rowHasChildren, eK as segmentsToNavId, eL as setProperty, eM as setTreeGridChildren, eN as settingsWidgets, eO as shouldShowBadge, eP as splitNavId, eQ as stringToColor, eR as toAttrBool, eS as toAttrNumber, eT as toCssLength, eU as toHostNavId, eV as toLength, eW as toLocalNavId, eX as toggleTreeGridRow, eY as unfetchedPlatformNav, eZ as urlValidation } from './magmonium-one-magmonium-one-
|
|
1
|
+
export { A as ACCESS_DOMAINS, c as APP_CONTEXT_REF, d as ASSET_BASE_URL, e as AccordionBodyDirective, f as AccordionComponent, g as AccordionGroupComponent, h as ActionComponent, i as AnimatedGraphsComponent, j as AppCardComponent, k as AppRelationType, l as AppTileComponent, m as AssetStore, n as AssetUrlPipe, o as Assets, p as AutosizeDirective, q as BadgeComponent, r as BandingComponent, s as BaseArrayInputComponent, t as BaseRootWebComponent, u as BaseWebComponent, b as ButtonComponent, v as ButtonGroupComponent, C as COLOR_SCHEMES, w as COMPONENT_INPUT_REGISTRY, x as CardComponent, y as CardWrapperComponent, z as CarouselComponent, D as ChartComponent, F as CheckboxInputComponent, G as ClearableInputComponent, H as ColComponent, I as ColorPickerInputComponent, J as CommentItemComponent, K as CommentsApiService, M as CommentsComponent, N as CommentsStore, O as ComponentInputComponent, P as ComponentStepperComponent, Q as ConfigComponent, R as ConfirmComponent, S as ContextMenuComponent, U as CustomIconClass, V as CustomIconEditComponent, W as DEFAULT_SIZE, X as DashboardCardComponent, Y as DateInputComponent, Z as DatePickerComponent, _ as DeviceService, $ as DomService, a0 as Domain, a1 as DotGridComponent, a2 as DragListDirective, a3 as DragListItemDirective, a4 as DraggableDirective, a5 as DropdownInputComponent, a6 as FLEX_VARIANTS, a7 as FOLDER_PICK_LISTENER, a8 as FORM_ASSET_FOLDER, a9 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 GEN_NAV_DISPLAY_ORDER, ai as GRID_BREAKPOINTS, aj as GetNavService, ak as HeaderComponent, al as HighlightDirective, am as HttpService, an as ICON_SOURCE, ao as IS_DESIGN_MODE, ap as IS_SIDE_PANEL, aq as IconComponent, ar as ImgComponent, as as InputType, at as InstrumentScoreComponent, au as InterceptorObservables, av as JumbotronComponent, aw as KeyValueComponent, ax as LAYOUT_ASSET_FOLDER, ay as LOGIN_COMPONENT, az as LOGIN_FORM_GROUP, aA as LOGIN_PROCESS, aB as LOGIN_STORE, aC as LanguageComponent, aD as LoginDataService, aE as LoginOneComponent, aF as LoginStore, aG as LogoComponent, aH as MAG_SOCKET_EVENT, aI as MHeroColorDirective, aJ as MHeroComponent, aK as MODAL_REF, aL as MODAL_STORE_REF, aM as MRefDirective, aN as MStepComponent, aO as MURL_PARAM, aP as MURL_SEP, aQ as ManifestEnrichmentService, aR as MenuComponent, aS as ModalDirective, aT as ModalRef, aU as ModalStore, aV as MoneyPipe, aW as MultiRangeInputComponent, aX as MurlUrlSerializer, aY as NAV_DEFAULT_MURL, aZ as NAV_DISPLAY_ORDER, a_ as NAV_ID_SEP, a$ as NAV_MAIN_BUTTONS, b0 as NAV_SEGMENT_RE, b1 as NAV_STORE_REF, b2 as NAV_WC_COMPONENTS, b3 as NAV_WIDGET_MAP, b4 as NavComponent, b5 as NavDetailsComponent, b6 as NavMenuComponent, b7 as NavStore, b8 as NavTrailComponent, b9 as NothingComponent, ba as NotificationElementComponent, bb as NotificationGroupComponent, bc as NotificationPopupComponent, bd as NotificationService, be as NotificationStore, bf as NotificationType, bg as NotificationWidgetComponent, bh as ONE_ASSET_BASE_URL, bi as OPTIONS_SOURCE, bj as OneApp, bk as OptionsSourceDirective, bl as OverlayBodyComponent, bm as OverlayRef, bn as OverlayService, bo as PLATFORM_BUTTON_NAV_IDS, bp as PLATFORM_EXTENSIBLE_NAV_IDS, bq as PLATFORM_NAV_MAP, br as PLATFORM_ROOT_CHILDREN, bs as PaginationComponent, bt as PanelComponent, bu as PlaygroundComponent, bv as PositionDirective, bw as PwaInstallComponent, bx as ROOT_NAV, by as RadioGroupComponent, bz as RadioInputComponent, bA as RangeInputComponent, bB as RatingInputComponent, bC as ReactiveElementComponent, bD as RemoteComponent, bE as RemoteLoaderService, bF as ResizeElementComponent, bG as RouteContainer, bH as RowComponent, bI as SEARCH_QUERY, bJ as SEARCH_RESULTS_EVENT, bK as SECTION_ACCORDION_GROUP, bL as SECTION_FORM_CONTEXT, bM as SHARED_ICONS, bN as SIZE_CONTEXT, bO as ScoreComponent, bP as ScrollComponent, bQ as ScrollService, bR as SearchPanelComponent, bS as SearchStore, bT as SearchUserPanelComponent, bU as SectionAccordionDirective, bV as SectionAccordionGroupDirective, bW as SectionBackComponent, bX as SectionBadgesComponent, bY as SectionButtonGroupComponent, bZ as SectionCardComponent, b_ as SectionComponent, b$ as SectionFilterComponent, c0 as SectionFooterComponent, c1 as SectionFormComponent, c2 as SectionFormItemComponent, c3 as SectionHeaderComponent, c4 as SectionSearchComponent, c5 as SectionStepperComponent, c6 as SectionTabsComponent, c7 as SectionToggleComponent, c8 as SectionToggleItemDirective, c9 as SelectableCardInputComponent, ca as SelectorDirective, cb as SettingsSearchBarComponent, cc as SettingsSearchService, cd as Sex, ce as ShapeComponent, cf as SharedStoreRegistry, cg as SidePanelDirective, ch as Size, ci as SocketStore, cj as SortComponent, 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, cz as TextOutputComponent, cA as TextareaInputComponent, cB as ThemeComponent, cC as ThemeService, cD as ThemeStore, cE as TimeAgoPipe, cF as TimelineComponent, cG as ToggleButtonComponent, cH as ToggleInputComponent, cI as ToggleRadioInputComponent, cJ as ToolTipDirective, cK as TooltipComponent, T as TranslatePipe, cL as TranslateService, cM as TreeGridComponent, cN as URL_SEP, cO as USER_STORE_REF, cP as USER_TAB_MAP, cQ as UlComponent, cR as UniverseComponent, cS as UserApiService, cT as UserAvatarComponent, cU as UserComponent, cV as UserNavComponent, cW as UserSettingsComponent, cX as UserStore, cY as WC_ROUTE_CHANGED_EVENT, cZ as WC_SEARCH_GROUPS, c_ as WIN_USER_TAB_HOOK, c$ as WIN_USER_TAB_KEY, d0 as WatermarkComponent, d1 as WcRouterStore, d2 as WrapperInputComponent, d3 as anchorNavId, d4 as applyColorsToElement, d5 as authGuard, d6 as bootstrapMagApp, d7 as bootstrapPwaInstall, d8 as buildWcBaseUrl, d9 as calculateLuminance, da as calculateRanks, db as cellText, dc as checkFilterCondition, dd as childNavId, de as classListSignal, df as createMap, dg as createPlatformNavMap, dh as deriveAvatarGradient, di as deriveContrastColor, dj as deriveOppositeColor, dk as derivePropertyName, dl as emailValidation, dm as evaluate, dn as evaluateBool, dp as flattenTreeGridRows, dq as formatBadgeCount, dr as fullName, ds as generateClipPath, dt as generateTransform, du as getClassList, dv as getProperty, dw as getScrollParent, dx as getTierFromPreviewPath, dy as getTreeGridRow, dz as getUniqueId, dA as getValue, dB as hasErrorComputed, dC as hexToRgb, dD as hslToRgb, dE as initMagmoniumApp, dF as initialNotificationState, dG as initials, dH as injectAuthenticate, dI as injectInstallApp, dJ as injectParentSize, dK as injectScrollSticky, dL as isButtonName, dM as isCancelledComputed, dN as isExtensiblePlatformNavId, dO as isJson, dP as isLoadingComputed, dQ as isLocalhost, dR as isPlatformNavId, dS as isSize, dT as isTierPreview, dU as isUrlLocalhost, dV as isValidNavId, dW as isValidNavSegment, dX as isWebComponent, dY as linkToId, dZ as linkToNav, d_ as loadingActions, d$ as loginState, e0 as mInterceptor, e1 as manualValidation, e2 as matchFieldValidation, e3 as maxLengthValidation, e4 as maxValidation, e5 as mergePlatformNav, e6 as mergeUnique, e7 as mergeUniqueBy, e8 as mergeUniqueWith, e9 as minAgeValidation, ea as minLengthValidation, eb as minValidation, ec as miniMarkToHtml, ed as navIdChain, ee as navIdFor, ef as navIdSegment, eg as navIdToRoutePath, eh as navIdToSegments, ei as navToId, ej as parentNavId, ek as parseAddress, el as parseColor, em as patternValidation, en as platformNavWidgets, eo as privateGuard, ep as processImageToSvg, eq as provideAppContext, er as provideMagAppConfig, es as provideMagWcConfig, et as provideMagWcRoutes, eu as provideModalComponents, ev as provideMurlUrlSerializer, ew as provideNavWidgets, ex as providePlatformNavWidgets, ey as provideSearch, ez as provideSizeContext, eA as provideUserTabs, eB as publicGuard, eC as renderAddress, eD as requiredValidation, eE as resolveConfigAsset, eF as resolvePallet, eG as resolveSize, eH as rgbToHex, eI as rgbToHsl, eJ as rowHasChildren, eK as segmentsToNavId, eL as setProperty, eM as setTreeGridChildren, eN as settingsWidgets, eO as shouldShowBadge, eP as splitNavId, eQ as stringToColor, eR as toAttrBool, eS as toAttrNumber, eT as toCssLength, eU as toHostNavId, eV as toLength, eW as toLocalNavId, eX as toggleTreeGridRow, eY as unfetchedPlatformNav, eZ as urlValidation } from './magmonium-one-magmonium-one-BGr9hr10.mjs';
|
|
2
2
|
//# sourceMappingURL=magmonium-one.mjs.map
|
package/package.json
CHANGED
package/types/magmonium-one.d.ts
CHANGED
|
@@ -664,6 +664,7 @@ declare const NavStore: _angular_core.Type<{
|
|
|
664
664
|
appLink: Signal<string>;
|
|
665
665
|
appNavId: Signal<string>;
|
|
666
666
|
navOpenedByUser: Signal<boolean>;
|
|
667
|
+
keepPanelOnPathChange: Signal<boolean>;
|
|
667
668
|
panelPushed: Signal<boolean>;
|
|
668
669
|
navScrolledDown: Signal<boolean>;
|
|
669
670
|
remoteWidgets: Signal<Record<string, NavWidgetRegistryEntry>>;
|
|
@@ -711,6 +712,7 @@ declare const NavStore: _angular_core.Type<{
|
|
|
711
712
|
appLink: string | undefined;
|
|
712
713
|
appNavId: string | undefined;
|
|
713
714
|
navOpenedByUser: boolean;
|
|
715
|
+
keepPanelOnPathChange: boolean;
|
|
714
716
|
panelPushed: boolean;
|
|
715
717
|
navScrolledDown: boolean;
|
|
716
718
|
remoteWidgets: Record<string, NavWidgetRegistryEntry>;
|
|
@@ -4102,7 +4104,7 @@ declare class ImgComponent {
|
|
|
4102
4104
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ImgComponent, "m-img", never, { "src": { "alias": "src"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "dataType": { "alias": "dataType"; "required": false; "isSignal": true; }; "alt": { "alias": "alt"; "required": true; "isSignal": true; }; "priority": { "alias": "priority"; "required": false; "isSignal": true; }; "fill": { "alias": "fill"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "remote": { "alias": "remote"; "required": false; "isSignal": true; }; "ngSrcset": { "alias": "ngSrcset"; "required": false; "isSignal": true; }; "sizes": { "alias": "sizes"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
4103
4105
|
}
|
|
4104
4106
|
|
|
4105
|
-
type ColumnType = 'text' | 'number' | 'date' | 'timeago' | 'currency' | 'percent' | 'input' | 'icon' | 'context-menu' | 'link' | 'chart' | 'user';
|
|
4107
|
+
type ColumnType = 'text' | 'number' | 'date' | 'timeago' | 'currency' | 'percent' | 'input' | 'icon' | 'icon-text' | 'context-menu' | 'link' | 'chart' | 'user';
|
|
4106
4108
|
type ColumnDef = {
|
|
4107
4109
|
key: string;
|
|
4108
4110
|
label?: string;
|
|
@@ -4114,6 +4116,8 @@ type ColumnDef = {
|
|
|
4114
4116
|
signed?: boolean;
|
|
4115
4117
|
menuName?: string;
|
|
4116
4118
|
menuOptions?: MenuItem[][];
|
|
4119
|
+
/** `icon-text` only — which data slot holds the icon name. */
|
|
4120
|
+
iconIndex?: number;
|
|
4117
4121
|
originalIndex?: number;
|
|
4118
4122
|
translate?: boolean;
|
|
4119
4123
|
};
|
|
@@ -4324,6 +4328,19 @@ type TreeGridRowSelectEvent = {
|
|
|
4324
4328
|
row: TreeGridRow;
|
|
4325
4329
|
key: string;
|
|
4326
4330
|
};
|
|
4331
|
+
/**
|
|
4332
|
+
* A `link` cell was activated. Carries the row and its path like every other
|
|
4333
|
+
* tree-grid event — a flat table's row index means nothing in a tree, where
|
|
4334
|
+
* the same row moves as ancestors open and close. `value` is the cell's key
|
|
4335
|
+
* (`{ key, label }` cells give the key, plain cells give their text), so the
|
|
4336
|
+
* caller reads an id rather than the label rendered from it.
|
|
4337
|
+
*/
|
|
4338
|
+
type TreeGridCellClickEvent = {
|
|
4339
|
+
path: number[];
|
|
4340
|
+
row: TreeGridRow;
|
|
4341
|
+
columnKey: string;
|
|
4342
|
+
value: string;
|
|
4343
|
+
};
|
|
4327
4344
|
|
|
4328
4345
|
declare class TreeGridComponent extends ConfigComponent<TableConfig> {
|
|
4329
4346
|
subFolder: string;
|
|
@@ -4347,8 +4364,12 @@ declare class TreeGridComponent extends ConfigComponent<TableConfig> {
|
|
|
4347
4364
|
path: number[];
|
|
4348
4365
|
actionId: string;
|
|
4349
4366
|
}>;
|
|
4367
|
+
/** A `link` column's cell was activated. Selection is untouched — the click
|
|
4368
|
+
* never reaches the row. */
|
|
4369
|
+
readonly cellClicked: _angular_core.OutputEmitterRef<TreeGridCellClickEvent>;
|
|
4350
4370
|
readonly cellText: (row: unknown[], colIndex: number) => string;
|
|
4351
4371
|
readonly cellTitle: (row: unknown[], colIndex: number) => string | undefined;
|
|
4372
|
+
readonly isLinkCell: (row: unknown[], colIndex: number) => boolean;
|
|
4352
4373
|
readonly variantClass: _angular_core.Signal<string>;
|
|
4353
4374
|
readonly visibleColumns: _angular_core.Signal<ColumnDef[]>;
|
|
4354
4375
|
readonly effectiveFixedCount: _angular_core.Signal<number>;
|
|
@@ -4361,9 +4382,10 @@ declare class TreeGridComponent extends ConfigComponent<TableConfig> {
|
|
|
4361
4382
|
};
|
|
4362
4383
|
readonly onToggle: (path: number[]) => void;
|
|
4363
4384
|
readonly onRowClick: (row: TreeGridRow, path: number[]) => void;
|
|
4385
|
+
readonly onCellClick: (row: TreeGridRow, path: number[], col: ColumnDef, event: Event) => void;
|
|
4364
4386
|
readonly onMenuAction: (row: TreeGridRow, path: number[], item: MenuItem) => void;
|
|
4365
4387
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TreeGridComponent, never>;
|
|
4366
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TreeGridComponent, "m-tree-grid", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "indentRem": { "alias": "indentRem"; "required": false; "isSignal": true; }; "keyIndex": { "alias": "keyIndex"; "required": false; "isSignal": true; }; "selectedKey": { "alias": "selectedKey"; "required": false; "isSignal": true; }; }, { "config": "configChange"; "data": "dataChange"; "selectedKey": "selectedKeyChange"; "rowToggled": "rowToggled"; "loadChildren": "loadChildren"; "rowSelected": "rowSelected"; "menuAction": "menuAction"; }, never, never, true, never>;
|
|
4388
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TreeGridComponent, "m-tree-grid", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "indentRem": { "alias": "indentRem"; "required": false; "isSignal": true; }; "keyIndex": { "alias": "keyIndex"; "required": false; "isSignal": true; }; "selectedKey": { "alias": "selectedKey"; "required": false; "isSignal": true; }; }, { "config": "configChange"; "data": "dataChange"; "selectedKey": "selectedKeyChange"; "rowToggled": "rowToggled"; "loadChildren": "loadChildren"; "rowSelected": "rowSelected"; "menuAction": "menuAction"; "cellClicked": "cellClicked"; }, never, never, true, never>;
|
|
4367
4389
|
}
|
|
4368
4390
|
|
|
4369
4391
|
declare const rowHasChildren: (row: TreeGridRow) => boolean;
|
|
@@ -4884,6 +4906,7 @@ declare class IdentityCardContentComponent {
|
|
|
4884
4906
|
appLink: _angular_core.Signal<string>;
|
|
4885
4907
|
appNavId: _angular_core.Signal<string>;
|
|
4886
4908
|
navOpenedByUser: _angular_core.Signal<boolean>;
|
|
4909
|
+
keepPanelOnPathChange: _angular_core.Signal<boolean>;
|
|
4887
4910
|
panelPushed: _angular_core.Signal<boolean>;
|
|
4888
4911
|
navScrolledDown: _angular_core.Signal<boolean>;
|
|
4889
4912
|
remoteWidgets: _angular_core.Signal<Record<string, NavWidgetRegistryEntry>>;
|
|
@@ -4931,6 +4954,7 @@ declare class IdentityCardContentComponent {
|
|
|
4931
4954
|
appLink: string | undefined;
|
|
4932
4955
|
appNavId: string | undefined;
|
|
4933
4956
|
navOpenedByUser: boolean;
|
|
4957
|
+
keepPanelOnPathChange: boolean;
|
|
4934
4958
|
panelPushed: boolean;
|
|
4935
4959
|
navScrolledDown: boolean;
|
|
4936
4960
|
remoteWidgets: Record<string, NavWidgetRegistryEntry>;
|
|
@@ -5037,6 +5061,7 @@ declare class LoginOneComponent {
|
|
|
5037
5061
|
appLink: _angular_core.Signal<string>;
|
|
5038
5062
|
appNavId: _angular_core.Signal<string>;
|
|
5039
5063
|
navOpenedByUser: _angular_core.Signal<boolean>;
|
|
5064
|
+
keepPanelOnPathChange: _angular_core.Signal<boolean>;
|
|
5040
5065
|
panelPushed: _angular_core.Signal<boolean>;
|
|
5041
5066
|
navScrolledDown: _angular_core.Signal<boolean>;
|
|
5042
5067
|
remoteWidgets: _angular_core.Signal<Record<string, NavWidgetRegistryEntry>>;
|
|
@@ -5084,6 +5109,7 @@ declare class LoginOneComponent {
|
|
|
5084
5109
|
appLink: string | undefined;
|
|
5085
5110
|
appNavId: string | undefined;
|
|
5086
5111
|
navOpenedByUser: boolean;
|
|
5112
|
+
keepPanelOnPathChange: boolean;
|
|
5087
5113
|
panelPushed: boolean;
|
|
5088
5114
|
navScrolledDown: boolean;
|
|
5089
5115
|
remoteWidgets: Record<string, NavWidgetRegistryEntry>;
|
|
@@ -5184,6 +5210,7 @@ declare const LoginStore: Type<{
|
|
|
5184
5210
|
appLink: _angular_core.Signal<string>;
|
|
5185
5211
|
appNavId: _angular_core.Signal<string>;
|
|
5186
5212
|
navOpenedByUser: _angular_core.Signal<boolean>;
|
|
5213
|
+
keepPanelOnPathChange: _angular_core.Signal<boolean>;
|
|
5187
5214
|
panelPushed: _angular_core.Signal<boolean>;
|
|
5188
5215
|
navScrolledDown: _angular_core.Signal<boolean>;
|
|
5189
5216
|
remoteWidgets: _angular_core.Signal<Record<string, NavWidgetRegistryEntry>>;
|
|
@@ -5231,6 +5258,7 @@ declare const LoginStore: Type<{
|
|
|
5231
5258
|
appLink: string | undefined;
|
|
5232
5259
|
appNavId: string | undefined;
|
|
5233
5260
|
navOpenedByUser: boolean;
|
|
5261
|
+
keepPanelOnPathChange: boolean;
|
|
5234
5262
|
panelPushed: boolean;
|
|
5235
5263
|
navScrolledDown: boolean;
|
|
5236
5264
|
remoteWidgets: Record<string, NavWidgetRegistryEntry>;
|
|
@@ -5389,6 +5417,7 @@ declare class NavDetailsComponent {
|
|
|
5389
5417
|
appLink: _angular_core.Signal<string>;
|
|
5390
5418
|
appNavId: _angular_core.Signal<string>;
|
|
5391
5419
|
navOpenedByUser: _angular_core.Signal<boolean>;
|
|
5420
|
+
keepPanelOnPathChange: _angular_core.Signal<boolean>;
|
|
5392
5421
|
panelPushed: _angular_core.Signal<boolean>;
|
|
5393
5422
|
navScrolledDown: _angular_core.Signal<boolean>;
|
|
5394
5423
|
remoteWidgets: _angular_core.Signal<Record<string, NavWidgetRegistryEntry>>;
|
|
@@ -5436,6 +5465,7 @@ declare class NavDetailsComponent {
|
|
|
5436
5465
|
appLink: string | undefined;
|
|
5437
5466
|
appNavId: string | undefined;
|
|
5438
5467
|
navOpenedByUser: boolean;
|
|
5468
|
+
keepPanelOnPathChange: boolean;
|
|
5439
5469
|
panelPushed: boolean;
|
|
5440
5470
|
navScrolledDown: boolean;
|
|
5441
5471
|
remoteWidgets: Record<string, NavWidgetRegistryEntry>;
|
|
@@ -7160,6 +7190,7 @@ declare class FrameComponent {
|
|
|
7160
7190
|
appLink: _angular_core.Signal<string>;
|
|
7161
7191
|
appNavId: _angular_core.Signal<string>;
|
|
7162
7192
|
navOpenedByUser: _angular_core.Signal<boolean>;
|
|
7193
|
+
keepPanelOnPathChange: _angular_core.Signal<boolean>;
|
|
7163
7194
|
panelPushed: _angular_core.Signal<boolean>;
|
|
7164
7195
|
navScrolledDown: _angular_core.Signal<boolean>;
|
|
7165
7196
|
remoteWidgets: _angular_core.Signal<Record<string, NavWidgetRegistryEntry>>;
|
|
@@ -7207,6 +7238,7 @@ declare class FrameComponent {
|
|
|
7207
7238
|
appLink: string | undefined;
|
|
7208
7239
|
appNavId: string | undefined;
|
|
7209
7240
|
navOpenedByUser: boolean;
|
|
7241
|
+
keepPanelOnPathChange: boolean;
|
|
7210
7242
|
panelPushed: boolean;
|
|
7211
7243
|
navScrolledDown: boolean;
|
|
7212
7244
|
remoteWidgets: Record<string, NavWidgetRegistryEntry>;
|
|
@@ -7310,4 +7342,4 @@ declare class DotGridComponent {
|
|
|
7310
7342
|
}
|
|
7311
7343
|
|
|
7312
7344
|
export { ACCESS_DOMAINS, APP_CONTEXT_REF, ASSET_BASE_URL, AccordionBodyDirective, AccordionComponent, AccordionGroupComponent, ActionComponent, AnimatedGraphsComponent, AppCardComponent, AppRelationType, AppTileComponent, AssetStore, AssetUrlPipe, Assets, AutosizeDirective, BadgeComponent, BandingComponent, BaseArrayInputComponent, BaseRootWebComponent, BaseWebComponent, ButtonComponent, ButtonGroupComponent, COLOR_SCHEMES, COMPONENT_INPUT_REGISTRY, CardComponent, CardWrapperComponent, CarouselComponent, ChartComponent, CheckboxInputComponent, ClearableInputComponent, ColComponent, ColorPickerInputComponent, CommentItemComponent, CommentsApiService, CommentsComponent, CommentsStore, ComponentInputComponent, ComponentStepperComponent, ConfigComponent, ConfirmComponent, ContextMenuComponent, CustomIconClass, CustomIconEditComponent, DEFAULT_SIZE, DashboardCardComponent, DateInputComponent, DatePickerComponent, DeviceService, DomService, Domain, DotGridComponent, DragListDirective, DragListItemDirective, DraggableDirective, DropdownInputComponent, FLEX_VARIANTS, FOLDER_PICK_LISTENER, FORM_ASSET_FOLDER, FileService, FileUploadDirective, FileUploadInputComponent, FlexComponent, FlexItemComponent, FormGroupComponent, FrameComponent, FreezeService, GEN_NAV_DISPLAY_ORDER, 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_FORM_GROUP, LOGIN_PROCESS, LOGIN_STORE, LanguageComponent, LoginDataService, LoginOneComponent, LoginStore, 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_DISPLAY_ORDER, NAV_ID_SEP, NAV_MAIN_BUTTONS, NAV_SEGMENT_RE, NAV_STORE_REF, NAV_WC_COMPONENTS, NAV_WIDGET_MAP, NavComponent, NavDetailsComponent, NavMenuComponent, NavStore, NavTrailComponent, NothingComponent, NotificationElementComponent, NotificationGroupComponent, NotificationPopupComponent, NotificationService, NotificationStore, NotificationType, NotificationWidgetComponent, ONE_ASSET_BASE_URL, OPTIONS_SOURCE, OneApp, OptionsSourceDirective, OverlayBodyComponent, OverlayRef, OverlayService, PLATFORM_BUTTON_NAV_IDS, PLATFORM_EXTENSIBLE_NAV_IDS, PLATFORM_NAV_MAP, PLATFORM_ROOT_CHILDREN, PaginationComponent, PanelComponent, 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, SectionComponent, SectionFilterComponent, SectionFooterComponent, SectionFormComponent, SectionFormItemComponent, SectionHeaderComponent, SectionSearchComponent, SectionStepperComponent, SectionTabsComponent, SectionToggleComponent, SectionToggleItemDirective, SelectableCardInputComponent, SelectorDirective, SettingsSearchBarComponent, SettingsSearchService, Sex, ShapeComponent, SharedStoreRegistry, SidePanelDirective, Size, SocketStore, SortComponent, StepComponent, StepperComponent, StepsComponent, StorageService, StrokeLinecap, StrokeLinejoin, SummaryComponent, SvgGeneratorComponent, SvgGeneratorService, SvgService, TOTAL_COLUMNS, TRANSLATION_SOURCE, TableComponent, TableFilterCondition, TechnicalMeterComponent, TextInputComponent, TextOutputComponent, TextareaInputComponent, ThemeComponent, ThemeService, ThemeStore, TimeAgoPipe, TimelineComponent, ToggleButtonComponent, ToggleInputComponent, ToggleRadioInputComponent, ToolTipDirective, TooltipComponent, TranslatePipe, TranslateService, TreeGridComponent, URL_SEP, USER_STORE_REF, USER_TAB_MAP, UlComponent, 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, authGuard, bootstrapMagApp, bootstrapPwaInstall, buildWcBaseUrl, calculateLuminance, calculateRanks, cellText, checkFilterCondition, childNavId, classListSignal, createMap, createPlatformNavMap, deriveAvatarGradient, deriveContrastColor, deriveOppositeColor, derivePropertyName, emailValidation, evaluate, evaluateBool, flattenTreeGridRows, formatBadgeCount, fullName, generateClipPath, generateTransform, getClassList, getProperty, getScrollParent, getTierFromPreviewPath, getTreeGridRow, getUniqueId, getValue, hasErrorComputed, hexToRgb, hslToRgb, initMagmoniumApp, initialNotificationState, initials, injectAuthenticate, injectInstallApp, injectParentSize, injectScrollSticky, isButtonName, isCancelledComputed, isExtensiblePlatformNavId, isJson, isLoadingComputed, isLocalhost, isPlatformNavId, isSize, isTierPreview, isUrlLocalhost, isValidNavId, isValidNavSegment, isWebComponent, linkToId, linkToNav, loadingActions, loginState, mInterceptor, manualValidation, matchFieldValidation, maxLengthValidation, maxValidation, mergePlatformNav, mergeUnique, mergeUniqueBy, mergeUniqueWith, minAgeValidation, minLengthValidation, minValidation, miniMarkToHtml, navIdChain, navIdFor, navIdSegment, navIdToRoutePath, navIdToSegments, navToId, parentNavId, parseAddress, parseColor, patternValidation, platformNavWidgets, privateGuard, processImageToSvg, provideAppContext, provideMagAppConfig, provideMagWcConfig, provideMagWcRoutes, provideModalComponents, provideMurlUrlSerializer, provideNavWidgets, providePlatformNavWidgets, provideSearch, provideSizeContext, provideUserTabs, publicGuard, renderAddress, requiredValidation, resolveConfigAsset, resolvePallet, resolveSize, rgbToHex, rgbToHsl, rowHasChildren, segmentsToNavId, setProperty, setTreeGridChildren, settingsWidgets, shouldShowBadge, splitNavId, stringToColor, toAttrBool, toAttrNumber, toCssLength, toHostNavId, toLength, toLocalNavId, toggleTreeGridRow, unfetchedPlatformNav, urlValidation };
|
|
7313
|
-
export type { Accordion, AccordionGroup, AccordionVariant, ActionNotification, Align, AnimatedGraphConfig, AnimatedGraphCurveInput, AppCardData, AppCardInputs, AppCardVariant, AppContextRef, AppHint, AppManifest, AppRelation, AppTileData, Auth, AuthResult, Badge, BadgePosition, BadgeVariant, BandingConfig, BreadCrumb, BreadcrumbTrail, Button, ButtonGroup, Carousel, CarouselPosition, CarouselSlide, CellChangeEvent, CellClickEvent, Chart, ChartSeries, ColBreakpoint, ColSpan, ColorInput, ColorPallet, ColorPropertyType, ColorScheme, ColumnDef, Comment, CommentItem, ComponentInput, Config, ContextMenu, ContextMenuEvent, CropData, Cursor, CustomIcon, DateInput, Direction$2 as Direction, DotGridVariant, DragListReorder, Draggable, DraggableState, DropdownInput, DropdownOption, ElementType, FileUploadConfig, FileUploadEvent, FileUploadInput, FilterOption, FlatTreeGridRow, FlexAlign, FlexAlignSelf, FlexConfig, FlexDirection, FlexItemConfig, FlexJustify, FlexVariant, FolderPickListener, Form, FormState, Genre, GridBreakpoint, Header, HeaderLevel, HeroDataRecord, HeroDimensions, HslColor, Icon, IdentityInfo, Input, InputModel, InputSpan, InputState, InputValue, Jumbotron, JumbotronAnimation, KeyValueVariant, LoadingActionsApi, LoginState, LoginStoreContract, LogoVariant, MagAppConfigOptions, MagWcConfigOptions, ManualErrorValidator, MenuItem, Modal, ModalOverlayConfig, ModalStoreRef, ModalStoreTrigger, ModalTrigger, MoneySystem, MultiRangeInput, Nav, NavIdKey, NavKind, NavMap, NavPresentation, NavStoreRef, NavWidgetConfig, NavWidgetEntry, NavWidgetMap, Notification, NotificationSeverity, NotificationState, NotificationUser, Option, OtpInput, OverlayConfig, PageChangeEvent, Pagination, PanelOverlayConfig, PanelTrigger, PasswordInput, Position, QueryParams, QueryValue, RadioGroupInput, RadioInput, RangeInput, RatingInput, RemoteSelectorConfig, ResolvedUserTab, RgbColor, SearchChangeEvent, SearchInput, SearchResult, SearchSourceGroup, SearchState, SectionAccordion, SectionAccordionGroup, SectionAccordionGroupContext, SectionAccordionRef, SectionButtonGroupConfig, SectionFormConfig, SectionFormContext, SectionToggleItem, SectionToggleItemContext, SelectableCardInput, SelectableCardItem, SelectionAction, SelectionActionEvent, SelectionChangeEvent, SelectorConfig, Shape, ShapeType, ShapeVariant, SharedToken, SharedUser, SizeContext, SizeDeclarer, SocketMessage, Sort, SortChange, SortChangeEvent, SortOption, SortOrder, Step, Stepper, StepperResponsiveConfig, StepperStep, Steps, StickyBehavior, Summary, SummaryAction, SummaryRow, SummaryRowType, Svg, SvgGenOptions, SvgGeneratorCoreOptions, SvgGeneratorEditOptions, TabGroup, TableConfig, TableFilterDef, TextInput, TextNotification, TextOutputAlign, TextOutputConfig, TextareaInput, Timeline, TimelineItem, ToggleInput, ToggleRadioInput, Token, TreeGridLoadChildrenEvent, TreeGridRow, TreeGridRowSelectEvent, TreeGridToggleEvent, UniverseColorScheme, User, UserStoreRef, Version, Watermark, WebComponentConfig, WeeklyData };
|
|
7345
|
+
export type { Accordion, AccordionGroup, AccordionVariant, ActionNotification, Align, AnimatedGraphConfig, AnimatedGraphCurveInput, AppCardData, AppCardInputs, AppCardVariant, AppContextRef, AppHint, AppManifest, AppRelation, AppTileData, Auth, AuthResult, Badge, BadgePosition, BadgeVariant, BandingConfig, BreadCrumb, BreadcrumbTrail, Button, ButtonGroup, Carousel, CarouselPosition, CarouselSlide, CellChangeEvent, CellClickEvent, Chart, ChartSeries, ColBreakpoint, ColSpan, ColorInput, ColorPallet, ColorPropertyType, ColorScheme, ColumnDef, Comment, CommentItem, ComponentInput, Config, ContextMenu, ContextMenuEvent, CropData, Cursor, CustomIcon, DateInput, Direction$2 as Direction, DotGridVariant, DragListReorder, Draggable, DraggableState, DropdownInput, DropdownOption, ElementType, FileUploadConfig, FileUploadEvent, FileUploadInput, FilterOption, FlatTreeGridRow, FlexAlign, FlexAlignSelf, FlexConfig, FlexDirection, FlexItemConfig, FlexJustify, FlexVariant, FolderPickListener, Form, FormState, Genre, GridBreakpoint, Header, HeaderLevel, HeroDataRecord, HeroDimensions, HslColor, Icon, IdentityInfo, Input, InputModel, InputSpan, InputState, InputValue, Jumbotron, JumbotronAnimation, KeyValueVariant, LoadingActionsApi, LoginState, LoginStoreContract, LogoVariant, MagAppConfigOptions, MagWcConfigOptions, ManualErrorValidator, MenuItem, Modal, ModalOverlayConfig, ModalStoreRef, ModalStoreTrigger, ModalTrigger, MoneySystem, MultiRangeInput, Nav, NavIdKey, NavKind, NavMap, NavPresentation, NavStoreRef, NavWidgetConfig, NavWidgetEntry, NavWidgetMap, Notification, NotificationSeverity, NotificationState, NotificationUser, Option, OtpInput, OverlayConfig, PageChangeEvent, Pagination, PanelOverlayConfig, PanelTrigger, PasswordInput, Position, QueryParams, QueryValue, RadioGroupInput, RadioInput, RangeInput, RatingInput, RemoteSelectorConfig, ResolvedUserTab, RgbColor, SearchChangeEvent, SearchInput, SearchResult, SearchSourceGroup, SearchState, SectionAccordion, SectionAccordionGroup, SectionAccordionGroupContext, SectionAccordionRef, SectionButtonGroupConfig, SectionFormConfig, SectionFormContext, SectionToggleItem, SectionToggleItemContext, SelectableCardInput, SelectableCardItem, SelectionAction, SelectionActionEvent, SelectionChangeEvent, SelectorConfig, Shape, ShapeType, ShapeVariant, SharedToken, SharedUser, SizeContext, SizeDeclarer, SocketMessage, Sort, SortChange, SortChangeEvent, SortOption, SortOrder, Step, Stepper, StepperResponsiveConfig, StepperStep, Steps, StickyBehavior, Summary, SummaryAction, SummaryRow, SummaryRowType, Svg, SvgGenOptions, SvgGeneratorCoreOptions, SvgGeneratorEditOptions, TabGroup, TableConfig, TableFilterDef, TextInput, TextNotification, TextOutputAlign, TextOutputConfig, TextareaInput, Timeline, TimelineItem, ToggleInput, ToggleRadioInput, Token, TreeGridCellClickEvent, TreeGridLoadChildrenEvent, TreeGridRow, TreeGridRowSelectEvent, TreeGridToggleEvent, UniverseColorScheme, User, UserStoreRef, Version, Watermark, WebComponentConfig, WeeklyData };
|