@cloudtower/eagle 0.27.27 → 0.27.28

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/esm/index.js CHANGED
@@ -7,12 +7,11 @@ import { useTranslation, Trans, withTranslation } from 'react-i18next';
7
7
  import { Tooltip as Tooltip$1, Menu, Dropdown, Button as Button$1, Checkbox as Checkbox$1, DatePicker, Select as Select$1, InputNumber as InputNumber$1, Input as Input$1, TimePicker as TimePicker$1, Switch as Switch$1, Popover, Calendar as Calendar$2, Alert as Alert$1, Badge as Badge$1, Card as Card$2, Collapse, Form as Form$1, Tag as Tag$1, Steps as Steps$1, Modal as Modal$1, Progress as Progress$1, Radio as Radio$1, Table as Table$2, Space, List, Row, Col, Tree, Divider, Skeleton, Layout, AutoComplete, Timeline, Typography, Upload, Tabs, message, Empty as Empty$1, TreeSelect, Drawer, ConfigProvider } from 'antd';
8
8
  export { Col, Row } from 'antd';
9
9
  import { XmarkRemove24SecondaryIcon, InfoICircleFill16SecondaryIcon, XmarkFailedSeriousWarningFill16RedIcon, NoticeAttention16YellowIcon, InfoICircleFill16BlueIcon, CheckmarkDoneSuccessCircleFill16GreenIcon, ArrowChevronDown16SecondaryIcon, MoreEllipsis316BoldBlueIcon, XmarkRemove16SecondaryIcon, XmarkRemove16BlueIcon, FocusIndicator16BlueIcon, ClockIcon, CloseIcon, ArrowChevronDown16BlueIcon, ArrowChevronDown16BoldBlueIcon, ArrowChevronDownSmall16BlueIcon, ArrowChevronDownSmall16BoldBlueIcon, ArrowChevronUp16BoldBlueIcon, CalendarClockDateTime24GradientGrayIcon, CalendarClockDateTime24GradientBlueIcon, CalendarTimeRecord16Icon, ArrowChevronLeft16BoldTertiaryIcon, ArrowChevronLeft16BoldBlueIcon, ArrowRightGrayIcon, ArrowChevronUp16SecondaryIcon, CheckmarkDoneSuccessCorrect16SecondaryIcon, ArrowChevronLeftSmall16BoldBlueIcon, ArrowChevronDownSmall16SecondaryIcon, Loading8GradientBlueIcon, ArrowChevronUp16BoldSecondaryIcon, PlusAddCreateNew16SecondaryIcon, HandlePoint816SecondaryIcon, HandlePoint816BlueIcon, XmarkRemove16RegularRedIcon, CheckmarkDoneSuccessCorrect16BlueIcon, XmarkRemoveSmall16RegularInheritIcon } from '@cloudtower/icons-react';
10
+ import { styled } from '@linaria/react';
10
11
  import cs from 'classnames';
11
- import { styled } from 'linaria/react';
12
12
  import _, { isEqual, debounce, uniqBy, groupBy, sortBy, toPairs } from 'lodash';
13
13
  import { SVGUniqueID } from 'react-svg-unique-id';
14
14
  import { CSSTransition } from 'react-transition-group';
15
- import { styled as styled$1 } from '@linaria/react';
16
15
  import { Segmented, Cascader as Cascader$1 } from 'antd5';
17
16
  import dayjs from 'dayjs';
18
17
  import UTC from 'dayjs/plugin/utc';
@@ -894,7 +893,7 @@ const Typo = {
894
893
  }
895
894
  };
896
895
 
