@magmonium/one 0.4.10 → 0.4.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/fesm2022/{magmonium-one-image-editor-w_mIbhJH.mjs → magmonium-one-image-editor-DCAD4tWK.mjs} +2 -2
- package/fesm2022/{magmonium-one-image-editor-w_mIbhJH.mjs.map → magmonium-one-image-editor-DCAD4tWK.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-magmonium-one-Cu45fHus.mjs → magmonium-one-magmonium-one-DHIL0Jpw.mjs} +20 -14
- package/fesm2022/magmonium-one-magmonium-one-DHIL0Jpw.mjs.map +1 -0
- package/fesm2022/{magmonium-one-otp-Ct41thd0.mjs → magmonium-one-otp-Ce1vezye.mjs} +2 -2
- package/fesm2022/{magmonium-one-otp-Ct41thd0.mjs.map → magmonium-one-otp-Ce1vezye.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-password-CT8y_iYQ.mjs → magmonium-one-password-CXe4bA8Z.mjs} +2 -2
- package/fesm2022/{magmonium-one-password-CT8y_iYQ.mjs.map → magmonium-one-password-CXe4bA8Z.mjs.map} +1 -1
- package/fesm2022/{magmonium-one-toggle-DELqFKZY.mjs → magmonium-one-toggle-1k09GsDW.mjs} +2 -2
- package/fesm2022/{magmonium-one-toggle-DELqFKZY.mjs.map → magmonium-one-toggle-1k09GsDW.mjs.map} +1 -1
- package/fesm2022/magmonium-one.mjs +1 -1
- package/package.json +1 -1
- package/types/magmonium-one.d.ts +19 -19
- package/fesm2022/magmonium-one-magmonium-one-Cu45fHus.mjs.map +0 -1
package/fesm2022/{magmonium-one-image-editor-w_mIbhJH.mjs → magmonium-one-image-editor-DCAD4tWK.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { input, inject, viewChild, signal, computed, effect, DestroyRef, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
-
import { M as MODAL_REF, a as MIN_ZOOM, I as InputType, b as MAX_ZOOM, p as parseRatio, o as outputSize, c as cropRect, i as initialFraming, e as encodeFramed, d as drawFramed, r as renameForType, f as clampFraming, B as ButtonComponent, H as HeaderComponent, R as RangeInputComponent } from './magmonium-one-magmonium-one-
|
|
3
|
+
import { M as MODAL_REF, a as MIN_ZOOM, I as InputType, b as MAX_ZOOM, p as parseRatio, o as outputSize, c as cropRect, i as initialFraming, e as encodeFramed, d as drawFramed, r as renameForType, f as clampFraming, B as ButtonComponent, H as HeaderComponent, R as RangeInputComponent } from './magmonium-one-magmonium-one-DHIL0Jpw.mjs';
|
|
4
4
|
|
|
5
5
|
const WHEEL_ZOOM_RATE = 0.0015;
|
|
6
6
|
const distance = (a, b) => Math.hypot(a.x - b.x, a.y - b.y);
|
|
@@ -287,4 +287,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
287
287
|
}], propDecorators: { file: [{ type: i0.Input, args: [{ isSignal: true, alias: "file", required: true }] }], ratio: [{ type: i0.Input, args: [{ isSignal: true, alias: "ratio", required: true }] }], width: [{ type: i0.Input, args: [{ isSignal: true, alias: "width", required: true }] }], stage: [{ type: i0.ViewChild, args: ['stage', { isSignal: true }] }] } });
|
|
288
288
|
|
|
289
289
|
export { ImageEditorComponent };
|
|
290
|
-
//# sourceMappingURL=magmonium-one-image-editor-
|
|
290
|
+
//# sourceMappingURL=magmonium-one-image-editor-DCAD4tWK.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"magmonium-one-image-editor-w_mIbhJH.mjs","sources":["../../../../libs/one/src/lib/shared/ui/input/ui/file-upload-input/image-editor.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n DestroyRef,\n effect,\n ElementRef,\n inject,\n input,\n signal,\n viewChild,\n} from '@angular/core';\nimport { ButtonComponent } from '../../../button/ui/button';\nimport { HeaderComponent } from '../../../header';\nimport { RangeInputComponent } from '../range/range';\nimport { InputType, RangeInput } from '../../model/input';\nimport { MODAL_REF, ModalRef } from '../../../../config/modal-ref';\nimport {\n clampFraming,\n cropRect,\n drawFramed,\n encodeFramed,\n Framing,\n FrameSize,\n initialFraming,\n MAX_ZOOM,\n MIN_ZOOM,\n outputSize,\n parseRatio,\n renameForType,\n} from './image-frame';\n\n/**\n * What an ImageEditor closes with. The framed file on an apply, `unreadable`\n * when the picture never decoded, and neither for a dismissal — a flat object\n * rather than a union, so the web-component build (no `strict`) reads it too.\n */\nexport type ImageEditorResult = { file?: File; unreadable?: boolean };\n\ntype Point = { x: number; y: number };\n\nconst WHEEL_ZOOM_RATE = 0.0015;\n\nconst distance = (a: Point, b: Point): number =>\n Math.hypot(a.x - b.x, a.y - b.y);\n\n@Component({\n selector: 'm-image-editor',\n template: `\n <div class=\"image-editor\">\n <m-header\n [level]=\"3\"\n label=\"edit-image-size\"\n [params]=\"sizeParams()\"\n />\n <div\n #stage\n class=\"image-editor__stage\"\n [style.aspect-ratio]=\"aspect()\"\n [style.--m-image-editor-aspect]=\"aspect()\"\n [class.image-editor__stage--panning]=\"isPanning()\"\n (pointerdown)=\"onPointerDown($event)\"\n (pointermove)=\"onPointerMove($event)\"\n (pointerup)=\"onPointerUp($event)\"\n (pointercancel)=\"onPointerUp($event)\"\n (wheel)=\"onWheel($event)\"\n >\n @if (sourceUrl(); as url) {\n <img\n class=\"image-editor__image\"\n [src]=\"url\"\n alt=\"\"\n draggable=\"false\"\n [style.width.px]=\"imageBox().width\"\n [style.height.px]=\"imageBox().height\"\n [style.transform]=\"imageBox().transform\"\n />\n }\n </div>\n <m-range\n [config]=\"zoomConfig()\"\n [value]=\"zoomPercent()\"\n (valueChange)=\"onZoom($event)\"\n />\n <!-- asset: buttons/okay.yml. No cancel beside it: the Modal's own close\n is the cancel, and it drops the image the same way. -->\n <m-one-button\n name=\"okay\"\n label=\"apply\"\n [disabled]=\"!source() || isApplying()\"\n (clicked)=\"apply()\"\n />\n </div>\n `,\n imports: [ButtonComponent, HeaderComponent, RangeInputComponent],\n styleUrl: './image-editor.sass',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ImageEditorComponent {\n readonly file = input.required<File>();\n readonly ratio = input.required<string>();\n readonly width = input.required<number>();\n\n readonly #modalRef = inject<ModalRef<ImageEditorResult | undefined>>(MODAL_REF);\n private readonly stage = viewChild<ElementRef<HTMLDivElement>>('stage');\n\n protected readonly source = signal<ImageBitmap | undefined>(undefined);\n protected readonly sourceUrl = signal<string | undefined>(undefined);\n protected readonly isApplying = signal(false);\n private readonly framing = signal<Framing>({ cx: 0, cy: 0, zoom: MIN_ZOOM });\n private readonly stageWidth = signal(0);\n private readonly pointers = new Map<number, Point>();\n protected readonly isPanning = signal(false);\n #settled = false;\n\n protected readonly zoomConfig = computed<RangeInput>(() => ({\n name: 'zoom',\n label: 'zoom',\n type: InputType.RANGE,\n min: MIN_ZOOM * 100,\n max: MAX_ZOOM * 100,\n }));\n\n protected readonly aspect = computed(() => parseRatio(this.ratio()) ?? 1);\n\n private readonly output = computed<FrameSize | undefined>(() =>\n outputSize(this.ratio(), this.width())\n );\n\n protected readonly sizeParams = computed(() => {\n const size = this.output();\n return {\n width: String(size?.width ?? ''),\n height: String(size?.height ?? ''),\n };\n });\n\n private readonly imageSize = computed<FrameSize | undefined>(() => {\n const bitmap = this.source();\n return bitmap ? { width: bitmap.width, height: bitmap.height } : undefined;\n });\n\n protected readonly zoomPercent = computed(() =>\n String(Math.round(this.framing().zoom * 100))\n );\n\n /** The whole picture laid out so the box shows exactly the crop. */\n protected readonly imageBox = computed(() => {\n const image = this.imageSize();\n const stage = this.stageWidth();\n if (!image || !stage) return { width: 0, height: 0, transform: 'none' };\n const rect = cropRect(image, this.aspect(), this.framing());\n const scale = stage / rect.width;\n return {\n width: image.width * scale,\n height: image.height * scale,\n transform: `translate(${-rect.x * scale}px, ${-rect.y * scale}px)`,\n };\n });\n\n private readonly load = effect((onCleanup) => {\n const file = this.file();\n let cancelled = false;\n const url = URL.createObjectURL(file);\n this.sourceUrl.set(url);\n // EXIF orientation applied here, so the geometry below and the <img> the\n // stage draws agree on which way is up.\n createImageBitmap(file, { imageOrientation: 'from-image' })\n .then((bitmap) => {\n if (cancelled) {\n bitmap.close();\n return;\n }\n this.framing.set(\n initialFraming({ width: bitmap.width, height: bitmap.height })\n );\n this.source.set(bitmap);\n })\n .catch(() => {\n if (!cancelled) this.settle({ unreadable: true });\n });\n onCleanup(() => {\n cancelled = true;\n URL.revokeObjectURL(url);\n this.source()?.close();\n });\n });\n\n private readonly measure = effect((onCleanup) => {\n const stage = this.stage()?.nativeElement;\n if (!stage) return;\n this.stageWidth.set(stage.clientWidth);\n if (typeof ResizeObserver === 'undefined') return;\n const observer = new ResizeObserver(([entry]) =>\n this.stageWidth.set(entry.contentRect.width)\n );\n observer.observe(stage);\n onCleanup(() => observer.disconnect());\n });\n\n // The Modal's own close affordance destroys the body without a word, and a\n // dismissal is a cancel: whoever opened the editor is still waiting.\n private readonly reportDismissal = inject(DestroyRef).onDestroy(() =>\n this.settle(undefined)\n );\n\n protected onPointerDown = (event: PointerEvent): void => {\n if (!this.source()) return;\n (event.currentTarget as HTMLElement).setPointerCapture?.(event.pointerId);\n this.pointers.set(event.pointerId, { x: event.clientX, y: event.clientY });\n this.isPanning.set(true);\n };\n\n protected onPointerMove = (event: PointerEvent): void => {\n const previous = this.pointers.get(event.pointerId);\n if (!previous) return;\n const next = { x: event.clientX, y: event.clientY };\n const others = [...this.pointers.entries()].filter(\n ([id]) => id !== event.pointerId\n );\n if (others.length === 1) {\n // Pinch: the gap between two fingers is the zoom.\n const anchor = others[0][1];\n const before = distance(previous, anchor);\n if (before > 0) this.zoomBy(distance(next, anchor) / before);\n } else if (others.length === 0) {\n this.panBy(next.x - previous.x, next.y - previous.y);\n }\n this.pointers.set(event.pointerId, next);\n };\n\n protected onPointerUp = (event: PointerEvent): void => {\n this.pointers.delete(event.pointerId);\n this.isPanning.set(this.pointers.size > 0);\n };\n\n protected onWheel = (event: WheelEvent): void => {\n if (!this.source()) return;\n event.preventDefault();\n this.zoomBy(Math.exp(-event.deltaY * WHEEL_ZOOM_RATE));\n };\n\n protected onZoom = (percent: string): void => {\n const zoom = Number(percent) / 100;\n if (!Number.isFinite(zoom)) return;\n this.updateFraming((framing) => ({ ...framing, zoom }));\n };\n\n protected apply = async (): Promise<void> => {\n const bitmap = this.source();\n const image = this.imageSize();\n const output = this.output();\n if (!bitmap || !image || !output || this.isApplying()) return;\n this.isApplying.set(true);\n try {\n const rect = cropRect(image, this.aspect(), this.framing());\n const blob = await encodeFramed(drawFramed(bitmap, rect, output));\n const original = this.file();\n this.settle({\n file: new File([blob], renameForType(original.name, blob.type), {\n type: blob.type,\n lastModified: Date.now(),\n }),\n });\n } catch {\n this.settle({ unreadable: true });\n }\n };\n\n /** Screen pixels dragged, moved into source pixels at the current scale. */\n private panBy = (dx: number, dy: number): void => {\n const image = this.imageSize();\n const stage = this.stageWidth();\n if (!image || !stage) return;\n const rect = cropRect(image, this.aspect(), this.framing());\n const perPixel = rect.width / stage;\n this.updateFraming((framing) => ({\n ...framing,\n cx: framing.cx - dx * perPixel,\n cy: framing.cy - dy * perPixel,\n }));\n };\n\n private zoomBy = (factor: number): void => {\n this.updateFraming((framing) => ({\n ...framing,\n zoom: framing.zoom * factor,\n }));\n };\n\n private updateFraming = (change: (framing: Framing) => Framing): void => {\n const image = this.imageSize();\n if (!image) return;\n this.framing.update((framing) =>\n clampFraming(image, this.aspect(), change(framing))\n );\n };\n\n private settle = (result: ImageEditorResult | undefined): void => {\n if (this.#settled) return;\n this.#settled = true;\n this.#modalRef.close(result);\n };\n}\n"],"names":[],"mappings":";;;;AAyCA,MAAM,eAAe,GAAG,MAAM;AAE9B,MAAM,QAAQ,GAAG,CAAC,CAAQ,EAAE,CAAQ,KAClC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAA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AgB,EAAA,QAAA,EAChB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CT,EAAA,OAAA,EACQ,CAAC,eAAe,EAAE,eAAe,EAAE,mBAAmB,CAAC,EAAA,eAAA,EAE/C,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,0wBAAA,CAAA,EAAA;4UAQgB,OAAO,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;;;"}
|
|
1
|
+
{"version":3,"file":"magmonium-one-image-editor-DCAD4tWK.mjs","sources":["../../../../libs/one/src/lib/shared/ui/input/ui/file-upload-input/image-editor.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n DestroyRef,\n effect,\n ElementRef,\n inject,\n input,\n signal,\n viewChild,\n} from '@angular/core';\nimport { ButtonComponent } from '../../../button/ui/button';\nimport { HeaderComponent } from '../../../header';\nimport { RangeInputComponent } from '../range/range';\nimport { InputType, RangeInput } from '../../model/input';\nimport { MODAL_REF, ModalRef } from '../../../../config/modal-ref';\nimport {\n clampFraming,\n cropRect,\n drawFramed,\n encodeFramed,\n Framing,\n FrameSize,\n initialFraming,\n MAX_ZOOM,\n MIN_ZOOM,\n outputSize,\n parseRatio,\n renameForType,\n} from './image-frame';\n\n/**\n * What an ImageEditor closes with. The framed file on an apply, `unreadable`\n * when the picture never decoded, and neither for a dismissal — a flat object\n * rather than a union, so the web-component build (no `strict`) reads it too.\n */\nexport type ImageEditorResult = { file?: File; unreadable?: boolean };\n\ntype Point = { x: number; y: number };\n\nconst WHEEL_ZOOM_RATE = 0.0015;\n\nconst distance = (a: Point, b: Point): number =>\n Math.hypot(a.x - b.x, a.y - b.y);\n\n@Component({\n selector: 'm-image-editor',\n template: `\n <div class=\"image-editor\">\n <m-header\n [level]=\"3\"\n label=\"edit-image-size\"\n [params]=\"sizeParams()\"\n />\n <div\n #stage\n class=\"image-editor__stage\"\n [style.aspect-ratio]=\"aspect()\"\n [style.--m-image-editor-aspect]=\"aspect()\"\n [class.image-editor__stage--panning]=\"isPanning()\"\n (pointerdown)=\"onPointerDown($event)\"\n (pointermove)=\"onPointerMove($event)\"\n (pointerup)=\"onPointerUp($event)\"\n (pointercancel)=\"onPointerUp($event)\"\n (wheel)=\"onWheel($event)\"\n >\n @if (sourceUrl(); as url) {\n <img\n class=\"image-editor__image\"\n [src]=\"url\"\n alt=\"\"\n draggable=\"false\"\n [style.width.px]=\"imageBox().width\"\n [style.height.px]=\"imageBox().height\"\n [style.transform]=\"imageBox().transform\"\n />\n }\n </div>\n <m-range\n [config]=\"zoomConfig()\"\n [value]=\"zoomPercent()\"\n (valueChange)=\"onZoom($event)\"\n />\n <!-- asset: buttons/okay.yml. No cancel beside it: the Modal's own close\n is the cancel, and it drops the image the same way. -->\n <m-one-button\n name=\"okay\"\n label=\"apply\"\n [disabled]=\"!source() || isApplying()\"\n (clicked)=\"apply()\"\n />\n </div>\n `,\n imports: [ButtonComponent, HeaderComponent, RangeInputComponent],\n styleUrl: './image-editor.sass',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ImageEditorComponent {\n readonly file = input.required<File>();\n readonly ratio = input.required<string>();\n readonly width = input.required<number>();\n\n readonly #modalRef = inject<ModalRef<ImageEditorResult | undefined>>(MODAL_REF);\n private readonly stage = viewChild<ElementRef<HTMLDivElement>>('stage');\n\n protected readonly source = signal<ImageBitmap | undefined>(undefined);\n protected readonly sourceUrl = signal<string | undefined>(undefined);\n protected readonly isApplying = signal(false);\n private readonly framing = signal<Framing>({ cx: 0, cy: 0, zoom: MIN_ZOOM });\n private readonly stageWidth = signal(0);\n private readonly pointers = new Map<number, Point>();\n protected readonly isPanning = signal(false);\n #settled = false;\n\n protected readonly zoomConfig = computed<RangeInput>(() => ({\n name: 'zoom',\n label: 'zoom',\n type: InputType.RANGE,\n min: MIN_ZOOM * 100,\n max: MAX_ZOOM * 100,\n }));\n\n protected readonly aspect = computed(() => parseRatio(this.ratio()) ?? 1);\n\n private readonly output = computed<FrameSize | undefined>(() =>\n outputSize(this.ratio(), this.width())\n );\n\n protected readonly sizeParams = computed(() => {\n const size = this.output();\n return {\n width: String(size?.width ?? ''),\n height: String(size?.height ?? ''),\n };\n });\n\n private readonly imageSize = computed<FrameSize | undefined>(() => {\n const bitmap = this.source();\n return bitmap ? { width: bitmap.width, height: bitmap.height } : undefined;\n });\n\n protected readonly zoomPercent = computed(() =>\n String(Math.round(this.framing().zoom * 100))\n );\n\n /** The whole picture laid out so the box shows exactly the crop. */\n protected readonly imageBox = computed(() => {\n const image = this.imageSize();\n const stage = this.stageWidth();\n if (!image || !stage) return { width: 0, height: 0, transform: 'none' };\n const rect = cropRect(image, this.aspect(), this.framing());\n const scale = stage / rect.width;\n return {\n width: image.width * scale,\n height: image.height * scale,\n transform: `translate(${-rect.x * scale}px, ${-rect.y * scale}px)`,\n };\n });\n\n private readonly load = effect((onCleanup) => {\n const file = this.file();\n let cancelled = false;\n const url = URL.createObjectURL(file);\n this.sourceUrl.set(url);\n // EXIF orientation applied here, so the geometry below and the <img> the\n // stage draws agree on which way is up.\n createImageBitmap(file, { imageOrientation: 'from-image' })\n .then((bitmap) => {\n if (cancelled) {\n bitmap.close();\n return;\n }\n this.framing.set(\n initialFraming({ width: bitmap.width, height: bitmap.height })\n );\n this.source.set(bitmap);\n })\n .catch(() => {\n if (!cancelled) this.settle({ unreadable: true });\n });\n onCleanup(() => {\n cancelled = true;\n URL.revokeObjectURL(url);\n this.source()?.close();\n });\n });\n\n private readonly measure = effect((onCleanup) => {\n const stage = this.stage()?.nativeElement;\n if (!stage) return;\n this.stageWidth.set(stage.clientWidth);\n if (typeof ResizeObserver === 'undefined') return;\n const observer = new ResizeObserver(([entry]) =>\n this.stageWidth.set(entry.contentRect.width)\n );\n observer.observe(stage);\n onCleanup(() => observer.disconnect());\n });\n\n // The Modal's own close affordance destroys the body without a word, and a\n // dismissal is a cancel: whoever opened the editor is still waiting.\n private readonly reportDismissal = inject(DestroyRef).onDestroy(() =>\n this.settle(undefined)\n );\n\n protected onPointerDown = (event: PointerEvent): void => {\n if (!this.source()) return;\n (event.currentTarget as HTMLElement).setPointerCapture?.(event.pointerId);\n this.pointers.set(event.pointerId, { x: event.clientX, y: event.clientY });\n this.isPanning.set(true);\n };\n\n protected onPointerMove = (event: PointerEvent): void => {\n const previous = this.pointers.get(event.pointerId);\n if (!previous) return;\n const next = { x: event.clientX, y: event.clientY };\n const others = [...this.pointers.entries()].filter(\n ([id]) => id !== event.pointerId\n );\n if (others.length === 1) {\n // Pinch: the gap between two fingers is the zoom.\n const anchor = others[0][1];\n const before = distance(previous, anchor);\n if (before > 0) this.zoomBy(distance(next, anchor) / before);\n } else if (others.length === 0) {\n this.panBy(next.x - previous.x, next.y - previous.y);\n }\n this.pointers.set(event.pointerId, next);\n };\n\n protected onPointerUp = (event: PointerEvent): void => {\n this.pointers.delete(event.pointerId);\n this.isPanning.set(this.pointers.size > 0);\n };\n\n protected onWheel = (event: WheelEvent): void => {\n if (!this.source()) return;\n event.preventDefault();\n this.zoomBy(Math.exp(-event.deltaY * WHEEL_ZOOM_RATE));\n };\n\n protected onZoom = (percent: string): void => {\n const zoom = Number(percent) / 100;\n if (!Number.isFinite(zoom)) return;\n this.updateFraming((framing) => ({ ...framing, zoom }));\n };\n\n protected apply = async (): Promise<void> => {\n const bitmap = this.source();\n const image = this.imageSize();\n const output = this.output();\n if (!bitmap || !image || !output || this.isApplying()) return;\n this.isApplying.set(true);\n try {\n const rect = cropRect(image, this.aspect(), this.framing());\n const blob = await encodeFramed(drawFramed(bitmap, rect, output));\n const original = this.file();\n this.settle({\n file: new File([blob], renameForType(original.name, blob.type), {\n type: blob.type,\n lastModified: Date.now(),\n }),\n });\n } catch {\n this.settle({ unreadable: true });\n }\n };\n\n /** Screen pixels dragged, moved into source pixels at the current scale. */\n private panBy = (dx: number, dy: number): void => {\n const image = this.imageSize();\n const stage = this.stageWidth();\n if (!image || !stage) return;\n const rect = cropRect(image, this.aspect(), this.framing());\n const perPixel = rect.width / stage;\n this.updateFraming((framing) => ({\n ...framing,\n cx: framing.cx - dx * perPixel,\n cy: framing.cy - dy * perPixel,\n }));\n };\n\n private zoomBy = (factor: number): void => {\n this.updateFraming((framing) => ({\n ...framing,\n zoom: framing.zoom * factor,\n }));\n };\n\n private updateFraming = (change: (framing: Framing) => Framing): void => {\n const image = this.imageSize();\n if (!image) return;\n this.framing.update((framing) =>\n clampFraming(image, this.aspect(), change(framing))\n );\n };\n\n private settle = (result: ImageEditorResult | undefined): void => {\n if (this.#settled) return;\n this.#settled = true;\n this.#modalRef.close(result);\n };\n}\n"],"names":[],"mappings":";;;;AAyCA,MAAM,eAAe,GAAG,MAAM;AAE9B,MAAM,QAAQ,GAAG,CAAC,CAAQ,EAAE,CAAQ,KAClC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;MAsDrB,oBAAoB,CAAA;AACtB,IAAA,IAAI,GAAG,KAAK,CAAC,QAAQ,0EAAQ;AAC7B,IAAA,KAAK,GAAG,KAAK,CAAC,QAAQ,2EAAU;AAChC,IAAA,KAAK,GAAG,KAAK,CAAC,QAAQ,2EAAU;AAEhC,IAAA,SAAS,GAAG,MAAM,CAA0C,SAAS,CAAC;AAC9D,IAAA,KAAK,GAAG,SAAS,CAA6B,OAAO,4EAAC;AAEpD,IAAA,MAAM,GAAG,MAAM,CAA0B,SAAS,6EAAC;AACnD,IAAA,SAAS,GAAG,MAAM,CAAqB,SAAS,gFAAC;AACjD,IAAA,UAAU,GAAG,MAAM,CAAC,KAAK,iFAAC;AAC5B,IAAA,OAAO,GAAG,MAAM,CAAU,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,8EAAC;AAC3D,IAAA,UAAU,GAAG,MAAM,CAAC,CAA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EAAA,SAAA,EAAA,QAAA,EAAA,cAAA,EAAA,UAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,OAAA,EAAA,CAAA,cAAA,EAAA,SAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,eAAe,EAAA,QAAA,EAAA,UAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,OAAA,EAAA,MAAA,EAAA,cAAA,EAAA,aAAA,EAAA,aAAA,EAAA,QAAA,CAAA,EAAA,OAAA,EAAA,CAAA,aAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,mBAAmB,EAAA,QAAA,EAAA,SAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAIpD,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBApDhC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,gBAAgB,EAAA,QAAA,EAChB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CT,EAAA,OAAA,EACQ,CAAC,eAAe,EAAE,eAAe,EAAE,mBAAmB,CAAC,EAAA,eAAA,EAE/C,uBAAuB,CAAC,MAAM,EAAA,MAAA,EAAA,CAAA,0wBAAA,CAAA,EAAA;4UAQgB,OAAO,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;;;"}
|
|
@@ -8992,7 +8992,7 @@ class SectionFormItemComponent extends ConfigComponent {
|
|
|
8992
8992
|
break;
|
|
8993
8993
|
}
|
|
8994
8994
|
case InputType.TOGGLE: {
|
|
8995
|
-
const { ToggleInputComponent } = await import('./magmonium-one-toggle-
|
|
8995
|
+
const { ToggleInputComponent } = await import('./magmonium-one-toggle-1k09GsDW.mjs');
|
|
8996
8996
|
this.createDynamicComponent(seq, ToggleInputComponent, [], true);
|
|
8997
8997
|
break;
|
|
8998
8998
|
}
|
|
@@ -9004,12 +9004,12 @@ class SectionFormItemComponent extends ConfigComponent {
|
|
|
9004
9004
|
break;
|
|
9005
9005
|
}
|
|
9006
9006
|
case InputType.PASSWORD: {
|
|
9007
|
-
const { PasswordInputComponent } = await import('./magmonium-one-password-
|
|
9007
|
+
const { PasswordInputComponent } = await import('./magmonium-one-password-CXe4bA8Z.mjs');
|
|
9008
9008
|
this.createDynamicComponent(seq, PasswordInputComponent);
|
|
9009
9009
|
break;
|
|
9010
9010
|
}
|
|
9011
9011
|
case InputType.OTP: {
|
|
9012
|
-
const { OtpInputComponent } = await import('./magmonium-one-otp-
|
|
9012
|
+
const { OtpInputComponent } = await import('./magmonium-one-otp-Ce1vezye.mjs');
|
|
9013
9013
|
this.createDynamicComponent(seq, OtpInputComponent);
|
|
9014
9014
|
break;
|
|
9015
9015
|
}
|
|
@@ -9899,7 +9899,7 @@ class SectionFormComponent extends ConfigComponent {
|
|
|
9899
9899
|
this.rebuild();
|
|
9900
9900
|
};
|
|
9901
9901
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: SectionFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9902
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.9", type: SectionFormComponent, isStandalone: true, selector: "m-section-form, m-one-section-form", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, maxWidth: { classPropertyName: "maxWidth", publicName: "maxWidth", isSignal: true, isRequired: false, transformFunction: null }, heightMode: { classPropertyName: "heightMode", publicName: "heightMode", isSignal: true, isRequired: false, transformFunction: null }, maxHeight: { classPropertyName: "maxHeight", publicName: "maxHeight", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, align: { classPropertyName: "align", publicName: "align", isSignal: true, isRequired: false, transformFunction: null }, padding: { classPropertyName: "padding", publicName: "padding", isSignal: true, isRequired: false, transformFunction: null }, paddingX: { classPropertyName: "paddingX", publicName: "paddingX", isSignal: true, isRequired: false, transformFunction: null }, paddingY: { classPropertyName: "paddingY", publicName: "paddingY", isSignal: true, isRequired: false, transformFunction: null }, margin: { classPropertyName: "margin", publicName: "margin", isSignal: true, isRequired: false, transformFunction: null }, marginX: { classPropertyName: "marginX", publicName: "marginX", isSignal: true, isRequired: false, transformFunction: null }, marginY: { classPropertyName: "marginY", publicName: "marginY", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, autofocus: { classPropertyName: "autofocus", publicName: "autofocus", isSignal: true, isRequired: false, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, validation: { classPropertyName: "validation", publicName: "validation", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, fieldConfigs: { classPropertyName: "fieldConfigs", publicName: "fieldConfigs", isSignal: true, isRequired: false, transformFunction: null }, fieldRenderIds: { classPropertyName: "fieldRenderIds", publicName: "fieldRenderIds", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { dataChange: "dataChange", submitted: "submitted", formInitialized: "formInitialized" }, host: { properties: { "class.is-full-height": "isFullHeight()", "class.has-max-height": "!!cssMaxHeight()", "class.no-border": "resolvedVariant() === \"noBorder\"", "class.is-with-border": "resolvedVariant() === \"withBorder\"", "class.is-sandwich-border": "resolvedVariant() === \"sandwichBorder\"", "class.align-left": "resolvedAlign() === \"left\"", "class.align-right": "resolvedAlign() === \"right\"", "class.align-center": "resolvedAlign() === \"center\"", "style.font-size": "sizeLength()", "style.--input-size": "sizeLength()", "style.--m-section-align": "resolvedAlign()", "style.--m-section-max-width": "resolvedMaxWidth()", "style.--m-section-max-height": "cssMaxHeight()", "style.min-height": "resolvedMinHeight()", "style.min-width": "resolvedMinWidth()", "style.max-height": "resolvedMaxHeight()", "style.max-width": "resolvedMaxWidth()", "style.padding-inline": "resolvedPaddingInline()", "style.padding-block": "resolvedPaddingBlock()", "style.--m-section-form-margin-inline": "resolvedMarginInline()", "style.margin-block": "resolvedMarginBlock()" }, classAttribute: "m-section-form" }, providers: [
|
|
9902
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.9", type: SectionFormComponent, isStandalone: true, selector: "m-section-form, m-one-section-form", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, maxWidth: { classPropertyName: "maxWidth", publicName: "maxWidth", isSignal: true, isRequired: false, transformFunction: null }, heightMode: { classPropertyName: "heightMode", publicName: "heightMode", isSignal: true, isRequired: false, transformFunction: null }, maxHeight: { classPropertyName: "maxHeight", publicName: "maxHeight", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, align: { classPropertyName: "align", publicName: "align", isSignal: true, isRequired: false, transformFunction: null }, padding: { classPropertyName: "padding", publicName: "padding", isSignal: true, isRequired: false, transformFunction: null }, paddingX: { classPropertyName: "paddingX", publicName: "paddingX", isSignal: true, isRequired: false, transformFunction: null }, paddingY: { classPropertyName: "paddingY", publicName: "paddingY", isSignal: true, isRequired: false, transformFunction: null }, margin: { classPropertyName: "margin", publicName: "margin", isSignal: true, isRequired: false, transformFunction: null }, marginX: { classPropertyName: "marginX", publicName: "marginX", isSignal: true, isRequired: false, transformFunction: null }, marginY: { classPropertyName: "marginY", publicName: "marginY", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, autofocus: { classPropertyName: "autofocus", publicName: "autofocus", isSignal: true, isRequired: false, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, validation: { classPropertyName: "validation", publicName: "validation", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, fieldConfigs: { classPropertyName: "fieldConfigs", publicName: "fieldConfigs", isSignal: true, isRequired: false, transformFunction: null }, fieldRenderIds: { classPropertyName: "fieldRenderIds", publicName: "fieldRenderIds", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { dataChange: "dataChange", submitted: "submitted", formInitialized: "formInitialized" }, host: { properties: { "class.is-full-height": "isFullHeight()", "class.has-max-height": "!!cssMaxHeight()", "class.no-border": "resolvedVariant() === \"noBorder\"", "class.is-with-border": "resolvedVariant() === \"withBorder\"", "class.is-sandwich-border": "resolvedVariant() === \"sandwichBorder\"", "class.is-side-border": "resolvedVariant() === \"sideBorder\"", "class.is-left-border": "resolvedVariant() === \"leftBorder\"", "class.is-right-border": "resolvedVariant() === \"rightBorder\"", "class.align-left": "resolvedAlign() === \"left\"", "class.align-right": "resolvedAlign() === \"right\"", "class.align-center": "resolvedAlign() === \"center\"", "style.font-size": "sizeLength()", "style.--input-size": "sizeLength()", "style.--m-section-align": "resolvedAlign()", "style.--m-section-max-width": "resolvedMaxWidth()", "style.--m-section-max-height": "cssMaxHeight()", "style.min-height": "resolvedMinHeight()", "style.min-width": "resolvedMinWidth()", "style.max-height": "resolvedMaxHeight()", "style.max-width": "resolvedMaxWidth()", "style.padding-inline": "resolvedPaddingInline()", "style.padding-block": "resolvedPaddingBlock()", "style.--m-section-form-margin-inline": "resolvedMarginInline()", "style.margin-block": "resolvedMarginBlock()" }, classAttribute: "m-section-form" }, providers: [
|
|
9903
9903
|
// Full width, so an `mMargin` narrows it the way its own margin does
|
|
9904
9904
|
// rather than pushing it past its container (SPACING_INWARD).
|
|
9905
9905
|
{ provide: SPACING_INWARD, useValue: { margin: true } },
|
|
@@ -9925,7 +9925,7 @@ class SectionFormComponent extends ConfigComponent {
|
|
|
9925
9925
|
<form class="section-form" novalidate (submit)="handleSubmit($event)">
|
|
9926
9926
|
<ng-content />
|
|
9927
9927
|
</form>
|
|
9928
|
-
`, isInline: true, styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}:host{display:block;width:calc(100% - 2 * var(--m-section-form-margin-inline, var(--m-margin-inline, 0px)));margin-inline:var(--m-section-form-margin-inline, var(--m-margin-inline, 0px));box-sizing:border-box;min-height:5em;container-type:inline-size;container-name:mag-grid;--_section-px: 1rem;--_section-pt: 1.5rem;--_section-pb: 0rem}:host(.has-max-height){height:var(--m-section-max-height);overflow:auto}:host(.is-with-border){border:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-sandwich-border){border-block:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}.section-form{margin:0;display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--m-form-group-content-gap, 1.5rem 1.25rem);width:100%}.section-form>*{flex:1 1 100%;min-width:0}.section-form>.col-1{flex:1 1 calc(1 * (100% + 1.25rem) / 12 - 1.25rem)}.section-form>.col-2{flex:2 1 calc(2 * (100% + 1.25rem) / 12 - 1.25rem)}.section-form>.col-3{flex:3 1 calc(.25*(100% + 1.25rem) - 1.25rem)}.section-form>.col-4{flex:4 1 calc(4 * (100% + 1.25rem) / 12 - 1.25rem)}.section-form>.col-5{flex:5 1 calc(5 * (100% + 1.25rem) / 12 - 1.25rem)}.section-form>.col-6{flex:6 1 calc(.5*(100% + 1.25rem) - 1.25rem)}.section-form>.col-7{flex:7 1 calc(7 * (100% + 1.25rem) / 12 - 1.25rem)}.section-form>.col-8{flex:8 1 calc(8 * (100% + 1.25rem) / 12 - 1.25rem)}.section-form>.col-9{flex:9 1 calc(.75*(100% + 1.25rem) - 1.25rem)}.section-form>.col-10{flex:10 1 calc(10 * (100% + 1.25rem) / 12 - 1.25rem)}.section-form>.col-11{flex:11 1 calc(11 * (100% + 1.25rem) / 12 - 1.25rem)}.section-form>.col-12{flex:12 1 calc(1*(100% + 1.25rem) - 1.25rem)}@media(max-width:480px){.section-form>*{flex-basis:100%}}:host(.align-left) .section-form{margin-inline-start:0;margin-inline-end:auto;justify-content:flex-start}:host(.align-right) .section-form{margin-inline-start:auto;margin-inline-end:0;justify-content:flex-end}:host(.align-center) .section-form{margin-inline:auto;justify-content:center}:host(.is-full-height){height:100vh;min-height:100vh;overflow:auto}:host(.is-full-height) .section-form{flex:1;height:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
9928
|
+
`, isInline: true, styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}:host{display:block;width:calc(100% - 2 * var(--m-section-form-margin-inline, var(--m-margin-inline, 0px)));margin-inline:var(--m-section-form-margin-inline, var(--m-margin-inline, 0px));box-sizing:border-box;min-height:5em;container-type:inline-size;container-name:mag-grid;--_section-px: 1rem;--_section-pt: 1.5rem;--_section-pb: 0rem}:host(.has-max-height){height:var(--m-section-max-height);overflow:auto}:host(.is-with-border){border:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-sandwich-border){border-block:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-side-border){border-inline:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-left-border){border-inline-start:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-right-border){border-inline-end:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}.section-form{margin:0;display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--m-form-group-content-gap, 1.5rem 1.25rem);width:100%}.section-form>*{flex:1 1 100%;min-width:0}.section-form>.col-1{flex:1 1 calc(1 * (100% + 1.25rem) / 12 - 1.25rem)}.section-form>.col-2{flex:2 1 calc(2 * (100% + 1.25rem) / 12 - 1.25rem)}.section-form>.col-3{flex:3 1 calc(.25*(100% + 1.25rem) - 1.25rem)}.section-form>.col-4{flex:4 1 calc(4 * (100% + 1.25rem) / 12 - 1.25rem)}.section-form>.col-5{flex:5 1 calc(5 * (100% + 1.25rem) / 12 - 1.25rem)}.section-form>.col-6{flex:6 1 calc(.5*(100% + 1.25rem) - 1.25rem)}.section-form>.col-7{flex:7 1 calc(7 * (100% + 1.25rem) / 12 - 1.25rem)}.section-form>.col-8{flex:8 1 calc(8 * (100% + 1.25rem) / 12 - 1.25rem)}.section-form>.col-9{flex:9 1 calc(.75*(100% + 1.25rem) - 1.25rem)}.section-form>.col-10{flex:10 1 calc(10 * (100% + 1.25rem) / 12 - 1.25rem)}.section-form>.col-11{flex:11 1 calc(11 * (100% + 1.25rem) / 12 - 1.25rem)}.section-form>.col-12{flex:12 1 calc(1*(100% + 1.25rem) - 1.25rem)}@media(max-width:480px){.section-form>*{flex-basis:100%}}:host(.align-left) .section-form{margin-inline-start:0;margin-inline-end:auto;justify-content:flex-start}:host(.align-right) .section-form{margin-inline-start:auto;margin-inline-end:0;justify-content:flex-end}:host(.align-center) .section-form{margin-inline:auto;justify-content:center}:host(.is-full-height){height:100vh;min-height:100vh;overflow:auto}:host(.is-full-height) .section-form{flex:1;height:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
9929
9929
|
}
|
|
9930
9930
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: SectionFormComponent, decorators: [{
|
|
9931
9931
|
type: Component,
|
|
@@ -9940,6 +9940,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
9940
9940
|
'[class.no-border]': 'resolvedVariant() === "noBorder"',
|
|
9941
9941
|
'[class.is-with-border]': 'resolvedVariant() === "withBorder"',
|
|
9942
9942
|
'[class.is-sandwich-border]': 'resolvedVariant() === "sandwichBorder"',
|
|
9943
|
+
'[class.is-side-border]': 'resolvedVariant() === "sideBorder"',
|
|
9944
|
+
'[class.is-left-border]': 'resolvedVariant() === "leftBorder"',
|
|
9945
|
+
'[class.is-right-border]': 'resolvedVariant() === "rightBorder"',
|
|
9943
9946
|
'[class.align-left]': 'resolvedAlign() === "left"',
|
|
9944
9947
|
'[class.align-right]': 'resolvedAlign() === "right"',
|
|
9945
9948
|
'[class.align-center]': 'resolvedAlign() === "center"',
|
|
@@ -9981,7 +9984,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
9981
9984
|
};
|
|
9982
9985
|
},
|
|
9983
9986
|
},
|
|
9984
|
-
], styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}:host{display:block;width:calc(100% - 2 * var(--m-section-form-margin-inline, var(--m-margin-inline, 0px)));margin-inline:var(--m-section-form-margin-inline, var(--m-margin-inline, 0px));box-sizing:border-box;min-height:5em;container-type:inline-size;container-name:mag-grid;--_section-px: 1rem;--_section-pt: 1.5rem;--_section-pb: 0rem}:host(.has-max-height){height:var(--m-section-max-height);overflow:auto}:host(.is-with-border){border:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-sandwich-border){border-block:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}.section-form{margin:0;display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--m-form-group-content-gap, 1.5rem 1.25rem);width:100%}.section-form>*{flex:1 1 100%;min-width:0}.section-form>.col-1{flex:1 1 calc(1 * (100% + 1.25rem) / 12 - 1.25rem)}.section-form>.col-2{flex:2 1 calc(2 * (100% + 1.25rem) / 12 - 1.25rem)}.section-form>.col-3{flex:3 1 calc(.25*(100% + 1.25rem) - 1.25rem)}.section-form>.col-4{flex:4 1 calc(4 * (100% + 1.25rem) / 12 - 1.25rem)}.section-form>.col-5{flex:5 1 calc(5 * (100% + 1.25rem) / 12 - 1.25rem)}.section-form>.col-6{flex:6 1 calc(.5*(100% + 1.25rem) - 1.25rem)}.section-form>.col-7{flex:7 1 calc(7 * (100% + 1.25rem) / 12 - 1.25rem)}.section-form>.col-8{flex:8 1 calc(8 * (100% + 1.25rem) / 12 - 1.25rem)}.section-form>.col-9{flex:9 1 calc(.75*(100% + 1.25rem) - 1.25rem)}.section-form>.col-10{flex:10 1 calc(10 * (100% + 1.25rem) / 12 - 1.25rem)}.section-form>.col-11{flex:11 1 calc(11 * (100% + 1.25rem) / 12 - 1.25rem)}.section-form>.col-12{flex:12 1 calc(1*(100% + 1.25rem) - 1.25rem)}@media(max-width:480px){.section-form>*{flex-basis:100%}}:host(.align-left) .section-form{margin-inline-start:0;margin-inline-end:auto;justify-content:flex-start}:host(.align-right) .section-form{margin-inline-start:auto;margin-inline-end:0;justify-content:flex-end}:host(.align-center) .section-form{margin-inline:auto;justify-content:center}:host(.is-full-height){height:100vh;min-height:100vh;overflow:auto}:host(.is-full-height) .section-form{flex:1;height:100%}\n"] }]
|
|
9987
|
+
], styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}:host{display:block;width:calc(100% - 2 * var(--m-section-form-margin-inline, var(--m-margin-inline, 0px)));margin-inline:var(--m-section-form-margin-inline, var(--m-margin-inline, 0px));box-sizing:border-box;min-height:5em;container-type:inline-size;container-name:mag-grid;--_section-px: 1rem;--_section-pt: 1.5rem;--_section-pb: 0rem}:host(.has-max-height){height:var(--m-section-max-height);overflow:auto}:host(.is-with-border){border:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-sandwich-border){border-block:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-side-border){border-inline:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-left-border){border-inline-start:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-right-border){border-inline-end:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}.section-form{margin:0;display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--m-form-group-content-gap, 1.5rem 1.25rem);width:100%}.section-form>*{flex:1 1 100%;min-width:0}.section-form>.col-1{flex:1 1 calc(1 * (100% + 1.25rem) / 12 - 1.25rem)}.section-form>.col-2{flex:2 1 calc(2 * (100% + 1.25rem) / 12 - 1.25rem)}.section-form>.col-3{flex:3 1 calc(.25*(100% + 1.25rem) - 1.25rem)}.section-form>.col-4{flex:4 1 calc(4 * (100% + 1.25rem) / 12 - 1.25rem)}.section-form>.col-5{flex:5 1 calc(5 * (100% + 1.25rem) / 12 - 1.25rem)}.section-form>.col-6{flex:6 1 calc(.5*(100% + 1.25rem) - 1.25rem)}.section-form>.col-7{flex:7 1 calc(7 * (100% + 1.25rem) / 12 - 1.25rem)}.section-form>.col-8{flex:8 1 calc(8 * (100% + 1.25rem) / 12 - 1.25rem)}.section-form>.col-9{flex:9 1 calc(.75*(100% + 1.25rem) - 1.25rem)}.section-form>.col-10{flex:10 1 calc(10 * (100% + 1.25rem) / 12 - 1.25rem)}.section-form>.col-11{flex:11 1 calc(11 * (100% + 1.25rem) / 12 - 1.25rem)}.section-form>.col-12{flex:12 1 calc(1*(100% + 1.25rem) - 1.25rem)}@media(max-width:480px){.section-form>*{flex-basis:100%}}:host(.align-left) .section-form{margin-inline-start:0;margin-inline-end:auto;justify-content:flex-start}:host(.align-right) .section-form{margin-inline-start:auto;margin-inline-end:0;justify-content:flex-end}:host(.align-center) .section-form{margin-inline:auto;justify-content:center}:host(.is-full-height){height:100vh;min-height:100vh;overflow:auto}:host(.is-full-height) .section-form{flex:1;height:100%}\n"] }]
|
|
9985
9988
|
}], ctorParameters: () => [], propDecorators: { variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], maxWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxWidth", required: false }] }], heightMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "heightMode", required: false }] }], maxHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxHeight", required: false }] }], height: [{ type: i0.Input, args: [{ isSignal: true, alias: "height", required: false }] }], align: [{ type: i0.Input, args: [{ isSignal: true, alias: "align", required: false }] }], padding: [{ type: i0.Input, args: [{ isSignal: true, alias: "padding", required: false }] }], paddingX: [{ type: i0.Input, args: [{ isSignal: true, alias: "paddingX", required: false }] }], paddingY: [{ type: i0.Input, args: [{ isSignal: true, alias: "paddingY", required: false }] }], margin: [{ type: i0.Input, args: [{ isSignal: true, alias: "margin", required: false }] }], marginX: [{ type: i0.Input, args: [{ isSignal: true, alias: "marginX", required: false }] }], marginY: [{ type: i0.Input, args: [{ isSignal: true, alias: "marginY", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], autofocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "autofocus", required: false }] }], data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], dataChange: [{ type: i0.Output, args: ["dataChange"] }], submitted: [{ type: i0.Output, args: ["submitted"] }], formInitialized: [{ type: i0.Output, args: ["formInitialized"] }], validation: [{ type: i0.Input, args: [{ isSignal: true, alias: "validation", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], fieldConfigs: [{ type: i0.Input, args: [{ isSignal: true, alias: "fieldConfigs", required: false }] }], fieldRenderIds: [{ type: i0.Input, args: [{ isSignal: true, alias: "fieldRenderIds", required: false }] }] } });
|
|
9986
9989
|
|
|
9987
9990
|
// '' and null are an unset, not a length — a config asset drops a cleared
|
|
@@ -17575,7 +17578,7 @@ class SectionComponent extends ConfigComponent {
|
|
|
17575
17578
|
});
|
|
17576
17579
|
}
|
|
17577
17580
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: SectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
17578
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: SectionComponent, isStandalone: true, selector: "m-section", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, maxWidth: { classPropertyName: "maxWidth", publicName: "maxWidth", isSignal: true, isRequired: false, transformFunction: null }, heightMode: { classPropertyName: "heightMode", publicName: "heightMode", isSignal: true, isRequired: false, transformFunction: null }, maxHeight: { classPropertyName: "maxHeight", publicName: "maxHeight", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, align: { classPropertyName: "align", publicName: "align", isSignal: true, isRequired: false, transformFunction: null }, alignX: { classPropertyName: "alignX", publicName: "alignX", isSignal: true, isRequired: false, transformFunction: null }, alignY: { classPropertyName: "alignY", publicName: "alignY", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { inView: "inView" }, host: { properties: { "class.is-full-height": "isFullHeight()", "class.has-sidepanel": "resolvedSidepanel()", "class.has-max-height": "!!cssMaxHeight()", "class.no-border": "resolvedVariant() === \"noBorder\"", "class.is-with-border": "resolvedVariant() === \"withBorder\"", "class.is-sandwich-border": "resolvedVariant() === \"sandwichBorder\"", "class.align-x-left": "resolvedAlignX() === \"left\"", "class.align-x-center": "resolvedAlignX() === \"center\"", "class.align-x-right": "resolvedAlignX() === \"right\"", "class.align-y-top": "resolvedAlignY() === \"top\"", "class.align-y-center": "resolvedAlignY() === \"center\"", "class.align-y-bottom": "resolvedAlignY() === \"bottom\"", "class.align-left": "resolvedAlign() === \"left\"", "class.align-right": "resolvedAlign() === \"right\"", "class.align-center": "resolvedAlign() === \"center\"", "style.font-size": "sizeLength()", "style.--input-size": "sizeLength()", "style.--m-section-align": "resolvedAlign()", "style.--m-section-max-width": "resolvedMaxWidth()", "style.--m-section-max-height": "cssMaxHeight()" }, classAttribute: "m-section" }, providers: [
|
|
17581
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: SectionComponent, isStandalone: true, selector: "m-section", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, maxWidth: { classPropertyName: "maxWidth", publicName: "maxWidth", isSignal: true, isRequired: false, transformFunction: null }, heightMode: { classPropertyName: "heightMode", publicName: "heightMode", isSignal: true, isRequired: false, transformFunction: null }, maxHeight: { classPropertyName: "maxHeight", publicName: "maxHeight", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, align: { classPropertyName: "align", publicName: "align", isSignal: true, isRequired: false, transformFunction: null }, alignX: { classPropertyName: "alignX", publicName: "alignX", isSignal: true, isRequired: false, transformFunction: null }, alignY: { classPropertyName: "alignY", publicName: "alignY", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { inView: "inView" }, host: { properties: { "class.is-full-height": "isFullHeight()", "class.has-sidepanel": "resolvedSidepanel()", "class.has-max-height": "!!cssMaxHeight()", "class.no-border": "resolvedVariant() === \"noBorder\"", "class.is-with-border": "resolvedVariant() === \"withBorder\"", "class.is-sandwich-border": "resolvedVariant() === \"sandwichBorder\"", "class.is-side-border": "resolvedVariant() === \"sideBorder\"", "class.is-left-border": "resolvedVariant() === \"leftBorder\"", "class.is-right-border": "resolvedVariant() === \"rightBorder\"", "class.align-x-left": "resolvedAlignX() === \"left\"", "class.align-x-center": "resolvedAlignX() === \"center\"", "class.align-x-right": "resolvedAlignX() === \"right\"", "class.align-y-top": "resolvedAlignY() === \"top\"", "class.align-y-center": "resolvedAlignY() === \"center\"", "class.align-y-bottom": "resolvedAlignY() === \"bottom\"", "class.align-left": "resolvedAlign() === \"left\"", "class.align-right": "resolvedAlign() === \"right\"", "class.align-center": "resolvedAlign() === \"center\"", "style.font-size": "sizeLength()", "style.--input-size": "sizeLength()", "style.--m-section-align": "resolvedAlign()", "style.--m-section-max-width": "resolvedMaxWidth()", "style.--m-section-max-height": "cssMaxHeight()" }, classAttribute: "m-section" }, providers: [
|
|
17579
17582
|
provideSizeContext(SectionComponent),
|
|
17580
17583
|
{
|
|
17581
17584
|
provide: SECTION_CONTEXT,
|
|
@@ -17647,7 +17650,7 @@ class SectionComponent extends ConfigComponent {
|
|
|
17647
17650
|
}
|
|
17648
17651
|
</div>
|
|
17649
17652
|
</div>
|
|
17650
|
-
`, isInline: true, styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}:host{display:block;width:100%;min-height:var(--m-section-min-height, 5em);container-type:inline-size;container-name:mag-grid;--_section-px: 1rem;--_section-pt: 1.5rem;--_section-pb: 0rem;--_section-header-py: 1rem}:host(.has-max-height){height:var(--m-section-max-height);overflow:auto}:host(.is-with-border){border:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-sandwich-border){border-block:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}.m-section__collapsible{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:1fr;transition:grid-template-rows .3s cubic-bezier(.4,0,.2,1),opacity .3s cubic-bezier(.4,0,.2,1);opacity:1}.m-section__collapsible.is-collapsed{grid-template-rows:0fr;opacity:0;pointer-events:none}.m-section__collapsible-content{min-height:0;min-width:0;overflow:clip}.m-section__body{display:flex;flex-wrap:wrap;align-content:flex-start;align-items:stretch;max-width:var(--m-section-max-width);margin-inline:auto}:host(.align-left) .m-section__body{margin-inline-start:0;margin-inline-end:auto}:host(.align-right) .m-section__body{margin-inline-start:auto;margin-inline-end:0;justify-content:flex-end}:host(.align-center) .m-section__body{margin-inline:auto;justify-content:center}:host(.align-x-left) .m-section__body{justify-content:flex-start}:host(.align-x-center) .m-section__body{justify-content:center}:host(.align-x-right) .m-section__body{justify-content:flex-end}:host(.align-y-top) .m-section__body{align-items:flex-start;align-content:flex-start}:host(.align-y-center) .m-section__body{align-items:center;align-content:center}:host(.align-y-bottom) .m-section__body{align-items:flex-end;align-content:flex-end}:host(.is-full-height){height:100vh;min-height:100vh;overflow:auto}:host(.is-full-height) .m-section__body{flex:1;height:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
17653
|
+
`, isInline: true, styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}:host{display:block;width:100%;min-height:var(--m-section-min-height, 5em);container-type:inline-size;container-name:mag-grid;--_section-px: 1rem;--_section-pt: 1.5rem;--_section-pb: 0rem;--_section-header-py: 1rem}:host(.has-max-height){height:var(--m-section-max-height);overflow:auto}:host(.is-with-border){border:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-sandwich-border){border-block:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-side-border){border-inline:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-left-border){border-inline-start:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-right-border){border-inline-end:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}.m-section__collapsible{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:1fr;transition:grid-template-rows .3s cubic-bezier(.4,0,.2,1),opacity .3s cubic-bezier(.4,0,.2,1);opacity:1}.m-section__collapsible.is-collapsed{grid-template-rows:0fr;opacity:0;pointer-events:none}.m-section__collapsible-content{min-height:0;min-width:0;overflow:clip}.m-section__body{display:flex;flex-wrap:wrap;align-content:flex-start;align-items:stretch;max-width:var(--m-section-max-width);margin-inline:auto}:host(.align-left) .m-section__body{margin-inline-start:0;margin-inline-end:auto}:host(.align-right) .m-section__body{margin-inline-start:auto;margin-inline-end:0;justify-content:flex-end}:host(.align-center) .m-section__body{margin-inline:auto;justify-content:center}:host(.align-x-left) .m-section__body{justify-content:flex-start}:host(.align-x-center) .m-section__body{justify-content:center}:host(.align-x-right) .m-section__body{justify-content:flex-end}:host(.align-y-top) .m-section__body{align-items:flex-start;align-content:flex-start}:host(.align-y-center) .m-section__body{align-items:center;align-content:center}:host(.align-y-bottom) .m-section__body{align-items:flex-end;align-content:flex-end}:host(.is-full-height){height:100vh;min-height:100vh;overflow:auto}:host(.is-full-height) .m-section__body{flex:1;height:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
17651
17654
|
}
|
|
17652
17655
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: SectionComponent, decorators: [{
|
|
17653
17656
|
type: Component,
|
|
@@ -17716,6 +17719,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
17716
17719
|
'[class.no-border]': 'resolvedVariant() === "noBorder"',
|
|
17717
17720
|
'[class.is-with-border]': 'resolvedVariant() === "withBorder"',
|
|
17718
17721
|
'[class.is-sandwich-border]': 'resolvedVariant() === "sandwichBorder"',
|
|
17722
|
+
'[class.is-side-border]': 'resolvedVariant() === "sideBorder"',
|
|
17723
|
+
'[class.is-left-border]': 'resolvedVariant() === "leftBorder"',
|
|
17724
|
+
'[class.is-right-border]': 'resolvedVariant() === "rightBorder"',
|
|
17719
17725
|
'[class.align-x-left]': 'resolvedAlignX() === "left"',
|
|
17720
17726
|
'[class.align-x-center]': 'resolvedAlignX() === "center"',
|
|
17721
17727
|
'[class.align-x-right]': 'resolvedAlignX() === "right"',
|
|
@@ -17751,7 +17757,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
17751
17757
|
};
|
|
17752
17758
|
},
|
|
17753
17759
|
},
|
|
17754
|
-
], styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}:host{display:block;width:100%;min-height:var(--m-section-min-height, 5em);container-type:inline-size;container-name:mag-grid;--_section-px: 1rem;--_section-pt: 1.5rem;--_section-pb: 0rem;--_section-header-py: 1rem}:host(.has-max-height){height:var(--m-section-max-height);overflow:auto}:host(.is-with-border){border:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-sandwich-border){border-block:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}.m-section__collapsible{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:1fr;transition:grid-template-rows .3s cubic-bezier(.4,0,.2,1),opacity .3s cubic-bezier(.4,0,.2,1);opacity:1}.m-section__collapsible.is-collapsed{grid-template-rows:0fr;opacity:0;pointer-events:none}.m-section__collapsible-content{min-height:0;min-width:0;overflow:clip}.m-section__body{display:flex;flex-wrap:wrap;align-content:flex-start;align-items:stretch;max-width:var(--m-section-max-width);margin-inline:auto}:host(.align-left) .m-section__body{margin-inline-start:0;margin-inline-end:auto}:host(.align-right) .m-section__body{margin-inline-start:auto;margin-inline-end:0;justify-content:flex-end}:host(.align-center) .m-section__body{margin-inline:auto;justify-content:center}:host(.align-x-left) .m-section__body{justify-content:flex-start}:host(.align-x-center) .m-section__body{justify-content:center}:host(.align-x-right) .m-section__body{justify-content:flex-end}:host(.align-y-top) .m-section__body{align-items:flex-start;align-content:flex-start}:host(.align-y-center) .m-section__body{align-items:center;align-content:center}:host(.align-y-bottom) .m-section__body{align-items:flex-end;align-content:flex-end}:host(.is-full-height){height:100vh;min-height:100vh;overflow:auto}:host(.is-full-height) .m-section__body{flex:1;height:100%}\n"] }]
|
|
17760
|
+
], styles: ["@keyframes toggle-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}@keyframes thumb-slide{0%{transform:translate(0) scale(1)}50%{transform:translate(.3em) scale(.9)}to{transform:translate(.6em) scale(1)}}:host{display:block;width:100%;min-height:var(--m-section-min-height, 5em);container-type:inline-size;container-name:mag-grid;--_section-px: 1rem;--_section-pt: 1.5rem;--_section-pb: 0rem;--_section-header-py: 1rem}:host(.has-max-height){height:var(--m-section-max-height);overflow:auto}:host(.is-with-border){border:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-sandwich-border){border-block:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-side-border){border-inline:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-left-border){border-inline-start:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}:host(.is-right-border){border-inline-end:var(--m-section-border, 1px solid var(--m-backdrop-border));box-sizing:border-box}.m-section__collapsible{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:1fr;transition:grid-template-rows .3s cubic-bezier(.4,0,.2,1),opacity .3s cubic-bezier(.4,0,.2,1);opacity:1}.m-section__collapsible.is-collapsed{grid-template-rows:0fr;opacity:0;pointer-events:none}.m-section__collapsible-content{min-height:0;min-width:0;overflow:clip}.m-section__body{display:flex;flex-wrap:wrap;align-content:flex-start;align-items:stretch;max-width:var(--m-section-max-width);margin-inline:auto}:host(.align-left) .m-section__body{margin-inline-start:0;margin-inline-end:auto}:host(.align-right) .m-section__body{margin-inline-start:auto;margin-inline-end:0;justify-content:flex-end}:host(.align-center) .m-section__body{margin-inline:auto;justify-content:center}:host(.align-x-left) .m-section__body{justify-content:flex-start}:host(.align-x-center) .m-section__body{justify-content:center}:host(.align-x-right) .m-section__body{justify-content:flex-end}:host(.align-y-top) .m-section__body{align-items:flex-start;align-content:flex-start}:host(.align-y-center) .m-section__body{align-items:center;align-content:center}:host(.align-y-bottom) .m-section__body{align-items:flex-end;align-content:flex-end}:host(.is-full-height){height:100vh;min-height:100vh;overflow:auto}:host(.is-full-height) .m-section__body{flex:1;height:100%}\n"] }]
|
|
17755
17761
|
}], ctorParameters: () => [], propDecorators: { header: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SectionHeaderComponent), { isSignal: true }] }], badges: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SectionBadgesComponent), { isSignal: true }] }], toggle: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SectionToggleComponent), { isSignal: true }] }], action: [{ type: i0.ContentChild, args: [i0.forwardRef(() => ActionComponent), { isSignal: true }] }], back: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SectionBackComponent), { isSignal: true }] }], search: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SectionSearchComponent), { isSignal: true }] }], filter: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SectionFilterComponent), { isSignal: true }] }], filterGroup: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SectionFilterGroupComponent), { isSignal: true }] }], stepper: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SectionStepperComponent), { isSignal: true }] }], hero: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SectionHeroComponent), { isSignal: true }] }], jumbotron: [{ type: i0.ContentChild, args: [i0.forwardRef(() => JumbotronComponent), { isSignal: true }] }], carousel: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CarouselComponent), { isSignal: true }] }], footer: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SectionFooterComponent), { isSignal: true }] }], pagination: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SectionPaginationComponent), { isSignal: true }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], maxWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxWidth", required: false }] }], heightMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "heightMode", required: false }] }], maxHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxHeight", required: false }] }], height: [{ type: i0.Input, args: [{ isSignal: true, alias: "height", required: false }] }], align: [{ type: i0.Input, args: [{ isSignal: true, alias: "align", required: false }] }], alignX: [{ type: i0.Input, args: [{ isSignal: true, alias: "alignX", required: false }] }], alignY: [{ type: i0.Input, args: [{ isSignal: true, alias: "alignY", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], inView: [{ type: i0.Output, args: ["inView"] }] } });
|
|
17756
17762
|
|
|
17757
17763
|
class UserApiService {
|
|
@@ -23308,7 +23314,7 @@ class WrapperInputComponent extends ConfigComponent {
|
|
|
23308
23314
|
break;
|
|
23309
23315
|
}
|
|
23310
23316
|
case InputType.TOGGLE: {
|
|
23311
|
-
const { ToggleInputComponent } = await import('./magmonium-one-toggle-
|
|
23317
|
+
const { ToggleInputComponent } = await import('./magmonium-one-toggle-1k09GsDW.mjs');
|
|
23312
23318
|
this.createDynamicComponent(seq, ToggleInputComponent, [], true);
|
|
23313
23319
|
break;
|
|
23314
23320
|
}
|
|
@@ -23320,12 +23326,12 @@ class WrapperInputComponent extends ConfigComponent {
|
|
|
23320
23326
|
break;
|
|
23321
23327
|
}
|
|
23322
23328
|
case InputType.PASSWORD: {
|
|
23323
|
-
const { PasswordInputComponent } = await import('./magmonium-one-password-
|
|
23329
|
+
const { PasswordInputComponent } = await import('./magmonium-one-password-CXe4bA8Z.mjs');
|
|
23324
23330
|
this.createDynamicComponent(seq, PasswordInputComponent);
|
|
23325
23331
|
break;
|
|
23326
23332
|
}
|
|
23327
23333
|
case InputType.OTP: {
|
|
23328
|
-
const { OtpInputComponent } = await import('./magmonium-one-otp-
|
|
23334
|
+
const { OtpInputComponent } = await import('./magmonium-one-otp-Ce1vezye.mjs');
|
|
23329
23335
|
this.createDynamicComponent(seq, OtpInputComponent);
|
|
23330
23336
|
break;
|
|
23331
23337
|
}
|
|
@@ -25039,7 +25045,7 @@ class FileUploadInputComponent extends BaseInputComponent {
|
|
|
25039
25045
|
const modalStore = this.modalStore;
|
|
25040
25046
|
if (!modalStore)
|
|
25041
25047
|
return undefined;
|
|
25042
|
-
const { ImageEditorComponent } = await import('./magmonium-one-image-editor-
|
|
25048
|
+
const { ImageEditorComponent } = await import('./magmonium-one-image-editor-DCAD4tWK.mjs');
|
|
25043
25049
|
const ratio = String(this.config()?.ratio ?? '');
|
|
25044
25050
|
return new Promise((resolve) => {
|
|
25045
25051
|
const modalRef = new ModalRef();
|
|
@@ -40664,4 +40670,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
40664
40670
|
*/
|
|
40665
40671
|
|
|
40666
40672
|
export { CheckboxGroupComponent as $, ACCESS_DOMAINS as A, ButtonComponent as B, AssetUrlPipe as C, Assets as D, AuthActivityPageComponent as E, AuthApiService as F, AuthStore as G, HeaderComponent$1 as H, InputType as I, AutosizeDirective as J, BadgeComponent as K, LabelComponent as L, MODAL_REF as M, BandingComponent as N, BaseArrayInputComponent as O, BaseRootWebComponent as P, BaseWebComponent as Q, RangeInputComponent as R, ButtonGroupComponent as S, TranslatePipe as T, CALLING_APP_HEADER as U, COMPONENT_INPUT_REGISTRY as V, CardComponent as W, CardWrapperComponent as X, CarouselComponent as Y, ChartComponent as Z, ChatBubbleComponent as _, MIN_ZOOM as a, ICON_SOURCE as a$, CheckboxInputComponent as a0, ClearableInputComponent as a1, ClipboardService as a2, ColComponent as a3, ColorPickerInputComponent as a4, CommentItemComponent as a5, CommentsApiService as a6, CommentsComponent as a7, CommentsStore as a8, CompactNumberPipe as a9, DocComponent as aA, DocEditorComponent as aB, DomService as aC, Domain as aD, DotGridComponent as aE, DragListDirective as aF, DragListItemDirective as aG, DraggableDirective as aH, DropdownInputComponent as aI, FILTER_GROUP_CONTEXT as aJ, FILTER_RANGE_MODES as aK, FILTER_VARIANTS as aL, FLEX_VARIANTS as aM, FOLDER_PICK_LISTENER as aN, FORM_ASSET_FOLDER as aO, FileService as aP, FileUploadDirective as aQ, FileUploadInputComponent as aR, FlexComponent as aS, FlexItemComponent as aT, FormGroupComponent as aU, FrameComponent as aV, FreezeService as aW, GRID_BREAKPOINTS as aX, GetNavService as aY, HighlightDirective as aZ, HttpService as a_, ComponentInputComponent as aa, ComponentStepperComponent as ab, ConfigComponent as ac, ConfirmComponent as ad, ContextMenuComponent as ae, CustomIconClass as af, CustomIconEditComponent as ag, DEFAULT_DENIAL as ah, DEFAULT_DOC_DENSITY as ai, DEFAULT_DOC_VARIANT as aj, DEFAULT_FILTER_RANGE_MODE as ak, DEFAULT_FILTER_VARIANT as al, DEFAULT_NAV_PARAM as am, DEFAULT_NAV_SEGMENT as an, DEFAULT_SIZE as ao, DOCK_MIN_PAGE_REMAINDER as ap, DOCS_FOLDER as aq, DOC_ACTION_ICONS as ar, DOC_DENSITIES as as, DOC_EDIT_ACTIONS as at, DOC_TOOLBAR_GROUPS as au, DOC_VARIANTS as av, DashboardCardComponent as aw, DateInputComponent as ax, DatePickerComponent as ay, DeviceService as az, MAX_ZOOM as b, PLATFORM_NAV_MAP as b$, IS_SIDE_PANEL as b0, IconComponent as b1, ImgComponent as b2, InstrumentScoreComponent as b3, InterceptorObservables as b4, JumbotronComponent as b5, KeyValueComponent as b6, LAYOUT_ASSET_FOLDER as b7, LOGIN_COMPONENT as b8, LOGIN_STORE as b9, NAV_STORE_REF as bA, NAV_WC_COMPONENTS as bB, NAV_WIDGET_MAP as bC, NavComponent as bD, NavDetailsComponent as bE, NavHeaderComponent as bF, NavMenuComponent as bG, NavStore as bH, NavTrailComponent as bI, NothingComponent as bJ, NotificationElementComponent as bK, NotificationGroupComponent as bL, NotificationPopupComponent as bM, NotificationService as bN, NotificationStore as bO, NotificationType as bP, NotificationWidgetComponent as bQ, ONE_ASSET_BASE_URL as bR, OPTIONS_SOURCE as bS, OVERLAY_WIDGETS as bT, OneApp as bU, OptionsSourceDirective as bV, OverlayBodyComponent as bW, OverlayRef as bX, OverlayService as bY, PLATFORM_BUTTON_NAV_IDS as bZ, PLATFORM_EXTENSIBLE_NAV_IDS as b_, LanguageComponent as ba, ListComponent as bb, LogoComponent as bc, MAG_SOCKET_EVENT as bd, MHeroColorDirective as be, MHeroComponent as bf, MODAL_STORE_REF as bg, MOUNT_STATIC_SEGMENT as bh, MOUNT_TOKEN as bi, MRefDirective as bj, MStepComponent as bk, MURL_PARAM as bl, MURL_SEP as bm, ManifestEnrichmentService as bn, MarginDirective as bo, MenuComponent as bp, ModalDirective as bq, ModalRef as br, ModalStore as bs, MoneyPipe as bt, MultiRangeInputComponent as bu, MurlUrlSerializer as bv, NAV_DEFAULT_MURL as bw, NAV_ID_SEP as bx, NAV_MAIN_BUTTONS as by, NAV_SEGMENT_RE as bz, cropRect as c, SelectorDirective as c$, PLATFORM_ROOT_CHILDREN as c0, PaddingDirective as c1, PaginationComponent as c2, PanelComponent as c3, PercentagePipe as c4, PlaygroundComponent as c5, PositionDirective as c6, PwaInstallComponent as c7, RECENT_SEARCH_LIMIT as c8, REMOTE_PAGE_RELOAD as c9, SectionBackComponent as cA, SectionBadgesComponent as cB, SectionButtonGroupComponent as cC, SectionCardComponent as cD, SectionCarouselComponent as cE, SectionComponent as cF, SectionFilterComponent as cG, SectionFilterGroupComponent as cH, SectionFilterMenuComponent as cI, SectionFilterPanelComponent as cJ, SectionFilterRangePanelComponent as cK, SectionFooterComponent as cL, SectionFormComponent as cM, SectionFormItemComponent as cN, SectionHeaderComponent as cO, SectionHeroComponent as cP, SectionPaginationComponent as cQ, SectionSearchComponent as cR, SectionStepperComponent as cS, SectionTableCellComponent as cT, SectionTableComponent as cU, SectionTableRowComponent as cV, SectionTableSortPipe as cW, SectionTabsComponent as cX, SectionToggleComponent as cY, SectionToggleItemDirective as cZ, SelectableCardInputComponent as c_, ROOT_NAV$1 as ca, RadioGroupComponent as cb, RadioInputComponent as cc, RatingInputComponent as cd, ReactiveElementComponent as ce, RemoteComponent as cf, RemoteLoaderService as cg, ResizeElementComponent as ch, RouteContainer as ci, RowComponent as cj, SEARCH_QUERY as ck, SEARCH_RESULTS_EVENT as cl, SECTION_ACCORDION_GROUP as cm, SECTION_FORM_CONTEXT as cn, SECTION_TABLE_VARIANTS as co, SHARED_ICONS as cp, SIZE_CONTEXT as cq, SPACING_INWARD as cr, ScoreComponent as cs, ScrollComponent as ct, ScrollService as cu, SearchPanelComponent as cv, SearchStore as cw, SearchUserPanelComponent as cx, SectionAccordionDirective as cy, SectionAccordionGroupDirective as cz, drawFramed as d, bootstrapPwaInstall as d$, SettingsSearchBarComponent as d0, SettingsSearchService as d1, ShapeComponent as d2, SharedStoreRegistry as d3, SidePanelDirective as d4, Size as d5, SocketStore as d6, SortComponent as d7, StatComponent as d8, StepComponent as d9, TooltipComponent as dA, TranslateService as dB, TreeGridComponent as dC, URL_SEP as dD, USER_STORE_REF as dE, USER_TAB_MAP as dF, UniverseComponent as dG, UserApiService as dH, UserAvatarComponent as dI, UserComponent as dJ, UserNavComponent as dK, UserSettingsComponent as dL, UserStore as dM, WC_BUNDLE as dN, WC_NAVIGATE_EVENT as dO, WC_ROUTE_CHANGED_EVENT as dP, WC_SEARCH_GROUPS as dQ, WIN_USER_TAB_HOOK as dR, WIN_USER_TAB_KEY as dS, WatermarkComponent as dT, WcRouterStore as dU, WrapperInputComponent as dV, anchorNavId as dW, applyColorsToElement as dX, applyDocEdit as dY, assetOptions as dZ, bootstrapMagApp as d_, StepperComponent as da, StepsComponent as db, StorageService as dc, StrokeLinecap as dd, StrokeLinejoin as de, SummaryComponent as df, SvgGeneratorComponent as dg, SvgGeneratorService as dh, SvgService as di, TOTAL_COLUMNS as dj, TRANSLATION_SOURCE as dk, TableComponent as dl, TechnicalMeterComponent as dm, TextInputComponent as dn, TextareaInputComponent as dp, ThemeComponent as dq, ThemeDataService as dr, ThemeService as ds, ThemeStore as dt, TimeAgoPipe as du, TimelineComponent as dv, ToggleButtonComponent as dw, ToggleInputComponent as dx, ToggleRadioInputComponent as dy, ToolTipDirective as dz, encodeFramed as e, injectDefaultDenial as e$, buildWcBaseUrl as e0, calculateLuminance as e1, calculateRanks as e2, cellText as e3, checkDoc as e4, checkFilterCondition as e5, childNavId as e6, claimDenial as e7, classListSignal as e8, coerceSize as e9, filterOne as eA, filterPanelOf as eB, filterPanelWidth as eC, filterRange as eD, filterTreeGridRows as eE, filterValueList as eF, filterValues as eG, flattenTreeGridRows as eH, formatBadgeCount as eI, fullName as eJ, generateClipPath as eK, generateTransform as eL, getClassList as eM, getProperty as eN, getScrollParent as eO, getTierFromPreviewPath as eP, getTreeGridRow as eQ, getUniqueId as eR, getValue as eS, hasErrorComputed as eT, hexToRgb as eU, hslToRgb$1 as eV, initMagmoniumApp as eW, initialNotificationState as eX, initialState$2 as eY, initials as eZ, injectAuthenticate as e_, cornerEdge as ea, cornerSide as eb, createMap as ec, createPlatformNavMap as ed, definedWcTierOf as ee, deriveAvatarGradient as ef, deriveContrastColor as eg, deriveOppositeColor as eh, derivePropertyName as ei, docActionKey as ej, docAssetCandidates as ek, docProblemKey as el, docRemotePath as em, emailValidation as en, evaluate as eo, evaluateBool as ep, fieldBoolean as eq, fieldNumber as er, fieldString as es, filterHoldsList as et, filterHoldsOneBound as eu, filterHoldsOptions as ev, filterHoldsRange as ew, filterList as ex, filterNumber as ey, filterNumberList as ez, clampFraming as f, platformNavWidgets as f$, injectInstallApp as f0, injectParentSize as f1, injectScrollSticky as f2, isBootRedirect as f3, isButtonName as f4, isCancelledComputed as f5, isExtensiblePlatformNavId as f6, isJson as f7, isLoadingComputed as f8, isLocalhost as f9, minValidation as fA, miniMarkToHtml as fB, mountFor as fC, mountPatternProblem as fD, mountPatternText as fE, mountSegmentOf as fF, mountTokenOf as fG, navIdChain as fH, navIdFor as fI, navIdSegment as fJ, navIdToRoutePath as fK, navIdToSegments as fL, navParamOf as fM, navTailMatcher as fN, navToId as fO, navVisibilityGuard as fP, nextSectionTableSort as fQ, normalizeAssetOptions as fR, offsetOfLine as fS, parentNavId as fT, parseAddress as fU, parseColor as fV, parseMountPattern as fW, parsePatternNames as fX, patternValidation as fY, patternsValidation as fZ, permissionRefusal as f_, isNavInstanceConfig as fa, isNavMenuConfig as fb, isNavRowsConfig as fc, isNavVisibilityConfig as fd, isPlatformNavId as fe, isSize as ff, isTierPreview as fg, isUrlLocalhost as fh, isValidNavId as fi, isValidNavSegment as fj, isWebComponent as fk, linkToId as fl, linkToNav as fm, loadingActions as fn, mInterceptor as fo, manualValidation as fp, matchFieldValidation as fq, matchMount as fr, maxLengthValidation as fs, maxValidation as ft, mergePlatformNav as fu, mergeUnique as fv, mergeUniqueBy as fw, mergeUniqueWith as fx, minAgeValidation as fy, minLengthValidation as fz, BaseInputComponent as g, privateGuard as g0, processImageToSvg as g1, provideAppContext as g2, provideMagAppConfig as g3, provideMagWcConfig as g4, provideMagWcRoutes as g5, provideModalComponents as g6, provideMurlUrlSerializer as g7, provideNavWidgets as g8, provideOverlayWidgets as g9, setTreeGridChildren as gA, setWcTier as gB, settingsWidgets as gC, shouldShowBadge as gD, sortSectionTableRows as gE, splitNavId as gF, splitOnMatch as gG, stringToColor as gH, tailRouteOf as gI, toAttrBool as gJ, toAttrNumber as gK, toCssLength as gL, toHostNavId as gM, toLength$1 as gN, toLocalNavId as gO, toggleTreeGridRow as gP, unfetchedPlatformNav as gQ, ungroupedDocActions as gR, urlValidation as gS, wcTierOf as gT, providePlatformNavWidgets as ga, provideSearch as gb, provideSizeContext as gc, provideUserTabs as gd, publicGuard as ge, readFieldPatterns as gf, recordDefinedWcTier as gg, remoteOutletRoute as gh, renderAddress as gi, renderDocument as gj, requiredValidation as gk, resolveConfigAsset as gl, resolveIconSize as gm, resolvePallet as gn, resolvePatternRules as go, resolveSize as gp, resolveSpacing as gq, rgbToHex as gr, rgbToHsl as gs, rowHasChildren as gt, samePatterns as gu, sectionTableColumnId as gv, sectionTableColumnWidths as gw, sectionTableFrozenCount as gx, segmentsToNavId as gy, setProperty as gz, BaseTextInputComponent as h, initialFraming as i, TextOutputComponent as j, IS_DESIGN_MODE as k, APP_CONTEXT_REF as l, APP_LINK as m, ASSET_BASE_URL as n, outputSize as o, parseRatio as p, AccordionBodyDirective as q, renameForType as r, AccordionComponent as s, AccordionGroupComponent as t, ActionComponent as u, AnimatedGraphsComponent as v, AppCardComponent as w, AppRelationType as x, AppTileComponent as y, AssetStore as z };
|
|
40667
|
-
//# sourceMappingURL=magmonium-one-magmonium-one-
|
|
40673
|
+
//# sourceMappingURL=magmonium-one-magmonium-one-DHIL0Jpw.mjs.map
|