@linzjs/step-ag-grid 7.3.2 → 7.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.
@@ -1,9 +1,10 @@
1
+ export declare const countRows: (within?: HTMLElement) => Promise<number>;
1
2
  export declare const findRow: (rowId: number | string, within?: HTMLElement) => Promise<HTMLDivElement>;
2
3
  export declare const queryRow: (rowId: number | string, within?: HTMLElement) => Promise<HTMLDivElement | null>;
3
4
  export declare const selectRow: (rowId: string | number, within?: HTMLElement) => Promise<void>;
4
5
  export declare const deselectRow: (rowId: string | number, within?: HTMLElement) => Promise<void>;
5
6
  export declare const findCell: (rowId: number | string, colId: string, within?: HTMLElement) => Promise<HTMLElement>;
6
- export declare const cellContains: (rowId: number | string, colId: string, text: string | RegExp, within?: HTMLElement) => Promise<HTMLElement>;
7
+ export declare const findCellContains: (rowId: number | string, colId: string, text: string | RegExp, within?: HTMLElement) => Promise<HTMLElement>;
7
8
  export declare const selectCell: (rowId: string | number, colId: string, within?: HTMLElement) => Promise<void>;
8
9
  export declare const editCell: (rowId: number | string, colId: string, within?: HTMLElement) => Promise<void>;
9
10
  export declare const queryMenuOption: (menuOptionText: string | RegExp) => Promise<HTMLElement | null>;
@@ -24354,6 +24354,11 @@ var findQuick = function (filter, container) { return __awaiter(void 0, void 0,
24354
24354
  });
24355
24355
  }); };
24356
24356
 
24357
+ var countRows = function (within) { return __awaiter(void 0, void 0, void 0, function () {
24358
+ return __generator(this, function (_a) {
24359
+ return [2 /*return*/, getAllQuick({ tagName: "div[row-id]:not(:empty)" }, within).length];
24360
+ });
24361
+ }); };
24357
24362
  var findRow = function (rowId, within) { return __awaiter(void 0, void 0, void 0, function () {
24358
24363
  return __generator(this, function (_a) {
24359
24364
  return [2 /*return*/, findQuick({ tagName: "div[row-id='".concat(rowId, "']:not(:empty)") }, within)];
@@ -24406,7 +24411,7 @@ var findCell = function (rowId, colId, within) { return __awaiter(void 0, void 0
24406
24411
  }
24407
24412
  });
24408
24413
  }); };
24409
- var cellContains = function (rowId, colId, text, within) { return __awaiter(void 0, void 0, void 0, function () {
24414
+ var findCellContains = function (rowId, colId, text, within) { return __awaiter(void 0, void 0, void 0, function () {
24410
24415
  return __generator(this, function (_a) {
24411
24416
  switch (_a.label) {
24412
24417
  case 0: return [4 /*yield*/, waitForWrapper(function () { return __awaiter(void 0, void 0, void 0, function () {
@@ -24647,5 +24652,5 @@ var clickActionButton = function (text, container) { return __awaiter(void 0, vo
24647
24652
  });
24648
24653
  }); };
24649
24654
 
24650
- export { ActionButton, ComponentLoadingWrapper, ControlledMenu, FocusableItem, GenericCellEditorComponentWrapper, Grid, GridCell, GridCellMultiSelectClassRules, GridCellRenderer, GridContext, GridContextProvider, GridFormDropDown, GridFormMultiSelect, GridFormPopoverMenu, GridFormSubComponentTextArea, GridFormSubComponentTextInput, GridHeaderSelect, GridIcon, GridLoadableCell, GridPopoutEditMultiSelect, GridPopoverContext, GridPopoverContextProvider, GridPopoverEditBearing, GridPopoverEditBearingCorrection, GridPopoverEditDropDown, GridPopoverMenu, GridPopoverMessage, GridPopoverTextArea, GridPopoverTextInput, GridRenderPopoutMenuCell, GridRendererGenericCell, GridSubComponentContext, GridUpdatingContext, GridUpdatingContextProvider, Menu, MenuButton, MenuDivider, MenuGroup, MenuHeader, MenuHeaderItem, MenuHeaderString, MenuItem, MenuRadioGroup, MenuSeparator, MenuSeparatorString, PopoutMenuSeparator, SubMenu, TextAreaInput, TextInputFormatted, bearingCorrectionValueFormatter, bearingNumberParser, bearingStringValidator, bearingValueFormatter, cellContains, clickActionButton, clickMenuOption, clickMultiSelectOption, closeMenu, convertDDToDMS, deselectRow, editCell, findActionButton, findCell, findMenuOption, findMultiSelectOption, findRow, getMultiSelectOptions, hasParentClass, isFloat, isNotEmpty, openAndClickMenuOption, queryMenuOption, queryRow, selectCell, selectRow, stringByteLengthIsInvalid, typeOtherInput, typeOtherTextArea, useGridPopoverContext, useGridPopoverHook, useMenuState, usePostSortRowsHook, wait$2 as wait };
24655
+ export { ActionButton, ComponentLoadingWrapper, ControlledMenu, FocusableItem, GenericCellEditorComponentWrapper, Grid, GridCell, GridCellMultiSelectClassRules, GridCellRenderer, GridContext, GridContextProvider, GridFormDropDown, GridFormMultiSelect, GridFormPopoverMenu, GridFormSubComponentTextArea, GridFormSubComponentTextInput, GridHeaderSelect, GridIcon, GridLoadableCell, GridPopoutEditMultiSelect, GridPopoverContext, GridPopoverContextProvider, GridPopoverEditBearing, GridPopoverEditBearingCorrection, GridPopoverEditDropDown, GridPopoverMenu, GridPopoverMessage, GridPopoverTextArea, GridPopoverTextInput, GridRenderPopoutMenuCell, GridRendererGenericCell, GridSubComponentContext, GridUpdatingContext, GridUpdatingContextProvider, Menu, MenuButton, MenuDivider, MenuGroup, MenuHeader, MenuHeaderItem, MenuHeaderString, MenuItem, MenuRadioGroup, MenuSeparator, MenuSeparatorString, PopoutMenuSeparator, SubMenu, TextAreaInput, TextInputFormatted, bearingCorrectionValueFormatter, bearingNumberParser, bearingStringValidator, bearingValueFormatter, clickActionButton, clickMenuOption, clickMultiSelectOption, closeMenu, convertDDToDMS, countRows, deselectRow, editCell, findActionButton, findCell, findCellContains, findMenuOption, findMultiSelectOption, findRow, getMultiSelectOptions, hasParentClass, isFloat, isNotEmpty, openAndClickMenuOption, queryMenuOption, queryRow, selectCell, selectRow, stringByteLengthIsInvalid, typeOtherInput, typeOtherTextArea, useGridPopoverContext, useGridPopoverHook, useMenuState, usePostSortRowsHook, wait$2 as wait };
24651
24656
  //# sourceMappingURL=step-ag-grid.esm.js.map