@cloudtower/eagle 0.29.21 → 0.29.23
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/cjs/core/Bit/index.js +2 -1
- package/dist/cjs/core/BitPerSecond/index.js +2 -1
- package/dist/cjs/core/Bps/index.js +2 -1
- package/dist/cjs/core/Byte/index.js +2 -1
- package/dist/cjs/core/Frequency/index.js +2 -1
- package/dist/cjs/core/Second/index.js +2 -1
- package/dist/cjs/core/Speed/index.js +2 -1
- package/dist/cjs/core/Styled/index.js +2 -0
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/stats1.html +1 -1
- package/dist/components.css +2294 -2290
- package/dist/esm/core/Bit/index.js +2 -1
- package/dist/esm/core/BitPerSecond/index.js +2 -1
- package/dist/esm/core/Bps/index.js +2 -1
- package/dist/esm/core/Byte/index.js +2 -1
- package/dist/esm/core/Frequency/index.js +2 -1
- package/dist/esm/core/Second/index.js +2 -1
- package/dist/esm/core/Speed/index.js +2 -1
- package/dist/esm/core/Styled/index.js +2 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/stats1.html +1 -1
- package/dist/src/core/Styled/index.d.ts +1 -0
- package/dist/style.css +2281 -2277
- package/package.json +4 -4
|
@@ -3,6 +3,7 @@ import Empty from '../Empty/index.js';
|
|
|
3
3
|
import isEmpty from '../../utils/isEmpty.js';
|
|
4
4
|
import { formatBits } from '../../utils/tower.js';
|
|
5
5
|
import React__default from 'react';
|
|
6
|
+
import { UnitStyle } from '../Styled/index.js';
|
|
6
7
|
|
|
7
8
|
var __defProp = Object.defineProperty;
|
|
8
9
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
@@ -31,7 +32,7 @@ const Bit = ({
|
|
|
31
32
|
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues({}, emptyProps));
|
|
32
33
|
}
|
|
33
34
|
const { value, unit } = formatBits(rawValue, decimals);
|
|
34
|
-
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) }, ` ${unit}`));
|
|
35
|
+
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", UnitStyle, unitClassName) }, ` ${unit}`));
|
|
35
36
|
};
|
|
36
37
|
var Bit$1 = Bit;
|
|
37
38
|
|
|
@@ -3,6 +3,7 @@ import Empty from '../Empty/index.js';
|
|
|
3
3
|
import isEmpty from '../../utils/isEmpty.js';
|
|
4
4
|
import { formatBitPerSecond } from '../../utils/tower.js';
|
|
5
5
|
import React__default from 'react';
|
|
6
|
+
import { UnitStyle } from '../Styled/index.js';
|
|
6
7
|
|
|
7
8
|
var __defProp = Object.defineProperty;
|
|
8
9
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
@@ -31,7 +32,7 @@ const BitPerSeconds = ({
|
|
|
31
32
|
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues({}, emptyProps));
|
|
32
33
|
}
|
|
33
34
|
const { value, unit } = formatBitPerSecond(rawValue, decimals);
|
|
34
|
-
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) }, ` ${unit}`));
|
|
35
|
+
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", UnitStyle, unitClassName) }, ` ${unit}`));
|
|
35
36
|
};
|
|
36
37
|
var BitPerSecond = BitPerSeconds;
|
|
37
38
|
|
|
@@ -3,6 +3,7 @@ import Empty from '../Empty/index.js';
|
|
|
3
3
|
import isEmpty from '../../utils/isEmpty.js';
|
|
4
4
|
import { formatBps } from '../../utils/tower.js';
|
|
5
5
|
import React__default from 'react';
|
|
6
|
+
import { UnitStyle } from '../Styled/index.js';
|
|
6
7
|
|
|
7
8
|
var __defProp = Object.defineProperty;
|
|
8
9
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
@@ -31,7 +32,7 @@ const Bps = ({
|
|
|
31
32
|
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues({}, emptyProps));
|
|
32
33
|
}
|
|
33
34
|
const { value, unit } = formatBps(rawValue, decimals);
|
|
34
|
-
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) }, ` ${unit}`));
|
|
35
|
+
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", UnitStyle, unitClassName) }, ` ${unit}`));
|
|
35
36
|
};
|
|
36
37
|
var Bps$1 = Bps;
|
|
37
38
|
|
|
@@ -4,6 +4,7 @@ import useParrotTranslation from '../../hooks/useParrotTranslation.js';
|
|
|
4
4
|
import isEmpty from '../../utils/isEmpty.js';
|
|
5
5
|
import { formatBytes } from '../../utils/tower.js';
|
|
6
6
|
import React__default from 'react';
|
|
7
|
+
import { UnitStyle } from '../Styled/index.js';
|
|
7
8
|
|
|
8
9
|
var __defProp = Object.defineProperty;
|
|
9
10
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
@@ -40,7 +41,7 @@ const Byte = ({
|
|
|
40
41
|
if (noUnitOnZero && value === 0) {
|
|
41
42
|
return /* @__PURE__ */ React__default.createElement("span", { className: "value" }, value);
|
|
42
43
|
}
|
|
43
|
-
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) }, ` ${unit}`));
|
|
44
|
+
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", UnitStyle, unitClassName) }, ` ${unit}`));
|
|
44
45
|
};
|
|
45
46
|
var Byte$1 = Byte;
|
|
46
47
|
|
|
@@ -3,6 +3,7 @@ import Empty from '../Empty/index.js';
|
|
|
3
3
|
import isEmpty from '../../utils/isEmpty.js';
|
|
4
4
|
import { formatFrequency } from '../../utils/tower.js';
|
|
5
5
|
import React__default from 'react';
|
|
6
|
+
import { UnitStyle } from '../Styled/index.js';
|
|
6
7
|
|
|
7
8
|
var __defProp = Object.defineProperty;
|
|
8
9
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
@@ -31,7 +32,7 @@ const Frequency = ({
|
|
|
31
32
|
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues({}, emptyProps));
|
|
32
33
|
}
|
|
33
34
|
const { value, unit } = formatFrequency(rawValue, decimals);
|
|
34
|
-
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) }, ` ${unit}`));
|
|
35
|
+
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", UnitStyle, unitClassName) }, ` ${unit}`));
|
|
35
36
|
};
|
|
36
37
|
var Frequency$1 = Frequency;
|
|
37
38
|
|
|
@@ -4,6 +4,7 @@ import useParrotTranslation from '../../hooks/useParrotTranslation.js';
|
|
|
4
4
|
import isEmpty from '../../utils/isEmpty.js';
|
|
5
5
|
import { formatSeconds } from '../../utils/tower.js';
|
|
6
6
|
import React__default from 'react';
|
|
7
|
+
import { UnitStyle } from '../Styled/index.js';
|
|
7
8
|
|
|
8
9
|
var __defProp = Object.defineProperty;
|
|
9
10
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
@@ -34,7 +35,7 @@ const Second = ({
|
|
|
34
35
|
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues({}, emptyProps));
|
|
35
36
|
}
|
|
36
37
|
const { value, unit } = formatSeconds(rawValue, decimals);
|
|
37
|
-
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value, " "), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) }, t(`common.${abbreviate ? `${unit}_abbreviation` : unit}`)));
|
|
38
|
+
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value, " "), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", UnitStyle, unitClassName) }, t(`common.${abbreviate ? `${unit}_abbreviation` : unit}`)));
|
|
38
39
|
};
|
|
39
40
|
var Second$1 = Second;
|
|
40
41
|
|
|
@@ -3,6 +3,7 @@ import Empty from '../Empty/index.js';
|
|
|
3
3
|
import isEmpty from '../../utils/isEmpty.js';
|
|
4
4
|
import { formatSpeed } from '../../utils/tower.js';
|
|
5
5
|
import React__default from 'react';
|
|
6
|
+
import { UnitStyle } from '../Styled/index.js';
|
|
6
7
|
|
|
7
8
|
var __defProp = Object.defineProperty;
|
|
8
9
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
@@ -31,7 +32,7 @@ const Speed = ({
|
|
|
31
32
|
return /* @__PURE__ */ React__default.createElement(Empty, __spreadValues({}, emptyProps));
|
|
32
33
|
}
|
|
33
34
|
const { value, unit } = formatSpeed(rawValue, decimals);
|
|
34
|
-
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", unitClassName) }, ` ${unit}`));
|
|
35
|
+
return /* @__PURE__ */ React__default.createElement("span", null, /* @__PURE__ */ React__default.createElement("span", { className: cx("value", valueClassName) }, value), /* @__PURE__ */ React__default.createElement("span", { className: cx("unit", UnitStyle, unitClassName) }, ` ${unit}`));
|
|
35
36
|
};
|
|
36
37
|
var Speed$1 = Speed;
|
|
37
38
|
|
|
@@ -152,5 +152,6 @@ const RadioDesc = /*#__PURE__*/styled(_exp3())({
|
|
|
152
152
|
});
|
|
153
153
|
const radioStyle = "E_r1skkc3l";
|
|
154
154
|
const CannotOperationInfo = "E_c3cobmo";
|
|
155
|
+
const UnitStyle = "E_uqv57uv";
|
|
155
156
|
|
|
156
|
-
export { CannotOperationInfo, CommonContent, ContentWrapper, Desc, Description, Divider, Dot, ErrorSpan, ExpandArrow, FieldTitle, FormField, FormItemDiv, FormSectionTitle, FormWrapper, FullView, HorizontalWizardModalCompactStyle, HorizontalWizardModalLooseStyle, InfoAlert, InputStyle, KitInputStyle, LeftEndInputStyle, LeftEndSelectStyle, LightDesc, LoadingWrapper, ModalBody, ModalWrapper, NameTag, NormalAlert, NoticeAlert, OperationWraper, RadioDesc, RightEndInputStyle, RightEndSelectStyle, SelectOptionDisabledText, TagSpan, TertiaryText, WarningAlert, WizardBody, radioStyle };
|
|
157
|
+
export { CannotOperationInfo, CommonContent, ContentWrapper, Desc, Description, Divider, Dot, ErrorSpan, ExpandArrow, FieldTitle, FormField, FormItemDiv, FormSectionTitle, FormWrapper, FullView, HorizontalWizardModalCompactStyle, HorizontalWizardModalLooseStyle, InfoAlert, InputStyle, KitInputStyle, LeftEndInputStyle, LeftEndSelectStyle, LightDesc, LoadingWrapper, ModalBody, ModalWrapper, NameTag, NormalAlert, NoticeAlert, OperationWraper, RadioDesc, RightEndInputStyle, RightEndSelectStyle, SelectOptionDisabledText, TagSpan, TertiaryText, UnitStyle, WarningAlert, WizardBody, radioStyle };
|
package/dist/esm/index.js
CHANGED
|
@@ -96,7 +96,7 @@ export { Area, TitleArea } from './core/Progress/progress.widgets.js';
|
|
|
96
96
|
export { Progress } from './core/Progress/index.js';
|
|
97
97
|
export { SidebarMenu } from './core/SidebarMenu/SidebarMenu.js';
|
|
98
98
|
export { CircleProgress } from './core/StepProgress/index.js';
|
|
99
|
-
export { CannotOperationInfo, CommonContent, ContentWrapper, Desc, Description, Divider, Dot, ErrorSpan, ExpandArrow, FieldTitle, FormField, FormItemDiv, FormSectionTitle, FormWrapper, FullView, HorizontalWizardModalCompactStyle, HorizontalWizardModalLooseStyle, InfoAlert, InputStyle, KitInputStyle, LeftEndInputStyle, LeftEndSelectStyle, LightDesc, LoadingWrapper, ModalBody, ModalWrapper, NameTag, NormalAlert, NoticeAlert, OperationWraper, RadioDesc, RightEndInputStyle, RightEndSelectStyle, SelectOptionDisabledText, TagSpan, TertiaryText, WarningAlert, WizardBody, radioStyle } from './core/Styled/index.js';
|
|
99
|
+
export { CannotOperationInfo, CommonContent, ContentWrapper, Desc, Description, Divider, Dot, ErrorSpan, ExpandArrow, FieldTitle, FormField, FormItemDiv, FormSectionTitle, FormWrapper, FullView, HorizontalWizardModalCompactStyle, HorizontalWizardModalLooseStyle, InfoAlert, InputStyle, KitInputStyle, LeftEndInputStyle, LeftEndSelectStyle, LightDesc, LoadingWrapper, ModalBody, ModalWrapper, NameTag, NormalAlert, NoticeAlert, OperationWraper, RadioDesc, RightEndInputStyle, RightEndSelectStyle, SelectOptionDisabledText, TagSpan, TertiaryText, UnitStyle, WarningAlert, WizardBody, radioStyle } from './core/Styled/index.js';
|
|
100
100
|
export { useTableBodyHasScrollBar } from './core/Table/common.js';
|
|
101
101
|
export { TableSkeleton } from './core/Table/TableSkeleton.js';
|
|
102
102
|
export { ColumnTitle, EmptyRowMenu, KitTableContext, TableLoading } from './core/Table/TableWidget.js';
|