@muxima-ui/core 1.2.0 → 1.4.0
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/README.md +11 -0
- package/fesm2022/muxima-ui-core-data-grid.mjs +1187 -0
- package/fesm2022/muxima-ui-core-data-grid.mjs.map +1 -0
- package/fesm2022/muxima-ui-core-editor.mjs +575 -0
- package/fesm2022/muxima-ui-core-editor.mjs.map +1 -0
- package/fesm2022/muxima-ui-core-image-cropper.mjs +568 -0
- package/fesm2022/muxima-ui-core-image-cropper.mjs.map +1 -0
- package/fesm2022/muxima-ui-core-kanban.mjs +369 -0
- package/fesm2022/muxima-ui-core-kanban.mjs.map +1 -0
- package/fesm2022/muxima-ui-core-tour.mjs +536 -0
- package/fesm2022/muxima-ui-core-tour.mjs.map +1 -0
- package/fesm2022/muxima-ui-core.mjs +1 -1
- package/fesm2022/muxima-ui-core.mjs.map +1 -1
- package/package.json +41 -2
- package/styles/base.css +6 -0
- package/styles/components/data-grid.css +235 -0
- package/styles/components/editor.css +187 -0
- package/styles/components/image-cropper.css +113 -0
- package/styles/components/kanban.css +115 -0
- package/styles/components/tour.css +155 -0
- package/styles/muxima.css +5 -0
- package/types/muxima-ui-core-data-grid.d.ts +175 -0
- package/types/muxima-ui-core-editor.d.ts +104 -0
- package/types/muxima-ui-core-image-cropper.d.ts +105 -0
- package/types/muxima-ui-core-kanban.d.ts +83 -0
- package/types/muxima-ui-core-tour.d.ts +163 -0
- package/types/muxima-ui-core.d.ts +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"muxima-ui-core-image-cropper.mjs","sources":["../../../projects/core/image-cropper/crop-math.ts","../../../projects/core/image-cropper/image-cropper.ts","../../../projects/core/image-cropper/muxima-ui-core-image-cropper.ts"],"sourcesContent":["/** Rectângulo em píxeis. */\nexport interface MxRect {\n x: number;\n y: number;\n width: number;\n height: number;\n}\n\n/** Puxadores de redimensionar: cantos e lados. */\nexport type MxCropHandle = 'n' | 's' | 'e' | 'w' | 'ne' | 'nw' | 'se' | 'sw';\n\n/** Mantém o rectângulo dentro dos limites, sem mudar o tamanho (a não ser que não caiba). */\nexport function mxClampRect(r: MxRect, bounds: MxRect): MxRect {\n const width = Math.min(r.width, bounds.width);\n const height = Math.min(r.height, bounds.height);\n return {\n width,\n height,\n x: Math.min(Math.max(r.x, bounds.x), bounds.x + bounds.width - width),\n y: Math.min(Math.max(r.y, bounds.y), bounds.y + bounds.height - height),\n };\n}\n\n/** Maior rectângulo com a proporção dada, centrado nos limites (ocupa `fill` do espaço). */\nexport function mxCenteredRect(bounds: MxRect, ratio: number | null, fill = 0.8): MxRect {\n let width = bounds.width * fill;\n let height = bounds.height * fill;\n if (ratio) {\n if (width / height > ratio) width = height * ratio;\n else height = width / ratio;\n }\n return {\n x: bounds.x + (bounds.width - width) / 2,\n y: bounds.y + (bounds.height - height) / 2,\n width,\n height,\n };\n}\n\n/**\n * Redimensiona a partir de um puxador por (dx, dy), respeitando a proporção, o tamanho\n * mínimo e os limites. O lado oposto ao puxador fica parado.\n */\nexport function mxResizeRect(\n r: MxRect,\n handle: MxCropHandle,\n dx: number,\n dy: number,\n bounds: MxRect,\n ratio: number | null,\n min = 24,\n): MxRect {\n let { x, y, width, height } = r;\n const right = x + width;\n const bottom = y + height;\n if (handle.includes('e'))\n width = Math.min(Math.max(width + dx, min), bounds.x + bounds.width - x);\n if (handle.includes('w')) {\n const nx = Math.min(Math.max(x + dx, bounds.x), right - min);\n width = right - nx;\n x = nx;\n }\n if (handle.includes('s'))\n height = Math.min(Math.max(height + dy, min), bounds.y + bounds.height - y);\n if (handle.includes('n')) {\n const ny = Math.min(Math.max(y + dy, bounds.y), bottom - min);\n height = bottom - ny;\n y = ny;\n }\n if (ratio) {\n // o eixo que o puxador controla manda; nos cantos, o maior movimento\n const horizontal =\n handle === 'e' || handle === 'w' || (handle.length === 2 && Math.abs(dx) >= Math.abs(dy));\n if (horizontal) height = width / ratio;\n else width = height * ratio;\n // não sair dos limites: reduz ambos\n const maxW = handle.includes('w') ? right - bounds.x : bounds.x + bounds.width - x;\n const maxH = handle.includes('n') ? bottom - bounds.y : bounds.y + bounds.height - y;\n const k = Math.min(1, maxW / width, maxH / height);\n width *= k;\n height *= k;\n if (handle.includes('w')) x = right - width;\n if (handle.includes('n')) y = bottom - height;\n if (handle === 'e' || handle === 'w')\n y = Math.min(\n Math.max(r.y + (r.height - height) / 2, bounds.y),\n bounds.y + bounds.height - height,\n );\n if (handle === 'n' || handle === 's')\n x = Math.min(\n Math.max(r.x + (r.width - width) / 2, bounds.x),\n bounds.x + bounds.width - width,\n );\n }\n return { x, y, width, height };\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n DestroyRef,\n ElementRef,\n ViewEncapsulation,\n booleanAttribute,\n computed,\n effect,\n inject,\n input,\n model,\n numberAttribute,\n output,\n signal,\n untracked,\n viewChild,\n} from '@angular/core';\nimport { LiveAnnouncer } from '@angular/cdk/a11y';\nimport { mxUniqueId } from '@muxima-ui/core/form-field';\nimport { MxCropHandle, MxRect, mxCenteredRect, mxClampRect, mxResizeRect } from './crop-math';\n\n/** Área recortada em píxeis da imagem original, com a rotação aplicada antes. */\nexport interface MxCropArea extends MxRect {\n rotation: number;\n}\n\nconst HANDLES: MxCropHandle[] = ['nw', 'n', 'ne', 'e', 'se', 's', 'sw', 'w'];\n\n/**\n * Recortar uma imagem antes de a enviar: arrastar a área, redimensionar pelos cantos,\n * zoom e rodar. Com teclado: setas movem a área, Alt + setas mudam o tamanho (Shift para\n * passos maiores); cada mudança é anunciada.\n *\n * ```html\n * <mx-image-cropper #c [src]=\"ficheiro\" [aspectRatio]=\"1\" round />\n * <button mxButton (click)=\"c.toBlob().then(enviar)\">Guardar</button>\n * ```\n *\n * `src` aceita um URL ou um File. `toBlob()` devolve a imagem recortada na resolução original.\n */\n@Component({\n selector: 'mx-image-cropper',\n exportAs: 'mxImageCropper',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'mx-image-cropper',\n '[attr.data-round]': 'round() ? \"\" : null',\n '[attr.aria-label]': 'null',\n },\n template: `\n <div class=\"mx-cropper-stage\" #stage [style.height]=\"height()\">\n @if (url()) {\n <img\n #img\n class=\"mx-cropper-image\"\n [src]=\"url()\"\n [alt]=\"alt()\"\n draggable=\"false\"\n [style.width.px]=\"natural().w\"\n [style.height.px]=\"natural().h\"\n [style.transform]=\"\n 'translate(-50%, -50%) rotate(' + rotation() + 'deg) scale(' + scale() + ')'\n \"\n (load)=\"onLoad()\"\n />\n }\n @if (ready()) {\n <div\n class=\"mx-cropper-box\"\n role=\"group\"\n tabindex=\"0\"\n aria-roledescription=\"área de recorte\"\n [attr.aria-label]=\"boxLabel()\"\n [attr.aria-describedby]=\"helpId\"\n [style.left.px]=\"box().x\"\n [style.top.px]=\"box().y\"\n [style.width.px]=\"box().width\"\n [style.height.px]=\"box().height\"\n (pointerdown)=\"startMove($event)\"\n (keydown)=\"onKeydown($event)\"\n >\n <span class=\"mx-cropper-grid\" aria-hidden=\"true\"></span>\n @for (h of handles; track h) {\n <span\n class=\"mx-cropper-handle\"\n [attr.data-handle]=\"h\"\n aria-hidden=\"true\"\n (pointerdown)=\"startResize($event, h)\"\n ></span>\n }\n </div>\n }\n </div>\n <p class=\"mx-visually-hidden\" [id]=\"helpId\">{{ helpText() }}</p>\n @if (controls()) {\n <div class=\"mx-cropper-controls\">\n <label class=\"mx-cropper-zoom\">\n <span>{{ zoomText() }}</span>\n <input\n type=\"range\"\n class=\"mx-slider\"\n min=\"1\"\n max=\"4\"\n step=\"0.05\"\n [value]=\"zoom()\"\n [disabled]=\"!ready()\"\n [attr.aria-valuetext]=\"zoomPct() + '%'\"\n (input)=\"setZoom($any($event.target).valueAsNumber)\"\n />\n </label>\n <button\n type=\"button\"\n class=\"mx-cropper-button\"\n [disabled]=\"!ready()\"\n [attr.aria-label]=\"rotateLeftText()\"\n (click)=\"rotate(-90)\"\n >\n <svg viewBox=\"0 0 16 16\" fill=\"none\" aria-hidden=\"true\">\n <path\n d=\"M3.5 6.5a5 5 0 1 1 .8 5.2M3.5 2.5v4h4\"\n stroke=\"currentColor\"\n stroke-width=\"1.4\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </svg>\n </button>\n <button\n type=\"button\"\n class=\"mx-cropper-button\"\n [disabled]=\"!ready()\"\n [attr.aria-label]=\"rotateRightText()\"\n (click)=\"rotate(90)\"\n >\n <svg viewBox=\"0 0 16 16\" fill=\"none\" aria-hidden=\"true\">\n <path\n d=\"M12.5 6.5a5 5 0 1 0-.8 5.2M12.5 2.5v4h-4\"\n stroke=\"currentColor\"\n stroke-width=\"1.4\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </svg>\n </button>\n <button\n type=\"button\"\n class=\"mx-cropper-button mx-cropper-reset\"\n [disabled]=\"!ready()\"\n (click)=\"reset()\"\n >\n {{ resetText() }}\n </button>\n </div>\n }\n <span class=\"mx-visually-hidden\" aria-live=\"polite\">{{ live() }}</span>\n `,\n})\nexport class MxImageCropper {\n readonly src = input<string | File | Blob | null>(null);\n readonly alt = input('Imagem a recortar');\n /** Largura / altura da área (1 = quadrado, 16/9...). null = livre. */\n readonly aspectRatio = input<number | null>(null);\n /** Máscara redonda (fotografias de perfil). toBlob devolve PNG com cantos transparentes. */\n readonly round = input(false, { transform: booleanAttribute });\n readonly controls = input(true, { transform: booleanAttribute });\n readonly height = input('320px');\n /** Tamanho mínimo da área no ecrã, em px. */\n readonly minSize = input(40, { transform: numberAttribute });\n readonly zoom = model(1);\n readonly rotation = model(0);\n readonly helpText = input(\n 'Setas movem a área. Alt e setas mudam o tamanho. Shift dá passos maiores.',\n );\n readonly zoomText = input('Zoom');\n readonly rotateLeftText = input('Rodar para a esquerda');\n readonly rotateRightText = input('Rodar para a direita');\n readonly resetText = input('Repor');\n /** Área recortada em píxeis da imagem original. */\n readonly areaChange = output<MxCropArea>();\n\n private readonly stage = viewChild.required<ElementRef<HTMLElement>>('stage');\n private readonly img = viewChild<ElementRef<HTMLImageElement>>('img');\n private readonly announcer = inject(LiveAnnouncer);\n protected readonly helpId = mxUniqueId('mx-cropper-help');\n protected readonly handles = HANDLES;\n\n protected readonly url = signal<string | null>(null);\n protected readonly natural = signal({ w: 0, h: 0 });\n private readonly stageSize = signal({ w: 0, h: 0 });\n protected readonly ready = signal(false);\n readonly box = signal<MxRect>({ x: 0, y: 0, width: 0, height: 0 });\n protected readonly live = signal('');\n private objectUrl: string | null = null;\n private liveTimer?: ReturnType<typeof setTimeout>;\n\n /** Escala que faz a imagem caber no palco, vezes o zoom. */\n private readonly fit = computed(() => {\n const { w, h } = this.natural();\n const s = this.stageSize();\n if (!w || !h || !s.w || !s.h) return 1;\n const turned = Math.abs(this.rotation()) % 180 === 90;\n const iw = turned ? h : w;\n const ih = turned ? w : h;\n return Math.min(s.w / iw, s.h / ih);\n });\n protected readonly scale = computed(() => this.fit() * this.zoom());\n protected readonly zoomPct = computed(() => Math.round(this.zoom() * 100));\n\n /** Rectângulo da imagem no palco (onde a área pode estar). */\n private readonly bounds = computed<MxRect>(() => {\n const { w, h } = this.natural();\n const s = this.stageSize();\n const turned = Math.abs(this.rotation()) % 180 === 90;\n const iw = (turned ? h : w) * this.scale();\n const ih = (turned ? w : h) * this.scale();\n const bw = Math.min(iw, s.w);\n const bh = Math.min(ih, s.h);\n return { x: (s.w - bw) / 2, y: (s.h - bh) / 2, width: bw, height: bh };\n });\n\n /** Área em píxeis da imagem (rodada). */\n readonly area = computed<MxCropArea>(() => {\n const b = this.box();\n const s = this.stageSize();\n const k = 1 / this.scale();\n const turned = Math.abs(this.rotation()) % 180 === 90;\n const iw = (turned ? this.natural().h : this.natural().w) * this.scale();\n const ih = (turned ? this.natural().w : this.natural().h) * this.scale();\n const ox = (s.w - iw) / 2;\n const oy = (s.h - ih) / 2;\n return {\n x: Math.round((b.x - ox) * k),\n y: Math.round((b.y - oy) * k),\n width: Math.round(b.width * k),\n height: Math.round(b.height * k),\n rotation: this.rotation(),\n };\n });\n\n protected readonly boxLabel = computed(() => {\n const a = this.area();\n return `${a.width} por ${a.height} píxeis`;\n });\n\n constructor() {\n effect(() => {\n const src = this.src();\n this.ready.set(false);\n if (this.objectUrl) URL.revokeObjectURL(this.objectUrl);\n this.objectUrl = null;\n if (!src) {\n this.url.set(null);\n return;\n }\n if (typeof src === 'string') this.url.set(src);\n else {\n this.objectUrl = URL.createObjectURL(src);\n this.url.set(this.objectUrl);\n }\n });\n // mantém a área dentro da imagem quando o zoom ou a rotação mudam\n effect(() => {\n const b = this.bounds();\n if (!this.ready()) return;\n const current = untracked(() => this.box());\n const next = mxClampRect(current, b);\n if (\n next.x !== current.x ||\n next.y !== current.y ||\n next.width !== current.width ||\n next.height !== current.height\n ) {\n untracked(() => this.box.set(next));\n }\n });\n effect(() => {\n if (this.ready()) this.areaChange.emit(this.area());\n });\n const ro =\n typeof ResizeObserver === 'function' ? new ResizeObserver(() => this.measure()) : null;\n queueMicrotask(() => ro?.observe(this.stage().nativeElement));\n inject(DestroyRef).onDestroy(() => {\n ro?.disconnect();\n if (this.objectUrl) URL.revokeObjectURL(this.objectUrl);\n clearTimeout(this.liveTimer);\n });\n }\n\n private measure(): void {\n const r = this.stage().nativeElement.getBoundingClientRect();\n this.stageSize.set({ w: r.width, h: r.height });\n }\n\n protected onLoad(): void {\n const el = this.img()!.nativeElement;\n this.natural.set({ w: el.naturalWidth, h: el.naturalHeight });\n this.measure();\n this.ready.set(true);\n this.reset();\n }\n\n /** Volta ao zoom 1, sem rotação, área centrada. */\n reset(): void {\n this.zoom.set(1);\n this.rotation.set(0);\n queueMicrotask(() => this.box.set(mxCenteredRect(this.bounds(), this.aspectRatio())));\n }\n setZoom(z: number): void {\n const prev = this.box();\n this.zoom.set(Math.min(Math.max(z, 1), 4));\n this.box.set(mxClampRect(prev, this.bounds()));\n }\n rotate(deg: number): void {\n this.rotation.update((r) => (r + deg + 360) % 360);\n this.box.set(mxCenteredRect(this.bounds(), this.aspectRatio()));\n this.say(`Rodada ${this.rotation()} graus`);\n }\n\n private say(text: string): void {\n clearTimeout(this.liveTimer);\n this.liveTimer = setTimeout(() => this.live.set(text), 250);\n }\n\n protected onKeydown(e: KeyboardEvent): void {\n const step = e.shiftKey ? 10 : 1;\n const d: Record<string, [number, number]> = {\n ArrowLeft: [-step, 0],\n ArrowRight: [step, 0],\n ArrowUp: [0, -step],\n ArrowDown: [0, step],\n };\n const m = d[e.key];\n if (!m) return;\n e.preventDefault();\n const b = this.box();\n if (e.altKey) {\n // Alt: muda o tamanho a partir do canto inferior direito\n this.box.set(\n mxResizeRect(\n b,\n 'se',\n m[0],\n m[1] || (this.aspectRatio() ? m[0] / this.aspectRatio()! : 0),\n this.bounds(),\n this.aspectRatio(),\n this.minSize(),\n ),\n );\n } else {\n this.box.set(mxClampRect({ ...b, x: b.x + m[0], y: b.y + m[1] }, this.bounds()));\n }\n const a = this.area();\n this.say(`${a.width} por ${a.height} píxeis, a ${a.x} da esquerda e ${a.y} do topo`);\n }\n\n private drag(e: PointerEvent, apply: (dx: number, dy: number, start: MxRect) => MxRect): void {\n if (e.button !== 0) return;\n e.preventDefault();\n e.stopPropagation();\n const start = this.box();\n const sx = e.clientX;\n const sy = e.clientY;\n const target = e.currentTarget as HTMLElement;\n target.setPointerCapture?.(e.pointerId);\n const move = (ev: PointerEvent) => this.box.set(apply(ev.clientX - sx, ev.clientY - sy, start));\n const up = () => {\n target.removeEventListener('pointermove', move);\n target.removeEventListener('pointerup', up);\n };\n target.addEventListener('pointermove', move);\n target.addEventListener('pointerup', up);\n }\n protected startMove(e: PointerEvent): void {\n (e.currentTarget as HTMLElement).focus();\n this.drag(e, (dx, dy, s) => mxClampRect({ ...s, x: s.x + dx, y: s.y + dy }, this.bounds()));\n }\n protected startResize(e: PointerEvent, h: MxCropHandle): void {\n this.drag(e, (dx, dy, s) =>\n mxResizeRect(s, h, dx, dy, this.bounds(), this.aspectRatio(), this.minSize()),\n );\n }\n\n /** Desenha o recorte num canvas na resolução original. */\n toCanvas(): HTMLCanvasElement {\n const img = this.img()?.nativeElement;\n const canvas = document.createElement('canvas');\n if (!img || !this.ready()) return canvas;\n const b = this.box();\n const s = this.stageSize();\n const k = 1 / this.scale();\n canvas.width = Math.max(1, Math.round(b.width * k));\n canvas.height = Math.max(1, Math.round(b.height * k));\n const ctx = canvas.getContext('2d');\n if (!ctx) return canvas;\n if (this.round()) {\n ctx.beginPath();\n ctx.ellipse(\n canvas.width / 2,\n canvas.height / 2,\n canvas.width / 2,\n canvas.height / 2,\n 0,\n 0,\n Math.PI * 2,\n );\n ctx.clip();\n }\n ctx.scale(k, k);\n ctx.translate(-b.x, -b.y);\n ctx.translate(s.w / 2, s.h / 2);\n ctx.rotate((this.rotation() * Math.PI) / 180);\n ctx.scale(this.scale(), this.scale());\n ctx.drawImage(img, -this.natural().w / 2, -this.natural().h / 2);\n return canvas;\n }\n /** Recorte como Blob (PNG por omissão; com `round` é sempre PNG). */\n toBlob(type = 'image/png', quality = 0.92): Promise<Blob | null> {\n const canvas = this.toCanvas();\n return new Promise((resolve) =>\n canvas.toBlob(resolve, this.round() ? 'image/png' : type, quality),\n );\n }\n toDataURL(type = 'image/png', quality = 0.92): string {\n return this.toCanvas().toDataURL(this.round() ? 'image/png' : type, quality);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAWA;AACM,SAAU,WAAW,CAAC,CAAS,EAAE,MAAc,EAAA;AACnD,IAAA,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC;AAC7C,IAAA,MAAM,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC;IAChD,OAAO;QACL,KAAK;QACL,MAAM;QACN,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,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EAAA,UAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,YAAA,CAAA,EAAA,CAAA,EAAA,KAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,SAAA,EAAA,IAAA,EAAA,CAAA,OAAO,6DACb,KAAK,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;ACvLtE;;AAEG;;"}
|
|
@@ -0,0 +1,369 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { inject, TemplateRef, Directive, model, input, output, contentChild, ElementRef, Injector, signal, afterNextRender, ViewEncapsulation, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import { NgTemplateOutlet } from '@angular/common';
|
|
4
|
+
import { LiveAnnouncer } from '@angular/cdk/a11y';
|
|
5
|
+
import { CdkDropListGroup, CdkDropList, CdkDrag, CdkDragPlaceholder } from '@angular/cdk/drag-drop';
|
|
6
|
+
import { mxUniqueId } from '@muxima-ui/core/form-field';
|
|
7
|
+
|
|
8
|
+
/** Conteúdo do cartão: `<ng-template mxKanbanCard let-item let-column="column">`. */
|
|
9
|
+
class MxKanbanCard {
|
|
10
|
+
template = inject(TemplateRef);
|
|
11
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: MxKanbanCard, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
12
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.25", type: MxKanbanCard, isStandalone: true, selector: "ng-template[mxKanbanCard]", ngImport: i0 });
|
|
13
|
+
}
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: MxKanbanCard, decorators: [{
|
|
15
|
+
type: Directive,
|
|
16
|
+
args: [{ selector: 'ng-template[mxKanbanCard]' }]
|
|
17
|
+
}] });
|
|
18
|
+
/** Rodapé de cada coluna (ex.: botão "Adicionar"): `<ng-template mxKanbanColumnFooter let-column>`. */
|
|
19
|
+
class MxKanbanColumnFooter {
|
|
20
|
+
template = inject(TemplateRef);
|
|
21
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: MxKanbanColumnFooter, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
22
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.25", type: MxKanbanColumnFooter, isStandalone: true, selector: "ng-template[mxKanbanColumnFooter]", ngImport: i0 });
|
|
23
|
+
}
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: MxKanbanColumnFooter, decorators: [{
|
|
25
|
+
type: Directive,
|
|
26
|
+
args: [{ selector: 'ng-template[mxKanbanColumnFooter]' }]
|
|
27
|
+
}] });
|
|
28
|
+
/**
|
|
29
|
+
* Quadro Kanban: cartões em colunas, com arrastar e largar (rato e toque) e mover com
|
|
30
|
+
* o teclado. Num cartão: Espaço agarra, setas movem (cima e baixo na coluna, esquerda e
|
|
31
|
+
* direita entre colunas), Espaço larga e Esc cancela. Cada passo é anunciado.
|
|
32
|
+
*
|
|
33
|
+
* ```html
|
|
34
|
+
* <mx-kanban [(columns)]="quadro" [itemLabel]="titulo" (moved)="guardar($event)">
|
|
35
|
+
* <ng-template mxKanbanCard let-tarefa>{{ tarefa.titulo }}</ng-template>
|
|
36
|
+
* </mx-kanban>
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
class MxKanban {
|
|
40
|
+
columns = model.required(...(ngDevMode ? [{ debugName: "columns" }] : /* istanbul ignore next */ []));
|
|
41
|
+
/** Chave única de cada cartão: nome do campo ou função. */
|
|
42
|
+
itemKey = input('id', ...(ngDevMode ? [{ debugName: "itemKey" }] : /* istanbul ignore next */ []));
|
|
43
|
+
/** Nome do cartão nos anúncios. Por omissão o campo `title` ou `titulo`. */
|
|
44
|
+
itemLabel = input((i) => String(i?.title ?? i?.titulo ?? i?.id ?? ''), ...(ngDevMode ? [{ debugName: "itemLabel" }] : /* istanbul ignore next */ []));
|
|
45
|
+
ariaLabel = input('Quadro', { ...(ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {}), alias: 'aria-label' });
|
|
46
|
+
headingLevel = input(3, ...(ngDevMode ? [{ debugName: "headingLevel" }] : /* istanbul ignore next */ []));
|
|
47
|
+
emptyText = input('Sem cartões', ...(ngDevMode ? [{ debugName: "emptyText" }] : /* istanbul ignore next */ []));
|
|
48
|
+
helpText = input('Espaço para agarrar. Setas para mover. Espaço para largar, Esc para cancelar.', ...(ngDevMode ? [{ debugName: "helpText" }] : /* istanbul ignore next */ []));
|
|
49
|
+
moved = output();
|
|
50
|
+
cardTpl = contentChild(MxKanbanCard, ...(ngDevMode ? [{ debugName: "cardTpl" }] : /* istanbul ignore next */ []));
|
|
51
|
+
footerTpl = contentChild(MxKanbanColumnFooter, ...(ngDevMode ? [{ debugName: "footerTpl" }] : /* istanbul ignore next */ []));
|
|
52
|
+
announcer = inject(LiveAnnouncer);
|
|
53
|
+
host = inject(ElementRef).nativeElement;
|
|
54
|
+
injector = inject(Injector);
|
|
55
|
+
uid = mxUniqueId('mx-kanban');
|
|
56
|
+
helpId = `${this.uid}-help`;
|
|
57
|
+
/** Cartão agarrado com o teclado: posição actual e de onde saiu. */
|
|
58
|
+
grabbed = signal(null, ...(ngDevMode ? [{ debugName: "grabbed" }] : /* istanbul ignore next */ []));
|
|
59
|
+
titleId(i) {
|
|
60
|
+
return `${this.uid}-t${i}`;
|
|
61
|
+
}
|
|
62
|
+
listId(i) {
|
|
63
|
+
return `${this.uid}-l${i}`;
|
|
64
|
+
}
|
|
65
|
+
keyOf(item) {
|
|
66
|
+
const k = this.itemKey();
|
|
67
|
+
return typeof k === 'function' ? k(item) : item[k];
|
|
68
|
+
}
|
|
69
|
+
labelOf(item) {
|
|
70
|
+
return this.itemLabel()(item);
|
|
71
|
+
}
|
|
72
|
+
isGrabbed(c, i) {
|
|
73
|
+
const g = this.grabbed();
|
|
74
|
+
return !!g && g.col === c && g.index === i;
|
|
75
|
+
}
|
|
76
|
+
isFull(col) {
|
|
77
|
+
return !!col.limit && col.items.length >= col.limit;
|
|
78
|
+
}
|
|
79
|
+
canEnter(ci) {
|
|
80
|
+
return (drag, drop) => {
|
|
81
|
+
const col = this.columns()[ci];
|
|
82
|
+
return !col.limit || col.items.length < col.limit || drag.dropContainer === drop;
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
/** Move um cartão e devolve as colunas novas (sem mudar as antigas). */
|
|
86
|
+
move(cols, from, fromIndex, to, toIndex) {
|
|
87
|
+
const next = cols.map((c) => ({ ...c, items: [...c.items] }));
|
|
88
|
+
const [item] = next[from].items.splice(fromIndex, 1);
|
|
89
|
+
next[to].items.splice(Math.min(toIndex, next[to].items.length), 0, item);
|
|
90
|
+
return next;
|
|
91
|
+
}
|
|
92
|
+
onDrop(e) {
|
|
93
|
+
const from = e.previousContainer.data;
|
|
94
|
+
const to = e.container.data;
|
|
95
|
+
if (from === to && e.previousIndex === e.currentIndex)
|
|
96
|
+
return;
|
|
97
|
+
const item = this.columns()[from].items[e.previousIndex];
|
|
98
|
+
this.columns.set(this.move(this.columns(), from, e.previousIndex, to, e.currentIndex));
|
|
99
|
+
this.emitMove(item, from, e.previousIndex, to, e.currentIndex);
|
|
100
|
+
}
|
|
101
|
+
emitMove(item, from, fromIndex, to, toIndex) {
|
|
102
|
+
const cols = this.columns();
|
|
103
|
+
this.moved.emit({ item, from: cols[from].id, to: cols[to].id, fromIndex, toIndex });
|
|
104
|
+
}
|
|
105
|
+
focusCard(col, index) {
|
|
106
|
+
afterNextRender(() => this.host.querySelector(`[data-kanban="${col}:${index}"]`)?.focus(), { injector: this.injector });
|
|
107
|
+
}
|
|
108
|
+
where(col, index) {
|
|
109
|
+
const c = this.columns()[col];
|
|
110
|
+
return `${c.title}, posição ${index + 1} de ${c.items.length}`;
|
|
111
|
+
}
|
|
112
|
+
onKeydown(event, ci, ii) {
|
|
113
|
+
if (event.target !== event.currentTarget)
|
|
114
|
+
return; // teclas dentro de botões do cartão
|
|
115
|
+
const g = this.grabbed();
|
|
116
|
+
const cols = this.columns();
|
|
117
|
+
const key = event.key;
|
|
118
|
+
if (!g) {
|
|
119
|
+
if (key === ' ' || key === 'Enter') {
|
|
120
|
+
event.preventDefault();
|
|
121
|
+
this.grabbed.set({ col: ci, index: ii, fromCol: ci, fromIndex: ii, snapshot: cols });
|
|
122
|
+
this.announcer.announce(`${this.labelOf(cols[ci].items[ii])} agarrado. ${this.where(ci, ii)}.`, 'assertive');
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
125
|
+
// navegar entre cartões
|
|
126
|
+
let target = null;
|
|
127
|
+
if (key === 'ArrowDown')
|
|
128
|
+
target = [ci, ii + 1];
|
|
129
|
+
else if (key === 'ArrowUp')
|
|
130
|
+
target = [ci, ii - 1];
|
|
131
|
+
else if (key === 'ArrowRight' || key === 'ArrowLeft') {
|
|
132
|
+
const step = key === 'ArrowRight' ? 1 : -1;
|
|
133
|
+
for (let c = ci + step; c >= 0 && c < cols.length; c += step) {
|
|
134
|
+
if (cols[c].items.length) {
|
|
135
|
+
target = [c, Math.min(ii, cols[c].items.length - 1)];
|
|
136
|
+
break;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
else if (key === 'Home')
|
|
141
|
+
target = [ci, 0];
|
|
142
|
+
else if (key === 'End')
|
|
143
|
+
target = [ci, cols[ci].items.length - 1];
|
|
144
|
+
if (target && target[1] >= 0 && target[1] < cols[target[0]].items.length) {
|
|
145
|
+
event.preventDefault();
|
|
146
|
+
this.focusCard(target[0], target[1]);
|
|
147
|
+
}
|
|
148
|
+
return;
|
|
149
|
+
}
|
|
150
|
+
// a mover
|
|
151
|
+
const item = cols[g.col].items[g.index];
|
|
152
|
+
if (key === ' ' || key === 'Enter') {
|
|
153
|
+
event.preventDefault();
|
|
154
|
+
this.grabbed.set(null);
|
|
155
|
+
if (g.col !== g.fromCol || g.index !== g.fromIndex)
|
|
156
|
+
this.emitMove(item, g.fromCol, g.fromIndex, g.col, g.index);
|
|
157
|
+
this.announcer.announce(`${this.labelOf(item)} largado. ${this.where(g.col, g.index)}.`, 'assertive');
|
|
158
|
+
this.focusCard(g.col, g.index);
|
|
159
|
+
return;
|
|
160
|
+
}
|
|
161
|
+
if (key === 'Escape') {
|
|
162
|
+
event.preventDefault();
|
|
163
|
+
this.columns.set(g.snapshot);
|
|
164
|
+
this.grabbed.set(null);
|
|
165
|
+
this.announcer.announce(`Movimento cancelado. ${this.labelOf(item)} voltou a ${this.where(g.fromCol, g.fromIndex)}.`, 'assertive');
|
|
166
|
+
this.focusCard(g.fromCol, g.fromIndex);
|
|
167
|
+
return;
|
|
168
|
+
}
|
|
169
|
+
let to = null;
|
|
170
|
+
if (key === 'ArrowDown' && g.index < cols[g.col].items.length - 1)
|
|
171
|
+
to = [g.col, g.index + 1];
|
|
172
|
+
else if (key === 'ArrowUp' && g.index > 0)
|
|
173
|
+
to = [g.col, g.index - 1];
|
|
174
|
+
else if (key === 'ArrowRight' || key === 'ArrowLeft') {
|
|
175
|
+
const c = g.col + (key === 'ArrowRight' ? 1 : -1);
|
|
176
|
+
if (c >= 0 && c < cols.length) {
|
|
177
|
+
const target = cols[c];
|
|
178
|
+
if (target.limit && target.items.length >= target.limit) {
|
|
179
|
+
event.preventDefault();
|
|
180
|
+
this.announcer.announce(`${target.title} está cheia, máximo ${target.limit}.`, 'assertive');
|
|
181
|
+
return;
|
|
182
|
+
}
|
|
183
|
+
to = [c, Math.min(g.index, target.items.length)];
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
if (!to)
|
|
187
|
+
return;
|
|
188
|
+
event.preventDefault();
|
|
189
|
+
this.columns.set(this.move(cols, g.col, g.index, to[0], to[1]));
|
|
190
|
+
this.grabbed.set({ ...g, col: to[0], index: to[1] });
|
|
191
|
+
this.announcer.announce(this.where(to[0], to[1]), 'assertive');
|
|
192
|
+
this.focusCard(to[0], to[1]);
|
|
193
|
+
}
|
|
194
|
+
onBlur(ci, ii) {
|
|
195
|
+
// o foco saiu do cartão agarrado (ex.: clique fora): larga onde está
|
|
196
|
+
queueMicrotask(() => {
|
|
197
|
+
const g = this.grabbed();
|
|
198
|
+
if (!g || g.col !== ci || g.index !== ii)
|
|
199
|
+
return;
|
|
200
|
+
const active = document.activeElement;
|
|
201
|
+
if (active?.dataset['kanban'] === `${g.col}:${g.index}`)
|
|
202
|
+
return;
|
|
203
|
+
this.grabbed.set(null);
|
|
204
|
+
const item = this.columns()[g.col].items[g.index];
|
|
205
|
+
if (g.col !== g.fromCol || g.index !== g.fromIndex)
|
|
206
|
+
this.emitMove(item, g.fromCol, g.fromIndex, g.col, g.index);
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: MxKanban, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
210
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.25", type: MxKanban, isStandalone: true, selector: "mx-kanban", inputs: { columns: { classPropertyName: "columns", publicName: "columns", isSignal: true, isRequired: true, transformFunction: null }, itemKey: { classPropertyName: "itemKey", publicName: "itemKey", isSignal: true, isRequired: false, transformFunction: null }, itemLabel: { classPropertyName: "itemLabel", publicName: "itemLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, headingLevel: { classPropertyName: "headingLevel", publicName: "headingLevel", isSignal: true, isRequired: false, transformFunction: null }, emptyText: { classPropertyName: "emptyText", publicName: "emptyText", isSignal: true, isRequired: false, transformFunction: null }, helpText: { classPropertyName: "helpText", publicName: "helpText", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { columns: "columnsChange", moved: "moved" }, host: { properties: { "attr.aria-label": "null" }, classAttribute: "mx-kanban" }, queries: [{ propertyName: "cardTpl", first: true, predicate: MxKanbanCard, descendants: true, isSignal: true }, { propertyName: "footerTpl", first: true, predicate: MxKanbanColumnFooter, descendants: true, isSignal: true }], exportAs: ["mxKanban"], ngImport: i0, template: `
|
|
211
|
+
<p class="mx-visually-hidden" [id]="helpId">{{ helpText() }}</p>
|
|
212
|
+
<div class="mx-kanban-board" cdkDropListGroup role="group" [attr.aria-label]="ariaLabel()">
|
|
213
|
+
@for (col of columns(); track col.id; let ci = $index) {
|
|
214
|
+
<div
|
|
215
|
+
class="mx-kanban-column"
|
|
216
|
+
role="group"
|
|
217
|
+
[attr.aria-labelledby]="titleId(ci)"
|
|
218
|
+
[attr.data-full]="isFull(col) ? '' : null"
|
|
219
|
+
>
|
|
220
|
+
<div class="mx-kanban-column-head">
|
|
221
|
+
<p
|
|
222
|
+
class="mx-kanban-column-title"
|
|
223
|
+
role="heading"
|
|
224
|
+
[attr.aria-level]="headingLevel()"
|
|
225
|
+
[id]="titleId(ci)"
|
|
226
|
+
>
|
|
227
|
+
{{ col.title }}
|
|
228
|
+
</p>
|
|
229
|
+
<span class="mx-kanban-count">
|
|
230
|
+
{{ col.items.length }}{{ col.limit ? ' / ' + col.limit : '' }}
|
|
231
|
+
<span class="mx-visually-hidden">{{
|
|
232
|
+
(col.items.length === 1 ? 'cartão' : 'cartões') + (col.limit ? ', máximo ' + col.limit : '')
|
|
233
|
+
}}</span>
|
|
234
|
+
</span>
|
|
235
|
+
</div>
|
|
236
|
+
<ul
|
|
237
|
+
class="mx-kanban-list"
|
|
238
|
+
cdkDropList
|
|
239
|
+
[id]="listId(ci)"
|
|
240
|
+
[cdkDropListData]="ci"
|
|
241
|
+
[cdkDropListEnterPredicate]="canEnter(ci)"
|
|
242
|
+
[attr.aria-labelledby]="titleId(ci)"
|
|
243
|
+
(cdkDropListDropped)="onDrop($event)"
|
|
244
|
+
>
|
|
245
|
+
@for (item of col.items; track keyOf(item); let ii = $index) {
|
|
246
|
+
<li
|
|
247
|
+
class="mx-kanban-card"
|
|
248
|
+
cdkDrag
|
|
249
|
+
[cdkDragData]="item"
|
|
250
|
+
tabindex="0"
|
|
251
|
+
[attr.data-kanban]="ci + ':' + ii"
|
|
252
|
+
[attr.data-grabbed]="isGrabbed(ci, ii) ? '' : null"
|
|
253
|
+
[attr.aria-describedby]="helpId"
|
|
254
|
+
[attr.aria-label]="isGrabbed(ci, ii) ? labelOf(item) + ', agarrado' : null"
|
|
255
|
+
(keydown)="onKeydown($event, ci, ii)"
|
|
256
|
+
(blur)="onBlur(ci, ii)"
|
|
257
|
+
>
|
|
258
|
+
@if (cardTpl(); as tpl) {
|
|
259
|
+
<ng-container
|
|
260
|
+
*ngTemplateOutlet="tpl.template; context: { $implicit: item, column: col }"
|
|
261
|
+
/>
|
|
262
|
+
} @else {
|
|
263
|
+
{{ labelOf(item) }}
|
|
264
|
+
}
|
|
265
|
+
<div class="mx-kanban-placeholder" *cdkDragPlaceholder></div>
|
|
266
|
+
</li>
|
|
267
|
+
} @empty {
|
|
268
|
+
<li class="mx-kanban-empty">{{ emptyText() }}</li>
|
|
269
|
+
}
|
|
270
|
+
</ul>
|
|
271
|
+
@if (footerTpl(); as f) {
|
|
272
|
+
<div class="mx-kanban-column-foot">
|
|
273
|
+
<ng-container *ngTemplateOutlet="f.template; context: { $implicit: col }" />
|
|
274
|
+
</div>
|
|
275
|
+
}
|
|
276
|
+
</div>
|
|
277
|
+
}
|
|
278
|
+
</div>
|
|
279
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: CdkDropListGroup, selector: "[cdkDropListGroup]", inputs: ["cdkDropListGroupDisabled"], exportAs: ["cdkDropListGroup"] }, { kind: "directive", type: CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer", "cdkDropListHasAnchor"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: CdkDragPlaceholder, selector: "ng-template[cdkDragPlaceholder]", inputs: ["data"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
280
|
+
}
|
|
281
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: MxKanban, decorators: [{
|
|
282
|
+
type: Component,
|
|
283
|
+
args: [{
|
|
284
|
+
selector: 'mx-kanban',
|
|
285
|
+
exportAs: 'mxKanban',
|
|
286
|
+
imports: [NgTemplateOutlet, CdkDropListGroup, CdkDropList, CdkDrag, CdkDragPlaceholder],
|
|
287
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
288
|
+
encapsulation: ViewEncapsulation.None,
|
|
289
|
+
host: { class: 'mx-kanban', '[attr.aria-label]': 'null' },
|
|
290
|
+
template: `
|
|
291
|
+
<p class="mx-visually-hidden" [id]="helpId">{{ helpText() }}</p>
|
|
292
|
+
<div class="mx-kanban-board" cdkDropListGroup role="group" [attr.aria-label]="ariaLabel()">
|
|
293
|
+
@for (col of columns(); track col.id; let ci = $index) {
|
|
294
|
+
<div
|
|
295
|
+
class="mx-kanban-column"
|
|
296
|
+
role="group"
|
|
297
|
+
[attr.aria-labelledby]="titleId(ci)"
|
|
298
|
+
[attr.data-full]="isFull(col) ? '' : null"
|
|
299
|
+
>
|
|
300
|
+
<div class="mx-kanban-column-head">
|
|
301
|
+
<p
|
|
302
|
+
class="mx-kanban-column-title"
|
|
303
|
+
role="heading"
|
|
304
|
+
[attr.aria-level]="headingLevel()"
|
|
305
|
+
[id]="titleId(ci)"
|
|
306
|
+
>
|
|
307
|
+
{{ col.title }}
|
|
308
|
+
</p>
|
|
309
|
+
<span class="mx-kanban-count">
|
|
310
|
+
{{ col.items.length }}{{ col.limit ? ' / ' + col.limit : '' }}
|
|
311
|
+
<span class="mx-visually-hidden">{{
|
|
312
|
+
(col.items.length === 1 ? 'cartão' : 'cartões') + (col.limit ? ', máximo ' + col.limit : '')
|
|
313
|
+
}}</span>
|
|
314
|
+
</span>
|
|
315
|
+
</div>
|
|
316
|
+
<ul
|
|
317
|
+
class="mx-kanban-list"
|
|
318
|
+
cdkDropList
|
|
319
|
+
[id]="listId(ci)"
|
|
320
|
+
[cdkDropListData]="ci"
|
|
321
|
+
[cdkDropListEnterPredicate]="canEnter(ci)"
|
|
322
|
+
[attr.aria-labelledby]="titleId(ci)"
|
|
323
|
+
(cdkDropListDropped)="onDrop($event)"
|
|
324
|
+
>
|
|
325
|
+
@for (item of col.items; track keyOf(item); let ii = $index) {
|
|
326
|
+
<li
|
|
327
|
+
class="mx-kanban-card"
|
|
328
|
+
cdkDrag
|
|
329
|
+
[cdkDragData]="item"
|
|
330
|
+
tabindex="0"
|
|
331
|
+
[attr.data-kanban]="ci + ':' + ii"
|
|
332
|
+
[attr.data-grabbed]="isGrabbed(ci, ii) ? '' : null"
|
|
333
|
+
[attr.aria-describedby]="helpId"
|
|
334
|
+
[attr.aria-label]="isGrabbed(ci, ii) ? labelOf(item) + ', agarrado' : null"
|
|
335
|
+
(keydown)="onKeydown($event, ci, ii)"
|
|
336
|
+
(blur)="onBlur(ci, ii)"
|
|
337
|
+
>
|
|
338
|
+
@if (cardTpl(); as tpl) {
|
|
339
|
+
<ng-container
|
|
340
|
+
*ngTemplateOutlet="tpl.template; context: { $implicit: item, column: col }"
|
|
341
|
+
/>
|
|
342
|
+
} @else {
|
|
343
|
+
{{ labelOf(item) }}
|
|
344
|
+
}
|
|
345
|
+
<div class="mx-kanban-placeholder" *cdkDragPlaceholder></div>
|
|
346
|
+
</li>
|
|
347
|
+
} @empty {
|
|
348
|
+
<li class="mx-kanban-empty">{{ emptyText() }}</li>
|
|
349
|
+
}
|
|
350
|
+
</ul>
|
|
351
|
+
@if (footerTpl(); as f) {
|
|
352
|
+
<div class="mx-kanban-column-foot">
|
|
353
|
+
<ng-container *ngTemplateOutlet="f.template; context: { $implicit: col }" />
|
|
354
|
+
</div>
|
|
355
|
+
}
|
|
356
|
+
</div>
|
|
357
|
+
}
|
|
358
|
+
</div>
|
|
359
|
+
`,
|
|
360
|
+
}]
|
|
361
|
+
}], propDecorators: { columns: [{ type: i0.Input, args: [{ isSignal: true, alias: "columns", required: true }] }, { type: i0.Output, args: ["columnsChange"] }], itemKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemKey", required: false }] }], itemLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemLabel", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-label", required: false }] }], headingLevel: [{ type: i0.Input, args: [{ isSignal: true, alias: "headingLevel", required: false }] }], emptyText: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptyText", required: false }] }], helpText: [{ type: i0.Input, args: [{ isSignal: true, alias: "helpText", required: false }] }], moved: [{ type: i0.Output, args: ["moved"] }], cardTpl: [{ type: i0.ContentChild, args: [i0.forwardRef(() => MxKanbanCard), { isSignal: true }] }], footerTpl: [{ type: i0.ContentChild, args: [i0.forwardRef(() => MxKanbanColumnFooter), { isSignal: true }] }] } });
|
|
362
|
+
const MX_KANBAN = [MxKanban, MxKanbanCard, MxKanbanColumnFooter];
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* Generated bundle index. Do not edit.
|
|
366
|
+
*/
|
|
367
|
+
|
|
368
|
+
export { MX_KANBAN, MxKanban, MxKanbanCard, MxKanbanColumnFooter };
|
|
369
|
+
//# sourceMappingURL=muxima-ui-core-kanban.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"muxima-ui-core-kanban.mjs","sources":["../../../projects/core/kanban/kanban.ts","../../../projects/core/kanban/muxima-ui-core-kanban.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n ElementRef,\n Injector,\n TemplateRef,\n ViewEncapsulation,\n afterNextRender,\n computed,\n contentChild,\n inject,\n input,\n model,\n output,\n signal,\n} from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { LiveAnnouncer } from '@angular/cdk/a11y';\nimport {\n CdkDrag,\n CdkDragDrop,\n CdkDragPlaceholder,\n CdkDropList,\n CdkDropListGroup,\n} from '@angular/cdk/drag-drop';\nimport { mxUniqueId } from '@muxima-ui/core/form-field';\n\nexport interface MxKanbanColumn<T = any> {\n id: string;\n title: string;\n items: T[];\n /** Máximo de cartões na coluna (WIP). Acima disso não se larga lá. */\n limit?: number;\n}\n\nexport interface MxKanbanMove<T = any> {\n item: T;\n from: string;\n to: string;\n fromIndex: number;\n toIndex: number;\n}\n\n/** Conteúdo do cartão: `<ng-template mxKanbanCard let-item let-column=\"column\">`. */\n@Directive({ selector: 'ng-template[mxKanbanCard]' })\nexport class MxKanbanCard {\n readonly template = inject(TemplateRef);\n}\n\n/** Rodapé de cada coluna (ex.: botão \"Adicionar\"): `<ng-template mxKanbanColumnFooter let-column>`. */\n@Directive({ selector: 'ng-template[mxKanbanColumnFooter]' })\nexport class MxKanbanColumnFooter {\n readonly template = inject(TemplateRef);\n}\n\n/**\n * Quadro Kanban: cartões em colunas, com arrastar e largar (rato e toque) e mover com\n * o teclado. Num cartão: Espaço agarra, setas movem (cima e baixo na coluna, esquerda e\n * direita entre colunas), Espaço larga e Esc cancela. Cada passo é anunciado.\n *\n * ```html\n * <mx-kanban [(columns)]=\"quadro\" [itemLabel]=\"titulo\" (moved)=\"guardar($event)\">\n * <ng-template mxKanbanCard let-tarefa>{{ tarefa.titulo }}</ng-template>\n * </mx-kanban>\n * ```\n */\n@Component({\n selector: 'mx-kanban',\n exportAs: 'mxKanban',\n imports: [NgTemplateOutlet, CdkDropListGroup, CdkDropList, CdkDrag, CdkDragPlaceholder],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: { class: 'mx-kanban', '[attr.aria-label]': 'null' },\n template: `\n <p class=\"mx-visually-hidden\" [id]=\"helpId\">{{ helpText() }}</p>\n <div class=\"mx-kanban-board\" cdkDropListGroup role=\"group\" [attr.aria-label]=\"ariaLabel()\">\n @for (col of columns(); track col.id; let ci = $index) {\n <div\n class=\"mx-kanban-column\"\n role=\"group\"\n [attr.aria-labelledby]=\"titleId(ci)\"\n [attr.data-full]=\"isFull(col) ? '' : null\"\n >\n <div class=\"mx-kanban-column-head\">\n <p\n class=\"mx-kanban-column-title\"\n role=\"heading\"\n [attr.aria-level]=\"headingLevel()\"\n [id]=\"titleId(ci)\"\n >\n {{ col.title }}\n </p>\n <span class=\"mx-kanban-count\">\n {{ col.items.length }}{{ col.limit ? ' / ' + col.limit : '' }}\n <span class=\"mx-visually-hidden\">{{\n (col.items.length === 1 ? 'cartão' : 'cartões') + (col.limit ? ', máximo ' + col.limit : '')\n }}</span>\n </span>\n </div>\n <ul\n class=\"mx-kanban-list\"\n cdkDropList\n [id]=\"listId(ci)\"\n [cdkDropListData]=\"ci\"\n [cdkDropListEnterPredicate]=\"canEnter(ci)\"\n [attr.aria-labelledby]=\"titleId(ci)\"\n (cdkDropListDropped)=\"onDrop($event)\"\n >\n @for (item of col.items; track keyOf(item); let ii = $index) {\n <li\n class=\"mx-kanban-card\"\n cdkDrag\n [cdkDragData]=\"item\"\n tabindex=\"0\"\n [attr.data-kanban]=\"ci + ':' + ii\"\n [attr.data-grabbed]=\"isGrabbed(ci, ii) ? '' : null\"\n [attr.aria-describedby]=\"helpId\"\n [attr.aria-label]=\"isGrabbed(ci, ii) ? labelOf(item) + ', agarrado' : null\"\n (keydown)=\"onKeydown($event, ci, ii)\"\n (blur)=\"onBlur(ci, ii)\"\n >\n @if (cardTpl(); as tpl) {\n <ng-container\n *ngTemplateOutlet=\"tpl.template; context: { $implicit: item, column: col }\"\n />\n } @else {\n {{ labelOf(item) }}\n }\n <div class=\"mx-kanban-placeholder\" *cdkDragPlaceholder></div>\n </li>\n } @empty {\n <li class=\"mx-kanban-empty\">{{ emptyText() }}</li>\n }\n </ul>\n @if (footerTpl(); as f) {\n <div class=\"mx-kanban-column-foot\">\n <ng-container *ngTemplateOutlet=\"f.template; context: { $implicit: col }\" />\n </div>\n }\n </div>\n }\n </div>\n `,\n})\nexport class MxKanban<T = any> {\n readonly columns = model.required<MxKanbanColumn<T>[]>();\n /** Chave única de cada cartão: nome do campo ou função. */\n readonly itemKey = input<string | ((item: T) => unknown)>('id');\n /** Nome do cartão nos anúncios. Por omissão o campo `title` ou `titulo`. */\n readonly itemLabel = input<(item: T) => string>((i) =>\n String((i as any)?.title ?? (i as any)?.titulo ?? (i as any)?.id ?? ''),\n );\n readonly ariaLabel = input('Quadro', { alias: 'aria-label' });\n readonly headingLevel = input(3);\n readonly emptyText = input('Sem cartões');\n readonly helpText = input(\n 'Espaço para agarrar. Setas para mover. Espaço para largar, Esc para cancelar.',\n );\n readonly moved = output<MxKanbanMove<T>>();\n\n protected readonly cardTpl = contentChild(MxKanbanCard);\n protected readonly footerTpl = contentChild(MxKanbanColumnFooter);\n private readonly announcer = inject(LiveAnnouncer);\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef).nativeElement;\n private readonly injector = inject(Injector);\n private readonly uid = mxUniqueId('mx-kanban');\n protected readonly helpId = `${this.uid}-help`;\n\n /** Cartão agarrado com o teclado: posição actual e de onde saiu. */\n private readonly grabbed = signal<{\n col: number;\n index: number;\n fromCol: number;\n fromIndex: number;\n snapshot: MxKanbanColumn<T>[];\n } | null>(null);\n\n protected titleId(i: number): string {\n return `${this.uid}-t${i}`;\n }\n protected listId(i: number): string {\n return `${this.uid}-l${i}`;\n }\n keyOf(item: T): unknown {\n const k = this.itemKey();\n return typeof k === 'function' ? k(item) : (item as Record<string, unknown>)[k];\n }\n protected labelOf(item: T): string {\n return this.itemLabel()(item);\n }\n protected isGrabbed(c: number, i: number): boolean {\n const g = this.grabbed();\n return !!g && g.col === c && g.index === i;\n }\n protected isFull(col: MxKanbanColumn<T>): boolean {\n return !!col.limit && col.items.length >= col.limit;\n }\n protected canEnter(ci: number) {\n return (drag: CdkDrag, drop: CdkDropList) => {\n const col = this.columns()[ci];\n return !col.limit || col.items.length < col.limit || drag.dropContainer === drop;\n };\n }\n\n /** Move um cartão e devolve as colunas novas (sem mudar as antigas). */\n private move(\n cols: MxKanbanColumn<T>[],\n from: number,\n fromIndex: number,\n to: number,\n toIndex: number,\n ): MxKanbanColumn<T>[] {\n const next = cols.map((c) => ({ ...c, items: [...c.items] }));\n const [item] = next[from].items.splice(fromIndex, 1);\n next[to].items.splice(Math.min(toIndex, next[to].items.length), 0, item);\n return next;\n }\n\n protected onDrop(e: CdkDragDrop<number>): void {\n const from = e.previousContainer.data;\n const to = e.container.data;\n if (from === to && e.previousIndex === e.currentIndex) return;\n const item = this.columns()[from].items[e.previousIndex];\n this.columns.set(this.move(this.columns(), from, e.previousIndex, to, e.currentIndex));\n this.emitMove(item, from, e.previousIndex, to, e.currentIndex);\n }\n\n private emitMove(item: T, from: number, fromIndex: number, to: number, toIndex: number): void {\n const cols = this.columns();\n this.moved.emit({ item, from: cols[from].id, to: cols[to].id, fromIndex, toIndex });\n }\n\n private focusCard(col: number, index: number): void {\n afterNextRender(\n () => this.host.querySelector<HTMLElement>(`[data-kanban=\"${col}:${index}\"]`)?.focus(),\n { injector: this.injector },\n );\n }\n\n private where(col: number, index: number): string {\n const c = this.columns()[col];\n return `${c.title}, posição ${index + 1} de ${c.items.length}`;\n }\n\n protected onKeydown(event: KeyboardEvent, ci: number, ii: number): void {\n if (event.target !== event.currentTarget) return; // teclas dentro de botões do cartão\n const g = this.grabbed();\n const cols = this.columns();\n const key = event.key;\n\n if (!g) {\n if (key === ' ' || key === 'Enter') {\n event.preventDefault();\n this.grabbed.set({ col: ci, index: ii, fromCol: ci, fromIndex: ii, snapshot: cols });\n this.announcer.announce(\n `${this.labelOf(cols[ci].items[ii])} agarrado. ${this.where(ci, ii)}.`,\n 'assertive',\n );\n return;\n }\n // navegar entre cartões\n let target: [number, number] | null = null;\n if (key === 'ArrowDown') target = [ci, ii + 1];\n else if (key === 'ArrowUp') target = [ci, ii - 1];\n else if (key === 'ArrowRight' || key === 'ArrowLeft') {\n const step = key === 'ArrowRight' ? 1 : -1;\n for (let c = ci + step; c >= 0 && c < cols.length; c += step) {\n if (cols[c].items.length) {\n target = [c, Math.min(ii, cols[c].items.length - 1)];\n break;\n }\n }\n } else if (key === 'Home') target = [ci, 0];\n else if (key === 'End') target = [ci, cols[ci].items.length - 1];\n if (target && target[1] >= 0 && target[1] < cols[target[0]].items.length) {\n event.preventDefault();\n this.focusCard(target[0], target[1]);\n }\n return;\n }\n\n // a mover\n const item = cols[g.col].items[g.index];\n if (key === ' ' || key === 'Enter') {\n event.preventDefault();\n this.grabbed.set(null);\n if (g.col !== g.fromCol || g.index !== g.fromIndex)\n this.emitMove(item, g.fromCol, g.fromIndex, g.col, g.index);\n this.announcer.announce(\n `${this.labelOf(item)} largado. ${this.where(g.col, g.index)}.`,\n 'assertive',\n );\n this.focusCard(g.col, g.index);\n return;\n }\n if (key === 'Escape') {\n event.preventDefault();\n this.columns.set(g.snapshot);\n this.grabbed.set(null);\n this.announcer.announce(\n `Movimento cancelado. ${this.labelOf(item)} voltou a ${this.where(g.fromCol, g.fromIndex)}.`,\n 'assertive',\n );\n this.focusCard(g.fromCol, g.fromIndex);\n return;\n }\n let to: [number, number] | null = null;\n if (key === 'ArrowDown' && g.index < cols[g.col].items.length - 1) to = [g.col, g.index + 1];\n else if (key === 'ArrowUp' && g.index > 0) to = [g.col, g.index - 1];\n else if (key === 'ArrowRight' || key === 'ArrowLeft') {\n const c = g.col + (key === 'ArrowRight' ? 1 : -1);\n if (c >= 0 && c < cols.length) {\n const target = cols[c];\n if (target.limit && target.items.length >= target.limit) {\n event.preventDefault();\n this.announcer.announce(\n `${target.title} está cheia, máximo ${target.limit}.`,\n 'assertive',\n );\n return;\n }\n to = [c, Math.min(g.index, target.items.length)];\n }\n }\n if (!to) return;\n event.preventDefault();\n this.columns.set(this.move(cols, g.col, g.index, to[0], to[1]));\n this.grabbed.set({ ...g, col: to[0], index: to[1] });\n this.announcer.announce(this.where(to[0], to[1]), 'assertive');\n this.focusCard(to[0], to[1]);\n }\n\n protected onBlur(ci: number, ii: number): void {\n // o foco saiu do cartão agarrado (ex.: clique fora): larga onde está\n queueMicrotask(() => {\n const g = this.grabbed();\n if (!g || g.col !== ci || g.index !== ii) return;\n const active = document.activeElement as HTMLElement | null;\n if (active?.dataset['kanban'] === `${g.col}:${g.index}`) return;\n this.grabbed.set(null);\n const item = this.columns()[g.col].items[g.index];\n if (g.col !== g.fromCol || g.index !== g.fromIndex)\n this.emitMove(item, g.fromCol, g.fromIndex, g.col, g.index);\n });\n }\n}\n\nexport const MX_KANBAN = [MxKanban, MxKanbanCard, MxKanbanColumnFooter] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AA4CA;MAEa,YAAY,CAAA;AACd,IAAA,QAAQ,GAAG,MAAM,CAAC,WAAW,CAAC;wGAD5B,YAAY,EAAA,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