linear-react-components-ui 1.0.10-beta.2 → 1.0.10-beta.21
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/.eslintrc.json +1 -0
- package/.vscode/settings.json +1 -1
- package/README.md +19 -12
- package/lib/@types/Align.d.ts +2 -1
- package/lib/alerts/AlertContainer.d.ts +2 -0
- package/lib/alerts/AlertProvider.d.ts +2 -0
- package/lib/alerts/BaseAlert.d.ts +2 -0
- package/lib/alerts/Message.d.ts +2 -0
- package/lib/alerts/Message.js +1 -1
- package/lib/alerts/alert.spec.js +133 -0
- package/lib/alerts/helpers.d.ts +2 -0
- package/lib/alerts/index.d.ts +2 -0
- package/lib/alerts/types.d.ts +3 -1
- package/lib/alerts/withAlert.d.ts +2 -0
- package/lib/assets/styles/dialog.scss +9 -6
- package/lib/assets/styles/drawers.scss +9 -0
- package/lib/assets/styles/effects.scss +2 -2
- package/lib/assets/styles/radio.scss +52 -8
- package/lib/assets/styles/table.scss +30 -0
- package/lib/assets/styles/tooltip.scss +42 -2
- package/lib/avatar/avatar.spec.js +190 -0
- package/lib/badge/badge.spec.js +127 -0
- package/lib/buttons/ActivateButton.d.ts +2 -0
- package/lib/buttons/AddButton.d.ts +2 -0
- package/lib/buttons/Button.d.ts +2 -0
- package/lib/buttons/CancelButton.d.ts +2 -0
- package/lib/buttons/DangerButton.d.ts +2 -0
- package/lib/buttons/DefaultButton.d.ts +2 -0
- package/lib/buttons/DefaultButton.js +14 -4
- package/lib/buttons/DestroyButton.d.ts +2 -0
- package/lib/buttons/EditButton.d.ts +2 -0
- package/lib/buttons/InactivateButton.d.ts +2 -0
- package/lib/buttons/InfoButton.d.ts +2 -0
- package/lib/buttons/PrimaryButton.d.ts +2 -0
- package/lib/buttons/RestoreButton.d.ts +2 -0
- package/lib/buttons/SaveButton.d.ts +2 -0
- package/lib/buttons/SpinnerLoading.js +230 -0
- package/lib/buttons/SuccessButton.d.ts +2 -0
- package/lib/buttons/WarningButton.d.ts +2 -0
- package/lib/buttons/buttons.spec.js +504 -0
- package/lib/buttons/index.d.ts +2 -0
- package/lib/buttons/split_button/index.d.ts +2 -0
- package/lib/buttons/types.d.ts +6 -2
- package/lib/calendar/calendar.spec.js +171 -0
- package/lib/checkbox/checkbox.spec.js +215 -0
- package/lib/dialog/Alert.d.ts +3 -0
- package/lib/dialog/Custom.d.ts +3 -0
- package/lib/dialog/Custom.js +1 -1
- package/lib/dialog/Error.d.ts +3 -0
- package/lib/dialog/Information.d.ts +3 -0
- package/lib/dialog/Question.d.ts +3 -0
- package/lib/dialog/Warning.d.ts +3 -0
- package/lib/dialog/base/Content.d.ts +3 -0
- package/lib/dialog/base/Footer.d.ts +3 -0
- package/lib/dialog/base/Header.d.ts +3 -0
- package/lib/dialog/base/Header.js +12 -1
- package/lib/dialog/base/index.d.ts +3 -0
- package/lib/dialog/base/index.js +78 -16
- package/lib/dialog/dialog.spec.js +488 -0
- package/lib/dialog/form/index.d.ts +7 -3
- package/lib/dialog/form/index.js +11 -4
- package/lib/dialog/index.d.ts +3 -0
- package/lib/dialog/types.d.ts +10 -4
- package/lib/drawer/Content.d.ts +2 -0
- package/lib/drawer/Drawer.d.ts +3 -1
- package/lib/drawer/Drawer.js +22 -2
- package/lib/drawer/Drawer.spec.js +258 -0
- package/lib/drawer/Header.d.ts +2 -0
- package/lib/drawer/helpers.d.ts +2 -0
- package/lib/drawer/index.d.ts +2 -0
- package/lib/drawer/types.d.ts +4 -1
- package/lib/dropdown/Popup.js +5 -0
- package/lib/dropdown/dropdown.spec.js +169 -0
- package/lib/fieldset/fieldset.spec.js +329 -0
- package/lib/form/Field.d.ts +2 -1
- package/lib/form/Field.js +33 -24
- package/lib/form/FieldArray.d.ts +1 -0
- package/lib/form/FieldArray.js +41 -4
- package/lib/form/FieldNumber.d.ts +1 -0
- package/lib/form/FieldNumber.js +24 -5
- package/lib/form/FieldPeriod.d.ts +1 -0
- package/lib/form/FieldPeriod.js +16 -2
- package/lib/form/form.spec.js +293 -0
- package/lib/form/helpers.d.ts +2 -1
- package/lib/form/helpers.js +2 -2
- package/lib/form/index.d.ts +4 -2
- package/lib/form/index.js +72 -35
- package/lib/form/types.d.ts +25 -6
- package/lib/form/withFieldHOC.d.ts +1 -0
- package/lib/form/withFieldHOC.js +1 -0
- package/lib/form/withFormSecurity.d.ts +1 -0
- package/lib/form/withFormSecurity.js +2 -1
- package/lib/gridlayout/gridLayout.spec.js +169 -0
- package/lib/icons/helper.d.ts +4 -0
- package/lib/icons/helper.js +4 -0
- package/lib/icons/icons.spec.js +86 -0
- package/lib/icons/index.d.ts +2 -0
- package/lib/icons/types.d.ts +3 -1
- package/lib/index.d.ts +4 -1
- package/lib/inputs/base/InputTextBase.d.ts +1 -0
- package/lib/inputs/base/InputTextBase.js +10 -2
- package/lib/inputs/base/base.spec.js +690 -0
- package/lib/inputs/base/helpers.d.ts +2 -1
- package/lib/inputs/base/index.js +1 -0
- package/lib/inputs/base/types.d.ts +2 -1
- package/lib/inputs/color/color_input.spec.js +174 -0
- package/lib/inputs/date/Dialog.d.ts +1 -0
- package/lib/inputs/date/Dropdown.d.ts +1 -0
- package/lib/inputs/date/date.spec.js +354 -0
- package/lib/inputs/date/helpers.d.ts +2 -1
- package/lib/inputs/date/helpers.js +3 -2
- package/lib/inputs/date/index.d.ts +1 -0
- package/lib/inputs/date/index.js +24 -9
- package/lib/inputs/date/types.d.ts +3 -1
- package/lib/inputs/file/DefaultFile.d.ts +1 -0
- package/lib/inputs/file/DragDropFile.d.ts +1 -0
- package/lib/inputs/file/File.d.ts +1 -0
- package/lib/inputs/file/FileButtonSettings.d.ts +1 -0
- package/lib/inputs/file/helpers.d.ts +1 -0
- package/lib/inputs/file/index.d.ts +1 -0
- package/lib/inputs/file/types.d.ts +1 -0
- package/lib/inputs/inputHOC.d.ts +3 -0
- package/lib/inputs/mask/BaseMask.d.ts +1 -0
- package/lib/inputs/mask/BaseMask.js +20 -5
- package/lib/inputs/mask/Cnpj.d.ts +1 -0
- package/lib/inputs/mask/Cpf.d.ts +1 -0
- package/lib/inputs/mask/Cpf.js +4 -4
- package/lib/inputs/mask/Phone.d.ts +1 -0
- package/lib/inputs/mask/ZipCode.d.ts +1 -0
- package/lib/inputs/mask/helpers.d.ts +3 -0
- package/lib/inputs/mask/helpers.js +1 -1
- package/lib/inputs/mask/imaskHOC.d.ts +3 -0
- package/lib/inputs/mask/imaskHOC.js +16 -12
- package/lib/inputs/mask/index.d.ts +1 -0
- package/lib/inputs/mask/input_mask.spec.js +607 -0
- package/lib/inputs/mask/types.d.ts +2 -1
- package/lib/inputs/multiSelect/ActionButtons.d.ts +2 -1
- package/lib/inputs/multiSelect/ActionButtons.js +4 -1
- package/lib/inputs/multiSelect/Dropdown.d.ts +1 -0
- package/lib/inputs/multiSelect/Dropdown.js +4 -4
- package/lib/inputs/multiSelect/helper.d.ts +8 -6
- package/lib/inputs/multiSelect/helper.js +5 -1
- package/lib/inputs/multiSelect/index.d.ts +1 -0
- package/lib/inputs/multiSelect/index.js +15 -11
- package/lib/inputs/multiSelect/types.d.ts +16 -6
- package/lib/inputs/number/BaseNumber.d.ts +3 -0
- package/lib/inputs/number/BaseNumber.js +1 -2
- package/lib/inputs/number/Currency.d.ts +3 -0
- package/lib/inputs/number/Decimal.d.ts +3 -0
- package/lib/inputs/number/format_number.d.ts +2 -1
- package/lib/inputs/number/format_number.js +8 -3
- package/lib/inputs/number/index.d.ts +3 -0
- package/lib/inputs/number/numberfield.spec.js +215 -0
- package/lib/inputs/number/types.d.ts +3 -1
- package/lib/inputs/period/Dialog.d.ts +1 -0
- package/lib/inputs/period/Dropdown.d.ts +1 -0
- package/lib/inputs/period/PeriodList.d.ts +1 -0
- package/lib/inputs/period/helper.d.ts +1 -0
- package/lib/inputs/period/index.d.ts +1 -0
- package/lib/inputs/period/index.js +8 -9
- package/lib/inputs/period/types.d.ts +3 -2
- package/lib/inputs/search/index.d.ts +3 -0
- package/lib/inputs/search/search_input.spec.js +209 -0
- package/lib/inputs/select/ActionButtons.d.ts +3 -0
- package/lib/inputs/select/Dropdown.d.ts +3 -0
- package/lib/inputs/select/Dropdown.js +1 -1
- package/lib/inputs/select/helper.d.ts +7 -9
- package/lib/inputs/select/helper.js +11 -2
- package/lib/inputs/select/index.d.ts +1 -0
- package/lib/inputs/select/index.js +6 -5
- package/lib/inputs/select/multiple/Selecteds.d.ts +1 -0
- package/lib/inputs/select/multiple/Selecteds.js +1 -1
- package/lib/inputs/select/multiple/index.d.ts +1 -0
- package/lib/inputs/select/multiple/index.js +13 -10
- package/lib/inputs/select/select.spec.js +395 -0
- package/lib/inputs/select/simple/index.d.ts +1 -0
- package/lib/inputs/select/simple/index.js +35 -18
- package/lib/inputs/select/types.d.ts +22 -7
- package/lib/inputs/text/index.d.ts +1 -0
- package/lib/inputs/text/textfield.spec.js +215 -0
- package/lib/inputs/text/types.d.ts +1 -1
- package/lib/inputs/textarea/index.d.ts +1 -0
- package/lib/inputs/textarea/index.js +1 -1
- package/lib/inputs/textarea/textarea.spec.js +59 -0
- package/lib/inputs/textarea/types.d.ts +1 -0
- package/lib/inputs/types.d.ts +7 -3
- package/lib/internals/types.d.ts +1 -0
- package/lib/internals/withTooltip.js +13 -6
- package/lib/labelMessages/index.d.ts +2 -0
- package/lib/labelMessages/index.js +3 -4
- package/lib/labelMessages/labelMessages.spec.js +176 -0
- package/lib/labelMessages/types.d.ts +3 -1
- package/lib/labels/DangerLabel.d.ts +2 -0
- package/lib/labels/DefaultLabel.d.ts +2 -0
- package/lib/labels/InfoLabel.d.ts +2 -0
- package/lib/labels/PrimaryLabel.d.ts +2 -0
- package/lib/labels/SuccessLabel.d.ts +2 -0
- package/lib/labels/WarningLabel.d.ts +2 -0
- package/lib/labels/index.d.ts +2 -0
- package/lib/labels/label.spec.js +162 -0
- package/lib/labels/types.d.ts +3 -1
- package/lib/list/Header.d.ts +2 -0
- package/lib/list/Item.d.ts +2 -0
- package/lib/list/helpers.d.ts +2 -0
- package/lib/list/index.d.ts +2 -0
- package/lib/list/list.spec.js +769 -0
- package/lib/list/types.d.ts +4 -2
- package/lib/menus/float/MenuItem.d.ts +2 -0
- package/lib/menus/float/float-menu.spec.js +221 -0
- package/lib/menus/float/helpers.d.ts +2 -0
- package/lib/menus/float/index.d.ts +2 -0
- package/lib/menus/float/types.d.ts +3 -1
- package/lib/menus/index.d.ts +2 -0
- package/lib/menus/sidenav/ExpandMenu.d.ts +2 -0
- package/lib/menus/sidenav/MenuLink.d.ts +2 -0
- package/lib/menus/sidenav/NavMenuGroup.d.ts +2 -0
- package/lib/menus/sidenav/NavMenuItem.d.ts +2 -0
- package/lib/menus/sidenav/NavSubMenuItem.d.ts +2 -0
- package/lib/menus/sidenav/helpers.d.ts +2 -0
- package/lib/menus/sidenav/index.d.ts +2 -0
- package/lib/menus/sidenav/popup_menu_search/EmptyList.d.ts +2 -0
- package/lib/menus/sidenav/popup_menu_search/index.d.ts +2 -0
- package/lib/menus/sidenav/sidenav.spec.js +379 -0
- package/lib/menus/sidenav/types.d.ts +4 -2
- package/lib/panel/Content.d.ts +3 -1
- package/lib/panel/DangerPanel.d.ts +3 -1
- package/lib/panel/Default.d.ts +3 -1
- package/lib/panel/Header.d.ts +3 -1
- package/lib/panel/Header.js +3 -4
- package/lib/panel/InfoPanel.d.ts +3 -1
- package/lib/panel/PrimaryPanel.d.ts +3 -1
- package/lib/panel/SuccessPanel.d.ts +3 -1
- package/lib/panel/ToolBar.d.ts +3 -1
- package/lib/panel/WarningPanel.d.ts +3 -1
- package/lib/panel/helpers.d.ts +3 -1
- package/lib/panel/index.d.ts +3 -1
- package/lib/panel/panel.spec.js +216 -0
- package/lib/panel/types.d.ts +3 -1
- package/lib/popover/PopoverText.d.ts +2 -0
- package/lib/popover/PopoverTitle.d.ts +2 -0
- package/lib/popover/index.d.ts +2 -0
- package/lib/popover/index.js +1 -2
- package/lib/popover/popover.spec.js +146 -0
- package/lib/popover/types.d.ts +3 -1
- package/lib/progress/progress.spec.js +94 -0
- package/lib/radio/index.d.ts +2 -1
- package/lib/radio/index.js +5 -1
- package/lib/radio/radio.spec.js +189 -0
- package/lib/radio/types.d.ts +4 -1
- package/lib/spinner/spinner.spec.js +152 -0
- package/lib/split/split.spec.js +163 -0
- package/lib/table/Body.js +9 -12
- package/lib/table/Header.js +19 -16
- package/lib/table/Row.js +20 -3
- package/lib/table/index.js +1 -0
- package/lib/table/table.spec.js +352 -0
- package/lib/table/types.d.ts +7 -0
- package/lib/tabs/DropdownItems.d.ts +2 -0
- package/lib/tabs/Menu.d.ts +2 -0
- package/lib/tabs/MenuItems.d.ts +2 -0
- package/lib/tabs/Panel.d.ts +2 -0
- package/lib/tabs/index.d.ts +2 -0
- package/lib/tabs/tabHelpers.d.ts +2 -0
- package/lib/tabs/tabs.spec.js +321 -0
- package/lib/tabs/types.d.ts +3 -1
- package/lib/toolbar/ButtonBar.d.ts +2 -0
- package/lib/toolbar/LabelBar.d.ts +2 -0
- package/lib/toolbar/ToolBarGroup.d.ts +2 -0
- package/lib/toolbar/helpers.d.ts +2 -0
- package/lib/toolbar/index.d.ts +2 -0
- package/lib/toolbar/toolbar.spec.js +394 -0
- package/lib/toolbar/types.d.ts +4 -2
- package/lib/tooltip/index.d.ts +1 -1
- package/lib/tooltip/index.js +5 -1
- package/lib/tooltip/tooltip.spec.js +215 -0
- package/lib/tooltip/types.d.ts +1 -0
- package/lib/treeview/index.js +1 -0
- package/lib/treeview/treeview.spec.js +279 -0
- package/lib/{types-90c43ae1.d.ts → types-c1e2d0c9.d.ts} +2 -1
- package/lib/uitour/uitour.spec.js +176 -0
- package/package.json +67 -64
|
@@ -0,0 +1,379 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
|
+
|
|
5
|
+
var _react = _interopRequireDefault(require("react"));
|
|
6
|
+
|
|
7
|
+
var _react2 = require("@testing-library/react");
|
|
8
|
+
|
|
9
|
+
require("babel-polyfill");
|
|
10
|
+
|
|
11
|
+
require("@testing-library/jest-dom/extend-expect");
|
|
12
|
+
|
|
13
|
+
var _index = _interopRequireDefault(require("./index"));
|
|
14
|
+
|
|
15
|
+
var _NavMenuGroup = _interopRequireDefault(require("./NavMenuGroup"));
|
|
16
|
+
|
|
17
|
+
var _NavMenuItem = _interopRequireDefault(require("./NavMenuItem"));
|
|
18
|
+
|
|
19
|
+
var _float = _interopRequireWildcard(require("../float"));
|
|
20
|
+
|
|
21
|
+
var _NavSubMenuItem = _interopRequireDefault(require("./NavSubMenuItem"));
|
|
22
|
+
|
|
23
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
24
|
+
|
|
25
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
26
|
+
|
|
27
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
28
|
+
|
|
29
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
30
|
+
|
|
31
|
+
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
32
|
+
|
|
33
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
34
|
+
|
|
35
|
+
var menuDataMock = [{
|
|
36
|
+
permissoes: [{
|
|
37
|
+
codigo: 'ACESSO'
|
|
38
|
+
}, {
|
|
39
|
+
codigo: 'GRAVAR'
|
|
40
|
+
}],
|
|
41
|
+
itens: [{
|
|
42
|
+
permissoes: [{
|
|
43
|
+
codigo: 'ACESSO'
|
|
44
|
+
}, {
|
|
45
|
+
codigo: 'GRAVAR'
|
|
46
|
+
}],
|
|
47
|
+
itens: null,
|
|
48
|
+
id: 25,
|
|
49
|
+
titulo: 'Aliquotas ICMS',
|
|
50
|
+
codigo: 'SUB XXX',
|
|
51
|
+
url: 'clientes/',
|
|
52
|
+
iconeNome: 'calendar',
|
|
53
|
+
iconeCor: '#000',
|
|
54
|
+
posicao: 1
|
|
55
|
+
}, {
|
|
56
|
+
permissoes: [{
|
|
57
|
+
codigo: 'ACESSO'
|
|
58
|
+
}, {
|
|
59
|
+
codigo: 'GRAVAR'
|
|
60
|
+
}],
|
|
61
|
+
itens: null,
|
|
62
|
+
id: 26,
|
|
63
|
+
titulo: 'Cidades',
|
|
64
|
+
codigo: 'SUB XXX 9',
|
|
65
|
+
url: 'clientes/',
|
|
66
|
+
iconeNome: 'city',
|
|
67
|
+
iconeCor: '#000',
|
|
68
|
+
posicao: 1
|
|
69
|
+
}, {
|
|
70
|
+
permissoes: [{
|
|
71
|
+
codigo: 'ACESSO'
|
|
72
|
+
}, {
|
|
73
|
+
codigo: 'GRAVAR'
|
|
74
|
+
}],
|
|
75
|
+
itens: null,
|
|
76
|
+
id: 27,
|
|
77
|
+
titulo: 'Class. Produto',
|
|
78
|
+
codigo: 'SUB XXX 5',
|
|
79
|
+
url: 'clientes/',
|
|
80
|
+
iconeNome: 'question',
|
|
81
|
+
iconeCor: '#000',
|
|
82
|
+
posicao: 1
|
|
83
|
+
}, {
|
|
84
|
+
permissoes: [{
|
|
85
|
+
codigo: 'ACESSO'
|
|
86
|
+
}, {
|
|
87
|
+
codigo: 'GRAVAR'
|
|
88
|
+
}],
|
|
89
|
+
itens: null,
|
|
90
|
+
id: 28,
|
|
91
|
+
titulo: 'Tipo de Documento',
|
|
92
|
+
codigo: 'SUB XXXx',
|
|
93
|
+
url: 'clientes/',
|
|
94
|
+
iconeNome: 'question',
|
|
95
|
+
iconeCor: '#000',
|
|
96
|
+
posicao: 1
|
|
97
|
+
}, {
|
|
98
|
+
permissoes: [{
|
|
99
|
+
codigo: 'ACESSO'
|
|
100
|
+
}, {
|
|
101
|
+
codigo: 'GRAVAR'
|
|
102
|
+
}],
|
|
103
|
+
itens: null,
|
|
104
|
+
id: 29,
|
|
105
|
+
titulo: 'Tabelas CST',
|
|
106
|
+
codigo: 'SUB XXX1',
|
|
107
|
+
url: 'clientes/',
|
|
108
|
+
iconeNome: 'question',
|
|
109
|
+
iconeCor: '#000',
|
|
110
|
+
posicao: 1
|
|
111
|
+
}, {
|
|
112
|
+
permissoes: [{
|
|
113
|
+
codigo: 'ACESSO'
|
|
114
|
+
}, {
|
|
115
|
+
codigo: 'GRAVAR'
|
|
116
|
+
}],
|
|
117
|
+
itens: null,
|
|
118
|
+
id: 30,
|
|
119
|
+
titulo: 'Plano de Contas ',
|
|
120
|
+
codigo: 'SUB XXX2',
|
|
121
|
+
url: 'clientes/',
|
|
122
|
+
iconeNome: 'question',
|
|
123
|
+
iconeCor: '#000',
|
|
124
|
+
posicao: 1
|
|
125
|
+
}],
|
|
126
|
+
id: 13,
|
|
127
|
+
titulo: 'Tabelas Básicas',
|
|
128
|
+
codigo: 'TAB_BASICAS',
|
|
129
|
+
url: 'clientes/',
|
|
130
|
+
iconeNome: 'calendar',
|
|
131
|
+
iconeCor: '#000',
|
|
132
|
+
posicao: 1
|
|
133
|
+
}, {
|
|
134
|
+
permissoes: [{
|
|
135
|
+
codigo: 'ACESSO'
|
|
136
|
+
}, {
|
|
137
|
+
codigo: 'GRAVAR'
|
|
138
|
+
}],
|
|
139
|
+
itens: null,
|
|
140
|
+
id: 14,
|
|
141
|
+
titulo: 'Clientes',
|
|
142
|
+
codigo: 'CLIENTES',
|
|
143
|
+
url: 'clientes/',
|
|
144
|
+
iconeNome: 'envelop',
|
|
145
|
+
iconeCor: '#000',
|
|
146
|
+
posicao: 1
|
|
147
|
+
}];
|
|
148
|
+
var mockFn = jest.fn(function (x) {
|
|
149
|
+
return 42 + x;
|
|
150
|
+
});
|
|
151
|
+
|
|
152
|
+
var sidebarNavMockRender = function sidebarNavMockRender(props) {
|
|
153
|
+
return /*#__PURE__*/_react.default.createElement(_index.default, _extends({
|
|
154
|
+
onExpandMenuClick: mockFn
|
|
155
|
+
}, props), /*#__PURE__*/_react.default.createElement(_NavMenuGroup.default, null, /*#__PURE__*/_react.default.createElement(_NavMenuItem.default, {
|
|
156
|
+
childrenIsSubMenu: false
|
|
157
|
+
}, /*#__PURE__*/_react.default.createElement(_float.default, null, /*#__PURE__*/_react.default.createElement(_float.MenuItem, {
|
|
158
|
+
title: "Fiscal",
|
|
159
|
+
key: "FISCAL",
|
|
160
|
+
url: "/teste",
|
|
161
|
+
iconName: "code",
|
|
162
|
+
iconColor: "gray",
|
|
163
|
+
iconSize: 24
|
|
164
|
+
}), /*#__PURE__*/_react.default.createElement(_float.MenuItem, {
|
|
165
|
+
title: "Fiscal",
|
|
166
|
+
key: "FISCAL",
|
|
167
|
+
url: "/teste",
|
|
168
|
+
iconName: "code",
|
|
169
|
+
iconColor: "gray",
|
|
170
|
+
iconSize: 24
|
|
171
|
+
})))), /*#__PURE__*/_react.default.createElement(_NavMenuGroup.default, {
|
|
172
|
+
scrollable: true
|
|
173
|
+
}, menuDataMock.map(function (menu) {
|
|
174
|
+
return /*#__PURE__*/_react.default.createElement(_NavMenuItem.default, {
|
|
175
|
+
key: menu.codigo,
|
|
176
|
+
iconName: menu.iconeNome,
|
|
177
|
+
title: menu.titulo
|
|
178
|
+
}, menu.itens && menu.itens.map(function (item) {
|
|
179
|
+
return /*#__PURE__*/_react.default.createElement(_NavSubMenuItem.default, {
|
|
180
|
+
key: item.codigo,
|
|
181
|
+
title: item.titulo
|
|
182
|
+
});
|
|
183
|
+
}));
|
|
184
|
+
})));
|
|
185
|
+
};
|
|
186
|
+
|
|
187
|
+
describe('SideNav Menu', function () {
|
|
188
|
+
describe('Default', function () {
|
|
189
|
+
it('should render', function () {
|
|
190
|
+
var _render = (0, _react2.render)(sidebarNavMockRender()),
|
|
191
|
+
container = _render.container;
|
|
192
|
+
|
|
193
|
+
expect(container.firstChild).toBeTruthy();
|
|
194
|
+
});
|
|
195
|
+
it('should have .sidenav-component', function () {
|
|
196
|
+
var _render2 = (0, _react2.render)(sidebarNavMockRender()),
|
|
197
|
+
container = _render2.container;
|
|
198
|
+
|
|
199
|
+
expect(container.firstChild).toHaveClass('sidenav-component');
|
|
200
|
+
});
|
|
201
|
+
it('should show expand menu', function () {
|
|
202
|
+
var _render3 = (0, _react2.render)(sidebarNavMockRender({
|
|
203
|
+
showExpandMenu: true
|
|
204
|
+
})),
|
|
205
|
+
container = _render3.container;
|
|
206
|
+
|
|
207
|
+
expect(container.querySelector('.openclosemenu')).toBeInTheDocument();
|
|
208
|
+
});
|
|
209
|
+
it('should render all items', function () {
|
|
210
|
+
var _render4 = (0, _react2.render)(sidebarNavMockRender()),
|
|
211
|
+
container = _render4.container;
|
|
212
|
+
/* primeiro item é o float menu */
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
expect(container.querySelectorAll('li.item').length - 1).toBe(menuDataMock.length);
|
|
216
|
+
});
|
|
217
|
+
it('should be rendering 3 items SVGs', function () {
|
|
218
|
+
var _render5 = (0, _react2.render)(sidebarNavMockRender()),
|
|
219
|
+
container = _render5.container;
|
|
220
|
+
|
|
221
|
+
expect(container.querySelectorAll('li.item .icon-component').length).toBe(3);
|
|
222
|
+
});
|
|
223
|
+
it('should open submenu on over', /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
224
|
+
var _render6, container;
|
|
225
|
+
|
|
226
|
+
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
227
|
+
while (1) {
|
|
228
|
+
switch (_context.prev = _context.next) {
|
|
229
|
+
case 0:
|
|
230
|
+
_render6 = (0, _react2.render)(sidebarNavMockRender({
|
|
231
|
+
menuSize: 'large'
|
|
232
|
+
})), container = _render6.container;
|
|
233
|
+
|
|
234
|
+
_react2.fireEvent.mouseOver(container.querySelector('.customscroll .item'));
|
|
235
|
+
|
|
236
|
+
_context.next = 4;
|
|
237
|
+
return (0, _react2.waitFor)(function () {
|
|
238
|
+
return container.querySelector('.submenu-container');
|
|
239
|
+
});
|
|
240
|
+
|
|
241
|
+
case 4:
|
|
242
|
+
expect(container.querySelector('.submenu-container')).toBeTruthy();
|
|
243
|
+
|
|
244
|
+
case 5:
|
|
245
|
+
case "end":
|
|
246
|
+
return _context.stop();
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}, _callee);
|
|
250
|
+
})));
|
|
251
|
+
it('submenu should render all items', /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
|
252
|
+
var _render7, container;
|
|
253
|
+
|
|
254
|
+
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
255
|
+
while (1) {
|
|
256
|
+
switch (_context2.prev = _context2.next) {
|
|
257
|
+
case 0:
|
|
258
|
+
_render7 = (0, _react2.render)(sidebarNavMockRender()), container = _render7.container;
|
|
259
|
+
|
|
260
|
+
_react2.fireEvent.mouseOver(container.querySelector('.customscroll .item'));
|
|
261
|
+
|
|
262
|
+
_context2.next = 4;
|
|
263
|
+
return (0, _react2.waitFor)(function () {
|
|
264
|
+
return container.querySelector('.submenu-container');
|
|
265
|
+
});
|
|
266
|
+
|
|
267
|
+
case 4:
|
|
268
|
+
expect(container.querySelectorAll('.submenu-container .submenu .item.hvr-forward').length).toBe(menuDataMock[0].itens.length);
|
|
269
|
+
|
|
270
|
+
case 5:
|
|
271
|
+
case "end":
|
|
272
|
+
return _context2.stop();
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
}, _callee2);
|
|
276
|
+
})));
|
|
277
|
+
it('submenu should have title', /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
|
|
278
|
+
var _render8, container;
|
|
279
|
+
|
|
280
|
+
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
281
|
+
while (1) {
|
|
282
|
+
switch (_context3.prev = _context3.next) {
|
|
283
|
+
case 0:
|
|
284
|
+
_render8 = (0, _react2.render)(sidebarNavMockRender()), container = _render8.container;
|
|
285
|
+
|
|
286
|
+
_react2.fireEvent.mouseOver(container.querySelector('.customscroll .item'));
|
|
287
|
+
|
|
288
|
+
_context3.next = 4;
|
|
289
|
+
return (0, _react2.waitFor)(function () {
|
|
290
|
+
return container.querySelector('.submenu-container');
|
|
291
|
+
});
|
|
292
|
+
|
|
293
|
+
case 4:
|
|
294
|
+
expect(container.querySelector('.submenu-container .title')).toHaveTextContent(menuDataMock[0].titulo);
|
|
295
|
+
|
|
296
|
+
case 5:
|
|
297
|
+
case "end":
|
|
298
|
+
return _context3.stop();
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
}, _callee3);
|
|
302
|
+
})));
|
|
303
|
+
describe('Popup Search Menu', function () {
|
|
304
|
+
it('should enable menu search', function () {
|
|
305
|
+
var _render9 = (0, _react2.render)(sidebarNavMockRender({
|
|
306
|
+
enableMenuSearch: true
|
|
307
|
+
})),
|
|
308
|
+
container = _render9.container;
|
|
309
|
+
|
|
310
|
+
expect(container.querySelector('.searchmenubutton')).toBeInTheDocument();
|
|
311
|
+
});
|
|
312
|
+
it('should render tooltip on over menu search item', function () {
|
|
313
|
+
var _render10 = (0, _react2.render)(sidebarNavMockRender({
|
|
314
|
+
enableMenuSearch: true
|
|
315
|
+
})),
|
|
316
|
+
container = _render10.container;
|
|
317
|
+
|
|
318
|
+
var navitem = container.querySelector('.-customsidenavitem');
|
|
319
|
+
|
|
320
|
+
_react2.fireEvent.mouseOver(navitem);
|
|
321
|
+
|
|
322
|
+
expect(document.querySelector('.tooltip-component')).toBeInTheDocument();
|
|
323
|
+
});
|
|
324
|
+
it('should open popup menu when pressed HotKey', /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4() {
|
|
325
|
+
var _render11, container;
|
|
326
|
+
|
|
327
|
+
return regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
328
|
+
while (1) {
|
|
329
|
+
switch (_context4.prev = _context4.next) {
|
|
330
|
+
case 0:
|
|
331
|
+
_render11 = (0, _react2.render)(sidebarNavMockRender({
|
|
332
|
+
enableMenuSearch: true
|
|
333
|
+
})), container = _render11.container;
|
|
334
|
+
|
|
335
|
+
_react2.fireEvent.keyDown(container, {
|
|
336
|
+
key: 'F',
|
|
337
|
+
code: 'keyF',
|
|
338
|
+
keyCode: 70,
|
|
339
|
+
ctrlKey: true,
|
|
340
|
+
shiftKey: true
|
|
341
|
+
});
|
|
342
|
+
|
|
343
|
+
expect(document.querySelector('.searchmenu')).toBeInTheDocument();
|
|
344
|
+
|
|
345
|
+
case 3:
|
|
346
|
+
case "end":
|
|
347
|
+
return _context4.stop();
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
}, _callee4);
|
|
351
|
+
})));
|
|
352
|
+
it('should search on input change', function () {
|
|
353
|
+
var _render12 = (0, _react2.render)(sidebarNavMockRender({
|
|
354
|
+
enableMenuSearch: true
|
|
355
|
+
})),
|
|
356
|
+
container = _render12.container;
|
|
357
|
+
|
|
358
|
+
_react2.fireEvent.keyDown(container, {
|
|
359
|
+
key: 'F',
|
|
360
|
+
code: 'keyF',
|
|
361
|
+
keyCode: 70,
|
|
362
|
+
ctrlKey: true,
|
|
363
|
+
shiftKey: true
|
|
364
|
+
});
|
|
365
|
+
|
|
366
|
+
var input = document.querySelector('.searchmenu .inputwrapper .inputcontent .textinput');
|
|
367
|
+
|
|
368
|
+
_react2.fireEvent.change(input, {
|
|
369
|
+
target: {
|
|
370
|
+
value: 'A'
|
|
371
|
+
}
|
|
372
|
+
});
|
|
373
|
+
|
|
374
|
+
expect(document.querySelector('.searchmenu')).toBeInTheDocument();
|
|
375
|
+
expect(document.querySelectorAll('.searchmenu .list-component .item').length).toBe(5);
|
|
376
|
+
});
|
|
377
|
+
});
|
|
378
|
+
});
|
|
379
|
+
});
|
|
@@ -2,7 +2,9 @@ import { ReactNode, ReactElement, Ref, CSSProperties } from 'react';
|
|
|
2
2
|
import { PermissionAttr } from '../../@types/PermissionAttr.js';
|
|
3
3
|
import { Size } from '../../@types/Size.js';
|
|
4
4
|
import { WithTooltipProps } from '../../internals/types.js';
|
|
5
|
+
import { IconNames } from '../../@types/Icon.js';
|
|
5
6
|
import '../../@types/Position.js';
|
|
7
|
+
import '../../icons/helper.js';
|
|
6
8
|
|
|
7
9
|
interface ISideNavProps {
|
|
8
10
|
children: ReactNode;
|
|
@@ -40,7 +42,7 @@ interface INavMenuGroupProps {
|
|
|
40
42
|
interface INavMenuItemProps extends WithTooltipProps {
|
|
41
43
|
children?: ReactNode;
|
|
42
44
|
title?: string;
|
|
43
|
-
iconName?:
|
|
45
|
+
iconName?: IconNames;
|
|
44
46
|
childrenIsSubMenu?: boolean;
|
|
45
47
|
url?: string;
|
|
46
48
|
customClass?: string;
|
|
@@ -58,7 +60,7 @@ interface INavSubMenuItemProps {
|
|
|
58
60
|
interface IExpandMenuProps {
|
|
59
61
|
expandMenuCustomClass?: string;
|
|
60
62
|
onExpandMenu?: () => void;
|
|
61
|
-
iconName?:
|
|
63
|
+
iconName?: IconNames;
|
|
62
64
|
}
|
|
63
65
|
interface IEmptyListProps {
|
|
64
66
|
info?: string;
|
package/lib/panel/Content.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { I as IPanelProps } from '../types-
|
|
1
|
+
import { I as IPanelProps } from '../types-c1e2d0c9.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../@types/PermissionAttr.js';
|
|
4
4
|
import '../internals/colorStyles.js';
|
|
5
|
+
import '../@types/Icon.js';
|
|
6
|
+
import '../icons/helper.js';
|
|
5
7
|
|
|
6
8
|
declare const PanelContent: ({ customClass, children, style }: IPanelProps) => JSX.Element | null;
|
|
7
9
|
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { I as IPanelProps } from '../types-
|
|
1
|
+
import { I as IPanelProps } from '../types-c1e2d0c9.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../@types/PermissionAttr.js';
|
|
4
4
|
import '../internals/colorStyles.js';
|
|
5
|
+
import '../@types/Icon.js';
|
|
6
|
+
import '../icons/helper.js';
|
|
5
7
|
|
|
6
8
|
declare const DangerPanel: (props: IPanelProps) => JSX.Element;
|
|
7
9
|
|
package/lib/panel/Default.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { I as IPanelProps } from '../types-
|
|
1
|
+
import { I as IPanelProps } from '../types-c1e2d0c9.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../@types/PermissionAttr.js';
|
|
4
4
|
import '../internals/colorStyles.js';
|
|
5
|
+
import '../@types/Icon.js';
|
|
6
|
+
import '../icons/helper.js';
|
|
5
7
|
|
|
6
8
|
declare const DefaultPanel: ({ startOpened, toggleable, customClass, children, style, title, gridCols, onEndReached, onEndReachedThreshold, permissionAttr, colorStyle, }: IPanelProps) => JSX.Element | null;
|
|
7
9
|
|
package/lib/panel/Header.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { a as IPanelHeaderProps } from '../types-
|
|
1
|
+
import { a as IPanelHeaderProps } from '../types-c1e2d0c9.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../@types/PermissionAttr.js';
|
|
4
4
|
import '../internals/colorStyles.js';
|
|
5
|
+
import '../@types/Icon.js';
|
|
6
|
+
import '../icons/helper.js';
|
|
5
7
|
|
|
6
8
|
declare const PanelHeader: (props: IPanelHeaderProps) => JSX.Element;
|
|
7
9
|
|
package/lib/panel/Header.js
CHANGED
|
@@ -13,9 +13,9 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
13
13
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
14
14
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
15
15
|
var getIcon = function getIcon(titleIcon, icon) {
|
|
16
|
-
if (icon
|
|
16
|
+
if (icon) {
|
|
17
17
|
return icon;
|
|
18
|
-
} else if (titleIcon
|
|
18
|
+
} else if (titleIcon) {
|
|
19
19
|
return /*#__PURE__*/_react.default.createElement(_icons.default, {
|
|
20
20
|
name: titleIcon,
|
|
21
21
|
color: "#000",
|
|
@@ -33,8 +33,7 @@ var getClassName = function getClassName(_ref) {
|
|
|
33
33
|
return className;
|
|
34
34
|
};
|
|
35
35
|
var PanelHeader = function PanelHeader(props) {
|
|
36
|
-
var
|
|
37
|
-
titleIcon = _props$titleIcon === void 0 ? '' : _props$titleIcon,
|
|
36
|
+
var titleIcon = props.titleIcon,
|
|
38
37
|
icon = props.icon,
|
|
39
38
|
title = props.title,
|
|
40
39
|
children = props.children,
|
package/lib/panel/InfoPanel.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { I as IPanelProps } from '../types-
|
|
1
|
+
import { I as IPanelProps } from '../types-c1e2d0c9.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../@types/PermissionAttr.js';
|
|
4
4
|
import '../internals/colorStyles.js';
|
|
5
|
+
import '../@types/Icon.js';
|
|
6
|
+
import '../icons/helper.js';
|
|
5
7
|
|
|
6
8
|
declare const InfoPanel: (props: IPanelProps) => JSX.Element;
|
|
7
9
|
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { I as IPanelProps } from '../types-
|
|
1
|
+
import { I as IPanelProps } from '../types-c1e2d0c9.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../@types/PermissionAttr.js';
|
|
4
4
|
import '../internals/colorStyles.js';
|
|
5
|
+
import '../@types/Icon.js';
|
|
6
|
+
import '../icons/helper.js';
|
|
5
7
|
|
|
6
8
|
declare const PrimaryPanel: (props: IPanelProps) => JSX.Element;
|
|
7
9
|
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { I as IPanelProps } from '../types-
|
|
1
|
+
import { I as IPanelProps } from '../types-c1e2d0c9.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../@types/PermissionAttr.js';
|
|
4
4
|
import '../internals/colorStyles.js';
|
|
5
|
+
import '../@types/Icon.js';
|
|
6
|
+
import '../icons/helper.js';
|
|
5
7
|
|
|
6
8
|
declare const SuccessPanel: (props: IPanelProps) => JSX.Element;
|
|
7
9
|
|
package/lib/panel/ToolBar.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { I as IPanelProps } from '../types-
|
|
1
|
+
import { I as IPanelProps } from '../types-c1e2d0c9.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../@types/PermissionAttr.js';
|
|
4
4
|
import '../internals/colorStyles.js';
|
|
5
|
+
import '../@types/Icon.js';
|
|
6
|
+
import '../icons/helper.js';
|
|
5
7
|
|
|
6
8
|
declare const ToolBar: ({ children }: IPanelProps) => JSX.Element;
|
|
7
9
|
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { I as IPanelProps } from '../types-
|
|
1
|
+
import { I as IPanelProps } from '../types-c1e2d0c9.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../@types/PermissionAttr.js';
|
|
4
4
|
import '../internals/colorStyles.js';
|
|
5
|
+
import '../@types/Icon.js';
|
|
6
|
+
import '../icons/helper.js';
|
|
5
7
|
|
|
6
8
|
declare const WarningPanel: (props: IPanelProps) => JSX.Element;
|
|
7
9
|
|
package/lib/panel/helpers.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
export { P as default, n as numberAroundZeroAndOne } from '../types-
|
|
2
|
+
export { P as default, n as numberAroundZeroAndOne } from '../types-c1e2d0c9.js';
|
|
3
3
|
import '../@types/PermissionAttr.js';
|
|
4
4
|
import '../internals/colorStyles.js';
|
|
5
|
+
import '../@types/Icon.js';
|
|
6
|
+
import '../icons/helper.js';
|
package/lib/panel/index.d.ts
CHANGED
|
@@ -6,10 +6,12 @@ export { default as SuccessPanel } from './SuccessPanel.js';
|
|
|
6
6
|
export { default as InfoPanel } from './InfoPanel.js';
|
|
7
7
|
export { default as PanelHeader } from './Header.js';
|
|
8
8
|
export { default as PanelContent } from './Content.js';
|
|
9
|
-
import '../types-
|
|
9
|
+
import '../types-c1e2d0c9.js';
|
|
10
10
|
import 'react';
|
|
11
11
|
import '../@types/PermissionAttr.js';
|
|
12
12
|
import '../internals/colorStyles.js';
|
|
13
|
+
import '../@types/Icon.js';
|
|
14
|
+
import '../icons/helper.js';
|
|
13
15
|
|
|
14
16
|
|
|
15
17
|
|