@cocoar/vue-data-grid 1.4.1 → 1.5.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.
@@ -1 +1 @@
1
- {"version":3,"file":"CoarDataGrid.vue.d.ts","sourceRoot":"","sources":["../src/CoarDataGrid.vue"],"names":[],"mappings":"AAiHA,OAAO,KAAK,EAAkB,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE7C,OAAO,6BAA6B,CAAC;yBAEpB,KAAK,GAAG,OAAO,EAC/B,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WA+KO,mBAAmB,CAAC;QAjKxB,gDAAgD;iBACvC,eAAe,CAAC,KAAK,CAAC;QAC/B,uDAAuD;gBAC/C,KAAK;QACb,+CAA+C;gBACvC,MAAM;QACd,kDAAkD;gBAC1C,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;mBA0JmD,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;UAEJ,EAAE;EAEL,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AA1LzE,wBA0L4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"CoarDataGrid.vue.d.ts","sourceRoot":"","sources":["../src/CoarDataGrid.vue"],"names":[],"mappings":"AAqGA,OAAO,KAAK,EAAkB,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE7C,OAAO,6BAA6B,CAAC;yBAEpB,KAAK,GAAG,OAAO,EAC/B,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WA6JO,mBAAmB,CAAC;QAhJxB,gDAAgD;iBACvC,eAAe,CAAC,KAAK,CAAC;QAC/B,uDAAuD;gBAC/C,KAAK;QACb,+CAA+C;gBACvC,MAAM;QACd,kDAAkD;gBAC1C,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;mBAyImD,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;UAEJ,EAAE;EAEL,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAxKzE,wBAwK4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"coar-grid-builder.d.ts","sourceRoot":"","sources":["../../src/builders/coar-grid-builder.ts"],"names":[],"mappings":"AAAA,OAA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AE,WAAW,GAAG,IAAI;IA0G3D,2DAA2D;IAC3D,QAAQ,IAAI,IAAI;IAahB,mEAAmE;IACnE,wBAAwB,IAAI,CAAC,CAAC,MAAM,EAAE,UAAU,EAAE,GAAG,EAAE,OAAO,CAAC,KAAK,CAAC,KAAK,IAAI,CAAC,GAAG,SAAS;IAI3F,0EAA0E;IAC1E,8BAA8B,IAC1B,CAAC,CAAC,MAAM,EAAE,UAAU,EAAE,GAAG,EAAE,OAAO,CAAC,KAAK,CAAC,KAAK,IAAI,CAAC,GACnD,SAAS;IAIb,2FAA2F;IAC3F,0BAA0B,IAAI,OAAO;IAIrC,qDAAqD;IACrD,cAAc,IAAI,MAAM,CAAC,KAAK,CAAC,EAAE;IAIjC,+CAA+C;IAC/C,eAAe,IAAI,WAAW,CAAC,KAAK,CAAC;IAIrC,kDAAkD;IAClD,WAAW,IAAI,KAAK,EAAE,GAAG,IAAI;IAQ7B,2FAA2F;IAC3F,YAAY,IAAI,OAAO;CAGxB"}
package/dist/index.css CHANGED
@@ -1 +1 @@
1
- .coar-tag-cell-renderer{display:flex;align-items:center;gap:var(--coar-spacing-xs, 4px);flex-wrap:wrap;height:100%}.coar-icon-cell-renderer{display:flex;align-items:center;justify-content:center;height:100%}.coar-icon-cell-renderer.clickable{cursor:pointer}.coar-date-cell-renderer{display:flex;align-items:center;height:100%}.coar-tree-cell{display:flex;align-items:center;height:100%;gap:2px;overflow:hidden}.coar-tree-cell__toggle{display:flex;align-items:center;justify-content:center;width:20px;height:20px;flex-shrink:0;cursor:pointer;border-radius:4px;transition:background-color .1s}.coar-tree-cell__toggle:hover{background-color:var(--coar-surface-neutral-hover, rgba(0, 0, 0, .06))}.coar-tree-cell__spacer{width:20px;flex-shrink:0}.coar-tree-cell__content{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.coar-tree-cell__count{color:var(--coar-text-neutral-tertiary, #888);font-size:.85em;flex-shrink:0;margin-left:4px}.coar-grid-header{display:flex;align-items:center;width:100%;height:100%;gap:4px;overflow:hidden}.coar-grid-header--sortable{cursor:pointer}.coar-grid-header__label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.coar-grid-header__spacer{flex:1}.coar-grid-header__sort-icon{font-size:.65em;opacity:.6;flex-shrink:0}.ag-theme-cocoar{opacity:0}.ag-theme-cocoar--ready{opacity:1;transition:opacity .15s ease}.ag-theme-cocoar{--ag-font-family: var(--coar-font-family-body, Poppins, sans-serif);--ag-font-size: var(--coar-font-size-xs, 14px);--ag-grid-size: 4px;--ag-cell-horizontal-padding: var(--coar-spacing-m, 16px);--ag-row-height: 40px;--ag-header-height: 40px;--ag-list-item-height: 36px;--ag-borders: solid 1px;--ag-border-radius: var(--coar-radius-m, 8px);--ag-wrapper-border-radius: var(--coar-radius-m, 8px);--ag-row-border-style: solid;--ag-row-border-width: 1px;--ag-background-color: var(--coar-background-neutral-primary, #ffffff);--ag-header-background-color: var(--coar-background-neutral-secondary, #f5f5f5);--ag-odd-row-background-color: var(--coar-background-neutral-primary, #ffffff);--ag-row-hover-color: var(--coar-background-neutral-tertiary, #e5e5e5);--ag-selected-row-background-color: var(--coar-background-accent-tertiary, #e6f0ff);--ag-modal-overlay-background-color: rgba(0, 0, 0, .5);--ag-border-color: var(--coar-border-neutral-tertiary, #e5e5e5);--ag-row-border-color: var(--coar-border-neutral-tertiary, #e5e5e5);--ag-header-column-separator-color: var(--coar-border-neutral-tertiary, #e5e5e5);--ag-foreground-color: var(--coar-text-neutral-primary, #171717);--ag-header-foreground-color: var(--coar-text-neutral-secondary, #404040);--ag-secondary-foreground-color: var(--coar-text-neutral-tertiary, #525252);--ag-disabled-foreground-color: var(--coar-text-neutral-disabled, #a3a3a3);--ag-range-selection-border-color: var(--coar-border-accent-primary, #0066cc);--ag-range-selection-background-color: var(--coar-background-accent-tertiary, #e6f0ff);--ag-range-selection-highlight-color: var(--coar-background-accent-secondary, #cce0ff);--ag-input-focus-border-color: var(--coar-border-accent-primary, #0066cc);--ag-input-disabled-background-color: var(--coar-background-neutral-disabled, #d4d4d4);--ag-icon-font-color: var(--coar-icon-neutral-secondary, #404040);--ag-subheader-background-color: var(--coar-background-neutral-secondary, #f5f5f5);--ag-control-panel-background-color: var(--coar-background-neutral-primary, #ffffff);--ag-side-button-selected-background-color: var(--coar-background-accent-tertiary, #e6f0ff);--ag-menu-background-color: var(--coar-background-neutral-primary, #ffffff);--ag-menu-border-color: var(--coar-border-neutral-tertiary, #e5e5e5);--ag-checkbox-checked-color: var(--coar-background-accent-primary, #0066cc);--ag-checkbox-unchecked-color: var(--coar-border-neutral-tertiary, #e5e5e5);--ag-checkbox-indeterminate-color: var(--coar-background-accent-secondary, #cce0ff);--ag-chip-background-color: var(--coar-background-neutral-secondary, #f5f5f5);--ag-invalid-color: var(--coar-text-semantic-error-bold, #dc2626)}.dark-mode .ag-theme-cocoar,.ag-theme-cocoar.dark-mode{--ag-background-color: var(--coar-background-neutral-primary, #18181b);--ag-header-background-color: var(--coar-background-neutral-secondary, #27272a);--ag-odd-row-background-color: var(--coar-background-neutral-primary, #18181b);--ag-row-hover-color: var(--coar-background-neutral-tertiary, #3f3f46);--ag-selected-row-background-color: var(--coar-background-accent-tertiary, #1e3a5f);--ag-border-color: var(--coar-border-neutral-tertiary, #3f3f46);--ag-row-border-color: var(--coar-border-neutral-tertiary, #3f3f46);--ag-header-column-separator-color: var(--coar-border-neutral-tertiary, #3f3f46);--ag-foreground-color: var(--coar-text-neutral-primary, #fafafa);--ag-header-foreground-color: var(--coar-text-neutral-secondary, #e4e4e7);--ag-secondary-foreground-color: var(--coar-text-neutral-tertiary, #a1a1aa);--ag-disabled-foreground-color: var(--coar-text-neutral-disabled, #71717a);--ag-icon-font-color: var(--coar-icon-neutral-secondary, #e4e4e7);--ag-subheader-background-color: var(--coar-background-neutral-secondary, #27272a);--ag-control-panel-background-color: var(--coar-background-neutral-primary, #18181b);--ag-menu-background-color: var(--coar-background-neutral-primary, #18181b);--ag-menu-border-color: var(--coar-border-neutral-tertiary, #3f3f46);--ag-checkbox-unchecked-color: var(--coar-border-neutral-tertiary, #3f3f46);--ag-chip-background-color: var(--coar-background-neutral-secondary, #27272a);--ag-input-disabled-background-color: var(--coar-background-neutral-disabled, #3f3f46)}.ag-theme-cocoar .ag-row-focus{outline:none}.ag-theme-cocoar .ag-row-selected{background-color:var(--ag-selected-row-background-color)!important}.ag-theme-cocoar .ag-header{font-weight:600}.ag-theme-cocoar .ag-header-cell{padding-left:var(--coar-spacing-m, 16px);padding-right:var(--coar-spacing-m, 16px)}.ag-theme-cocoar .ag-cell{display:flex;align-items:center}.ag-theme-cocoar .ag-cell-focus{border-color:var(--ag-range-selection-border-color, var(--coar-border-accent-primary, #0066cc))!important}.ag-theme-cocoar .ag-row{transition:background-color .15s ease}.ag-theme-cocoar .ag-cell.clickable{cursor:pointer;color:var(--coar-text-accent-primary, #0066cc)}.ag-theme-cocoar .ag-cell.clickable:hover{text-decoration:underline}.ag-theme-cocoar .ag-cell.text-right{justify-content:flex-end;text-align:right}.ag-theme-cocoar .ag-cell.text-center{justify-content:center;text-align:center}.ag-theme-cocoar .ag-overlay-loading-wrapper{background-color:var(--ag-background-color)}.ag-theme-cocoar .ag-overlay-no-rows-wrapper{color:var(--ag-secondary-foreground-color)}.ag-theme-cocoar .ag-row.coar-drop-target{background-color:var(--coar-surface-accent-subtle, rgba(0, 102, 204, .1))!important;outline:2px solid var(--coar-border-accent, #0066cc);outline-offset:-2px;border-radius:var(--coar-radius-s, 6px)}.ag-theme-cocoar.coar-drop-target-root{outline:2px dashed var(--coar-border-accent, #0066cc);outline-offset:-2px;border-radius:var(--coar-radius-s, 6px)}.ag-theme-cocoar .ag-row.coar-drop-target--invalid{background-color:var(--coar-surface-semantic-error-subtle, rgba(204, 0, 0, .06))!important;outline:2px dashed var(--coar-border-semantic-error, rgba(204, 0, 0, .4));outline-offset:-2px;border-radius:var(--coar-radius-s, 6px);cursor:not-allowed}::highlight(coar-search){text-decoration:underline;text-decoration-color:var(--coar-border-accent, #0066cc);text-decoration-thickness:2px;text-underline-offset:2px;background-color:transparent;color:inherit}.coar-data-grid-search[data-v-8436d7a5]{display:flex;align-items:center;gap:var(--coar-spacing-s, 8px)}.coar-data-grid-search__input[data-v-8436d7a5]{flex:1;min-width:0}.coar-data-grid-search__actions[data-v-8436d7a5]{display:flex;align-items:center;gap:var(--coar-spacing-xs, 4px);flex-shrink:0}.coar-data-grid-panel[data-v-5c0a49b6]{display:flex;flex-direction:column;flex:1 1 auto;height:100%;gap:var(--coar-spacing-s, 8px)}
1
+ .coar-tag-cell-renderer{display:flex;align-items:center;gap:var(--coar-spacing-xs, 4px);flex-wrap:wrap;height:100%}.coar-icon-cell-renderer{display:flex;align-items:center;justify-content:center;height:100%}.coar-icon-cell-renderer.clickable{cursor:pointer}.coar-date-cell-renderer{display:flex;align-items:center;height:100%}.coar-tree-cell{display:flex;align-items:center;height:100%;gap:2px;overflow:hidden}.coar-tree-cell__toggle{display:flex;align-items:center;justify-content:center;width:20px;height:20px;flex-shrink:0;cursor:pointer;border-radius:4px;transition:background-color .1s}.coar-tree-cell__toggle:hover{background-color:var(--coar-surface-neutral-hover, rgba(0, 0, 0, .06))}.coar-tree-cell__spacer{width:20px;flex-shrink:0}.coar-tree-cell__content{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.coar-tree-cell__count{color:var(--coar-text-neutral-tertiary, #888);font-size:.85em;flex-shrink:0;margin-left:4px}.coar-grid-header{display:flex;align-items:center;width:100%;height:100%;gap:4px;overflow:hidden}.coar-grid-header--sortable{cursor:pointer}.coar-grid-header__label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.coar-grid-header__spacer{flex:1}.coar-grid-header__sort-icon{font-size:.65em;opacity:.6;flex-shrink:0}.ag-theme-cocoar{--ag-font-family: var(--coar-font-family-body, Poppins, sans-serif);--ag-font-size: var(--coar-font-size-xs, 14px);--ag-grid-size: 4px;--ag-cell-horizontal-padding: var(--coar-spacing-m, 16px);--ag-row-height: 40px;--ag-header-height: 40px;--ag-list-item-height: 36px;--ag-borders: solid 1px;--ag-border-radius: var(--coar-radius-m, 8px);--ag-wrapper-border-radius: var(--coar-radius-m, 8px);--ag-row-border-style: solid;--ag-row-border-width: 1px;--ag-background-color: var(--coar-background-neutral-primary, #ffffff);--ag-header-background-color: var(--coar-background-neutral-secondary, #f5f5f5);--ag-odd-row-background-color: var(--coar-background-neutral-primary, #ffffff);--ag-row-hover-color: var(--coar-background-neutral-tertiary, #e5e5e5);--ag-selected-row-background-color: var(--coar-background-accent-tertiary, #e6f0ff);--ag-modal-overlay-background-color: rgba(0, 0, 0, .5);--ag-border-color: var(--coar-border-neutral-tertiary, #e5e5e5);--ag-row-border-color: var(--coar-border-neutral-tertiary, #e5e5e5);--ag-header-column-separator-color: var(--coar-border-neutral-tertiary, #e5e5e5);--ag-foreground-color: var(--coar-text-neutral-primary, #171717);--ag-header-foreground-color: var(--coar-text-neutral-secondary, #404040);--ag-secondary-foreground-color: var(--coar-text-neutral-tertiary, #525252);--ag-disabled-foreground-color: var(--coar-text-neutral-disabled, #a3a3a3);--ag-range-selection-border-color: var(--coar-border-accent-primary, #0066cc);--ag-range-selection-background-color: var(--coar-background-accent-tertiary, #e6f0ff);--ag-range-selection-highlight-color: var(--coar-background-accent-secondary, #cce0ff);--ag-input-focus-border-color: var(--coar-border-accent-primary, #0066cc);--ag-input-disabled-background-color: var(--coar-background-neutral-disabled, #d4d4d4);--ag-icon-font-color: var(--coar-icon-neutral-secondary, #404040);--ag-subheader-background-color: var(--coar-background-neutral-secondary, #f5f5f5);--ag-control-panel-background-color: var(--coar-background-neutral-primary, #ffffff);--ag-side-button-selected-background-color: var(--coar-background-accent-tertiary, #e6f0ff);--ag-menu-background-color: var(--coar-background-neutral-primary, #ffffff);--ag-menu-border-color: var(--coar-border-neutral-tertiary, #e5e5e5);--ag-checkbox-checked-color: var(--coar-background-accent-primary, #0066cc);--ag-checkbox-unchecked-color: var(--coar-border-neutral-tertiary, #e5e5e5);--ag-checkbox-indeterminate-color: var(--coar-background-accent-secondary, #cce0ff);--ag-chip-background-color: var(--coar-background-neutral-secondary, #f5f5f5);--ag-invalid-color: var(--coar-text-semantic-error-bold, #dc2626)}.ag-theme-cocoar .ag-header-cell,.ag-theme-cocoar .ag-cell{transition:none!important}.dark-mode .ag-theme-cocoar,.ag-theme-cocoar.dark-mode{--ag-background-color: var(--coar-background-neutral-primary, #18181b);--ag-header-background-color: var(--coar-background-neutral-secondary, #27272a);--ag-odd-row-background-color: var(--coar-background-neutral-primary, #18181b);--ag-row-hover-color: var(--coar-background-neutral-tertiary, #3f3f46);--ag-selected-row-background-color: var(--coar-background-accent-tertiary, #1e3a5f);--ag-border-color: var(--coar-border-neutral-tertiary, #3f3f46);--ag-row-border-color: var(--coar-border-neutral-tertiary, #3f3f46);--ag-header-column-separator-color: var(--coar-border-neutral-tertiary, #3f3f46);--ag-foreground-color: var(--coar-text-neutral-primary, #fafafa);--ag-header-foreground-color: var(--coar-text-neutral-secondary, #e4e4e7);--ag-secondary-foreground-color: var(--coar-text-neutral-tertiary, #a1a1aa);--ag-disabled-foreground-color: var(--coar-text-neutral-disabled, #71717a);--ag-icon-font-color: var(--coar-icon-neutral-secondary, #e4e4e7);--ag-subheader-background-color: var(--coar-background-neutral-secondary, #27272a);--ag-control-panel-background-color: var(--coar-background-neutral-primary, #18181b);--ag-menu-background-color: var(--coar-background-neutral-primary, #18181b);--ag-menu-border-color: var(--coar-border-neutral-tertiary, #3f3f46);--ag-checkbox-unchecked-color: var(--coar-border-neutral-tertiary, #3f3f46);--ag-chip-background-color: var(--coar-background-neutral-secondary, #27272a);--ag-input-disabled-background-color: var(--coar-background-neutral-disabled, #3f3f46)}.ag-theme-cocoar .ag-row-focus{outline:none}.ag-theme-cocoar .ag-row-selected{background-color:var(--ag-selected-row-background-color)!important}.ag-theme-cocoar .ag-header{font-weight:600}.ag-theme-cocoar .ag-header-cell{padding-left:var(--coar-spacing-m, 16px);padding-right:var(--coar-spacing-m, 16px)}.ag-theme-cocoar .ag-cell{display:flex;align-items:center}.ag-theme-cocoar .ag-cell-focus{border-color:var(--ag-range-selection-border-color, var(--coar-border-accent-primary, #0066cc))!important}.ag-theme-cocoar .ag-row{transition:background-color .15s ease}.ag-theme-cocoar .ag-cell.clickable{cursor:pointer;color:var(--coar-text-accent-primary, #0066cc)}.ag-theme-cocoar .ag-cell.clickable:hover{text-decoration:underline}.ag-theme-cocoar .ag-cell.text-right{justify-content:flex-end;text-align:right}.ag-theme-cocoar .ag-cell.text-center{justify-content:center;text-align:center}.ag-theme-cocoar .ag-overlay-loading-wrapper{background-color:var(--ag-background-color)}.ag-theme-cocoar .ag-overlay-no-rows-wrapper{color:var(--ag-secondary-foreground-color)}.ag-theme-cocoar .ag-row.coar-drop-target{background-color:var(--coar-surface-accent-subtle, rgba(0, 102, 204, .1))!important;outline:2px solid var(--coar-border-accent, #0066cc);outline-offset:-2px;border-radius:var(--coar-radius-s, 6px)}.ag-theme-cocoar.coar-drop-target-root{outline:2px dashed var(--coar-border-accent, #0066cc);outline-offset:-2px;border-radius:var(--coar-radius-s, 6px)}.ag-theme-cocoar .ag-row.coar-drop-target--invalid{background-color:var(--coar-surface-semantic-error-subtle, rgba(204, 0, 0, .06))!important;outline:2px dashed var(--coar-border-semantic-error, rgba(204, 0, 0, .4));outline-offset:-2px;border-radius:var(--coar-radius-s, 6px);cursor:not-allowed}::highlight(coar-search){text-decoration:underline;text-decoration-color:var(--coar-border-accent, #0066cc);text-decoration-thickness:2px;text-underline-offset:2px;background-color:transparent;color:inherit}.coar-data-grid-search[data-v-8436d7a5]{display:flex;align-items:center;gap:var(--coar-spacing-s, 8px)}.coar-data-grid-search__input[data-v-8436d7a5]{flex:1;min-width:0}.coar-data-grid-search__actions[data-v-8436d7a5]{display:flex;align-items:center;gap:var(--coar-spacing-xs, 4px);flex-shrink:0}.coar-data-grid-panel[data-v-5c0a49b6]{display:flex;flex-direction:column;flex:1 1 auto;height:100%;gap:var(--coar-spacing-s, 8px)}
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as Ue, computed as K, openBlock as ee, createElementBlock as le, Fragment as Hu, renderList as Vu, createBlock as xl, unref as fi, withCtx as er, createTextVNode as Bu, toDisplayString as mi, normalizeClass as ms, createCommentVNode as Cs, normalizeStyle as tr, createVNode as It, createElementVNode as wn, ref as ae, watch as Se, isRef as El, useTemplateRef as Nu, toRefs as Wu, useModel as ir, getCurrentInstance as Co, onMounted as zu, markRaw as _u, onUnmounted as Uu, mergeModels as Uo, mergeDefaults as $u, toRaw as ta, isReactive as Ku, isProxy as ju, render as ia, onBeforeUnmount as qu, mergeProps as Yu, renderSlot as Tl } from "vue";
1
+ import { defineComponent as Ue, computed as K, openBlock as ee, createElementBlock as ae, Fragment as Hu, renderList as Vu, createBlock as xl, unref as fi, withCtx as er, createTextVNode as Bu, toDisplayString as mi, normalizeClass as ms, createCommentVNode as Cs, normalizeStyle as tr, createVNode as It, createElementVNode as wn, ref as ue, watch as Se, isRef as El, useTemplateRef as Nu, toRefs as Wu, useModel as ir, getCurrentInstance as Co, onMounted as zu, markRaw as _u, onUnmounted as Uu, mergeModels as Uo, mergeDefaults as $u, toRaw as ta, isReactive as Ku, isProxy as ju, render as ia, onBeforeUnmount as qu, mergeProps as Yu, renderSlot as Tl } from "vue";
2
2
  import { CoarTag as Qu, CoarIcon as or, CoarTextInput as Zu } from "@cocoar/vue-ui";
3
3
  import { useI18n as Ml, useL10n as Ju } from "@cocoar/vue-localization";
4
4
  const Al = "__coarQuickFilter", Il = "__coarHeaderI18nKey";
@@ -242,8 +242,8 @@ const Xu = { class: "coar-tag-cell-renderer" }, eh = /* @__PURE__ */ Ue({
242
242
  function c(u, h) {
243
243
  return h.variantMap?.[u] ?? h.variant ?? "neutral";
244
244
  }
245
- return (u, h) => (ee(), le("div", Xu, [
246
- (ee(!0), le(Hu, null, Vu(n.value, (g) => (ee(), xl(fi(Qu), {
245
+ return (u, h) => (ee(), ae("div", Xu, [
246
+ (ee(!0), ae(Hu, null, Vu(n.value, (g) => (ee(), xl(fi(Qu), {
247
247
  key: g.label,
248
248
  variant: g.variant,
249
249
  size: s.value
@@ -265,7 +265,7 @@ const Xu = { class: "coar-tag-cell-renderer" }, eh = /* @__PURE__ */ Ue({
265
265
  function l() {
266
266
  i.value.onClick?.(t.params);
267
267
  }
268
- return (d, c) => (ee(), le("div", {
268
+ return (d, c) => (ee(), ae("div", {
269
269
  class: ms(["coar-icon-cell-renderer", { clickable: a.value }]),
270
270
  onClick: l
271
271
  }, [
@@ -288,7 +288,7 @@ const Xu = { class: "coar-tag-cell-renderer" }, eh = /* @__PURE__ */ Ue({
288
288
  const n = t.params.value;
289
289
  return n && (n instanceof Date || typeof n == "string") ? n : null;
290
290
  }), s = K(() => o.value == null ? "" : i(o.value));
291
- return (n, r) => (ee(), le("div", ih, mi(s.value), 1));
291
+ return (n, r) => (ee(), ae("div", ih, mi(s.value), 1));
292
292
  }
293
293
  }), sh = {
294
294
  key: 1,
@@ -319,11 +319,11 @@ const Xu = { class: "coar-tag-cell-renderer" }, eh = /* @__PURE__ */ Ue({
319
319
  const g = h.getRowId(t.params.data);
320
320
  h.toggleRow(g);
321
321
  }
322
- return (u, h) => (ee(), le("div", {
322
+ return (u, h) => (ee(), ae("div", {
323
323
  class: "coar-tree-cell",
324
324
  style: tr({ paddingLeft: `${n.value * 20}px` })
325
325
  }, [
326
- r.value ? (ee(), le("span", {
326
+ r.value ? (ee(), ae("span", {
327
327
  key: 0,
328
328
  class: "coar-tree-cell__toggle",
329
329
  onClick: c
@@ -335,9 +335,9 @@ const Xu = { class: "coar-tag-cell-renderer" }, eh = /* @__PURE__ */ Ue({
335
335
  rotate: a.value ? 90 : 0,
336
336
  "rotate-transition": 150
337
337
  }, null, 8, ["rotate"])
338
- ])) : (ee(), le("span", sh)),
338
+ ])) : (ee(), ae("span", sh)),
339
339
  wn("span", nh, mi(e.params.value), 1),
340
- r.value && d.value ? (ee(), le("span", rh, " (" + mi(l.value) + ") ", 1)) : Cs("", !0)
340
+ r.value && d.value ? (ee(), ae("span", rh, " (" + mi(l.value) + ") ", 1)) : Cs("", !0)
341
341
  ], 4));
342
342
  }
343
343
  });
@@ -483,7 +483,7 @@ const dh = { class: "coar-grid-header__label" }, ch = {
483
483
  () => t.params.column.getColDef()[Il]
484
484
  ), s = K(
485
485
  () => o.value ? i(o.value, void 0, t.params.displayName) : t.params.displayName
486
- ), n = ae(null);
486
+ ), n = ue(null);
487
487
  function r() {
488
488
  const l = t.params.column;
489
489
  l.isSortAscending() ? n.value = "asc" : l.isSortDescending() ? n.value = "desc" : n.value = null;
@@ -492,38 +492,38 @@ const dh = { class: "coar-grid-header__label" }, ch = {
492
492
  function a(l) {
493
493
  t.params.progressSort(l.shiftKey);
494
494
  }
495
- return (l, d) => (ee(), le("div", {
495
+ return (l, d) => (ee(), ae("div", {
496
496
  class: ms(["coar-grid-header", { "coar-grid-header--sortable": e.params.enableSorting }]),
497
497
  onClick: a
498
498
  }, [
499
499
  wn("span", dh, mi(s.value), 1),
500
500
  d[0] || (d[0] = wn("span", { class: "coar-grid-header__spacer" }, null, -1)),
501
- n.value ? (ee(), le("span", ch, mi(n.value === "asc" ? "▲" : "▼"), 1)) : Cs("", !0)
501
+ n.value ? (ee(), ae("span", ch, mi(n.value === "asc" ? "▲" : "▼"), 1)) : Cs("", !0)
502
502
  ], 2));
503
503
  }
504
504
  });
505
505
  class sr {
506
506
  #e;
507
507
  #r;
508
- #p = ae(!1);
508
+ #f = ue(!1);
509
509
  #o = [];
510
510
  #t = {};
511
- #f = [];
512
- #c = null;
511
+ #c = [];
512
+ #u = null;
513
513
  #a;
514
514
  // Deferred state (applied after grid ready)
515
- #u;
515
+ #h;
516
516
  #s;
517
517
  #w = [];
518
518
  #S = [];
519
519
  // Quick filter
520
520
  #n;
521
- #h;
521
+ #g;
522
522
  // Search highlight
523
523
  #m = !1;
524
524
  // Tree data
525
525
  #l;
526
- #g = {
526
+ #p = {
527
527
  meta: /* @__PURE__ */ new Map(),
528
528
  toggleRow: () => {
529
529
  },
@@ -533,7 +533,7 @@ class sr {
533
533
  #b;
534
534
  #y;
535
535
  /** Reactive flag that becomes true when grid is ready */
536
- gridReady = this.#p;
536
+ gridReady = this.#f;
537
537
  constructor() {
538
538
  this.#t = this.#x();
539
539
  }
@@ -551,6 +551,7 @@ class sr {
551
551
  #x() {
552
552
  return {
553
553
  animateRows: !0,
554
+ suppressColumnMoveAnimation: !0,
554
555
  rowSelection: void 0,
555
556
  defaultColDef: {
556
557
  headerComponent: uh
@@ -571,7 +572,7 @@ class sr {
571
572
  /** Define columns using builders or factory functions */
572
573
  columns(t) {
573
574
  const i = new lh();
574
- return this.#f = t.map((o) => typeof o == "function" ? o(i).build() : o.build()), this;
575
+ return this.#c = t.map((o) => typeof o == "function" ? o(i).build() : o.build()), this;
575
576
  }
576
577
  /** Set default column definition applied to all columns */
577
578
  defaultColDef(t) {
@@ -583,11 +584,11 @@ class sr {
583
584
  // ============================================================
584
585
  /** Set row data (static array) */
585
586
  rowData(t) {
586
- return this.#c = t, this.#a = void 0, this;
587
+ return this.#u = t, this.#a = void 0, this;
587
588
  }
588
589
  /** Set row data (reactive ref) */
589
590
  rowDataRef(t) {
590
- return this.#a = t, this.#c = null, this;
591
+ return this.#a = t, this.#u = null, this;
591
592
  }
592
593
  /** Set row ID getter for immutable data updates */
593
594
  rowId(t) {
@@ -661,7 +662,7 @@ class sr {
661
662
  // ============================================================
662
663
  /** Merge column state to restore column widths, order, visibility */
663
664
  columnState(t) {
664
- return this.#u = t, this;
665
+ return this.#h = t, this;
665
666
  }
666
667
  // ============================================================
667
668
  // Tree / Group Data
@@ -682,11 +683,11 @@ class sr {
682
683
  * ```
683
684
  */
684
685
  treeData(t) {
685
- return this.#l = t, this.#g.getRowId = t.rowId, this.#g.toggleRow = (i) => {
686
+ return this.#l = t, this.#p.getRowId = t.rowId, this.#p.toggleRow = (i) => {
686
687
  if (!this.#s) return;
687
688
  const o = this.#s.value;
688
689
  o.includes(i) ? this.#s.value = o.filter((s) => s !== i) : this.#s.value = [...o, i];
689
- }, this.#t.getRowId = (i) => t.rowId(i.data), this.#t.context = { ...this.#t.context, coarTree: this.#g }, this;
690
+ }, this.#t.getRowId = (i) => t.rowId(i.data), this.#t.context = { ...this.#t.context, coarTree: this.#p }, this;
690
691
  }
691
692
  /** Set which parent rows are expanded (reactive ref of row IDs) */
692
693
  openRows(t) {
@@ -810,7 +811,7 @@ class sr {
810
811
  * Requires `treeData()` to be configured. Returns `undefined` if not found.
811
812
  */
812
813
  getTreeMeta(t) {
813
- return this.#g.meta.get(t);
814
+ return this.#p.meta.get(t);
814
815
  }
815
816
  /**
816
817
  * Get all row data in the current display order.
@@ -919,7 +920,7 @@ class sr {
919
920
  * ```
920
921
  */
921
922
  quickFilterFn(t) {
922
- return this.#h = t, this;
923
+ return this.#g = t, this;
923
924
  }
924
925
  /**
925
926
  * Enable search text highlighting using the CSS Custom Highlight API.
@@ -1031,23 +1032,23 @@ class sr {
1031
1032
  return;
1032
1033
  }
1033
1034
  const s = o?.trim().toLowerCase() || null, n = [], r = /* @__PURE__ */ new Map();
1034
- this.#v(i, 0, s, n, r), this.#g.meta = r, t.setGridOption("rowData", n), t.setGridOption("loading", !1), t.refreshCells({ force: !0 }), this.#F(o);
1035
+ this.#v(i, 0, s, n, r), this.#p.meta = r, t.setGridOption("rowData", n), t.setGridOption("loading", !1), t.refreshCells({ force: !0 }), this.#F(o);
1035
1036
  }
1036
1037
  /**
1037
1038
  * Check if a single row matches the quick filter (used by both flat and tree modes).
1038
1039
  */
1039
1040
  #M(t, i) {
1040
- return this.#h ? this.#h(i, t) : this.#P(t, i);
1041
+ return this.#g ? this.#g(i, t) : this.#P(t, i);
1041
1042
  }
1042
1043
  // ============================================================
1043
1044
  // Private - Quick Filter Helpers
1044
1045
  // ============================================================
1045
1046
  #A(t, i) {
1046
1047
  const o = i?.trim().toLowerCase();
1047
- return o ? this.#h ? t.filter((s) => this.#h(o, s)) : t.filter((s) => this.#P(s, o)) : t;
1048
+ return o ? this.#g ? t.filter((s) => this.#g(o, s)) : t.filter((s) => this.#P(s, o)) : t;
1048
1049
  }
1049
1050
  #P(t, i) {
1050
- for (const o of this.#f) {
1051
+ for (const o of this.#c) {
1051
1052
  if (o.hide || !o.field) continue;
1052
1053
  const s = o[Al];
1053
1054
  if (s === !1) continue;
@@ -1064,12 +1065,12 @@ class sr {
1064
1065
  return;
1065
1066
  }
1066
1067
  const s = this.#A(i, o);
1067
- t.setGridOption("rowData", s), t.setGridOption("loading", !1), this.#F(o);
1068
+ t.setGridOption("rowData", s), t.setGridOption("loading", !1), this.#c.some((n) => n.flex) && t.setGridOption("columnDefs", this.#c), this.#F(o);
1068
1069
  }
1069
1070
  /** @internal Called by the wrapper component to bind to AG Grid */
1070
1071
  _bind(t, i) {
1071
- if (this.#e = t, this.#r = i, this.#p.value = !0, this.#l) {
1072
- const o = this.#a ?? ae(this.#c), s = [o];
1072
+ if (this.#e = t, this.#r = i, this.#f.value = !0, this.#l) {
1073
+ const o = this.#a ?? ue(this.#u), s = [o];
1073
1074
  this.#n && s.push(this.#n), this.#s && s.push(this.#s);
1074
1075
  const n = Se(
1075
1076
  s,
@@ -1080,7 +1081,7 @@ class sr {
1080
1081
  );
1081
1082
  this.#o.push(n);
1082
1083
  } else if (this.#n) {
1083
- const o = this.#a ?? ae(this.#c), s = Se(
1084
+ const o = this.#a ?? ue(this.#u), s = Se(
1084
1085
  [o, this.#n],
1085
1086
  ([n, r]) => {
1086
1087
  this.#D(t, n, r);
@@ -1098,10 +1099,10 @@ class sr {
1098
1099
  );
1099
1100
  this.#o.push(o);
1100
1101
  }
1101
- if (this.#u)
1102
- if (El(this.#u)) {
1102
+ if (this.#h)
1103
+ if (El(this.#h)) {
1103
1104
  const o = Se(
1104
- this.#u,
1105
+ this.#h,
1105
1106
  (s) => {
1106
1107
  s && t.applyColumnState({ state: s, applyOrder: !0 });
1107
1108
  },
@@ -1109,7 +1110,7 @@ class sr {
1109
1110
  );
1110
1111
  this.#o.push(o);
1111
1112
  } else
1112
- t.applyColumnState({ state: this.#u, applyOrder: !0 });
1113
+ t.applyColumnState({ state: this.#h, applyOrder: !0 });
1113
1114
  for (const o of this.#w) {
1114
1115
  const s = Se(o, () => {
1115
1116
  t.onSortChanged(), t.onFilterChanged();
@@ -1148,7 +1149,7 @@ class sr {
1148
1149
  _destroy() {
1149
1150
  for (const t of this.#o)
1150
1151
  t();
1151
- this.#o = [], this.#e = void 0, this.#r = void 0, this.#p.value = !1, typeof CSS < "u" && "highlights" in CSS && CSS.highlights.delete("coar-search");
1152
+ this.#o = [], this.#e = void 0, this.#r = void 0, this.#f.value = !1, typeof CSS < "u" && "highlights" in CSS && CSS.highlights.delete("coar-search");
1152
1153
  }
1153
1154
  /** @internal Get viewport click handler (for wrapper component) */
1154
1155
  _getViewportClickHandler() {
@@ -1164,7 +1165,7 @@ class sr {
1164
1165
  }
1165
1166
  /** Get column definitions (for wrapper component) */
1166
1167
  _getColumnDefs() {
1167
- return this.#f;
1168
+ return this.#c;
1168
1169
  }
1169
1170
  /** Get grid options (for wrapper component) */
1170
1171
  _getGridOptions() {
@@ -1172,7 +1173,7 @@ class sr {
1172
1173
  }
1173
1174
  /** Get static row data (for wrapper component) */
1174
1175
  _getRowData() {
1175
- return this.#n || this.#l ? null : this.#c;
1176
+ return this.#a || this.#n || this.#l ? null : this.#u;
1176
1177
  }
1177
1178
  /** @internal Whether data is loaded asynchronously (rowDataRef or tree/filter pipeline) */
1178
1179
  _isAsyncData() {
@@ -1757,7 +1758,7 @@ function jh(e) {
1757
1758
  return s ?? i;
1758
1759
  };
1759
1760
  }
1760
- var ce = class {
1761
+ var de = class {
1761
1762
  constructor() {
1762
1763
  this.destroyFunctions = [], this.destroyed = !1, this.__v_skip = !0, this.propertyListenerId = 0, this.lastChangeSetIdLookup = {}, this.isAlive = () => !this.destroyed;
1763
1764
  }
@@ -1909,7 +1910,7 @@ function qh(e) {
1909
1910
  function Yh(e) {
1910
1911
  return e.eventServiceType === "global";
1911
1912
  }
1912
- var b = class extends ce {
1913
+ var b = class extends de {
1913
1914
  }, yn = /* @__PURE__ */ new Set(), ws = (e, t) => {
1914
1915
  yn.has(t) || (yn.add(t), e());
1915
1916
  };
@@ -1975,10 +1976,10 @@ function Xh(e, t) {
1975
1976
  t(i, e[i]);
1976
1977
  }
1977
1978
  }
1978
- function de(e, t, i = !0, o = !1) {
1979
+ function le(e, t, i = !0, o = !1) {
1979
1980
  x(t) && Xh(t, (s, n) => {
1980
1981
  let r = e[s];
1981
- r !== n && (o && r == null && n != null && typeof n == "object" && n.constructor === Object && (r = {}, e[s] = r), aa(n) && aa(r) && !Array.isArray(r) ? de(r, n, i, o) : (i || n !== void 0) && (e[s] = n));
1982
+ r !== n && (o && r == null && n != null && typeof n == "object" && n.constructor === Object && (r = {}, e[s] = r), aa(n) && aa(r) && !Array.isArray(r) ? le(r, n, i, o) : (i || n !== void 0) && (e[s] = n));
1982
1983
  });
1983
1984
  }
1984
1985
  function aa(e) {
@@ -1993,7 +1994,7 @@ var fr = class Ke {
1993
1994
  if (!Ke.gridOptions)
1994
1995
  return { ...t };
1995
1996
  let i = {};
1996
- return de(i, Ke.gridOptions, !0, !0), Ke.mergeStrategy === "deep" ? de(i, t, !0, !0) : i = { ...i, ...t }, Ke.gridOptions.context && (i.context = Ke.gridOptions.context), t.context && (Ke.mergeStrategy === "deep" && i.context && de(t.context, i.context, !0, !0), i.context = t.context), i;
1997
+ return le(i, Ke.gridOptions, !0, !0), Ke.mergeStrategy === "deep" ? le(i, t, !0, !0) : i = { ...i, ...t }, Ke.gridOptions.context && (i.context = Ke.gridOptions.context), t.context && (Ke.mergeStrategy === "deep" && i.context && le(t.context, i.context, !0, !0), i.context = t.context), i;
1997
1998
  }
1998
1999
  /**
1999
2000
  * Apply global grid option for a specific option key.
@@ -3021,7 +3022,7 @@ var Og = ["asc", "desc", null], Gg = [
3021
3022
  }
3022
3023
  dispatchColEvent(e, t, i) {
3023
3024
  const o = this.createColumnEvent(e, t);
3024
- i && de(o, i), this.colEventSvc.dispatchEvent(o);
3025
+ i && le(o, i), this.colEventSvc.dispatchEvent(o);
3025
3026
  }
3026
3027
  dispatchStateUpdatedEvent(e) {
3027
3028
  this.colEventSvc.dispatchEvent({
@@ -3418,13 +3419,13 @@ function Yg(e, t) {
3418
3419
  }
3419
3420
  function Tn(e, t, i, o) {
3420
3421
  const { gos: s, dataTypeSvc: n } = e, r = {}, a = s.get("defaultColDef");
3421
- de(r, a, !1, !0);
3422
+ le(r, a, !1, !0);
3422
3423
  const l = Qg(e, r, t, i);
3423
3424
  l && Zg(e, l, r);
3424
3425
  const d = r.cellDataType;
3425
- de(r, t, !1, !0), d !== void 0 && (r.cellDataType = d);
3426
+ le(r, t, !1, !0), d !== void 0 && (r.cellDataType = d);
3426
3427
  const c = s.get("autoGroupColumnDef"), u = Le(s);
3427
- return t.rowGroup && c && u && de(
3428
+ return t.rowGroup && c && u && le(
3428
3429
  r,
3429
3430
  {
3430
3431
  sort: c.sort,
@@ -3448,7 +3449,7 @@ function Zg(e, t, i) {
3448
3449
  }
3449
3450
  for (const n of t) {
3450
3451
  const r = o[n.trim()];
3451
- r ? de(i, r, !1, !0) : R(36, { t: n });
3452
+ r ? le(i, r, !1, !0) : R(36, { t: n });
3452
3453
  }
3453
3454
  }
3454
3455
  function Jg(e) {
@@ -4168,7 +4169,7 @@ var Td = class {
4168
4169
  }
4169
4170
  this.cssClassStates[e] !== t && e.length && (this.getGui()?.classList.toggle(e, t), this.cssClassStates[e] = t);
4170
4171
  }
4171
- }, rp = 0, Di = class extends ce {
4172
+ }, rp = 0, Di = class extends de {
4172
4173
  constructor(e, t) {
4173
4174
  super(), this.suppressDataRefValidation = !1, this.displayed = !0, this.visible = !0, this.compId = rp++, this.cssManager = new Td(() => this.eGui), this.componentSelectors = new Map((t ?? []).map((i) => [i.selector, i])), e && this.setTemplate(e);
4174
4175
  }
@@ -4464,9 +4465,9 @@ var dp = class extends b {
4464
4465
  const r = { ...i, ...s }, l = e?.[t.name + "Params"];
4465
4466
  if (typeof l == "function") {
4466
4467
  const d = l(i);
4467
- de(r, d);
4468
- } else typeof l == "object" && de(r, l);
4469
- return de(r, o), n ? n(r) : r;
4468
+ le(r, d);
4469
+ } else typeof l == "object" && le(r, l);
4470
+ return le(r, o), n ? n(r) : r;
4470
4471
  }
4471
4472
  }, cp = {
4472
4473
  name: "dateComponent",
@@ -4741,7 +4742,7 @@ function Bd(e, t = 5) {
4741
4742
  e = e.parentElement;
4742
4743
  return In(e) === null ? null : e;
4743
4744
  }
4744
- var Qp = "ag-focus-managed", Nd = class extends ce {
4745
+ var Qp = "ag-focus-managed", Nd = class extends de {
4745
4746
  constructor(e, t = {
4746
4747
  isStopPropagation: () => !1,
4747
4748
  stopPropagation: () => {
@@ -4783,7 +4784,7 @@ var Qp = "ag-focus-managed", Nd = class extends ce {
4783
4784
  TAB_GUARD: "ag-tab-guard",
4784
4785
  TAB_GUARD_TOP: "ag-tab-guard-top",
4785
4786
  TAB_GUARD_BOTTOM: "ag-tab-guard-bottom"
4786
- }, Zp = class extends ce {
4787
+ }, Zp = class extends de {
4787
4788
  constructor(e, t) {
4788
4789
  super(), this.stopPropagationCallbacks = t, this.skipTabGuardFocus = !1, this.forcingFocusOut = !1, this.allowFocus = !1;
4789
4790
  const {
@@ -4955,7 +4956,7 @@ var Qp = "ag-focus-managed", Nd = class extends ce {
4955
4956
  ot("eBottomLeft", "bottomLeft"),
4956
4957
  ot("eLeft", "left")
4957
4958
  ]
4958
- }, ef = class extends ce {
4959
+ }, ef = class extends de {
4959
4960
  constructor(e, t) {
4960
4961
  super(), this.element = e, this.dragStartPosition = {
4961
4962
  x: 0,
@@ -6837,7 +6838,7 @@ ${n}}
6837
6838
  cssName: "--ag-list-item-height",
6838
6839
  changeKey: "listItemHeightChanged",
6839
6840
  defaultValue: 24
6840
- }, Qf = class extends ce {
6841
+ }, Qf = class extends de {
6841
6842
  constructor() {
6842
6843
  super(...arguments), this.beanName = "environment", this.sizeEls = /* @__PURE__ */ new Map(), this.lastKnownValues = /* @__PURE__ */ new Map(), this.sizesMeasured = !1, this.paramsClass = `ag-theme-params-${++Yf}`, this.globalCSS = [];
6843
6844
  }
@@ -6967,7 +6968,7 @@ ${n}}
6967
6968
  typeof ShadowRoot < "u" && e.getRootNode() instanceof ShadowRoot && (t(), clearInterval(s)), (dr(e) || --o < 0) && clearInterval(s);
6968
6969
  }, 1e3);
6969
6970
  i(() => clearInterval(s));
6970
- }, Jf = class extends ce {
6971
+ }, Jf = class extends de {
6971
6972
  constructor() {
6972
6973
  super(...arguments), this.beanName = "registry";
6973
6974
  }
@@ -6989,7 +6990,7 @@ ${n}}
6989
6990
  }
6990
6991
  return new o(...i);
6991
6992
  }
6992
- }, Xf = class extends ce {
6993
+ }, Xf = class extends de {
6993
6994
  constructor() {
6994
6995
  super(...arguments), this.beanName = "eventSvc", this.eventServiceType = "global", this.globalSvc = new kt();
6995
6996
  }
@@ -7011,7 +7012,7 @@ ${n}}
7011
7012
  dispatchEventOnce(e) {
7012
7013
  this.globalSvc.dispatchEventOnce(this.gos.addCommon(e));
7013
7014
  }
7014
- }, Xd = class extends ce {
7015
+ }, Xd = class extends de {
7015
7016
  constructor(e, t) {
7016
7017
  super(), this.ctrl = e, t && (this.beans = t);
7017
7018
  }
@@ -7054,7 +7055,7 @@ ${n}}
7054
7055
  destroy() {
7055
7056
  this.tooltipManager = this.destroyBean(this.tooltipManager, this.beans.context), super.destroy();
7056
7057
  }
7057
- }, em = 1e3, tm = 1e3, Ra = 100, Fa, wo = !1, im = class extends ce {
7058
+ }, em = 1e3, tm = 1e3, Ra = 100, Fa, wo = !1, im = class extends de {
7058
7059
  constructor(e, t) {
7059
7060
  super(), this.tooltipCtrl = e, this.getTooltipValue = t, this.interactionEnabled = !1, this.isInteractingWithTooltip = !1, this.state = 0, this.tooltipInstanceCount = 0, this.tooltipMouseTrack = !1;
7060
7061
  }
@@ -7276,7 +7277,7 @@ ${n}}
7276
7277
  destroy() {
7277
7278
  this.highlightTracker.removeEventListener("itemHighlighted", this.onHighlight), super.destroy();
7278
7279
  }
7279
- }, So = 0, sm = 200, nm = class extends ce {
7280
+ }, So = 0, sm = 200, nm = class extends de {
7280
7281
  constructor() {
7281
7282
  super(...arguments), this.beanName = "popupSvc", this.popupList = [];
7282
7283
  }
@@ -7658,7 +7659,7 @@ ${n}}
7658
7659
  else if (Zt.has(e))
7659
7660
  return !1;
7660
7661
  return Zt.add(e), !0;
7661
- }, cm = class extends ce {
7662
+ }, cm = class extends de {
7662
7663
  constructor() {
7663
7664
  super(...arguments), this.beanName = "dragSvc", this.dragging = !1, this.drag = null, this.dragSources = [];
7664
7665
  }
@@ -7867,7 +7868,7 @@ ${n}}
7867
7868
  }, Zs = (e) => {
7868
7869
  const t = e.target;
7869
7870
  return t instanceof Element ? t : null;
7870
- }, um = class extends ce {
7871
+ }, um = class extends de {
7871
7872
  constructor() {
7872
7873
  super(...arguments), this.beanName = "dragAndDrop", this.dragSourceAndParamsList = [], this.dragItem = null, this.dragInitialSourcePointerOffsetX = 0, this.dragInitialSourcePointerOffsetY = 0, this.lastMouseEvent = null, this.lastDraggingEvent = null, this.dragSource = null, this.dragImageCompPromise = null, this.dragImageComp = null, this.dragImageLastIcon = void 0, this.dragImageLastLabel = void 0, this.dropTargets = [], this.externalDropZoneCount = 0, this.lastDropTarget = null;
7873
7874
  }
@@ -8105,7 +8106,7 @@ ${n}}
8105
8106
  let n = t?.dragItemName;
8106
8107
  typeof n == "function" && (n = n(o)), n || (n = ""), s !== n && (this.dragImageLastLabel = n, e.setLabel(n));
8107
8108
  }
8108
- }, hm = class extends ce {
8109
+ }, hm = class extends de {
8109
8110
  constructor(e, t) {
8110
8111
  super(), this.comp = e, this.stopPropagationCallbacks = t;
8111
8112
  }
@@ -21481,7 +21482,7 @@ var Xb = {
21481
21482
  t[i] = { expectedType: "boolean" };
21482
21483
  for (const i of _c)
21483
21484
  t[i] = { expectedType: "number" };
21484
- return de(t, e), t;
21485
+ return le(t, e), t;
21485
21486
  }, ty = () => ({
21486
21487
  objectName: "gridOptions",
21487
21488
  allProperties: [...Kn(), ...Object.values(Es)],
@@ -21720,7 +21721,7 @@ var ly = class extends B {
21720
21721
  return !1;
21721
21722
  if (this.innerHeaderComponent) {
21722
21723
  const i = { ...e };
21723
- de(i, e.innerHeaderComponentParams), this.innerHeaderComponent.refresh?.(i);
21724
+ le(i, e.innerHeaderComponentParams), this.innerHeaderComponent.refresh?.(i);
21724
21725
  } else
21725
21726
  this.setDisplayName(e);
21726
21727
  return !0;
@@ -25296,7 +25297,7 @@ var Qy = {
25296
25297
  version: E,
25297
25298
  beans: [tR],
25298
25299
  css: [Xy]
25299
- }, oR = class extends ce {
25300
+ }, oR = class extends de {
25300
25301
  constructor() {
25301
25302
  super(), this.beanName = "ariaAnnounce", this.descriptionContainer = null, this.pendingAnnouncements = /* @__PURE__ */ new Map(), this.lastAnnouncement = "", this.updateAnnouncement = J(this, this.updateAnnouncement.bind(this), 200);
25302
25303
  }
@@ -28555,18 +28556,18 @@ var uF = {
28555
28556
  enableCellSpan: !0,
28556
28557
  enableFilterHandlers: !0,
28557
28558
  filterHandlers: !0
28558
- }, ue = "clientSide", se = "serverSide", $t = "infinite", hF = {
28559
- onGroupExpandedOrCollapsed: [ue],
28560
- refreshClientSideRowModel: [ue],
28561
- isRowDataEmpty: [ue],
28562
- forEachLeafNode: [ue],
28563
- forEachNodeAfterFilter: [ue],
28564
- forEachNodeAfterFilterAndSort: [ue],
28565
- resetRowHeights: [ue, se],
28566
- applyTransaction: [ue],
28567
- applyTransactionAsync: [ue],
28568
- flushAsyncTransactions: [ue],
28569
- getBestCostNodeSelection: [ue],
28559
+ }, ce = "clientSide", se = "serverSide", $t = "infinite", hF = {
28560
+ onGroupExpandedOrCollapsed: [ce],
28561
+ refreshClientSideRowModel: [ce],
28562
+ isRowDataEmpty: [ce],
28563
+ forEachLeafNode: [ce],
28564
+ forEachNodeAfterFilter: [ce],
28565
+ forEachNodeAfterFilterAndSort: [ce],
28566
+ resetRowHeights: [ce, se],
28567
+ applyTransaction: [ce],
28568
+ applyTransactionAsync: [ce],
28569
+ flushAsyncTransactions: [ce],
28570
+ getBestCostNodeSelection: [ce],
28570
28571
  getServerSideSelectionState: [se],
28571
28572
  setServerSideSelectionState: [se],
28572
28573
  applyServerSideTransaction: [se],
@@ -28580,9 +28581,9 @@ var uF = {
28580
28581
  purgeInfiniteCache: [$t],
28581
28582
  getInfiniteRowCount: [$t],
28582
28583
  isLastRowIndexKnown: [$t, se],
28583
- expandAll: [ue, se],
28584
- collapseAll: [ue, se],
28585
- onRowHeightChanged: [ue, se],
28584
+ expandAll: [ce, se],
28585
+ collapseAll: [ce, se],
28586
+ onRowHeightChanged: [ce, se],
28586
28587
  setRowCount: [$t, se],
28587
28588
  getCacheBlockState: [$t, se]
28588
28589
  }, gF = {
@@ -30443,7 +30444,7 @@ var $F = class extends b {
30443
30444
  type: "filterChanged",
30444
30445
  columns: o
30445
30446
  };
30446
- i && de(s, i), this.eventSvc.dispatchEvent(s), this.colFilter?.updateAfterFilterChanged();
30447
+ i && le(s, i), this.eventSvc.dispatchEvent(s), this.colFilter?.updateAfterFilterChanged();
30447
30448
  });
30448
30449
  }
30449
30450
  isSuppressFlashingCellsBecauseFiltering() {
@@ -40706,7 +40707,7 @@ const KE = { ref: "root" }, jE = /* @__PURE__ */ Ue({
40706
40707
  }),
40707
40708
  emits: /* @__PURE__ */ Uo(["update:modelValue"], ["update:modelValue"]),
40708
40709
  setup(e, { expose: t, emit: i }) {
40709
- const o = e, s = Nu("root"), n = ae(void 0), r = ae(!1), a = ae(!1), l = ae(!1), d = ae({}), c = ae(null), u = Wu(o);
40710
+ const o = e, s = Nu("root"), n = ue(void 0), r = ue(!1), a = ue(!1), l = ue(!1), d = ue({}), c = ue(null), u = Wu(o);
40710
40711
  Kn().filter((M) => M != "gridOptions").forEach((M) => {
40711
40712
  Se(
40712
40713
  () => u[M],
@@ -40716,7 +40717,7 @@ const KE = { ref: "root" }, jE = /* @__PURE__ */ Ue({
40716
40717
  { deep: !0 }
40717
40718
  );
40718
40719
  });
40719
- const h = /* @__PURE__ */ new Set(["rowDataUpdated", "cellValueChanged", "rowValueChanged"]), g = ir(e, "modelValue"), p = ae(!1), f = ae(!1), m = i;
40720
+ const h = /* @__PURE__ */ new Set(["rowDataUpdated", "cellValueChanged", "rowValueChanged"]), g = ir(e, "modelValue"), p = ue(!1), f = ue(!1), m = i;
40720
40721
  Se(
40721
40722
  g,
40722
40723
  (M, A) => {
@@ -40772,7 +40773,7 @@ const KE = { ref: "root" }, jE = /* @__PURE__ */ Ue({
40772
40773
  r.value && ((M = n?.value) == null || M.destroy(), a.value = !0);
40773
40774
  }), t({
40774
40775
  api: n
40775
- }), (M, A) => (ee(), le("div", KE, null, 512));
40776
+ }), (M, A) => (ee(), ae("div", KE, null, 512));
40776
40777
  }
40777
40778
  }), qE = /* @__PURE__ */ Ue({
40778
40779
  __name: "CoarDataGrid",
@@ -40784,50 +40785,42 @@ const KE = { ref: "root" }, jE = /* @__PURE__ */ Ue({
40784
40785
  },
40785
40786
  setup(e) {
40786
40787
  dg.registerModules([GE]);
40787
- const t = ae(), i = ae(!1), o = ["ag-body-viewport", "ag-center-cols-viewport"];
40788
- function s(g) {
40789
- const p = g.target;
40790
- return o.some((f) => p.classList.contains(f));
40791
- }
40792
- const n = e, r = K(() => n.builder._getGridOptions()), a = K(() => n.builder._getColumnDefs()), l = K(() => n.builder._getRowData());
40793
- function d(g) {
40794
- n.builder._bind(g.api, t.value), n.builder._isAsyncData() || requestAnimationFrame(() => {
40795
- i.value = !0;
40796
- });
40788
+ const t = ue(), i = ["ag-body-viewport", "ag-center-cols-viewport"];
40789
+ function o(u) {
40790
+ const h = u.target;
40791
+ return i.some((g) => h.classList.contains(g));
40797
40792
  }
40798
- function c() {
40799
- i.value || requestAnimationFrame(() => {
40800
- i.value = !0;
40801
- });
40793
+ const s = e, n = K(() => s.builder._getGridOptions()), r = K(() => s.builder._getColumnDefs()), a = K(() => s.builder._getRowData());
40794
+ function l(u) {
40795
+ s.builder._bind(u.api, t.value);
40802
40796
  }
40803
- function u(g) {
40804
- if (g.ctrlKey) return;
40805
- const p = n.builder._getViewportClickHandler();
40806
- p && s(g) && (g.preventDefault(), p(g, n.builder.api));
40797
+ function d(u) {
40798
+ if (u.ctrlKey) return;
40799
+ const h = s.builder._getViewportClickHandler();
40800
+ h && o(u) && (u.preventDefault(), h(u, s.builder.api));
40807
40801
  }
40808
- function h(g) {
40809
- if (!g.ctrlKey)
40810
- if (s(g)) {
40811
- const p = n.builder._getViewportContextMenuHandler();
40812
- p && (g.preventDefault(), p(g, n.builder.api));
40813
- } else n.builder._hasCellContextMenuHandler() && g.preventDefault();
40802
+ function c(u) {
40803
+ if (!u.ctrlKey)
40804
+ if (o(u)) {
40805
+ const h = s.builder._getViewportContextMenuHandler();
40806
+ h && (u.preventDefault(), h(u, s.builder.api));
40807
+ } else s.builder._hasCellContextMenuHandler() && u.preventDefault();
40814
40808
  }
40815
40809
  return qu(() => {
40816
- n.builder._destroy();
40817
- }), (g, p) => (ee(), le("div", {
40810
+ s.builder._destroy();
40811
+ }), (u, h) => (ee(), ae("div", {
40818
40812
  ref_key: "wrapperRef",
40819
40813
  ref: t,
40820
- class: ms(["ag-theme-cocoar", [n.class, { "ag-theme-cocoar--ready": i.value }]]),
40821
- style: tr(n.style ?? "display: flex; flex-direction: column; flex: 1 1 auto; height: 100%;"),
40822
- onClick: u,
40823
- onContextmenu: h
40814
+ class: ms(["ag-theme-cocoar", s.class]),
40815
+ style: tr(s.style ?? "display: flex; flex-direction: column; flex: 1 1 auto; height: 100%;"),
40816
+ onClick: d,
40817
+ onContextmenu: c
40824
40818
  }, [
40825
- It(fi(jE), Yu({ style: { width: "100%", height: "100%" } }, r.value, {
40826
- theme: n.theme,
40827
- "column-defs": a.value,
40828
- "row-data": l.value,
40829
- onGridReady: d,
40830
- onFirstDataRendered: c
40819
+ It(fi(jE), Yu({ style: { width: "100%", height: "100%" } }, n.value, {
40820
+ theme: s.theme,
40821
+ "column-defs": r.value,
40822
+ "row-data": a.value,
40823
+ onGridReady: l
40831
40824
  }), null, 16, ["theme", "column-defs", "row-data"])
40832
40825
  ], 38));
40833
40826
  }
@@ -40846,7 +40839,7 @@ const KE = { ref: "root" }, jE = /* @__PURE__ */ Ue({
40846
40839
  emits: ["update:modelValue"],
40847
40840
  setup(e) {
40848
40841
  const t = ir(e, "modelValue");
40849
- return (i, o) => (ee(), le("div", YE, [
40842
+ return (i, o) => (ee(), ae("div", YE, [
40850
40843
  It(fi(Zu), {
40851
40844
  modelValue: t.value,
40852
40845
  "onUpdate:modelValue": o[0] || (o[0] = (s) => t.value = s),
@@ -40864,7 +40857,7 @@ const KE = { ref: "root" }, jE = /* @__PURE__ */ Ue({
40864
40857
  ]),
40865
40858
  _: 1
40866
40859
  }, 8, ["modelValue", "placeholder", "size"]),
40867
- i.$slots.default ? (ee(), le("div", QE, [
40860
+ i.$slots.default ? (ee(), ae("div", QE, [
40868
40861
  Tl(i.$slots, "default", {}, void 0, !0)
40869
40862
  ])) : Cs("", !0)
40870
40863
  ]));
@@ -40889,7 +40882,7 @@ const KE = { ref: "root" }, jE = /* @__PURE__ */ Ue({
40889
40882
  }),
40890
40883
  emits: ["update:search"],
40891
40884
  setup(e) {
40892
- const t = e, i = ir(e, "search"), o = ae("");
40885
+ const t = e, i = ir(e, "search"), o = ue("");
40893
40886
  return Se(i, (s) => {
40894
40887
  o.value = s;
40895
40888
  }, { immediate: !0 }), Se(o, (s) => {
@@ -40900,7 +40893,7 @@ const KE = { ref: "root" }, jE = /* @__PURE__ */ Ue({
40900
40893
  s.quickFilterText(o);
40901
40894
  },
40902
40895
  { immediate: !0 }
40903
- ), (s, n) => (ee(), le("div", XE, [
40896
+ ), (s, n) => (ee(), ae("div", XE, [
40904
40897
  It(JE, {
40905
40898
  modelValue: o.value,
40906
40899
  "onUpdate:modelValue": n[0] || (n[0] = (r) => o.value = r),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocoar/vue-data-grid",
3
- "version": "1.4.1",
3
+ "version": "1.5.0",
4
4
  "description": "AG Grid wrapper with Cocoar Design System theming for Vue 3",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -41,8 +41,8 @@
41
41
  },
42
42
  "peerDependencies": {
43
43
  "vue": "^3.5.0",
44
- "@cocoar/vue-ui": "1.4.1",
45
- "@cocoar/vue-localization": "1.4.1"
44
+ "@cocoar/vue-ui": "1.5.0",
45
+ "@cocoar/vue-localization": "1.5.0"
46
46
  },
47
47
  "devDependencies": {
48
48
  "vue": "^3.5.0",