897
- const BreadWrapper = /*#__PURE__*/styled$1('div')({
896
+ const BreadWrapper = /*#__PURE__*/styled('div')({
898
897
  name: "BreadWrapper",
899
898
  class: "berrcjl",
900
899
  propsAsIs: false
@@ -941,7 +940,7 @@ const Breadcrumb = props => {
941
940
  }));
942
941
  };
943
942
 
944
- const CardWrapper$1 = /*#__PURE__*/styled$1('div')({
943
+ const CardWrapper$1 = /*#__PURE__*/styled('div')({
945
944
  name: "CardWrapper",
946
945
  class: "c1uzzomf",
947
946
  propsAsIs: false
@@ -2307,41 +2306,41 @@ const FieldsDateTimeRange = (_a) => {
2307
2306
  ));
2308
2307
  };
2309
2308
 
2310
- const WizardBody = /*#__PURE__*/styled$1('div')({
2309
+ const WizardBody = /*#__PURE__*/styled('div')({
2311
2310
  name: "WizardBody",
2312
2311
  class: "w1vvwdlp",
2313
2312
  propsAsIs: false
2314
2313
  });
2315
- const FullView = /*#__PURE__*/styled$1('div')({
2314
+ const FullView = /*#__PURE__*/styled('div')({
2316
2315
  name: "FullView",
2317
2316
  class: "f1rest1f",
2318
2317
  propsAsIs: false
2319
2318
  });
2320
- const TertiaryText = /*#__PURE__*/styled$1('div')({
2319
+ const TertiaryText = /*#__PURE__*/styled('div')({
2321
2320
  name: "TertiaryText",
2322
2321
  class: "t79k8o2",
2323
2322
  propsAsIs: false
2324
2323
  });
2325
2324
  const InputStyle = "ipd9bk";
2326
2325
  const KitInputStyle = "kypn5o5";
2327
- const ContentWrapper = /*#__PURE__*/styled$1('div')({
2326
+ const ContentWrapper = /*#__PURE__*/styled('div')({
2328
2327
  name: "ContentWrapper",
2329
2328
  class: "c1t6wbwv",
2330
2329
  propsAsIs: false
2331
2330
  });
2332
- const Desc = /*#__PURE__*/styled$1('div')({
2331
+ const Desc = /*#__PURE__*/styled('div')({
2333
2332
  name: "Desc",
2334
2333
  class: "d1k7vv5v",
2335
2334
  propsAsIs: false
2336
2335
  });
2337
2336
  const _exp2$3 = () => Desc;
2338
- const LightDesc = /*#__PURE__*/styled$1(_exp2$3())({
2337
+ const LightDesc = /*#__PURE__*/styled(_exp2$3())({
2339
2338
  name: "LightDesc",
2340
2339
  class: "le7b9r4",
2341
2340
  propsAsIs: true
2342
2341
  });
2343
2342
  const _exp3$2 = () => LightDesc;
2344
- const RadioDesc = /*#__PURE__*/styled$1(_exp3$2())({
2343
+ const RadioDesc = /*#__PURE__*/styled(_exp3$2())({
2345
2344
  name: "RadioDesc",
2346
2345
  class: "r1dnygxx",
2347
2346
  propsAsIs: true
@@ -2596,7 +2595,7 @@ const _exp5$1 = () => props => `"${props.prefix ? props.prefix : ""}"`;
2596
2595
  const _exp6$1 = () => ({
2597
2596
  prefix
2598
2597
  }) => prefix ? "flex" : "none";
2599
- const AntdInputNumberStyled = /*#__PURE__*/styled$1(_exp$5())({
2598
+ const AntdInputNumberStyled = /*#__PURE__*/styled(_exp$5())({
2600
2599
  name: "AntdInputNumberStyled",
2601
2600
  class: "a6dbbkm",
2602
2601
  propsAsIs: true,
@@ -2863,7 +2862,7 @@ const _exp5 = () => props => `"${props.prefix ? props.prefix : ""}"`;
2863
2862
  const _exp6 = () => ({
2864
2863
  prefix
2865
2864
  }) => prefix ? "flex" : "none";
2866
- const AntdIntStyled = /*#__PURE__*/styled$1(_exp$4())({
2865
+ const AntdIntStyled = /*#__PURE__*/styled(_exp$4())({
2867
2866
  name: "AntdIntStyled",
2868
2867
  class: "at4ovwe",
2869
2868
  propsAsIs: true,
@@ -2957,7 +2956,7 @@ const FieldsInteger = (_a) => {
2957
2956
  ));
2958
2957
  };
2959
2958
 
2960
- const InputTagItem = /*#__PURE__*/styled$1('span')({
2959
+ const InputTagItem = /*#__PURE__*/styled('span')({
2961
2960
  name: "InputTagItem",
2962
2961
  class: "iap75of",
2963
2962
  propsAsIs: false
@@ -3337,7 +3336,7 @@ const Switch = _a => {
3337
3336
  checked
3338
3337
  } = _b,
3339
3338
  props = __objRest$i(_b, ["children", "className", "checked"]);
3340
- const Content = /*#__PURE__*/styled$1('span')({
3339
+ const Content = /*#__PURE__*/styled('span')({
3341
3340
  name: "Content",
3342
3341
  class: "c1to9vb9",
3343
3342
  propsAsIs: false
@@ -4110,22 +4109,22 @@ function copyDay(day) {
4110
4109
  return day.clone().set("millisecond", 0);
4111
4110
  }
4112
4111
 
4113
- const CalendarWrapper = /*#__PURE__*/styled$1('div')({
4112
+ const CalendarWrapper = /*#__PURE__*/styled('div')({
4114
4113
  name: "CalendarWrapper",
4115
4114
  class: "c1kchka8",
4116
4115
  propsAsIs: false
4117
4116
  });
4118
- const CalendarYearWrapper = /*#__PURE__*/styled$1('div')({
4117
+ const CalendarYearWrapper = /*#__PURE__*/styled('div')({
4119
4118
  name: "CalendarYearWrapper",
4120
4119
  class: "ctdb951",
4121
4120
  propsAsIs: false
4122
4121
  });
4123
- const CalendarWeekWrapper = /*#__PURE__*/styled$1('ul')({
4122
+ const CalendarWeekWrapper = /*#__PURE__*/styled('ul')({
4124
4123
  name: "CalendarWeekWrapper",
4125
4124
  class: "cvgtyx0",
4126
4125
  propsAsIs: false
4127
4126
  });
4128
- const CalendarMonthWrapper = /*#__PURE__*/styled$1('div')({
4127
+ const CalendarMonthWrapper = /*#__PURE__*/styled('div')({
4129
4128
  name: "CalendarMonthWrapper",
4130
4129
  class: "crprfvb",
4131
4130
  propsAsIs: false
@@ -4136,7 +4135,7 @@ const CalendarStyle = {
4136
4135
  Week: CalendarWeekWrapper,
4137
4136
  Month: CalendarMonthWrapper
4138
4137
  };
4139
- const InputTimeWrapper = /*#__PURE__*/styled$1('div')({
4138
+ const InputTimeWrapper = /*#__PURE__*/styled('div')({
4140
4139
  name: "InputTimeWrapper",
4141
4140
  class: "ipbxcfl",
4142
4141
  propsAsIs: false
@@ -4144,12 +4143,12 @@ const InputTimeWrapper = /*#__PURE__*/styled$1('div')({
4144
4143
  const InputTimeStyle = {
4145
4144
  Wrapper: InputTimeWrapper
4146
4145
  };
4147
- const AbsoluteTimeWrapper = /*#__PURE__*/styled$1('div')({
4146
+ const AbsoluteTimeWrapper = /*#__PURE__*/styled('div')({
4148
4147
  name: "AbsoluteTimeWrapper",
4149
4148
  class: "a120uq8m",
4150
4149
  propsAsIs: false
4151
4150
  });
4152
- const AbsoluteTimeSectionWrapper = /*#__PURE__*/styled$1('div')({
4151
+ const AbsoluteTimeSectionWrapper = /*#__PURE__*/styled('div')({
4153
4152
  name: "AbsoluteTimeSectionWrapper",
4154
4153
  class: "a15s9m0d",
4155
4154
  propsAsIs: false
@@ -4158,7 +4157,7 @@ const AbsoluteTimeStyle = {
4158
4157
  Wrapper: AbsoluteTimeWrapper,
4159
4158
  Time: AbsoluteTimeSectionWrapper
4160
4159
  };
4161
- const RelativeTimeWrapper = /*#__PURE__*/styled$1('div')({
4160
+ const RelativeTimeWrapper = /*#__PURE__*/styled('div')({
4162
4161
  name: "RelativeTimeWrapper",
4163
4162
  class: "r5hl59d",
4164
4163
  propsAsIs: false
@@ -4166,13 +4165,13 @@ const RelativeTimeWrapper = /*#__PURE__*/styled$1('div')({
4166
4165
  const RelativeTimeStyle = {
4167
4166
  Wrapper: RelativeTimeWrapper
4168
4167
  };
4169
- const DateRangePickerWrapper = /*#__PURE__*/styled$1('div')({
4168
+ const DateRangePickerWrapper = /*#__PURE__*/styled('div')({
4170
4169
  name: "DateRangePickerWrapper",
4171
4170
  class: "dhqt3dw",
4172
4171
  propsAsIs: false
4173
4172
  });
4174
4173
  const DateRangePickerPopover = "d956d92";
4175
- const DateRangePickerHistory = /*#__PURE__*/styled$1('div')({
4174
+ const DateRangePickerHistory = /*#__PURE__*/styled('div')({
4176
4175
  name: "DateRangePickerHistory",
4177
4176
  class: "d1tc7lgk",
4178
4177
  propsAsIs: false
@@ -5228,7 +5227,7 @@ const units$1 = {
5228
5227
  Bit,
5229
5228
  Second
5230
5229
  };
5231
- const Wrapper$1 = /*#__PURE__*/styled$1('div')({
5230
+ const Wrapper$1 = /*#__PURE__*/styled('div')({
5232
5231
  name: "Wrapper",
5233
5232
  class: "wg1tsps",
5234
5233
  propsAsIs: false
@@ -5308,29 +5307,29 @@ const units = {
5308
5307
  Bit,
5309
5308
  Second
5310
5309
  };
5311
- const ChartContent = /*#__PURE__*/styled$1('div')({
5310
+ const ChartContent = /*#__PURE__*/styled('div')({
5312
5311
  name: "ChartContent",
5313
5312
  class: "c18bcrac",
5314
5313
  propsAsIs: false
5315
5314
  });
5316
- const ChartTooltipContainer = /*#__PURE__*/styled$1('div')({
5315
+ const ChartTooltipContainer = /*#__PURE__*/styled('div')({
5317
5316
  name: "ChartTooltipContainer",
5318
5317
  class: "cro7kg2",
5319
5318
  propsAsIs: false
5320
5319
  });
5321
- const ChartTooltipRow = /*#__PURE__*/styled$1('div')({
5320
+ const ChartTooltipRow = /*#__PURE__*/styled('div')({
5322
5321
  name: "ChartTooltipRow",
5323
5322
  class: "c14wcxf0",
5324
5323
  propsAsIs: false
5325
5324
  });
5326
5325
  const _exp$3 = () => ChartTooltipRow;
5327
- const ChartTooltipTitle = /*#__PURE__*/styled$1(_exp$3())({
5326
+ const ChartTooltipTitle = /*#__PURE__*/styled(_exp$3())({
5328
5327
  name: "ChartTooltipTitle",
5329
5328
  class: "coy29mj",
5330
5329
  propsAsIs: true
5331
5330
  });
5332
5331
  const _exp2 = () => props => props.color;
5333
- const SpaceStatus = /*#__PURE__*/styled$1('i')({
5332
+ const SpaceStatus = /*#__PURE__*/styled('i')({
5334
5333
  name: "SpaceStatus",
5335
5334
  class: "s11212zy",
5336
5335
  propsAsIs: false,
@@ -5338,7 +5337,7 @@ const SpaceStatus = /*#__PURE__*/styled$1('i')({
5338
5337
  "s11212zy-0": [_exp2()]
5339
5338
  }
5340
5339
  });
5341
- const PrimaryUnit = /*#__PURE__*/styled$1('div')({
5340
+ const PrimaryUnit = /*#__PURE__*/styled('div')({
5342
5341
  name: "PrimaryUnit",
5343
5342
  class: "p1lyky6c",
5344
5343
  propsAsIs: false
@@ -5608,12 +5607,12 @@ const GobackButton = props => {
5608
5607
  }, title)));
5609
5608
  };
5610
5609
 
5611
- const NameItem = /*#__PURE__*/styled$1('div')({
5610
+ const NameItem = /*#__PURE__*/styled('div')({
5612
5611
  name: "NameItem",
5613
5612
  class: "n12mqh7z",
5614
5613
  propsAsIs: false
5615
5614
  });
5616
- const TooltipText = /*#__PURE__*/styled$1('span')({
5615
+ const TooltipText = /*#__PURE__*/styled('span')({
5617
5616
  name: "TooltipText",
5618
5617
  class: "tf5bynu",
5619
5618
  propsAsIs: false
@@ -5665,28 +5664,28 @@ const SortableList = ({ moveItem, children }) => {
5665
5664
  };
5666
5665
  SortableList.Item = Draggable;
5667
5666
 
5668
- const Table$1 = /*#__PURE__*/styled$1('div')({
5667
+ const Table$1 = /*#__PURE__*/styled('div')({
5669
5668
  name: "Table",
5670
5669
  class: "t1sqg15u",
5671
5670
  propsAsIs: false
5672
5671
  });
5673
- const TableHeader = /*#__PURE__*/styled$1('header')({
5672
+ const TableHeader = /*#__PURE__*/styled('header')({
5674
5673
  name: "TableHeader",
5675
5674
  class: "t4zczcp",
5676
5675
  propsAsIs: false
5677
5676
  });
5678
- const TableContent = /*#__PURE__*/styled$1('div')({
5677
+ const TableContent = /*#__PURE__*/styled('div')({
5679
5678
  name: "TableContent",
5680
5679
  class: "t1s7goww",
5681
5680
  propsAsIs: false
5682
5681
  });
5683
- const TableRow = /*#__PURE__*/styled$1('div')({
5682
+ const TableRow = /*#__PURE__*/styled('div')({
5684
5683
  name: "TableRow",
5685
5684
  class: "t93e4cf",
5686
5685
  propsAsIs: false
5687
5686
  });
5688
5687
  const _exp$2 = () => props => props.width;
5689
- const RowLabel = /*#__PURE__*/styled$1('label')({
5688
+ const RowLabel = /*#__PURE__*/styled('label')({
5690
5689
  name: "RowLabel",
5691
5690
  class: "rhz2uv5",
5692
5691
  propsAsIs: false,
@@ -5789,7 +5788,7 @@ var __objRest$h = (source, exclude) => {
5789
5788
  }
5790
5789
  return target;
5791
5790
  };
5792
- const SwitchWrapper = /*#__PURE__*/styled$1('span')({
5791
+ const SwitchWrapper = /*#__PURE__*/styled('span')({
5793
5792
  name: "SwitchWrapper",
5794
5793
  class: "s1iv0tp1",
5795
5794
  propsAsIs: false
@@ -5842,7 +5841,7 @@ var __objRest$g = (source, exclude) => {
5842
5841
  }
5843
5842
  return target;
5844
5843
  };
5845
- const TruncatedTextWrapper = /*#__PURE__*/styled$1('div')({
5844
+ const TruncatedTextWrapper = /*#__PURE__*/styled('div')({
5846
5845
  name: "TruncatedTextWrapper",
5847
5846
  class: "tje3huy",
5848
5847
  propsAsIs: false
@@ -6024,7 +6023,7 @@ var __objRest$d = (source, exclude) => {
6024
6023
  return target;
6025
6024
  };
6026
6025
  const ButtonStyle = "bpq0js6";
6027
- const ButtonGroupContainer = /*#__PURE__*/styled$1('div')({
6026
+ const ButtonGroupContainer = /*#__PURE__*/styled('div')({
6028
6027
  name: "ButtonGroupContainer",
6029
6028
  class: "b15sn34c",
6030
6029
  propsAsIs: false
@@ -6096,13 +6095,13 @@ const ButtonGroup = React__default.forwardRef((props, ref) => {
6096
6095
  }));
6097
6096
  });
6098
6097
 
6099
- const CardBody = /*#__PURE__*/styled$1('div')({
6098
+ const CardBody = /*#__PURE__*/styled('div')({
6100
6099
  name: "CardBody",
6101
6100
  class: "c1k4vanq",
6102
6101
  propsAsIs: false
6103
6102
  });
6104
6103
 
6105
- const CardTitle = /*#__PURE__*/styled$1('div')({
6104
+ const CardTitle = /*#__PURE__*/styled('div')({
6106
6105
  name: "CardTitle",
6107
6106
  class: "c1udgdh2",
6108
6107
  propsAsIs: false
@@ -6149,7 +6148,7 @@ const Wrapper = forwardRef(props => {
6149
6148
  }, otherProps), children);
6150
6149
  });
6151
6150
  const _exp$1 = () => Wrapper;
6152
- const CardWrapper = /*#__PURE__*/styled$1(_exp$1())({
6151
+ const CardWrapper = /*#__PURE__*/styled(_exp$1())({
6153
6152
  name: "CardWrapper",
6154
6153
  class: "cav4gt6",
6155
6154
  propsAsIs: true
@@ -6561,7 +6560,7 @@ const I18nNameTag = props => {
6561
6560
  };
6562
6561
 
6563
6562
  const _exp = () => Input$1.Group;
6564
- const InputGroup = /*#__PURE__*/styled$1(_exp())({
6563
+ const InputGroup = /*#__PURE__*/styled(_exp())({
6565
6564
  name: "InputGroup",
6566
6565
  class: "iiqau4c",
6567
6566
  propsAsIs: true
@@ -7729,7 +7728,7 @@ var __objRest$2 = (source, exclude) => {
7729
7728
  };
7730
7729
  const PresetColors$1 = ["blue", "red", "yellow", "green", "gray"];
7731
7730
  const StatusCapsuleStyle = "s14dk8r1";
7732
- const StatusCode = /*#__PURE__*/styled$1('i')({
7731
+ const StatusCode = /*#__PURE__*/styled('i')({
7733
7732
  name: "StatusCode",
7734
7733
  class: "s1uupoto",
7735
7734
  propsAsIs: false
@@ -7959,22 +7958,22 @@ const Table = props => {
7959
7958
  const TitleStyle = "tc40oxa";
7960
7959
  const SubtitleStyle = "sa410aw";
7961
7960
  const BodyCellTextStyle = "b1lc7yin";
7962
- const BodyCellTextWrapper = /*#__PURE__*/styled$1('div')({
7961
+ const BodyCellTextWrapper = /*#__PURE__*/styled('div')({
7963
7962
  name: "BodyCellTextWrapper",
7964
7963
  class: "b1jhbz3e",
7965
7964
  propsAsIs: false
7966
7965
  });
7967
- const TableFormWrapper = /*#__PURE__*/styled$1('div')({
7966
+ const TableFormWrapper = /*#__PURE__*/styled('div')({
7968
7967
  name: "TableFormWrapper",
7969
7968
  class: "tyua489",
7970
7969
  propsAsIs: false
7971
7970
  });
7972
- const AddRowButtonWrapper = /*#__PURE__*/styled$1('div')({
7971
+ const AddRowButtonWrapper = /*#__PURE__*/styled('div')({
7973
7972
  name: "AddRowButtonWrapper",
7974
7973
  class: "a1ccrot9",
7975
7974
  propsAsIs: false
7976
7975
  });
7977
- const DraggableHandleWrapper = /*#__PURE__*/styled$1('div')({
7976
+ const DraggableHandleWrapper = /*#__PURE__*/styled('div')({
7978
7977
  name: "DraggableHandleWrapper",
7979
7978
  class: "d8c9v9g",
7980
7979
  propsAsIs: false