@ohioepa/oepa-ui-lib 2.0.12 → 2.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. package/esm2022/lib/account-search-modal/account-search-modal.component.mjs +1 -1
  2. package/esm2022/lib/action-btn/action-btn.component.mjs +14 -4
  3. package/esm2022/lib/action-btn-modal/action-btn-modal.component.mjs +1 -1
  4. package/esm2022/lib/confirmation-modal/confirmation-modal.component.mjs +1 -1
  5. package/esm2022/lib/edoc-attachment/edoc-attachment.component.mjs +2 -2
  6. package/esm2022/lib/entity/organization-create-modal/organization-create-modal.component.mjs +1 -1
  7. package/esm2022/lib/entity/organization-search-modal/organization-search-modal.component.mjs +1 -1
  8. package/esm2022/lib/entity/person-create-modal/person-create-modal.component.mjs +1 -1
  9. package/esm2022/lib/entity/person-search-modal/person-search-modal.component.mjs +1 -1
  10. package/esm2022/lib/entity/place-search-modal/place-search-modal.component.mjs +1 -1
  11. package/esm2022/lib/file-upload/file-upload.component.mjs +2 -2
  12. package/esm2022/lib/lynx-image-upload/lynx-image-upload.component.mjs +3 -3
  13. package/esm2022/lib/multi-file-upload/multi-file-upload.component.mjs +2 -2
  14. package/esm2022/lib/notes-modal/notes-modal.component.mjs +1 -1
  15. package/esm2022/lib/shopping-cart/shopping-cart-view/shopping-cart-view.component.mjs +1 -1
  16. package/esm2022/lib/table/table-data-cell/table-data-cell.component.mjs +1 -1
  17. package/esm2022/lib/table/table.component.mjs +14 -4
  18. package/fesm2022/ohioepa-oepa-ui-lib.mjs +45 -25
  19. package/fesm2022/ohioepa-oepa-ui-lib.mjs.map +1 -1
  20. package/lib/action-btn/action-btn.component.d.ts +5 -1
  21. package/lib/table/table.component.d.ts +6 -1
  22. package/ohioepa-oepa-ui-lib-2.0.14.tgz +0 -0
  23. package/package.json +1 -1
  24. package/ohioepa-oepa-ui-lib-2.0.12.tgz +0 -0
@@ -9,6 +9,8 @@ import * as i0 from "@angular/core";
9
9
  export declare class ActionBtnComponent {
10
10
  private sanitizer;
11
11
  busy: boolean;
12
+ /** Emits true when dropdown opens, false when closes */
13
+ dropdownOpenChange: EventEmitter<boolean>;
12
14
  /** Button label */
13
15
  label: string;
14
16
  /** Unique id for this button */
@@ -29,6 +31,8 @@ export declare class ActionBtnComponent {
29
31
  setBusy(): void;
30
32
  clearBusy(): void;
31
33
  getID(): string;
34
+ dropdownOpened(): void;
35
+ dropdownClosed(): void;
32
36
  static ɵfac: i0.ɵɵFactoryDeclaration<ActionBtnComponent, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<ActionBtnComponent, "oepa-action-btn", never, { "label": { "alias": "label"; "required": false; }; "btnId": { "alias": "btnId"; "required": false; }; "data": { "alias": "data"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "normalSize": { "alias": "normalSize"; "required": false; }; "dropup": { "alias": "dropup"; "required": false; }; }, { "actionClicked": "actionClicked"; }, never, never, false, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActionBtnComponent, "oepa-action-btn", never, { "label": { "alias": "label"; "required": false; }; "btnId": { "alias": "btnId"; "required": false; }; "data": { "alias": "data"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "normalSize": { "alias": "normalSize"; "required": false; }; "dropup": { "alias": "dropup"; "required": false; }; }, { "dropdownOpenChange": "dropdownOpenChange"; "actionClicked": "actionClicked"; }, never, never, false, never>;
34
38
  }
@@ -27,6 +27,9 @@ export declare class TableComponent implements OnInit {
27
27
  visibleColumnCount: number;
28
28
  allColumnCount: number;
29
29
  exportVisibleOnly: boolean | undefined;
30
+ /** True if any action dropdown is open */
31
+ isAnyActionDropdownOpen: boolean;
32
+ actionDropdownOpenChange: EventEmitter<boolean>;
30
33
  dataColumns: Array<OepaTableColumn>;
31
34
  hiddenColumns: Array<OepaTableColumn>;
32
35
  columnHeaders: Array<string>;
@@ -52,6 +55,8 @@ export declare class TableComponent implements OnInit {
52
55
  rowSelected: EventEmitter<Array<OepaTableRow>>;
53
56
  customBtnClicked: EventEmitter<void>;
54
57
  private resetHeaders;
58
+ /** Called when any oepa-action-btn dropdown open/close changes */
59
+ onDropdownOpenChange(isOpen: boolean): void;
55
60
  private initializeHiddenColumns;
56
61
  set data(values: Array<OepaTableRow>);
57
62
  get data(): Array<OepaTableRow>;
@@ -140,5 +145,5 @@ export declare class TableComponent implements OnInit {
140
145
  exportToHTML(): void;
141
146
  onCustomBtnClick(): void;
142
147
  static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
143
- static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "oepa-table", never, { "tableId": { "alias": "tableId"; "required": false; }; "config": { "alias": "config"; "required": false; }; "complexHeader": { "alias": "complexHeader"; "required": false; }; "header": { "alias": "header"; "required": false; }; "customBtnLabel": { "alias": "customBtnLabel"; "required": false; }; "customBtnVisible": { "alias": "customBtnVisible"; "required": false; }; "customBtnEnabled": { "alias": "customBtnEnabled"; "required": false; }; "data": { "alias": "data"; "required": false; }; "totalRow": { "alias": "totalRow"; "required": false; }; }, { "cellClicked": "cellClicked"; "actionClicked": "actionClicked"; "rowSelected": "rowSelected"; "customBtnClicked": "customBtnClicked"; }, never, never, false, never>;
148
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "oepa-table", never, { "tableId": { "alias": "tableId"; "required": false; }; "config": { "alias": "config"; "required": false; }; "complexHeader": { "alias": "complexHeader"; "required": false; }; "header": { "alias": "header"; "required": false; }; "customBtnLabel": { "alias": "customBtnLabel"; "required": false; }; "customBtnVisible": { "alias": "customBtnVisible"; "required": false; }; "customBtnEnabled": { "alias": "customBtnEnabled"; "required": false; }; "data": { "alias": "data"; "required": false; }; "totalRow": { "alias": "totalRow"; "required": false; }; }, { "actionDropdownOpenChange": "actionDropdownOpenChange"; "cellClicked": "cellClicked"; "actionClicked": "actionClicked"; "rowSelected": "rowSelected"; "customBtnClicked": "customBtnClicked"; }, never, never, false, never>;
144
149
  }
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ohioepa/oepa-ui-lib",
3
- "version": "2.0.12",
3
+ "version": "2.0.14",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.13",
6
6
  "@angular/core": "^18.2.13"
Binary file