@redvars/peacock 4.3.3 → 4.3.4
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/dist/{cb-group-base-Crt0BSzR.js → cb-group-base-BhWC78b0.js} +13 -2
- package/dist/cb-group-base-BhWC78b0.js.map +1 -0
- package/dist/cb-group.js +1 -1
- package/dist/cb-rule.js +1 -1
- package/dist/condition-builder.js +1 -1
- package/dist/index.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/readme.md +2 -2
- package/src/condition-builder/cb-rule.scss +8 -3
- package/src/condition-builder/cb-rule.ts +8 -3
- package/dist/cb-group-base-Crt0BSzR.js.map +0 -1
|
@@ -79,6 +79,10 @@ var css_248z = i`* {
|
|
|
79
79
|
container-type: inline-size;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
+
:host([drag-capture]) {
|
|
83
|
+
isolation: isolate;
|
|
84
|
+
}
|
|
85
|
+
|
|
82
86
|
:host([dragging]) {
|
|
83
87
|
opacity: 0.4;
|
|
84
88
|
}
|
|
@@ -278,6 +282,9 @@ let CbRule = class CbRule extends i$1 {
|
|
|
278
282
|
return;
|
|
279
283
|
}
|
|
280
284
|
const { dataTransfer } = event;
|
|
285
|
+
// A stacking context of its own while the browser paints the drag image, which happens after
|
|
286
|
+
// this handler returns, with styles updated.
|
|
287
|
+
this.toggleAttribute('drag-capture', true);
|
|
281
288
|
if (dataTransfer) {
|
|
282
289
|
dataTransfer.effectAllowed = 'move';
|
|
283
290
|
// Firefox only starts a drag that carries data.
|
|
@@ -287,11 +294,15 @@ let CbRule = class CbRule extends i$1 {
|
|
|
287
294
|
}
|
|
288
295
|
setActiveRule(this);
|
|
289
296
|
// Dim the row after the browser has captured the drag image.
|
|
290
|
-
requestAnimationFrame(() =>
|
|
297
|
+
requestAnimationFrame(() => {
|
|
298
|
+
this.toggleAttribute('drag-capture', false);
|
|
299
|
+
this.toggleAttribute('dragging', getActiveRule() === this);
|
|
300
|
+
});
|
|
291
301
|
}
|
|
292
302
|
_onDragEnd() {
|
|
293
303
|
setActiveRule(null);
|
|
294
304
|
claimDropTarget(null);
|
|
305
|
+
this.toggleAttribute('drag-capture', false);
|
|
295
306
|
this.toggleAttribute('dragging', false);
|
|
296
307
|
}
|
|
297
308
|
_onHandleKeyDown(event) {
|
|
@@ -835,4 +846,4 @@ __decorate([
|
|
|
835
846
|
], CbGroupBase.prototype, "_connectorEl", void 0);
|
|
836
847
|
|
|
837
848
|
export { CbRule as C, CbGroupBase as a };
|
|
838
|
-
//# sourceMappingURL=cb-group-base-
|
|
849
|
+
//# sourceMappingURL=cb-group-base-BhWC78b0.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cb-group-base-BhWC78b0.js","sources":["../../src/condition-builder/cb-drag.ts","../../src/condition-builder/cb-rule.ts","../../src/condition-builder/cb-group-base.ts"],"sourcesContent":["import type { CbRule } from './cb-rule.js';\n\n/**\n * The rule currently being dragged. `DataTransfer` cannot carry element\n * references, so rules publish themselves here on `dragstart` and groups read\n * it on `dragover` / `drop`.\n */\nlet activeRule: CbRule | null = null;\n\n/** Clears the drop indicator of the group the pointer is currently over. */\nlet clearDropTarget: (() => void) | null = null;\n\nexport function getActiveRule(): CbRule | null {\n return activeRule;\n}\n\nexport function setActiveRule(rule: CbRule | null) {\n activeRule = rule;\n}\n\n/**\n * Makes `clear` the current drop target's cleanup, running the previous one\n * so only one group shows a drop indicator at a time. Pass `null` to clear.\n */\nexport function claimDropTarget(clear: (() => void) | null) {\n if (clearDropTarget && clearDropTarget !== clear) clearDropTarget();\n clearDropTarget = clear;\n}\n\n/** Clears the drop target if `clear` still owns it. */\nexport function releaseDropTarget(clear: () => void) {\n if (clearDropTarget !== clear) return;\n clear();\n clearDropTarget = null;\n}\n","import { html, LitElement, nothing } from 'lit';\nimport { property, query, state } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport IndividualComponent from '@/IndividualComponent.js';\nimport { I18nController } from '@/__internal/i18n/i18n-controller.js';\nimport { AiController } from '@/__internal/ai/ai-controller.js';\nimport { claimDropTarget, getActiveRule, setActiveRule } from './cb-drag.js';\nimport { CbGroupBase } from './cb-group-base.js';\nimport type { CbRuleRemoveDetail, CbRuleValue } from './cb-types.js';\nimport styles from './cb-rule.scss';\n\nlet ruleCount = 0;\n\n/** The string keys announced after a keyboard move. */\ntype MoveMessageKey =\n | 'conditionMoved'\n | 'conditionMovedIntoGroup'\n | 'conditionMovedOutOfGroup';\n\n/**\n * @label CB Rule\n * @tag wc-cb-rule\n * @rawTag cb-rule\n * @summary One condition row in a condition builder: a drag handle, the slotted field, operator and value controls, and a remove button.\n * @overview\n * <p>Drag the handle to reorder the rule, or to move it into another group. With the handle focused, ArrowUp and ArrowDown move the rule within its group, ArrowRight moves it into the group beside it (the one above, else the one below) and ArrowLeft moves it out of its group; each move is announced. In right-to-left text ArrowLeft and ArrowRight swap.</p>\n * <p>In the builder's <code>value</code> a rule reports its own <code>value</code> property when set, else the values of its slotted controls (keyed by <code>name</code> when every control has one).</p>\n * @tags condition-builder\n *\n * @cssprop --cb-rule-field-height - Height of the slotted fields (wc-select, wc-input…). Defaults to `2.5rem`.\n *\n * @fires {CustomEvent<{rule: CbRule, group: HTMLElement | null}>} rule-remove - Dispatched when the remove button is clicked. Cancelable: unless prevented, the rule removes itself.\n *\n * @example\n * ```html\n * <wc-cb-rule>\n * <wc-select name=\"field\" placeholder=\"Field\"></wc-select>\n * <wc-select name=\"operator\" placeholder=\"Operator\"></wc-select>\n * <wc-input name=\"value\" placeholder=\"Value\"></wc-input>\n * </wc-cb-rule>\n * ```\n */\n@IndividualComponent\nexport class CbRule extends LitElement {\n // ── Static ────────────────────────────────────────────────────────────────\n\n static styles = [styles];\n\n // ── Properties ────────────────────────────────────────────────────────────\n\n /**\n * What the rule stands for in the builder's `value`, such as `{ field, operator, value }`.\n * Leave it unset to report the values of the slotted controls instead.\n */\n @property({ attribute: false })\n value: unknown = undefined;\n\n /** Disables the rule: no moving or removing it. Set by a disabled group too. */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /** Hides the rule's drag handle and remove button. Set by a read-only group too. */\n @property({ type: Boolean, reflect: true })\n readonly = false;\n\n /**\n * The assistant wrote this rule (ADR-030002): it shows a Suggested badge until the person changes\n * one of its controls. Remove it to discard it.\n */\n @property({ type: Boolean, reflect: true })\n suggested = false;\n\n // ── State ─────────────────────────────────────────────────────────────────\n\n /** `disabled` passed down by the enclosing group. */\n @state()\n private _inheritedDisabled = false;\n\n /** `readonly` passed down by the enclosing group. */\n @state()\n private _inheritedReadonly = false;\n\n // ── Queries ───────────────────────────────────────────────────────────────\n\n @query('.handle')\n private readonly _handleEl?: HTMLElement;\n\n // ── Private fields ────────────────────────────────────────────────────────\n\n /** Peacock's strings for the drag handle and remove button. */\n private readonly i18n = new I18nController(this);\n\n /** Id of the handle's hidden description. */\n private readonly _hintId = `cb-rule-hint-${(ruleCount += 1)}`;\n\n private readonly _ai = new AiController(this);\n\n // ── Lifecycle ─────────────────────────────────────────────────────────────\n\n connectedCallback() {\n super.connectedCallback();\n this.addEventListener('change', this._onControlChange);\n this.addEventListener('input', this._onControlChange);\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this.removeEventListener('change', this._onControlChange);\n this.removeEventListener('input', this._onControlChange);\n }\n\n /** Changing a suggested rule's control makes it the person's own. */\n private _onControlChange = (event: Event) => {\n if (this.suggested && event.target !== this) this.suggested = false;\n };\n\n // ── Public methods ────────────────────────────────────────────────────────\n\n /** Whether the rule can be moved or removed: neither disabled nor read-only. */\n get locked(): boolean {\n return (\n this.disabled ||\n this.readonly ||\n this._inheritedDisabled ||\n this._inheritedReadonly\n );\n }\n\n /** This rule as a node of the builder's `value`. */\n toValue(): CbRuleValue {\n const node = {\n type: 'rule' as const,\n id: this.id,\n value: this.value === undefined ? this._controlValues() : this.value,\n data: { ...this.dataset } as Record<string, string>,\n };\n Object.defineProperty(node, 'element', { value: this, enumerable: false });\n return node as CbRuleValue;\n }\n\n /**\n * Sets the `disabled` and `readonly` passed down by the enclosing group.\n * @internal\n */\n inheritState(disabled: boolean, readonly: boolean) {\n this._inheritedDisabled = disabled;\n this._inheritedReadonly = readonly;\n }\n\n // ── Private methods ───────────────────────────────────────────────────────\n\n /** The values of the slotted controls: keyed by `name` when all have one, else in order. */\n private _controlValues(): unknown {\n const controls = Array.from(this.children).filter(\n child => 'value' in child,\n ) as (Element & { value: unknown })[];\n const names = controls.map(control => control.getAttribute('name') ?? '');\n if (controls.length && names.every(Boolean)) {\n return Object.fromEntries(\n controls.map((control, index) => [names[index], control.value]),\n );\n }\n return controls.map(control => control.value);\n }\n\n private _onDragStart(event: DragEvent) {\n if (this.locked) {\n event.preventDefault();\n return;\n }\n const { dataTransfer } = event;\n // A stacking context of its own while the browser paints the drag image, which happens after\n // this handler returns, with styles updated.\n this.toggleAttribute('drag-capture', true);\n if (dataTransfer) {\n dataTransfer.effectAllowed = 'move';\n // Firefox only starts a drag that carries data.\n dataTransfer.setData('text/plain', '');\n const rect = this.getBoundingClientRect();\n dataTransfer.setDragImage(\n this,\n event.clientX - rect.left,\n event.clientY - rect.top,\n );\n }\n setActiveRule(this);\n // Dim the row after the browser has captured the drag image.\n requestAnimationFrame(() => {\n this.toggleAttribute('drag-capture', false);\n this.toggleAttribute('dragging', getActiveRule() === this);\n });\n }\n\n private _onDragEnd() {\n setActiveRule(null);\n claimDropTarget(null);\n this.toggleAttribute('drag-capture', false);\n this.toggleAttribute('dragging', false);\n }\n\n private _onHandleKeyDown(event: KeyboardEvent) {\n const group = this.parentElement;\n if (this.locked || !(group instanceof CbGroupBase)) return;\n\n const rtl = getComputedStyle(this).direction === 'rtl';\n const inward = rtl ? 'ArrowLeft' : 'ArrowRight';\n const outward = rtl ? 'ArrowRight' : 'ArrowLeft';\n let moved = false;\n let message: MoveMessageKey = 'conditionMoved';\n\n if (event.key === 'ArrowUp' || event.key === 'ArrowDown') {\n event.preventDefault();\n const index =\n group.items.indexOf(this) + (event.key === 'ArrowUp' ? -1 : 1);\n moved = index >= 0 && group.moveRule(this, index);\n } else if (event.key === inward) {\n event.preventDefault();\n const target = this._adjacentGroup();\n if (target && !target.locked) {\n const atEnd = target === this.previousElementSibling;\n moved = target.moveRule(this, atEnd ? target.items.length : 0);\n message = 'conditionMovedIntoGroup';\n }\n } else if (event.key === outward) {\n event.preventDefault();\n const parent = group.parentElement;\n if (parent instanceof CbGroupBase && !parent.locked) {\n moved = parent.moveRule(this, parent.items.indexOf(group) + 1);\n message = 'conditionMovedOutOfGroup';\n }\n }\n\n if (!moved) return;\n this._handleEl?.focus();\n const target = this.parentElement as CbGroupBase;\n this._announce(\n this.i18n.t(message)(target.items.indexOf(this) + 1, target.items.length),\n );\n }\n\n /** The group beside this rule that ArrowRight moves it into: the one above, else below. */\n private _adjacentGroup(): CbGroupBase | null {\n const previous = this.previousElementSibling;\n if (previous instanceof CbGroupBase && !previous.slot) return previous;\n const next = this.nextElementSibling;\n if (next instanceof CbGroupBase && !next.slot) return next;\n return null;\n }\n\n /** Announces through the outermost group, whose live region stays put while rules move. */\n private _announce(message: string) {\n let root: CbGroupBase | null = null;\n for (\n let el: Element | null = this.parentElement;\n el instanceof CbGroupBase;\n el = el.parentElement\n ) {\n root = el;\n }\n root?.announce(message);\n }\n\n private _onRemoveClick() {\n if (this.locked) return;\n const event = new CustomEvent<CbRuleRemoveDetail>('rule-remove', {\n detail: { rule: this, group: this.parentElement },\n bubbles: true,\n composed: true,\n cancelable: true,\n });\n if (this.dispatchEvent(event)) this.remove();\n }\n\n // ── Render helpers ────────────────────────────────────────────────────────\n\n private _renderHandle() {\n if (this.locked) return nothing;\n return html`\n <div\n class=\"handle\"\n role=\"button\"\n tabindex=\"0\"\n draggable=\"true\"\n aria-label=${this.i18n.t('reorderCondition')}\n aria-describedby=${this._hintId}\n title=${this.i18n.t('dragToReorder')}\n @dragstart=${this._onDragStart}\n @dragend=${this._onDragEnd}\n @keydown=${this._onHandleKeyDown}\n >\n <wc-focus-ring></wc-focus-ring>\n <wc-icon name=\"drag_indicator\" aria-hidden=\"true\"></wc-icon>\n </div>\n <span id=${this._hintId} hidden\n >${this.i18n.t('reorderConditionHint')}</span\n >\n `;\n }\n\n private _renderRemove() {\n if (this.locked) return nothing;\n return html`\n <div class=\"remove\">\n <wc-icon-button\n variant=\"text\"\n color=\"on-surface\"\n size=\"sm\"\n aria-label=${this.i18n.t('removeCondition')}\n @click=${this._onRemoveClick}\n >\n <wc-icon name=\"delete\"></wc-icon>\n </wc-icon-button>\n </div>\n `;\n }\n\n // ── Render ────────────────────────────────────────────────────────────────\n\n render() {\n const disabled = this.disabled || this._inheritedDisabled;\n return html`\n <div\n class=${classMap({ rule: true, disabled, locked: this.locked })}\n aria-disabled=${disabled ? 'true' : nothing}\n >\n ${this._renderHandle()}\n <div class=\"content\">\n <slot></slot>\n </div>\n ${this.suggested && this._ai.available\n ? html`<wc-ai-badge class=\"suggested-badge\"></wc-ai-badge>`\n : nothing}\n ${this._renderRemove()}\n </div>\n `;\n }\n}\n","import {\n html,\n LitElement,\n nothing,\n type PropertyValues,\n type TemplateResult,\n} from 'lit';\nimport { property, query, state } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { styleMap } from 'lit/directives/style-map.js';\nimport {\n claimDropTarget,\n getActiveRule,\n releaseDropTarget,\n} from './cb-drag.js';\nimport { CbRule } from './cb-rule.js';\nimport type {\n CbGroupValue,\n CbNodeValue,\n CbOperator,\n CbRuleMoveDetail,\n} from './cb-types.js';\nimport { I18nController } from '@/__internal/i18n/i18n-controller.js';\n\nconst ITEM_SELECTOR = 'wc-cb-rule, wc-cb-group';\n\n/** The string key of each operator's label. */\nconst OPERATOR_LABEL_KEYS: Record<CbOperator, 'operatorAnd' | 'operatorOr'> = {\n and: 'operatorAnd',\n or: 'operatorOr',\n};\n\n/** The operator the pill swaps to. */\nconst otherOperator = (operator: CbOperator): CbOperator =>\n operator === 'and' ? 'or' : 'and';\n\n/** Adds the non-enumerable `element` to a node of the `value` tree. */\nfunction withElement<T extends object>(node: T, element: HTMLElement): T {\n Object.defineProperty(node, 'element', { value: element, enumerable: false });\n return node;\n}\n\n/**\n * Shared behaviour of `wc-condition-builder` and `wc-cb-group`: the And/Or\n * operator pill, which swaps the operator on a click, the bracket joining the items, dropping dragged rules,\n * `disabled`/`readonly` passed down to the items, and the `value` tree.\n */\nexport class CbGroupBase extends LitElement {\n // ── Static ────────────────────────────────────────────────────────────────\n\n /** Viewport Y of the middle of an item's first row, where the bracket meets it. */\n private static _rowCenter(item: Element): number {\n if (item instanceof CbGroupBase) return item.firstRowCenter();\n const rect = item.getBoundingClientRect();\n return rect.top + rect.height / 2;\n }\n\n // ── Properties ────────────────────────────────────────────────────────────\n\n /** The logical operator joining the rules and groups in this group. */\n @property({ type: String, reflect: true })\n operator: CbOperator = 'and';\n\n /**\n * Disables the group and everything in it: no adding, removing, moving or switching the\n * operator. Slotted controls keep their own `disabled`; set it on them too.\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * Makes the group and everything in it read-only: it shows the query but hides the add,\n * remove and drag controls and locks the operator.\n */\n @property({ type: Boolean, reflect: true })\n readonly = false;\n\n // ── State ─────────────────────────────────────────────────────────────────\n\n /** Number of rules and groups in the default slot. */\n @state()\n private _itemCount = 0;\n\n /** Y of the drop indicator inside `.items`, or `null` when nothing is dragged over. */\n @state()\n private _dropIndicatorTop: number | null = null;\n\n /** `disabled` passed down by the enclosing group. */\n @state()\n private _inheritedDisabled = false;\n\n /** `readonly` passed down by the enclosing group. */\n @state()\n private _inheritedReadonly = false;\n\n /** Text of the polite live region, for keyboard moves. */\n @state()\n private _announcement = '';\n\n // ── Queries ───────────────────────────────────────────────────────────────\n\n @query('.items')\n private readonly _itemsEl?: HTMLElement;\n\n @query('.connector')\n private readonly _connectorEl?: HTMLElement;\n\n // ── Private fields ────────────────────────────────────────────────────────\n\n /** Re-measures the bracket when any item changes size; exists while connected. */\n private _resizeObserver?: ResizeObserver;\n\n /** Index the dragged rule would be inserted at, or -1. */\n private _dropIndex = -1;\n\n /** Peacock's strings for the operator labels and the group actions. */\n protected readonly i18n = new I18nController(this);\n\n // ── Lifecycle ─────────────────────────────────────────────────────────────\n\n override connectedCallback() {\n super.connectedCallback();\n if (typeof ResizeObserver !== 'undefined') {\n this._resizeObserver = new ResizeObserver(() => this._layoutConnector());\n this.items.forEach(item => this._resizeObserver?.observe(item));\n }\n }\n\n override disconnectedCallback() {\n this._resizeObserver?.disconnect();\n this._resizeObserver = undefined;\n super.disconnectedCallback();\n }\n\n protected override updated(changed: PropertyValues) {\n super.updated(changed);\n if (\n changed.has('disabled') ||\n changed.has('readonly') ||\n changed.has('_inheritedDisabled') ||\n changed.has('_inheritedReadonly')\n ) {\n this._passStateDown();\n }\n this._layoutConnector();\n }\n\n // ── Public methods ────────────────────────────────────────────────────────\n\n /** The rules and groups in this group, in order. */\n get items(): HTMLElement[] {\n return Array.from(this.children).filter(\n (el): el is HTMLElement => el.matches(ITEM_SELECTOR) && !el.slot,\n );\n }\n\n /**\n * The query this group holds, as a tree of groups and rules (see `CbGroupValue` and\n * `CbRuleValue`). `JSON.stringify()` it to store or send the query; each node's `element`\n * is left out.\n */\n get value(): CbGroupValue {\n const children: CbNodeValue[] = [];\n for (const item of this.items) {\n if (item instanceof CbGroupBase) children.push(item.value);\n else if (item instanceof CbRule) children.push(item.toValue());\n }\n return withElement(\n {\n type: 'group' as const,\n id: this.id,\n operator: this.operator,\n children,\n data: { ...this.dataset } as Record<string, string>,\n },\n this,\n ) as CbGroupValue;\n }\n\n /** Whether this group, or a group around it, is disabled. */\n get effectiveDisabled(): boolean {\n return this.disabled || this._inheritedDisabled;\n }\n\n /** Whether this group, or a group around it, is read-only. */\n get effectiveReadonly(): boolean {\n return this.readonly || this._inheritedReadonly;\n }\n\n /** Whether the group can be changed: neither disabled nor read-only. */\n get locked(): boolean {\n return this.effectiveDisabled || this.effectiveReadonly;\n }\n\n /**\n * Moves `rule` into this group at `index` (counted without the rule itself).\n * Fires a cancelable `rule-move` event first. Returns whether it moved.\n */\n moveRule(rule: CbRule, index: number): boolean {\n const others = this.items.filter(item => item !== rule);\n const target = Math.max(0, Math.min(index, others.length));\n if (rule.parentElement === this && this.items.indexOf(rule) === target) {\n return false;\n }\n\n const event = new CustomEvent<CbRuleMoveDetail>('rule-move', {\n detail: { rule, from: rule.parentElement, to: this, index: target },\n bubbles: true,\n composed: true,\n cancelable: true,\n });\n if (!this.dispatchEvent(event)) return false;\n\n this.insertBefore(rule, others[target] ?? null);\n return true;\n }\n\n /**\n * Viewport Y of the middle of this group's first row. A parent group aligns\n * its bracket to it.\n * @internal\n */\n firstRowCenter(): number {\n const [first] = this.items;\n if (first) return CbGroupBase._rowCenter(first);\n const rect = this.getBoundingClientRect();\n return rect.top + rect.height / 2;\n }\n\n /**\n * Sets the `disabled` and `readonly` passed down by the enclosing group.\n * @internal\n */\n inheritState(disabled: boolean, readonly: boolean) {\n this._inheritedDisabled = disabled;\n this._inheritedReadonly = readonly;\n }\n\n /**\n * Reads `message` out through this group's polite live region.\n * @internal\n */\n announce(message: string) {\n // Clear first so the same message twice in a row is still read out.\n this._announcement = '';\n requestAnimationFrame(() => {\n this._announcement = message;\n });\n }\n\n // ── Protected methods ─────────────────────────────────────────────────────\n\n /** Dispatches `add-rule` or `add-group` for this group. */\n protected dispatchAdd(type: 'add-rule' | 'add-group') {\n this.dispatchEvent(\n new CustomEvent<{ group: HTMLElement }>(type, {\n detail: { group: this },\n bubbles: true,\n composed: true,\n }),\n );\n }\n\n // ── Private methods ───────────────────────────────────────────────────────\n\n private _onSlotChange() {\n const { items } = this;\n this._itemCount = items.length;\n this._resizeObserver?.disconnect();\n items.forEach(item => this._resizeObserver?.observe(item));\n this._passStateDown();\n this._layoutConnector();\n }\n\n /** Gives the items this group's effective `disabled` and `readonly`. */\n private _passStateDown() {\n const disabled = this.effectiveDisabled;\n const readonly = this.effectiveReadonly;\n for (const item of this.items) {\n if (item instanceof CbGroupBase || item instanceof CbRule) {\n item.inheritState(disabled, readonly);\n }\n }\n }\n\n /** Spans the bracket from the first to the last item's first row. */\n private _layoutConnector() {\n const { items } = this;\n if (items.length < 2 || !this._itemsEl || !this._connectorEl) return;\n\n const containerTop = this._itemsEl.getBoundingClientRect().top;\n const top = CbGroupBase._rowCenter(items[0]) - containerTop;\n const bottom =\n CbGroupBase._rowCenter(items[items.length - 1]) - containerTop;\n this._connectorEl.style.top = `${top}px`;\n this._connectorEl.style.height = `${bottom - top}px`;\n }\n\n /** The pill swaps the operator: And becomes Or, Or becomes And, announced through the live region. */\n private _onPillClick(event: MouseEvent) {\n event.stopPropagation();\n if (this.locked) return;\n\n const operator = otherOperator(this.operator);\n this.operator = operator;\n this.announce(\n this.i18n.t('conditionsNowMatchWith')(this._operatorLabel(operator)),\n );\n this.dispatchEvent(\n new CustomEvent<{ operator: CbOperator }>('operator-change', {\n detail: { operator },\n bubbles: true,\n composed: true,\n }),\n );\n }\n\n private readonly _clearDropIndicator = () => {\n this._dropIndicatorTop = null;\n this._dropIndex = -1;\n };\n\n private _onDragOver(event: DragEvent) {\n const rule = getActiveRule();\n if (!rule || !this._itemsEl || this.locked) return;\n\n // Cancel both dragenter and dragover to accept the drop; the innermost\n // group under the pointer takes it.\n event.preventDefault();\n event.stopPropagation();\n const { dataTransfer } = event;\n if (dataTransfer) dataTransfer.dropEffect = 'move';\n claimDropTarget(this._clearDropIndicator);\n\n const others = this.items.filter(item => item !== rule);\n const index = others.findIndex(item => {\n const rect = item.getBoundingClientRect();\n return event.clientY < rect.top + rect.height / 2;\n });\n this._dropIndex = index === -1 ? others.length : index;\n\n const containerTop = this._itemsEl.getBoundingClientRect().top;\n const halfGap =\n (parseFloat(getComputedStyle(this._itemsEl).rowGap) || 0) / 2;\n const before = others[this._dropIndex];\n const last = others[others.length - 1];\n if (before) {\n this._dropIndicatorTop =\n before.getBoundingClientRect().top - containerTop - halfGap;\n } else if (last) {\n this._dropIndicatorTop =\n last.getBoundingClientRect().bottom - containerTop + halfGap;\n } else {\n this._dropIndicatorTop = 0;\n }\n }\n\n private _onDragLeave(event: DragEvent) {\n const next = event.relatedTarget as Node | null;\n if (next && (this.contains(next) || this.renderRoot.contains(next))) return;\n releaseDropTarget(this._clearDropIndicator);\n }\n\n private _onDrop(event: DragEvent) {\n const rule = getActiveRule();\n if (!rule || this._dropIndex < 0 || this.locked) return;\n\n event.preventDefault();\n event.stopPropagation();\n const index = this._dropIndex;\n claimDropTarget(null);\n this.moveRule(rule, index);\n }\n\n /** The translated label of `operator`, or the operator itself when it is unknown. */\n private _operatorLabel(operator: CbOperator): string {\n const key = OPERATOR_LABEL_KEYS[operator];\n return key ? this.i18n.t(key) : operator;\n }\n\n // ── Render helpers ────────────────────────────────────────────────────────\n\n /** Content placed after the items; each group type renders its own actions. */\n protected renderFooter(): TemplateResult | typeof nothing {\n return nothing;\n }\n\n private _renderConnector() {\n if (this._itemCount < 2) return nothing;\n\n const label = this._operatorLabel(this.operator);\n // The name says what the pill holds; the description and the tooltip what a click does.\n const swap = this.i18n.t('switchOperatorTo')(\n this._operatorLabel(otherOperator(this.operator)),\n );\n return html`\n <div class=\"connector\">\n <wc-cb-divider connect-start connect-end>\n <button\n id=\"operator-pill\"\n class=\"operator-pill\"\n aria-label=${this.i18n.t('matchConditionsWith')(label)}\n aria-description=${this.locked ? nothing : swap}\n ?disabled=${this.effectiveDisabled}\n aria-readonly=${this.effectiveReadonly ? 'true' : nothing}\n @click=${this._onPillClick}\n >\n <wc-focus-ring></wc-focus-ring>\n <span class=\"operator-label\">${label}</span>\n ${this.locked\n ? nothing\n : html`<wc-icon name=\"swap_vert\" aria-hidden=\"true\"></wc-icon>`}\n </button>\n ${this.locked\n ? nothing\n : html`<wc-tooltip class=\"operator-tooltip\" for=\"operator-pill\"\n >${swap}</wc-tooltip\n >`}\n </wc-cb-divider>\n </div>\n `;\n }\n\n // ── Render ────────────────────────────────────────────────────────────────\n\n override render() {\n return html`\n <div\n class=${classMap({\n group: true,\n disabled: this.effectiveDisabled,\n readonly: this.effectiveReadonly,\n })}\n aria-disabled=${this.effectiveDisabled ? 'true' : nothing}\n @dragenter=${this._onDragOver}\n @dragover=${this._onDragOver}\n @dragleave=${this._onDragLeave}\n @drop=${this._onDrop}\n >\n <div class=${classMap({ body: true, connected: this._itemCount > 1 })}>\n ${this._renderConnector()}\n <div class=${classMap({ items: true, empty: this._itemCount === 0 })}>\n <slot @slotchange=${this._onSlotChange}></slot>\n ${this._dropIndicatorTop === null\n ? nothing\n : html`<div\n class=\"drop-indicator\"\n style=${styleMap({ top: `${this._dropIndicatorTop}px` })}\n ></div>`}\n </div>\n </div>\n ${this.renderFooter()}\n </div>\n <span class=\"sr-only\" aria-live=\"polite\">${this._announcement}</span>\n `;\n }\n}\n"],"names":["LitElement","nothing","html","classMap","styles","property","state","query","styleMap"],"mappings":";;;;;;;;;AAEA;;;;AAIG;AACH,IAAI,UAAU,GAAkB,IAAI;AAEpC;AACA,IAAI,eAAe,GAAwB,IAAI;SAE/B,aAAa,GAAA;AAC3B,IAAA,OAAO,UAAU;AACnB;AAEM,SAAU,aAAa,CAAC,IAAmB,EAAA;IAC/C,UAAU,GAAG,IAAI;AACnB;AAEA;;;AAGG;AACG,SAAU,eAAe,CAAC,KAA0B,EAAA;AACxD,IAAA,IAAI,eAAe,IAAI,eAAe,KAAK,KAAK;AAAE,QAAA,eAAe,EAAE;IACnE,eAAe,GAAG,KAAK;AACzB;AAEA;AACM,SAAU,iBAAiB,CAAC,KAAiB,EAAA;IACjD,IAAI,eAAe,KAAK,KAAK;QAAE;AAC/B,IAAA,KAAK,EAAE;IACP,eAAe,GAAG,IAAI;AACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACvBA,IAAI,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AAA,oBAAA,EAAA,MAAA,CAAA;AAI3B,UAAA,CAAA;AADP,IAAAA,CAAK;AACqB,CAAA,EAAA,WAAA,CAAA,SAAA,EAAA,eAAA,EAAA,MAAA,CAAA;AAKV,UAAA,CAAA;IADhBC,CAAK,CAAC,QAAQ;AACyB,CAAA,EAAA,WAAA,CAAA,SAAA,EAAA,UAAA,EAAA,MAAA,CAAA;AAGvB,UAAA,CAAA;IADhBA,CAAK,CAAC,YAAY;AACyB,CAAA,EAAA,WAAA,CAAA,SAAA,EAAA,cAAA,EAAA,MAAA,CAAA;;;;"}
|
package/dist/cb-group.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i, _ as __decorate, I as IndividualComponent, A, b } from './IndividualComponent-BK7XZjE2.js';
|
|
2
|
-
import { a as CbGroupBase } from './cb-group-base-
|
|
2
|
+
import { a as CbGroupBase } from './cb-group-base-BhWC78b0.js';
|
|
3
3
|
import { c as css_248z$1 } from './cb-group-base-2Ps2CnBz.js';
|
|
4
4
|
import './property-B2TG3KEE.js';
|
|
5
5
|
import './state-BCeDVCI9.js';
|
package/dist/cb-rule.js
CHANGED
|
@@ -5,7 +5,7 @@ import './query-CHb9Ft_d.js';
|
|
|
5
5
|
import './class-map-NDIkZErE.js';
|
|
6
6
|
import './i18n-controller-Co6pasNo.js';
|
|
7
7
|
import './ai-controller-DR_Tg0sN.js';
|
|
8
|
-
export { C as CbRule } from './cb-group-base-
|
|
8
|
+
export { C as CbRule } from './cb-group-base-BhWC78b0.js';
|
|
9
9
|
import './base-Cl6v8-BZ.js';
|
|
10
10
|
import './directive-ZPhl09Yt.js';
|
|
11
11
|
import './strings-DYwXSSu_.js';
|
|
@@ -2,7 +2,7 @@ import { i, _ as __decorate, I as IndividualComponent, A, b } from './Individual
|
|
|
2
2
|
import { n } from './property-B2TG3KEE.js';
|
|
3
3
|
import { A as AiController } from './ai-controller-DR_Tg0sN.js';
|
|
4
4
|
import { s as sparkle } from './sparkle-BmtM0vbq.js';
|
|
5
|
-
import { a as CbGroupBase } from './cb-group-base-
|
|
5
|
+
import { a as CbGroupBase } from './cb-group-base-BhWC78b0.js';
|
|
6
6
|
import { c as css_248z$1 } from './cb-group-base-2Ps2CnBz.js';
|
|
7
7
|
import './locale-DEsJZCQG.js';
|
|
8
8
|
import './state-BCeDVCI9.js';
|
package/dist/index.js
CHANGED
|
@@ -198,7 +198,7 @@ export { Erd } from './erd.js';
|
|
|
198
198
|
export { DiagramMinimap } from './diagram-minimap.js';
|
|
199
199
|
export { ConditionBuilder } from './condition-builder.js';
|
|
200
200
|
export { CbGroup } from './cb-group.js';
|
|
201
|
-
export { C as CbRule } from './cb-group-base-
|
|
201
|
+
export { C as CbRule } from './cb-group-base-BhWC78b0.js';
|
|
202
202
|
export { CbDivider } from './cb-divider.js';
|
|
203
203
|
export { W as WORKFLOW_LOGIC_STEPS } from './workflow-model-CauduOG2.js';
|
|
204
204
|
import './IndividualComponent-BK7XZjE2.js';
|