@acorex/components 19.11.0-next.4 → 19.11.0-next.6

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.
Files changed (128) hide show
  1. package/common/lib/classes/datasource.class.d.ts +2 -2
  2. package/fesm2022/acorex-components-action-sheet.mjs +12 -12
  3. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  4. package/fesm2022/acorex-components-alert.mjs +7 -7
  5. package/fesm2022/acorex-components-audio-wave.mjs +7 -7
  6. package/fesm2022/acorex-components-autocomplete.mjs +7 -7
  7. package/fesm2022/acorex-components-avatar.mjs +10 -10
  8. package/fesm2022/acorex-components-badge.mjs +7 -7
  9. package/fesm2022/acorex-components-bottom-navigation.mjs +10 -10
  10. package/fesm2022/acorex-components-breadcrumbs.mjs +10 -10
  11. package/fesm2022/acorex-components-button-group.mjs +10 -10
  12. package/fesm2022/acorex-components-button.mjs +13 -13
  13. package/fesm2022/acorex-components-calendar.mjs +13 -13
  14. package/fesm2022/acorex-components-check-box.mjs +7 -7
  15. package/fesm2022/acorex-components-chips.mjs +7 -7
  16. package/fesm2022/acorex-components-circular-progress.mjs +7 -7
  17. package/fesm2022/acorex-components-collapse.mjs +10 -10
  18. package/fesm2022/acorex-components-color-box.mjs +7 -7
  19. package/fesm2022/acorex-components-color-palette.mjs +25 -25
  20. package/fesm2022/acorex-components-comment.mjs +28 -28
  21. package/fesm2022/acorex-components-common.mjs +91 -91
  22. package/fesm2022/acorex-components-common.mjs.map +1 -1
  23. package/fesm2022/acorex-components-conversation.mjs +49 -49
  24. package/fesm2022/acorex-components-cron-job.mjs +46 -46
  25. package/fesm2022/acorex-components-data-pager.mjs +31 -31
  26. package/fesm2022/acorex-components-data-table.mjs +38 -38
  27. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  28. package/fesm2022/acorex-components-datetime-box.mjs +7 -7
  29. package/fesm2022/acorex-components-datetime-input.mjs +7 -7
  30. package/fesm2022/acorex-components-datetime-picker.mjs +7 -7
  31. package/fesm2022/acorex-components-decorators.mjs +25 -25
  32. package/fesm2022/acorex-components-dialog.mjs +10 -10
  33. package/fesm2022/acorex-components-drawer.mjs +13 -13
  34. package/fesm2022/acorex-components-dropdown-button.mjs +7 -7
  35. package/fesm2022/acorex-components-dropdown.mjs +13 -13
  36. package/fesm2022/acorex-components-file-explorer.mjs +25 -25
  37. package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
  38. package/fesm2022/acorex-components-form.mjs +16 -16
  39. package/fesm2022/acorex-components-grid-layout-builder.mjs +192 -112
  40. package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
  41. package/fesm2022/acorex-components-image-editor.mjs +343 -302
  42. package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
  43. package/fesm2022/acorex-components-image.mjs +7 -7
  44. package/fesm2022/acorex-components-json-viewer.mjs +7 -7
  45. package/fesm2022/acorex-components-kbd.mjs +10 -10
  46. package/fesm2022/acorex-components-label.mjs +7 -7
  47. package/fesm2022/acorex-components-list.mjs +7 -7
  48. package/fesm2022/acorex-components-loading-dialog.mjs +10 -10
  49. package/fesm2022/acorex-components-loading.mjs +16 -16
  50. package/fesm2022/acorex-components-map.mjs +10 -10
  51. package/fesm2022/acorex-components-media-viewer.mjs +34 -34
  52. package/fesm2022/acorex-components-menu.mjs +20 -20
  53. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  54. package/fesm2022/acorex-components-navbar.mjs +7 -7
  55. package/fesm2022/acorex-components-notification.mjs +49 -33
  56. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  57. package/fesm2022/acorex-components-number-box.mjs +7 -7
  58. package/fesm2022/acorex-components-otp.mjs +7 -7
  59. package/fesm2022/acorex-components-page.mjs +10 -10
  60. package/fesm2022/acorex-components-paint.mjs +20 -49
  61. package/fesm2022/acorex-components-paint.mjs.map +1 -1
  62. package/fesm2022/acorex-components-password-box.mjs +10 -10
  63. package/fesm2022/acorex-components-pdf-reader.mjs +7 -7
  64. package/fesm2022/acorex-components-phone-box.mjs +7 -7
  65. package/fesm2022/acorex-components-picker.mjs +13 -13
  66. package/fesm2022/acorex-components-popover.mjs +7 -7
  67. package/fesm2022/acorex-components-popup.mjs +10 -10
  68. package/fesm2022/acorex-components-progress-bar.mjs +7 -7
  69. package/fesm2022/acorex-components-qrcode.mjs +7 -7
  70. package/fesm2022/acorex-components-query-builder.mjs +7 -7
  71. package/fesm2022/acorex-components-radio.mjs +7 -7
  72. package/fesm2022/acorex-components-rail-navigation.mjs +13 -13
  73. package/fesm2022/acorex-components-range-slider.mjs +7 -7
  74. package/fesm2022/acorex-components-rate-picker.mjs +7 -7
  75. package/fesm2022/acorex-components-rest-api-generator.mjs +22 -22
  76. package/fesm2022/acorex-components-result.mjs +7 -7
  77. package/fesm2022/acorex-components-routing-progress.mjs +7 -7
  78. package/fesm2022/acorex-components-scheduler.mjs +13 -13
  79. package/fesm2022/acorex-components-scss.mjs +4 -4
  80. package/fesm2022/acorex-components-search-box.mjs +7 -7
  81. package/fesm2022/acorex-components-select-box.mjs +7 -7
  82. package/fesm2022/acorex-components-selection-list.mjs +7 -7
  83. package/fesm2022/acorex-components-side-menu.mjs +13 -13
  84. package/fesm2022/acorex-components-skeleton.mjs +7 -7
  85. package/fesm2022/acorex-components-slider.mjs +7 -7
  86. package/fesm2022/acorex-components-sliding-item.mjs +13 -13
  87. package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
  88. package/fesm2022/acorex-components-step-wizard.mjs +13 -13
  89. package/fesm2022/acorex-components-switch.mjs +10 -10
  90. package/fesm2022/acorex-components-tabs.mjs +13 -13
  91. package/fesm2022/acorex-components-tag-box.mjs +7 -7
  92. package/fesm2022/acorex-components-tag.mjs +7 -7
  93. package/fesm2022/acorex-components-text-area.mjs +7 -7
  94. package/fesm2022/acorex-components-text-box.mjs +10 -10
  95. package/fesm2022/acorex-components-time-line.mjs +10 -10
  96. package/fesm2022/acorex-components-toast.mjs +51 -15
  97. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  98. package/fesm2022/acorex-components-toolbar.mjs +7 -7
  99. package/fesm2022/acorex-components-tooltip.mjs +10 -10
  100. package/fesm2022/acorex-components-tree-view.mjs +178 -163
  101. package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
  102. package/fesm2022/acorex-components-uploader.mjs +22 -22
  103. package/fesm2022/acorex-components-video-player.mjs +7 -7
  104. package/fesm2022/acorex-components-wysiwyg.mjs +31 -31
  105. package/grid-layout-builder/lib/grid-layout-container.component.d.ts +8 -23
  106. package/grid-layout-builder/lib/grid-layout-widget.component.d.ts +27 -3
  107. package/grid-layout-builder/lib/types.d.ts +82 -25
  108. package/grid-layout-builder/lib/utility.d.ts +7 -0
  109. package/image-editor/index.d.ts +1 -1
  110. package/image-editor/lib/image-editor-container/image-editor-container.component.d.ts +1 -13
  111. package/image-editor/lib/image-editor-cropper-window/image-editor-cropper-window.component.d.ts +47 -0
  112. package/image-editor/lib/image-editor-tools/image-editor-crop/image-editor-crop.component.d.ts +1 -0
  113. package/image-editor/lib/image-editor-view/image-editor-view.component.d.ts +17 -24
  114. package/image-editor/lib/image-editor.module.d.ts +2 -2
  115. package/image-editor/lib/image-editor.service.d.ts +1 -0
  116. package/notification/lib/notification.class.d.ts +2 -0
  117. package/notification/lib/notification.component.d.ts +7 -6
  118. package/notification/lib/notification.config.d.ts +1 -0
  119. package/package.json +1 -1
  120. package/paint/lib/paint/paint-view/paint-view.component.d.ts +0 -6
  121. package/rest-api-generator/lib/request-headers/request-headers.component.d.ts +1 -1
  122. package/toast/lib/toast.class.d.ts +2 -0
  123. package/toast/lib/toast.component.d.ts +7 -0
  124. package/toast/lib/toast.config.d.ts +1 -0
  125. package/tree-view/lib/tree-view-item.component.d.ts +8 -12
  126. package/tree-view/lib/tree-view.class.d.ts +4 -20
  127. package/tree-view/lib/tree-view.component.d.ts +25 -16
  128. package/image-editor/lib/image-editor-tools/image-editor-header/image-editor-header.component.d.ts +0 -12
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-components-grid-layout-builder.mjs","sources":["../../../../libs/components/grid-layout-builder/src/lib/grid-layout-widget.component.ts","../../../../libs/components/grid-layout-builder/src/lib/grid-layout-container.component.ts","../../../../libs/components/grid-layout-builder/src/lib/grid-layout-builder.module.ts","../../../../libs/components/grid-layout-builder/src/acorex-components-grid-layout-builder.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, effect, ElementRef, inject, input, untracked, ViewEncapsulation } from '@angular/core';\nimport { AXGridLayoutNode, AXGridLayoutWidget, AXGridLayoutWidgetElement } from './types';\n\n@Component({\n selector: 'ax-grid-layout-widget',\n template: ` <ng-content></ng-content> `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXGridLayoutWidgetComponent {\n private readonly elementRef: ElementRef<AXGridLayoutWidgetElement> = inject(ElementRef);\n\n public options = input<AXGridLayoutNode>();\n\n eff = effect(() => {\n const options = this.options();\n\n untracked(() => {\n const gridstackNode = this.elementRef.nativeElement.gridstackNode;\n if (gridstackNode?.grid) {\n gridstackNode.grid.update(this.elementRef.nativeElement, options);\n }\n });\n });\n\n public setLockable(state: boolean): void {\n this.updateWidgetOptions({ noResize: state });\n }\n\n public setResizable(state: boolean): void {\n this.updateWidgetOptions({ noMove: state });\n }\n\n public setOptions(options: AXGridLayoutWidget): void {\n this.updateWidgetOptions(options);\n }\n\n public getOptions(): AXGridLayoutNode {\n const gridstackNode = this.elementRef.nativeElement.gridstackNode;\n return gridstackNode ? { ...gridstackNode, el: this.elementRef.nativeElement } : { ...this.options(), el: this.elementRef.nativeElement };\n }\n\n public element() {\n return this.elementRef.nativeElement;\n }\n\n private updateWidgetOptions(options: Partial<AXGridLayoutWidget>): void {\n this.elementRef.nativeElement.gridstackNode?.grid?.update(this.elementRef.nativeElement, options);\n }\n}\n","import { NXComponent } from '@acorex/components/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n ContentChildren,\n ElementRef,\n NgZone,\n OnDestroy,\n QueryList,\n SecurityContext,\n ViewEncapsulation,\n afterNextRender,\n contentChildren,\n inject,\n input,\n model,\n output,\n} from '@angular/core';\nimport { DomSanitizer } from '@angular/platform-browser';\nimport { merge } from 'lodash-es';\nimport { Subscription } from 'rxjs';\nimport { AXGridLayoutWidgetComponent } from './grid-layout-widget.component';\nimport {\n AXGridLayout,\n AXGridLayoutChangedEvent,\n AXGridLayoutContainerElement,\n AXGridLayoutDroppedEvent,\n AXGridLayoutElementEvent,\n AXGridLayoutEventEvent,\n AXGridLayoutNode,\n AXGridLayoutNodesEvent,\n AXGridLayoutOptions,\n AXGridLayoutWidget,\n AXGridLayoutWidgetElement,\n AXSaveCallback,\n} from './types';\n\n@Component({\n selector: 'ax-grid-layout-container',\n template: ` <ng-content></ng-content> `,\n styleUrl: './grid-layout-container.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXGridLayoutContainerComponent extends NXComponent implements OnDestroy {\n // Inputs\n\n public options = input<AXGridLayoutOptions>();\n\n // Outputs\n\n protected onAdded = output<AXGridLayoutNodesEvent>();\n\n protected onRemoved = output<AXGridLayoutNodesEvent>();\n\n protected onWidgetChange = output<AXGridLayoutNodesEvent>();\n\n protected onChange = output<AXGridLayoutChangedEvent>();\n\n protected _onEnable = output<AXGridLayoutEventEvent>();\n\n protected _onDisable = output<AXGridLayoutEventEvent>();\n\n protected _onWidgetDrag = output<AXGridLayoutElementEvent>();\n\n protected _onWidgetDragStart = output<AXGridLayoutElementEvent>();\n\n protected _onWidgetDragStop = output<AXGridLayoutElementEvent>();\n\n protected _onWidgetDropped = output<AXGridLayoutDroppedEvent>();\n\n protected _onWidgetResized = output<AXGridLayoutElementEvent>();\n\n protected _onWidgetResizeStart = output<AXGridLayoutElementEvent>();\n\n protected _onWidgetResizeStop = output<AXGridLayoutElementEvent>();\n\n protected isLayoutRendered = output<boolean>();\n\n // Model\n\n protected isEmpty = model(false);\n\n // Private Properties\n\n private readonly elementRef: ElementRef<AXGridLayoutContainerElement> = inject(ElementRef);\n private readonly ngZone = inject(NgZone);\n private readonly domSanitizer = inject(DomSanitizer);\n\n private widgets = contentChildren(AXGridLayoutWidgetComponent);\n @ContentChildren(AXGridLayoutWidgetComponent) public gridstackItems?: QueryList<AXGridLayoutWidgetComponent>;\n\n private el = this.elementRef.nativeElement;\n private serializedData?: AXGridLayoutOptions;\n private grid?: AXGridLayout;\n protected _sub: Subscription | undefined;\n\n #init = afterNextRender(() => {\n (window as any).g = this;\n this.ngZone.runOutsideAngular(async () => {\n const { GridStack } = await import('gridstack');\n this.grid = GridStack.init(this.options(), this.el);\n this.updateAll();\n this.hookEvents(this.grid);\n this.isLayoutRendered.emit(true);\n });\n this._sub = this.gridstackItems?.changes.subscribe(() => {\n this.updateAll();\n });\n });\n\n public ngOnDestroy(): void {\n this.unhookEvents(this.grid);\n this._sub?.unsubscribe();\n this.destroy();\n }\n\n // Methods\n\n // #contentChanges = effect(() => {\n // this.widgets();\n // untracked(() => {\n // this.updateAll();\n // });\n // });\n\n private updateAll() {\n if (!this.grid) {\n return;\n }\n\n const layout: AXGridLayoutNode[] = [];\n\n const arrays = this.widgets();\n if (arrays.length) {\n arrays.forEach((item) => {\n layout.push(item.getOptions() ?? {});\n });\n\n this.grid.load(layout);\n }\n this.checkEmpty();\n }\n\n private checkEmpty() {\n if (this.grid) {\n const isEmpty = !this.getChildren.length;\n if (isEmpty === this.isEmpty()) return;\n this.isEmpty.set(isEmpty);\n }\n }\n\n // Event Listeners\n\n private hookEvents(grid?: AXGridLayout): void {\n if (grid) {\n grid\n .on('added', (event: Event, nodes: AXGridLayoutNode[]) => {\n this.checkEmpty();\n this.onAdded.emit({ event, nodes });\n this._dispatchChangeEvent();\n })\n .on('removed', (event: Event, nodes: AXGridLayoutNode[]) => {\n this.checkEmpty();\n this.onRemoved.emit({ event, nodes });\n this._dispatchChangeEvent();\n })\n .on('change', (event: Event, nodes: AXGridLayoutNode[]) => {\n this.onWidgetChange.emit({ event, nodes });\n this._dispatchChangeEvent();\n })\n .on('disable', (event: Event) => this._onDisable.emit({ event }))\n .on('drag', (event: Event, el: AXGridLayoutWidgetElement) => this._onWidgetDrag.emit({ event, el }))\n .on('dragstart', (event: Event, el: AXGridLayoutWidgetElement) => this._onWidgetDragStart.emit({ event, el }))\n .on('dragstop', (event: Event, el: AXGridLayoutWidgetElement) => this._onWidgetDragStop.emit({ event, el }))\n .on('dropped', (event: Event, previousNode: AXGridLayoutNode, newNode: AXGridLayoutNode) =>\n this._onWidgetDropped.emit({ event, previousNode, newNode }),\n )\n .on('enable', (event: Event) => this._onEnable.emit({ event }))\n .on('resize', (event: Event, el: AXGridLayoutWidgetElement) => this._onWidgetResized.emit({ event, el }))\n .on('resizestart', (event: Event, el: AXGridLayoutWidgetElement) => this._onWidgetResizeStart.emit({ event, el }))\n .on('resizestop', (event: Event, el: AXGridLayoutWidgetElement) => this._onWidgetResizeStop.emit({ event, el }));\n }\n }\n\n private unhookEvents(grid?: AXGridLayout) {\n if (grid) {\n grid.offAll();\n }\n }\n\n //PUBLIC SETTER METHODS\n\n public addWidget(w: AXGridLayoutWidget, withAutoArrange = false): AXGridLayoutWidgetElement | undefined {\n if (withAutoArrange) {\n this.compact();\n }\n return this.grid?.addWidget(w);\n }\n\n public compact(layout: 'list' | 'compact' = 'compact', doSort = true): void {\n this.grid?.compact(layout, doSort);\n }\n\n public setCellHeight(val: number, update = true): void {\n this.grid?.cellHeight(val, update);\n }\n\n public setColumn(column: number, layout: 'list' | 'compact' | 'moveScale' | 'move' | 'scale' | 'none' = 'moveScale'): void {\n this.grid?.column(column, layout);\n }\n\n public destroy(removeDOM = true): void {\n this.grid?.destroy(removeDOM);\n }\n\n public setMovable(state: boolean, recurse?: boolean) {\n this.grid.enableMove(state, recurse);\n }\n\n public setResizable(state: boolean, recurse?: boolean) {\n this.grid.enableResize(state, recurse);\n }\n\n public setFloat(val: boolean): void {\n this.grid?.float(val);\n }\n\n public setMargin(value: number | string): void {\n this.grid?.margin(value);\n }\n\n public removeWidget(el: AXGridLayoutWidgetElement, removeDOM = true, triggerEvent = true): void {\n this.grid?.removeWidget(el, removeDOM, triggerEvent);\n }\n\n public removeAll(removeDOM = true): void {\n this.grid?.removeAll(removeDOM);\n }\n\n public setAnimation(doAnimate: boolean): void {\n this.grid?.setAnimation(doAnimate);\n }\n\n public save(saveContent = false, saveGridOpt = true, saveCallback?: AXSaveCallback): AXGridLayoutOptions {\n this.serializedData = this.grid?.save(saveContent, saveGridOpt, saveCallback) as AXGridLayoutOptions;\n return this.serializedData;\n }\n\n public async load(serializedData: AXGridLayoutOptions = this.serializedData, cleanBeforeLoad = true): Promise<AXGridLayout> {\n if (cleanBeforeLoad) {\n this.grid?.removeAll();\n }\n\n if (serializedData.children) {\n serializedData.children = serializedData.children.map((child) => {\n if (child.content) {\n const sanitizedContent = this.domSanitizer.sanitize(SecurityContext.HTML, child.content);\n if (!sanitizedContent) {\n console.warn('Invalid or unsafe content removed:', child.content);\n child.content = '';\n } else {\n child.content = sanitizedContent;\n }\n }\n return child;\n });\n }\n\n const { GridStack } = await import('gridstack');\n return GridStack.addGrid(this.el, serializedData);\n }\n\n public async setupDraggable(dragIn?: string | HTMLElement[], widgets?: AXGridLayoutWidget) {\n if (typeof dragIn === 'string') {\n document.querySelectorAll(dragIn).forEach((item) => {\n if (!item.classList.contains('grid-stack-item')) {\n item.classList.add('grid-stack-item');\n }\n });\n }\n const { GridStack } = await import('gridstack');\n GridStack.setupDragIn(dragIn, undefined, [widgets]);\n }\n\n public setOption(options: AXGridLayoutOptions) {\n this.grid.opts = merge({}, this.grid.opts, options);\n }\n\n public getOptions(): AXGridLayoutOptions {\n return this.grid?.opts || {};\n }\n\n public getChildren(): AXGridLayoutNode[] {\n return this.grid?.engine.nodes;\n }\n\n public findEmptySpace(input: { h: number; w: number }): { x?: number; y?: number } {\n const value = { ...input } as any;\n this.grid?.engine.findEmptyPosition(value);\n return { x: value.x, y: value.y };\n }\n\n //#region Events\n\n private _dispatchChangeEvent() {\n if (this.getChildren()) {\n this.onChange.emit({\n sender: this,\n nodes: this.getChildren(),\n });\n }\n }\n\n //#endregion\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { AXGridLayoutContainerComponent } from './grid-layout-container.component';\nimport { AXGridLayoutWidgetComponent } from './grid-layout-widget.component';\n\n@NgModule({\n imports: [CommonModule, AXGridLayoutContainerComponent, AXGridLayoutWidgetComponent],\n exports: [AXGridLayoutContainerComponent, AXGridLayoutWidgetComponent],\n})\nexport class AXGridLayoutBuilderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MASa,2BAA2B,CAAA;AANxC,IAAA,WAAA,GAAA;AAOmB,QAAA,IAAA,CAAA,UAAU,GAA0C,MAAM,CAAC,UAAU,CAAC;QAEhF,IAAO,CAAA,OAAA,GAAG,KAAK,EAAoB;AAE1C,QAAA,IAAA,CAAA,GAAG,GAAG,MAAM,CAAC,MAAK;AAChB,YAAA,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,EAAE;YAE9B,SAAS,CAAC,MAAK;gBACb,MAAM,aAAa,GAAG,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,aAAa;AACjE,gBAAA,IAAI,aAAa,EAAE,IAAI,EAAE;AACvB,oBAAA,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,OAAO,CAAC;;AAErE,aAAC,CAAC;AACJ,SAAC,CAAC;AA0BH;AAxBQ,IAAA,WAAW,CAAC,KAAc,EAAA;QAC/B,IAAI,CAAC,mBAAmB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;AAGxC,IAAA,YAAY,CAAC,KAAc,EAAA;QAChC,IAAI,CAAC,mBAAmB,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;;AAGtC,IAAA,UAAU,CAAC,OAA2B,EAAA;AAC3C,QAAA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A,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;2FAK5B,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAP1C,SAAS;+BACE,0BAA0B,EAAA,QAAA,EAC1B,6BAA6B,EAEtB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,aAAA,EAChC,iBAAiB,CAAC,IAAI,EAAA,MAAA,EAAA,CAAA,ogeAAA,CAAA,EAAA;8BAgDgB,cAAc,EAAA,CAAA;sBAAlE,eAAe;uBAAC,2BAA2B;;;MChFjC,yBAAyB,CAAA;8GAAzB,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAzB,yBAAyB,EAAA,OAAA,EAAA,CAH1B,YAAY,EAAE,8BAA8B,EAAE,2BAA2B,CAAA,EAAA,OAAA,EAAA,CACzE,8BAA8B,EAAE,2BAA2B,CAAA,EAAA,CAAA,CAAA;AAE1D,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,yBAAyB,YAH1B,YAAY,CAAA,EAAA,CAAA,CAAA;;2FAGX,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAJrC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,8BAA8B,EAAE,2BAA2B,CAAC;AACpF,oBAAA,OAAO,EAAE,CAAC,8BAA8B,EAAE,2BAA2B,CAAC;AACvE,iBAAA;;;ACTD;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-components-grid-layout-builder.mjs","sources":["../../../../libs/components/grid-layout-builder/src/lib/utility.ts","../../../../libs/components/grid-layout-builder/src/lib/grid-layout-widget.component.ts","../../../../libs/components/grid-layout-builder/src/lib/grid-layout-container.component.ts","../../../../libs/components/grid-layout-builder/src/lib/grid-layout-builder.module.ts","../../../../libs/components/grid-layout-builder/src/acorex-components-grid-layout-builder.ts"],"sourcesContent":["import { AXGridLayoutNode, AXGridLayoutOptions, AXGridLayoutWidget } from './types';\n\n// Convert AXGridLayoutWidget to GridStackWidget\nexport function convertAXGridLayoutWidgetToGridStackWidget(\n widget: AXGridLayoutWidget,\n): import('gridstack').GridStackWidget {\n return {\n id: widget.id,\n x: widget.x,\n y: widget.y,\n w: widget.w,\n h: widget.h,\n noResize: widget.disableResize,\n noMove: widget.disableDrag,\n };\n}\n\n// Convert GridStackWidget to AXGridLayoutWidget\nexport function convertGridStackWidgetToAXGridLayoutWidget(\n widget: import('gridstack').GridStackWidget,\n): AXGridLayoutWidget {\n return {\n id: widget.id,\n x: widget.x,\n y: widget.y,\n w: widget.w,\n h: widget.h,\n disableResize: widget.noResize,\n disableDrag: widget.noMove,\n };\n}\n\n// Convert AXGridLayoutNode to GridStackNode\nexport function convertAXGridLayoutNodeToGridStackNode(node: AXGridLayoutNode): import('gridstack').GridStackNode {\n return {\n id: node.id,\n x: node.x,\n y: node.y,\n w: node.w,\n h: node.h,\n noResize: node.disableResize,\n noMove: node.disableDrag,\n el: node.element,\n };\n}\n\n// Convert GridStackNode to AXGridLayoutNode\nexport function convertGridStackNodeToAXGridLayoutNode(node: import('gridstack').GridStackNode): AXGridLayoutNode {\n return {\n id: node.id,\n x: node.x,\n y: node.y,\n w: node.w,\n h: node.h,\n disableResize: node.noResize,\n disableDrag: node.noMove,\n element: node.el,\n };\n}\n\n// Convert AXGridLayoutOptions to GridStackOptions\nexport function convertAXGridLayoutOptionsToGridStackOptions(\n options: AXGridLayoutOptions,\n): import('gridstack').GridStackOptions {\n return {\n column: options.column,\n disableDrag: options.disableDrag,\n disableResize: options.disableResize,\n margin: options.gap,\n cellHeight: options.cellHeight,\n rtl: options.rtl,\n maxRow: options.maxRow,\n minRow: options.minRow,\n row: options.row,\n removable: options.removableSelector || options.removable,\n acceptWidgets: options.acceptWidgets,\n float: options.float,\n handle: options.dragHandlerSelector,\n };\n}\n\n// Convert GridStackOptions to AXGridLayoutOptions\nexport function convertGridStackOptionsToAXGridLayoutOptions(\n options: import('gridstack').GridStackOptions,\n): AXGridLayoutOptions {\n return {\n column: options.column,\n disableDrag: options.disableDrag,\n disableResize: options.disableResize,\n gap: options.margin,\n cellHeight: options.cellHeight,\n rtl: options.rtl,\n maxRow: options.maxRow,\n minRow: options.minRow,\n row: options.row,\n removableSelector: typeof options.removable === 'string' ? options.removable : undefined,\n removable: typeof options.removable === 'boolean' ? options.removable : undefined,\n acceptWidgets: options.acceptWidgets as boolean,\n float: options.float,\n dragHandlerSelector: options.handle,\n };\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n effect,\n ElementRef,\n inject,\n input,\n untracked,\n ViewEncapsulation,\n} from '@angular/core';\nimport { AXGridLayoutNode, AXGridLayoutWidget, AXGridLayoutWidgetElement } from './types';\nimport { convertAXGridLayoutWidgetToGridStackWidget, convertGridStackNodeToAXGridLayoutNode } from './utility';\n\n@Component({\n selector: 'ax-grid-layout-widget',\n template: `<ng-content></ng-content>`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: { class: 'grid-stack-item-content' },\n})\nexport class AXGridLayoutWidgetComponent {\n private readonly elementRef: ElementRef<AXGridLayoutWidgetElement> = inject(ElementRef);\n\n public options = input<AXGridLayoutNode>();\n\n #eff = effect(() => {\n const options = this.options();\n\n untracked(() => {\n const gridstackNode = this.elementRef.nativeElement.gridstackNode as import('gridstack').GridStackNode;\n if (gridstackNode?.grid) {\n gridstackNode.grid.update(this.elementRef.nativeElement, convertAXGridLayoutWidgetToGridStackWidget(options));\n }\n });\n });\n\n /**\n * Locks or unlocks the widget (prevents dragging and resizing).\n * @param state - If `true`, the widget will be locked.\n */\n public setLockable(state: boolean): void {\n this.updateWidgetOptions({ disableResize: state, disableDrag: state });\n }\n\n /**\n * Enables or disables resizing of the widget.\n * @param state - If `true`, resizing will be enabled.\n */\n public setResizable(state: boolean): void {\n this.updateWidgetOptions({ disableResize: !state });\n }\n\n /**\n * Updates the widget options.\n * @param options - The new options for the widget.\n */\n public setOptions(options: AXGridLayoutWidget): void {\n this.updateWidgetOptions(options);\n }\n\n /**\n * Returns the current options of the widget.\n * @returns The current widget options.\n */\n public getOptions(): AXGridLayoutNode {\n const gridstackNode = this.elementRef.nativeElement.gridstackNode;\n return gridstackNode\n ? convertGridStackNodeToAXGridLayoutNode(gridstackNode)\n : { ...this.options(), element: this.elementRef.nativeElement };\n }\n\n /**\n * Returns the native DOM element of the widget.\n * @returns The native element.\n */\n public get element(): AXGridLayoutWidgetElement {\n return this.elementRef.nativeElement;\n }\n\n /**\n * Updates the widget options and triggers a grid update.\n * @param options - The partial options to update.\n */\n private updateWidgetOptions(options: Partial<AXGridLayoutWidget>): void {\n const gridstackNode = this.elementRef.nativeElement.gridstackNode as import('gridstack').GridStackNode;\n if (gridstackNode?.grid) {\n gridstackNode.grid.update(this.elementRef.nativeElement, convertAXGridLayoutWidgetToGridStackWidget(options));\n }\n }\n}\n","import { NXComponent } from '@acorex/components/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n ContentChildren,\n ElementRef,\n NgZone,\n OnDestroy,\n QueryList,\n ViewEncapsulation,\n afterNextRender,\n inject,\n input,\n model,\n output,\n} from '@angular/core';\nimport { Subscription } from 'rxjs';\nimport { AXGridLayoutWidgetComponent } from './grid-layout-widget.component';\nimport {\n AXGridLayout,\n AXGridLayoutContainerElement,\n AXGridLayoutEvent,\n AXGridLayoutNode,\n AXGridLayoutOptions,\n AXGridLayoutWidget,\n AXGridLayoutWidgetElement,\n} from './types';\nimport {\n convertAXGridLayoutNodeToGridStackNode,\n convertAXGridLayoutOptionsToGridStackOptions,\n convertAXGridLayoutWidgetToGridStackWidget,\n convertGridStackNodeToAXGridLayoutNode,\n convertGridStackOptionsToAXGridLayoutOptions,\n} from './utility';\n\n@Component({\n selector: 'ax-grid-layout-container',\n template: ` <ng-content></ng-content> `,\n styleUrl: './grid-layout-container.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXGridLayoutContainerComponent extends NXComponent implements OnDestroy {\n //#region Inputs and Outputs\n public options = input<AXGridLayoutOptions>();\n\n protected onAdded = output<AXGridLayoutEvent>();\n protected onRemoved = output<AXGridLayoutEvent>();\n protected onWidgetChange = output<AXGridLayoutEvent>();\n protected onChange = output<AXGridLayoutEvent>();\n protected isLayoutRendered = output<boolean>();\n\n protected isEmpty = model(false);\n //#endregion\n\n //#region Private Properties\n private readonly elementRef: ElementRef<AXGridLayoutContainerElement> = inject(ElementRef);\n private readonly ngZone = inject(NgZone);\n\n @ContentChildren(AXGridLayoutWidgetComponent) public gridstackItems?: QueryList<AXGridLayoutWidgetComponent>;\n\n private el = this.elementRef.nativeElement;\n private grid?: AXGridLayout;\n protected _sub: Subscription | undefined;\n //#endregion\n\n //#region Initialization\n #init = afterNextRender(() => {\n (window as any).g = this;\n this.ngZone.runOutsideAngular(async () => {\n const { GridStack } = await import('gridstack');\n const gridStackOptions = convertAXGridLayoutOptionsToGridStackOptions(this.options() ?? {});\n this.grid = GridStack.init(gridStackOptions, this.el);\n this.updateAll();\n this.hookEvents(this.grid);\n this.isLayoutRendered.emit(true);\n });\n this._sub = this.gridstackItems?.changes.subscribe(() => {\n this.updateAll();\n });\n });\n\n public ngOnDestroy(): void {\n this.unhookEvents(this.grid);\n this._sub?.unsubscribe();\n this.destroy();\n }\n //#endregion\n\n //#region Internal Methods\n private updateAll() {\n if (!this.grid) return;\n\n const layout: AXGridLayoutNode[] = [];\n const arrays = this.gridstackItems?.toArray() ?? [];\n\n if (arrays.length) {\n arrays.forEach((item) => {\n const widgetOptions = item.getOptions();\n if (widgetOptions) {\n layout.push(convertAXGridLayoutNodeToGridStackNode(widgetOptions));\n }\n });\n this.grid.load(layout);\n }\n this.checkEmpty();\n }\n\n private checkEmpty() {\n if (this.grid) {\n const isEmpty = !this.getChildren().length;\n if (isEmpty === this.isEmpty()) return;\n this.isEmpty.set(isEmpty);\n }\n }\n\n private hookEvents(grid?: AXGridLayout): void {\n if (grid) {\n grid\n .on('added', (event: Event, nodes: import('gridstack').GridStackNode[]) => {\n const mappedNodes = nodes.map((node) => convertGridStackNodeToAXGridLayoutNode(node));\n this.checkEmpty();\n this.onAdded.emit({ sender: this, nodes: mappedNodes });\n this._dispatchChangeEvent();\n })\n .on('removed', (event: Event, nodes: import('gridstack').GridStackNode[]) => {\n const mappedNodes = nodes.map((node) => convertGridStackNodeToAXGridLayoutNode(node));\n this.checkEmpty();\n this.onRemoved.emit({ sender: this, nodes: mappedNodes });\n this._dispatchChangeEvent();\n })\n .on('change', (event: Event, nodes: import('gridstack').GridStackNode[]) => {\n const mappedNodes = nodes.map((node) => convertGridStackNodeToAXGridLayoutNode(node));\n this.onWidgetChange.emit({ sender: this, nodes: mappedNodes });\n this._dispatchChangeEvent();\n });\n }\n }\n\n private unhookEvents(grid?: AXGridLayout) {\n if (grid) grid.offAll();\n }\n\n private _dispatchChangeEvent() {\n if (this.getChildren().length) {\n this.onChange.emit({\n sender: this,\n nodes: this.getChildren(),\n });\n }\n }\n //#endregion\n\n //#region Public Methods\n public addWidget(w: AXGridLayoutWidget, withAutoArrange = false): AXGridLayoutWidgetElement | undefined {\n if (withAutoArrange) this.compact();\n\n const gridStackWidget = convertAXGridLayoutWidgetToGridStackWidget(w);\n const node = this.grid?.addWidget(gridStackWidget)?.gridstackNode;\n if (!node) return undefined;\n\n const widgetElement: AXGridLayoutWidgetElement = node.el as AXGridLayoutWidgetElement;\n widgetElement.gridstackNode = convertGridStackNodeToAXGridLayoutNode(node);\n\n return widgetElement;\n }\n\n public compact(layout: 'list' | 'compact' = 'compact', doSort = true): void {\n this.grid?.compact(layout, doSort);\n }\n\n public setCellHeight(val: number, update = true): void {\n this.grid?.cellHeight(val, update);\n }\n\n public setColumn(\n column: number,\n layout: 'list' | 'compact' | 'moveScale' | 'move' | 'scale' | 'none' = 'moveScale',\n ): void {\n this.grid?.column(column, layout);\n }\n\n public destroy(removeDOM = true): void {\n this.grid?.destroy(removeDOM);\n }\n\n public setMovable(state: boolean, recurse?: boolean) {\n this.grid?.enableMove(state, recurse);\n }\n\n public setResizable(state: boolean, recurse?: boolean) {\n this.grid?.enableResize(state, recurse);\n }\n\n public setFloat(val: boolean): void {\n this.grid?.float(val);\n }\n\n public setMargin(value: number | string): void {\n this.grid?.margin(value);\n }\n\n public removeWidget(el: AXGridLayoutWidgetElement, removeDOM = true, triggerEvent = true): void {\n this.grid?.removeWidget(el, removeDOM, triggerEvent);\n }\n\n public removeAll(removeDOM = true): void {\n this.grid?.removeAll(removeDOM);\n }\n\n public setAnimation(doAnimate: boolean): void {\n this.grid?.setAnimation(doAnimate);\n }\n\n public async setupDraggable(dragIn?: string | HTMLElement[], widgets?: AXGridLayoutWidget) {\n if (typeof dragIn === 'string') {\n document.querySelectorAll(dragIn).forEach((item) => {\n if (!item.classList.contains('grid-stack-item')) {\n item.classList.add('grid-stack-item');\n }\n });\n }\n const { GridStack } = await import('gridstack');\n const gridStackWidgets = widgets ? [convertAXGridLayoutWidgetToGridStackWidget(widgets)] : undefined;\n GridStack.setupDragIn(dragIn, undefined, gridStackWidgets);\n }\n\n public getOptions(): AXGridLayoutOptions {\n const opts = this.grid?.opts;\n if (!opts) return {};\n\n return convertGridStackOptionsToAXGridLayoutOptions(opts);\n }\n\n public getChildren(): AXGridLayoutNode[] {\n const children = this.grid?.engine.nodes ?? [];\n return children.map((node) => convertGridStackNodeToAXGridLayoutNode(node));\n }\n\n public findEmptySpace(input: { h: number; w: number }): { x?: number; y?: number } {\n const value = { ...input } as any;\n this.grid?.engine.findEmptyPosition(value);\n return { x: value.x, y: value.y };\n }\n //#endregion\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { AXGridLayoutContainerComponent } from './grid-layout-container.component';\nimport { AXGridLayoutWidgetComponent } from './grid-layout-widget.component';\n\n@NgModule({\n imports: [CommonModule, AXGridLayoutContainerComponent, AXGridLayoutWidgetComponent],\n exports: [AXGridLayoutContainerComponent, AXGridLayoutWidgetComponent],\n})\nexport class AXGridLayoutBuilderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAEA;AACM,SAAU,0CAA0C,CACxD,MAA0B,EAAA;IAE1B,OAAO;QACL,EAAE,EAAE,MAAM,CAAC,EAAE;QACb,CAAC,EAAE,MAAM,CAAC,CAAC;QACX,CAAC,EAAE,MAAM,CAAC,CAAC;QACX,CAAC,EAAE,MAAM,CAAC,CAAC;QACX,CAAC,EAAE,MAAM,CAAC,CAAC;QACX,QAAQ,EAAE,MAAM,CAAC,aAAa;QAC9B,MAAM,EAAE,MAAM,CAAC,WAAW;KAC3B;AACH;AAEA;AACM,SAAU,0CAA0C,CACxD,MAA2C,EAAA;IAE3C,OAAO;QACL,EAAE,EAAE,MAAM,CAAC,EAAE;QACb,CAAC,EAAE,MAAM,CAAC,CAAC;QACX,CAAC,EAAE,MAAM,CAAC,CAAC;QACX,CAAC,EAAE,MAAM,CAAC,CAAC;QACX,CAAC,EAAE,MAAM,CAAC,CAAC;QACX,aAAa,EAAE,MAAM,CAAC,QAAQ;QAC9B,WAAW,EAAE,MAAM,CAAC,MAAM;KAC3B;AACH;AAEA;AACM,SAAU,sCAAsC,CAAC,IAAsB,EAAA;IAC3E,OAAO;QACL,EAAE,EAAE,IAAI,CAAC,EAAE;QACX,CAAC,EAAE,IAAI,CAAC,CAAC;QACT,CAAC,EAAE,IAAI,CAAC,CAAC;QACT,CAAC,EAAE,IAAI,CAAC,CAAC;QACT,CAAC,EAAE,IAAI,CAAC,CAAC;QACT,QAAQ,EAAE,IAAI,CAAC,aAAa;QAC5B,MAAM,EAAE,IAAI,CAAC,WAAW;QACxB,EAAE,EAAE,IAAI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