@devtron-labs/devtron-fe-common-lib 0.0.58-beta-9 → 0.0.58-beta-10

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.
@@ -0,0 +1,15 @@
1
+ /**
2
+ * User Status received from the API
3
+ */
4
+ export declare enum UserStatusDto {
5
+ active = "active",
6
+ inactive = "inactive"
7
+ }
8
+ /**
9
+ * User status for the frontend
10
+ */
11
+ export declare enum UserStatus {
12
+ active = "active",
13
+ inactive = "inactive",
14
+ temporary = "temporary"
15
+ }
@@ -0,0 +1 @@
1
+ export * from './constants';
@@ -0,0 +1 @@
1
+ export * from './Authorization';
@@ -0,0 +1 @@
1
+ export * from './GlobalConfigurations';
package/dist/index.d.ts CHANGED
@@ -1 +1,2 @@
1
- export * from "./Common";
1
+ export * from './Common';
2
+ export * from './Pages';
package/dist/index.js CHANGED
@@ -28949,6 +28949,24 @@ var Pagination = function (_a) {
28949
28949
  jsxRuntime.jsxs("div", __assign({ className: rootClassName || '' }, { children: [jsxRuntime.jsxs("div", __assign({ className: "page-number" }, { children: [offset + 1, " - ", lastPageNo, " of ", size] })), jsxRuntime.jsxs("ul", __assign({ className: "pagination" }, { children: [jsxRuntime.jsx("li", __assign({ className: "page" }, { children: jsxRuntime.jsx("button", __assign({ className: "page__button page__button--icon", disabled: !pageNoIndex, onClick: selectPreviousPage, type: "button", "aria-label": "Previous page" }, { children: jsxRuntime.jsx("span", __assign({ className: "left-icon" }, { children: jsxRuntime.jsx("i", { className: "fa fa-chevron-left" }) })) })) })), visiblePages.map(function (page) { return (jsxRuntime.jsx(PageValueItem, { value: page.value, isSelected: page.selected, selectPage: selectPage }, page.value)); }), jsxRuntime.jsx("li", __assign({ className: "page" }, { children: jsxRuntime.jsx("button", __assign({ className: "page__button page__button--icon", disabled: pageNoIndex === pages.length - 1, onClick: selectNextPage, type: "button", "aria-label": "Next page" }, { children: jsxRuntime.jsx("span", __assign({ className: "left-icon" }, { children: jsxRuntime.jsx("i", { className: "fa fa-chevron-right" }) })) })) }))] })), !isPageSizeFix && (jsxRuntime.jsxs("div", __assign({ className: "select" }, { children: [jsxRuntime.jsx("span", __assign({ className: "select__placeholder" }, { children: "Rows per page" })), jsxRuntime.jsx(PageSizeSelector, { pageSizeOptions: pageSizeOptions, pageSize: pageSize, changePageSize: changePageSize })] })))] })));
28950
28950
  };
28951
28951
 
28952
+ /**
28953
+ * User Status received from the API
28954
+ */
28955
+ exports.UserStatusDto = void 0;
28956
+ (function (UserStatusDto) {
28957
+ UserStatusDto["active"] = "active";
28958
+ UserStatusDto["inactive"] = "inactive";
28959
+ })(exports.UserStatusDto || (exports.UserStatusDto = {}));
28960
+ /**
28961
+ * User status for the frontend
28962
+ */
28963
+ exports.UserStatus = void 0;
28964
+ (function (UserStatus) {
28965
+ UserStatus["active"] = "active";
28966
+ UserStatus["inactive"] = "inactive";
28967
+ UserStatus["temporary"] = "temporary";
28968
+ })(exports.UserStatus || (exports.UserStatus = {}));
28969
+
28952
28970
  exports.AddCDButton = AddCDButton;
28953
28971
  exports.AppStatus = AppStatus;
28954
28972
  exports.BreadCrumb = BreadCrumb;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtron-labs/devtron-fe-common-lib",
3
- "version": "0.0.58-beta-9",
3
+ "version": "0.0.58-beta-10",
4
4
  "description": "Supporting common component library",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -0,0 +1,16 @@
1
+ /**
2
+ * User Status received from the API
3
+ */
4
+ export enum UserStatusDto {
5
+ active = 'active',
6
+ inactive = 'inactive',
7
+ }
8
+
9
+ /**
10
+ * User status for the frontend
11
+ */
12
+ export enum UserStatus {
13
+ active = 'active',
14
+ inactive = 'inactive',
15
+ temporary = 'temporary',
16
+ }
@@ -0,0 +1 @@
1
+ export * from './constants'
@@ -0,0 +1 @@
1
+ export * from './Authorization'
@@ -0,0 +1 @@
1
+ export * from './GlobalConfigurations'
package/src/index.ts CHANGED
@@ -1 +1,2 @@
1
- export * from "./Common"
1
+ export * from './Common'
2
+ export * from './Pages'