@zohodesk/components 1.0.0-temp-41 → 1.0.0-temp-42
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/README.md +1 -0
- package/es/Appearance/dark/mode/darkMode.module.css +355 -392
- package/es/Appearance/default/mode/defaultMode.module.css +355 -394
- package/es/Avatar/Avatar.js +2 -1
- package/es/Avatar/__tests__/Avatar.spec.js +0 -1
- package/es/AvatarTeam/__tests__/AvatarTeam.spec.js +0 -1
- package/es/Button/__tests__/Button.spec.js +0 -1
- package/es/Buttongroup/__test__/Buttongroup.spec.js +0 -1
- package/es/DateTime/DateTime.js +6 -3
- package/es/DateTime/DateWidget.js +5 -2
- package/es/DateTime/DateWidget.module.css +4 -0
- package/es/DateTime/YearView.js +6 -5
- package/es/DateTime/common.js +9 -2
- package/es/DateTime/dateFormatUtils/dateFormat.js +76 -57
- package/es/DateTime/dateFormatUtils/index.js +12 -7
- package/es/DateTime/dateFormatUtils/timeChange.js +4 -3
- package/es/DateTime/dateFormatUtils/yearChange.js +4 -3
- package/es/DateTime/validator.js +0 -1
- package/es/Label/__tests__/Label.spec.js +0 -2
- package/es/Layout/utils.js +2 -1
- package/es/ListItem/ListItem.js +0 -2
- package/es/ListItem/ListItemWithIcon.js +0 -2
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +15 -10
- package/es/MultiSelect/AdvancedMultiSelect.js +6 -7
- package/es/MultiSelect/AdvancedMultiSelect.module.css +8 -8
- package/es/MultiSelect/MultiSelect.js +23 -11
- package/es/MultiSelect/MultiSelect.module.css +13 -8
- package/es/MultiSelect/MultiSelectWithAvatar.js +3 -6
- package/es/MultiSelect/SelectedOptions.js +2 -3
- package/es/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +2 -1
- package/es/Popup/Popup.js +14 -8
- package/es/Popup/viewPort.js +14 -9
- package/es/Provider/IdProvider.js +5 -4
- package/es/Provider/LibraryContext.js +6 -5
- package/es/Provider/NumberGenerator/NumberGenerator.js +17 -15
- package/es/Provider/ZindexProvider.js +5 -4
- package/es/Radio/Radio.js +2 -1
- package/es/Radio/Radio.module.css +2 -2
- package/es/Responsive/CustomResponsive.js +11 -8
- package/es/Responsive/ResizeComponent.js +3 -1
- package/es/Responsive/Responsive.js +12 -9
- package/es/Responsive/docs/Responsive__Custom.docs.js +49 -44
- package/es/Responsive/docs/Responsive__default.docs.js +77 -74
- package/es/Responsive/sizeObservers.js +5 -1
- package/es/Ribbon/__tests__/Ribbon.spec.js +0 -1
- package/es/RippleEffect/RippleEffect.js +4 -7
- package/es/RippleEffect/RippleEffect.module.css +0 -3
- package/es/Select/GroupSelect.js +2 -1
- package/es/Select/Select.js +16 -1
- package/es/Select/Select.module.css +1 -1
- package/es/Select/SelectWithAvatar.js +4 -7
- package/es/Select/docs/Select__default.docs.js +2 -1
- package/es/Stencils/__tests__/Stencils.spec.js +0 -1
- package/es/Tab/Tab.js +27 -26
- package/es/Tab/TabContent.js +17 -14
- package/es/Tab/TabContentWrapper.js +17 -14
- package/es/Tab/TabWrapper.js +15 -14
- package/es/Tab/Tabs.js +2 -1
- package/es/Tab/docs/Tab__default.docs.js +0 -1
- package/es/Tag/Tag.js +4 -10
- package/es/Tag/Tag.module.css +11 -14
- package/es/Tag/docs/Tag__default.docs.js +0 -70
- package/es/TextBox/__tests__/TextBox.spec.js +0 -1
- package/es/TextBoxIcon/TextBoxIcon.js +1 -1
- package/es/TextBoxIcon/TextBoxIcon.module.css +2 -5
- package/es/TextBoxIcon/__tests__/TextBoxIcon.spec.js +0 -1
- package/es/Textarea/__tests__/Textarea.spec.js +0 -1
- package/es/Tooltip/Tooltip.js +0 -1
- package/es/a11y/FocusScope/FocusScope.js +10 -4
- package/es/beta/FocusRing/FocusRing.js +4 -1
- package/es/utils/Common.js +31 -11
- package/es/utils/datetime/common.js +6 -3
- package/es/utils/dropDownUtils.js +6 -5
- package/es/utils/getInitial.js +3 -1
- package/lib/Accordion/Accordion.js +3 -3
- package/lib/Accordion/AccordionItem.js +3 -3
- package/lib/Accordion/docs/Accordion__Demo.docs.js +3 -3
- package/lib/Animation/Animation.js +3 -3
- package/lib/Animation/docs/Animation__default.docs.js +3 -3
- package/lib/Animation/docs/Animation__fadeIn.docs.js +3 -3
- package/lib/Animation/docs/Animation__scaleIn.docs.js +3 -3
- package/lib/Animation/docs/Animation__skewIn.docs.js +3 -3
- package/lib/Animation/docs/Animation__slideDown.docs.js +3 -3
- package/lib/Animation/docs/Animation__slideLeft.docs.js +3 -3
- package/lib/Animation/docs/Animation__zoomIn.docs.js +3 -3
- package/lib/AppContainer/AppContainer.js +3 -3
- package/lib/AppContainer/docs/AppContainer__default.docs.js +3 -3
- package/lib/Appearance/dark/mode/darkMode.module.css +355 -392
- package/lib/Appearance/default/mode/defaultMode.module.css +355 -394
- package/lib/Avatar/Avatar.js +3 -3
- package/lib/Avatar/docs/Avatar__custom.docs.js +3 -3
- package/lib/Avatar/docs/Avatar__default.docs.js +3 -3
- package/lib/Avatar/docs/Avatar__palette.docs.js +3 -3
- package/lib/Avatar/docs/Avatar__text.docs.js +3 -3
- package/lib/AvatarTeam/AvatarTeam.js +3 -3
- package/lib/AvatarTeam/docs/AvatarTeam__custom.docs.js +3 -3
- package/lib/AvatarTeam/docs/AvatarTeam__default.docs.js +3 -3
- package/lib/AvatarTeam/docs/AvatarTeam__palette.docs.js +3 -3
- package/lib/AvatarTeam/docs/AvatarTeam__size.docs.js +3 -3
- package/lib/Button/Button.js +3 -3
- package/lib/Button/docs/Button__custom.docs.js +3 -3
- package/lib/Button/docs/Button__default.docs.js +3 -3
- package/lib/Buttongroup/Buttongroup.js +3 -3
- package/lib/Buttongroup/docs/Buttongroup__custom.docs.js +3 -3
- package/lib/Buttongroup/docs/Buttongroup__footer.docs.js +3 -3
- package/lib/Buttongroup/docs/Buttongroup__header.docs.js +3 -3
- package/lib/Card/Card.js +4 -4
- package/lib/Card/__tests__/Card.spec.js +1 -1
- package/lib/Card/docs/Card__Custom.docs.js +3 -3
- package/lib/Card/docs/Card__Default.docs.js +3 -3
- package/lib/Card/docs/Card__Scroll.docs.js +3 -3
- package/lib/Card/index.js +7 -7
- package/lib/CheckBox/CheckBox.js +3 -3
- package/lib/CheckBox/docs/CheckBox__custom.docs.js +3 -3
- package/lib/CheckBox/docs/CheckBox__default.docs.js +3 -3
- package/lib/DateTime/CalendarView.js +4 -4
- package/lib/DateTime/DateTime.js +3 -3
- package/lib/DateTime/DateTimePopupFooter.js +3 -3
- package/lib/DateTime/DateTimePopupHeader.js +3 -3
- package/lib/DateTime/DateWidget.js +3 -3
- package/lib/DateTime/DateWidget.module.css +4 -0
- package/lib/DateTime/DaysRow.js +3 -3
- package/lib/DateTime/Time.js +3 -3
- package/lib/DateTime/YearView.js +3 -3
- package/lib/DateTime/__tests__/CalendarView.spec.js +1 -1
- package/lib/DateTime/__tests__/DateTime.spec.js +1 -1
- package/lib/DateTime/constants.js +1 -1
- package/lib/DateTime/dateFormatUtils/dateFormat.js +2 -2
- package/lib/DateTime/dateFormatUtils/index.js +13 -13
- package/lib/DateTime/docs/DateTime__default.docs.js +3 -3
- package/lib/DateTime/docs/DateWidget__default.docs.js +3 -3
- package/lib/DateTime/objectUtils.js +2 -2
- package/lib/DropBox/DropBox.js +3 -3
- package/lib/DropBox/docs/DropBox__custom.docs.js +3 -3
- package/lib/DropBox/docs/DropBox__customOrder.docs.js +3 -3
- package/lib/DropBox/docs/DropBox__fixedPosition.docs.js +3 -3
- package/lib/DropBox/docs/DropBox__position.docs.js +3 -3
- package/lib/DropBox/docs/DropBox__size.docs.js +3 -3
- package/lib/DropDown/DropDown.js +4 -4
- package/lib/DropDown/DropDownHeading.js +3 -3
- package/lib/DropDown/DropDownItem.js +3 -3
- package/lib/DropDown/DropDownSearch.js +3 -3
- package/lib/DropDown/DropDownSeparator.js +3 -3
- package/lib/DropDown/docs/DropDownHeading__custom.docs.js +3 -3
- package/lib/DropDown/docs/DropDownHeading__default.docs.js +3 -3
- package/lib/Label/Label.js +3 -3
- package/lib/Label/docs/Label__clipped.docs.js +3 -3
- package/lib/Label/docs/Label__custom.docs.js +3 -3
- package/lib/Label/docs/Label__palette.docs.js +3 -3
- package/lib/Label/docs/Label__size.docs.js +3 -3
- package/lib/Label/docs/Label__type.docs.js +3 -3
- package/lib/Layout/Box.js +1 -1
- package/lib/Layout/Container.js +1 -1
- package/lib/Layout/docs/Layout__Hidden.docs.js +3 -3
- package/lib/Layout/docs/Layout__default.docs.js +3 -3
- package/lib/Layout/docs/Layout__four_Column.docs.js +3 -3
- package/lib/Layout/docs/Layout__three_Column.docs.js +3 -3
- package/lib/Layout/docs/Layout__two_Column.docs.js +3 -3
- package/lib/Layout/index.js +4 -4
- package/lib/Layout/utils.js +2 -2
- package/lib/LightNightMode/docs/AlternativeColors.docs.js +3 -3
- package/lib/ListItem/ListItem.js +3 -3
- package/lib/ListItem/ListItemWithAvatar.js +3 -3
- package/lib/ListItem/ListItemWithCheckBox.js +3 -3
- package/lib/ListItem/ListItemWithIcon.js +3 -3
- package/lib/ListItem/ListItemWithRadio.js +3 -3
- package/lib/ListItem/docs/ListItemWithAvatar__custom.docs.js +3 -3
- package/lib/ListItem/docs/ListItemWithAvatar__default.docs.js +3 -3
- package/lib/ListItem/docs/ListItemWithCheckBox__custom.docs.js +3 -3
- package/lib/ListItem/docs/ListItemWithCheckBox__default.docs.js +3 -3
- package/lib/ListItem/docs/ListItemWithIcon__custom.docs.js +3 -3
- package/lib/ListItem/docs/ListItemWithIcon__default.docs.js +3 -3
- package/lib/ListItem/docs/ListItemWithRadio__custom.docs.js +3 -3
- package/lib/ListItem/docs/ListItemWithRadio__default.docs.js +3 -3
- package/lib/ListItem/docs/ListItem__custom.docs.js +3 -3
- package/lib/ListItem/docs/ListItem__default.docs.js +3 -3
- package/lib/Modal/Modal.js +3 -3
- package/lib/Modal/__docs__/Modal__default.docs.js +3 -3
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +7 -10
- package/lib/MultiSelect/AdvancedMultiSelect.js +6 -9
- package/lib/MultiSelect/AdvancedMultiSelect.module.css +8 -8
- package/lib/MultiSelect/EmptyState.js +3 -3
- package/lib/MultiSelect/MultiSelect.js +14 -11
- package/lib/MultiSelect/MultiSelect.module.css +13 -8
- package/lib/MultiSelect/MultiSelectHeader.js +3 -3
- package/lib/MultiSelect/MultiSelectWithAvatar.js +6 -9
- package/lib/MultiSelect/SelectedOptions.js +5 -6
- package/lib/MultiSelect/Suggestions.js +5 -5
- package/lib/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +3 -3
- package/lib/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +3 -3
- package/lib/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +3 -3
- package/lib/MultiSelect/docs/MultiSelect__default.docs.js +3 -3
- package/lib/PopOver/PopOver.js +4 -4
- package/lib/PopOver/docs/PopOver__default.docs.js +3 -3
- package/lib/Popup/Popup.js +3 -3
- package/lib/Popup/__tests__/Popup.spec.js +3 -3
- package/lib/Provider/IdProvider.js +3 -3
- package/lib/Provider/LibraryContext.js +3 -3
- package/lib/Provider/NumberGenerator/NumberGenerator.js +2 -2
- package/lib/Provider/ZindexProvider.js +1 -1
- package/lib/Provider/docs/Provider_Id__Class.docs.js +3 -3
- package/lib/Provider/docs/Provider_Zindex__Class.docs.js +3 -3
- package/lib/Provider.js +3 -3
- package/lib/Radio/Radio.js +6 -4
- package/lib/Radio/Radio.module.css +2 -2
- package/lib/Radio/docs/Radio__custom.docs.js +3 -3
- package/lib/Radio/docs/Radio__default.docs.js +3 -3
- package/lib/Responsive/CustomResponsive.js +4 -4
- package/lib/Responsive/RefWrapper.js +1 -1
- package/lib/Responsive/ResizeComponent.js +3 -3
- package/lib/Responsive/ResizeObserver.js +1 -1
- package/lib/Responsive/Responsive.js +6 -5
- package/lib/Responsive/docs/Responsive__Custom.docs.js +3 -3
- package/lib/Responsive/docs/Responsive__default.docs.js +3 -3
- package/lib/Responsive/sizeObservers.js +6 -5
- package/lib/Responsive/utils/index.js +3 -2
- package/lib/Responsive/utils/shallowCompare.js +1 -1
- package/lib/Ribbon/Ribbon.js +3 -3
- package/lib/Ribbon/docs/Ribbon__custom.docs.js +3 -3
- package/lib/Ribbon/docs/Ribbon__default.docs.js +3 -3
- package/lib/RippleEffect/RippleEffect.js +4 -7
- package/lib/RippleEffect/RippleEffect.module.css +0 -3
- package/lib/RippleEffect/docs/RippleEffect__default.docs.js +3 -3
- package/lib/Select/GroupSelect.js +3 -3
- package/lib/Select/Select.js +19 -5
- package/lib/Select/Select.module.css +1 -1
- package/lib/Select/SelectWithAvatar.js +7 -10
- package/lib/Select/SelectWithIcon.js +3 -3
- package/lib/Select/docs/GroupSelect__default.docs.js +3 -3
- package/lib/Select/docs/SelectWithAvatar__default.docs.js +3 -3
- package/lib/Select/docs/SelectWithIcon__default.docs.js +3 -3
- package/lib/Select/docs/Select__default.docs.js +3 -3
- package/lib/Stencils/Stencils.js +3 -3
- package/lib/Stencils/docs/Stencils__custom.docs.js +3 -3
- package/lib/Stencils/docs/Stencils__default.docs.js +3 -3
- package/lib/Switch/Switch.js +3 -3
- package/lib/Switch/docs/Switch__custom.docs.js +3 -3
- package/lib/Switch/docs/Switch__default.docs.js +3 -3
- package/lib/Tab/Tab.js +1 -1
- package/lib/Tab/TabWrapper.js +1 -1
- package/lib/Tab/Tabs.js +3 -3
- package/lib/Tab/docs/Tab__default.docs.js +3 -3
- package/lib/Tab/index.js +10 -10
- package/lib/Tag/Tag.js +7 -13
- package/lib/Tag/Tag.module.css +11 -14
- package/lib/Tag/docs/Tag__custom.docs.js +3 -3
- package/lib/Tag/docs/Tag__default.docs.js +3 -73
- package/lib/TextBox/TextBox.js +3 -3
- package/lib/TextBox/docs/TextBox__custom.docs.js +3 -3
- package/lib/TextBox/docs/TextBox__default.docs.js +3 -3
- package/lib/TextBox/docs/TextBox__size.docs.js +3 -3
- package/lib/TextBox/docs/TextBox__variant.docs.js +3 -3
- package/lib/TextBoxIcon/TextBoxIcon.js +4 -4
- package/lib/TextBoxIcon/TextBoxIcon.module.css +2 -5
- package/lib/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +3 -3
- package/lib/TextBoxIcon/docs/TextBoxIcon__default.docs.js +3 -3
- package/lib/Textarea/Textarea.js +3 -3
- package/lib/Textarea/docs/Textarea__animated.docs.js +3 -3
- package/lib/Textarea/docs/Textarea__custom.docs.js +3 -3
- package/lib/Textarea/docs/Textarea__default.docs.js +3 -3
- package/lib/Textarea/docs/Textarea__disabled.docs.js +3 -3
- package/lib/Tooltip/Tooltip.js +3 -3
- package/lib/Tooltip/__tests__/Tooltip.spec.js +3 -3
- package/lib/Tooltip/docs/Tooltip__default.docs.js +3 -3
- package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +3 -3
- package/lib/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +3 -3
- package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +3 -3
- package/lib/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +3 -3
- package/lib/a11y/FocusScope/FocusScope.js +2 -2
- package/lib/a11y/FocusScope/docs/FocusScope__default.docs.js +3 -3
- package/lib/beta/FocusRing/FocusRing.js +3 -3
- package/lib/beta/FocusRing/docs/FocusRing__default.docs.js +3 -3
- package/lib/deprecated/PortalLayer/PortalLayer.js +3 -3
- package/lib/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +3 -3
- package/lib/index.js +310 -310
- package/lib/semantic/Button/Button.js +3 -3
- package/lib/semantic/Button/docs/Button__default.docs.js +3 -3
- package/lib/utils/Common.js +20 -16
- package/lib/utils/datetime/common.js +10 -10
- package/lib/utils/dropDownUtils.js +2 -2
- package/lib/utils/shallowEqual.js +1 -1
- package/package.json +2 -2
- package/preprocess/componentAppearanceColors.js +65 -0
- package/preprocess/componentThemeColors.js +1 -1
- package/preprocess/ctaThemeColors.js +1 -1
- package/preprocess/index.js +2 -1
- package/preprocess/json/componentAppearanceVariableJson.js +1515 -0
- /package/preprocess/json/{componentVariableJson.js → componentThemeVariableJson.js} +0 -0
- /package/preprocess/json/{ctaVariableJson.js → ctaThemeVariableJson.js} +0 -0
package/es/Tag/Tag.module.css
CHANGED
|
@@ -50,11 +50,8 @@
|
|
|
50
50
|
}
|
|
51
51
|
.disabled {
|
|
52
52
|
pointer-events: none;
|
|
53
|
-
--tag_text_color: var(--zdt_tag_disabled_text);
|
|
54
|
-
}
|
|
55
|
-
.readonly,
|
|
56
|
-
.disabled {
|
|
57
53
|
--tag_cursor: not-allowed;
|
|
54
|
+
--tag_text_color: var(--zdt_tag_disabled_text);
|
|
58
55
|
}
|
|
59
56
|
.pointer {
|
|
60
57
|
--tag_cursor: pointer;
|
|
@@ -161,11 +158,11 @@
|
|
|
161
158
|
.danger {
|
|
162
159
|
--tag_bg_color: var(--zdt_tag_default_danger_bg);
|
|
163
160
|
}
|
|
164
|
-
.
|
|
161
|
+
.default:hover {
|
|
165
162
|
--tag_bg_color: var(--zdt_tag_default_hover_bg);
|
|
166
163
|
}
|
|
167
164
|
.activedefault,
|
|
168
|
-
.
|
|
165
|
+
.activedefault:hover {
|
|
169
166
|
--tag_bg_color: var(--zdt_tag_active_default_bg);
|
|
170
167
|
}
|
|
171
168
|
.activeprimaryClose,
|
|
@@ -173,11 +170,11 @@
|
|
|
173
170
|
--tag_closeicon_bg_color: var(--zdt_tag_primary_bg);
|
|
174
171
|
}
|
|
175
172
|
|
|
176
|
-
.
|
|
173
|
+
.danger:hover {
|
|
177
174
|
--tag_bg_color: var(--zdt_tag_danger_hover_bg);
|
|
178
175
|
}
|
|
179
176
|
.activedanger,
|
|
180
|
-
.
|
|
177
|
+
.activedanger:hover {
|
|
181
178
|
--tag_bg_color: var(--zdt_tag_danger_hover_bg);
|
|
182
179
|
}
|
|
183
180
|
.activedangerClose,
|
|
@@ -190,7 +187,7 @@
|
|
|
190
187
|
--tag_text_color: var(--zdt_tag_secondary_text);
|
|
191
188
|
}
|
|
192
189
|
.activesecondary,
|
|
193
|
-
.
|
|
190
|
+
.secondary:hover {
|
|
194
191
|
--tag_bg_color: var(--zdt_tag_secondary_hover_bg);
|
|
195
192
|
}
|
|
196
193
|
|
|
@@ -199,12 +196,12 @@
|
|
|
199
196
|
--tag_border_width: 1px;
|
|
200
197
|
--tag_border_color: var(--zdt_tag_pure_border);
|
|
201
198
|
}
|
|
202
|
-
.
|
|
199
|
+
.pureDotted:hover {
|
|
203
200
|
--tag_bg_color: var(--zdt_tag_pure_hover_bg);
|
|
204
201
|
--tag_border_color: var(--zdt_tag_pure_hover_border);
|
|
205
202
|
}
|
|
206
203
|
.activepureDotted,
|
|
207
|
-
.
|
|
204
|
+
.activepureDotted:hover {
|
|
208
205
|
--tag_bg_color: var(--zdt_tag_pure_bg);
|
|
209
206
|
}
|
|
210
207
|
|
|
@@ -213,10 +210,10 @@
|
|
|
213
210
|
--tag_border_width: 1px;
|
|
214
211
|
--tag_border_color: var(--zdt_tag_primary_border);
|
|
215
212
|
}
|
|
216
|
-
.
|
|
213
|
+
.primaryDotted:hover,
|
|
217
214
|
.activeprimaryDotted,
|
|
218
215
|
.primary,
|
|
219
|
-
.
|
|
216
|
+
.primary:hover {
|
|
220
217
|
--tag_bg_color: var(--zdt_tag_active_default_bg);
|
|
221
218
|
}
|
|
222
219
|
|
|
@@ -231,7 +228,7 @@
|
|
|
231
228
|
--tag_bg_color: var(--zdt_tag_dark_bg);
|
|
232
229
|
--tag_text_color: var(--zdt_tag_dark_text);
|
|
233
230
|
}
|
|
234
|
-
.
|
|
231
|
+
.dark:hover {
|
|
235
232
|
--tag_bg_color: var(--zdt_tag_dark_hover_bg);
|
|
236
233
|
--tag_text_color: var(--zdt_tag_dark_hover_text);
|
|
237
234
|
}
|
|
@@ -135,76 +135,6 @@ export default class Tag__default extends Component {
|
|
|
135
135
|
}, /*#__PURE__*/React.createElement(Tag, {
|
|
136
136
|
text: "Bharathi",
|
|
137
137
|
palette: "primaryDotted"
|
|
138
|
-
})), /*#__PURE__*/React.createElement("span", {
|
|
139
|
-
style: spanStyle
|
|
140
|
-
}, /*#__PURE__*/React.createElement(Tag, {
|
|
141
|
-
text: "Bharathi",
|
|
142
|
-
palette: "dark"
|
|
143
|
-
})), /*#__PURE__*/React.createElement("span", {
|
|
144
|
-
style: spanStyle
|
|
145
|
-
}, /*#__PURE__*/React.createElement(Tag, {
|
|
146
|
-
text: "Bharathi",
|
|
147
|
-
palette: "pureDarkDotted"
|
|
148
|
-
})), /*#__PURE__*/React.createElement("span", {
|
|
149
|
-
style: spanStyle
|
|
150
|
-
}, /*#__PURE__*/React.createElement(Tag, {
|
|
151
|
-
text: "Bharathi",
|
|
152
|
-
palette: "darkPrimaryDotted"
|
|
153
|
-
})))), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
154
|
-
style: titleStyle
|
|
155
|
-
}, "Palette with Read-only"), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("span", {
|
|
156
|
-
style: spanStyle
|
|
157
|
-
}, /*#__PURE__*/React.createElement(Tag, {
|
|
158
|
-
text: "Bharathi",
|
|
159
|
-
imageURL: "https://iz.zohostatic.com/sites/default/files/styles/product-home-page/public/Desk-logo.png?itok=NW1geavh",
|
|
160
|
-
hasAvatar: true,
|
|
161
|
-
palette: "default",
|
|
162
|
-
isReadOnly: true
|
|
163
|
-
})), /*#__PURE__*/React.createElement("span", {
|
|
164
|
-
style: spanStyle
|
|
165
|
-
}, /*#__PURE__*/React.createElement(Tag, {
|
|
166
|
-
text: "Bharathi",
|
|
167
|
-
rounded: false,
|
|
168
|
-
initial: "TT",
|
|
169
|
-
hasAvatar: true,
|
|
170
|
-
palette: "danger",
|
|
171
|
-
isReadOnly: true
|
|
172
|
-
})), /*#__PURE__*/React.createElement("span", {
|
|
173
|
-
style: spanStyle
|
|
174
|
-
}, /*#__PURE__*/React.createElement(Tag, {
|
|
175
|
-
text: "Bharathi",
|
|
176
|
-
palette: "secondary",
|
|
177
|
-
isReadOnly: true
|
|
178
|
-
})), /*#__PURE__*/React.createElement("span", {
|
|
179
|
-
style: spanStyle
|
|
180
|
-
}, /*#__PURE__*/React.createElement(Tag, {
|
|
181
|
-
text: "Bharathi",
|
|
182
|
-
palette: "pureDotted",
|
|
183
|
-
isReadOnly: true
|
|
184
|
-
})), /*#__PURE__*/React.createElement("span", {
|
|
185
|
-
style: spanStyle
|
|
186
|
-
}, /*#__PURE__*/React.createElement(Tag, {
|
|
187
|
-
text: "Bharathi",
|
|
188
|
-
palette: "primaryDotted",
|
|
189
|
-
isReadOnly: true
|
|
190
|
-
})), /*#__PURE__*/React.createElement("span", {
|
|
191
|
-
style: spanStyle
|
|
192
|
-
}, /*#__PURE__*/React.createElement(Tag, {
|
|
193
|
-
text: "Bharathi",
|
|
194
|
-
palette: "dark",
|
|
195
|
-
isReadOnly: true
|
|
196
|
-
})), /*#__PURE__*/React.createElement("span", {
|
|
197
|
-
style: spanStyle
|
|
198
|
-
}, /*#__PURE__*/React.createElement(Tag, {
|
|
199
|
-
text: "Bharathi",
|
|
200
|
-
palette: "pureDarkDotted",
|
|
201
|
-
isReadOnly: true
|
|
202
|
-
})), /*#__PURE__*/React.createElement("span", {
|
|
203
|
-
style: spanStyle
|
|
204
|
-
}, /*#__PURE__*/React.createElement(Tag, {
|
|
205
|
-
text: "Bharathi",
|
|
206
|
-
palette: "darkPrimaryDotted",
|
|
207
|
-
isReadOnly: true
|
|
208
138
|
})))), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
209
139
|
style: titleStyle
|
|
210
140
|
}, "Rounded"), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("span", {
|
|
@@ -100,7 +100,7 @@ export default class TextBoxIcon extends React.Component {
|
|
|
100
100
|
return /*#__PURE__*/React.createElement(Container, {
|
|
101
101
|
alignBox: "row",
|
|
102
102
|
isCover: false,
|
|
103
|
-
className: `${style.container} ${isDisabled ? style.disabled : isReadOnly ? needEffect ? style.effect :
|
|
103
|
+
className: `${style.container} ${isDisabled ? style.disabled : isReadOnly ? needEffect ? style.effect : '' : style.effect} ${isActive || isFocus ? style.effectFocused : ''} ${customTBoxWrap} ${iconOnHover && (isReadOnly || isDisabled) ? style.iconOnHoverReadonly : iconOnHover && !(isReadOnly || isDisabled) ? style.iconOnHoverStyle : ''}`,
|
|
104
104
|
"data-title": isDisabled ? title : ''
|
|
105
105
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
106
106
|
flexible: true
|
|
@@ -12,11 +12,8 @@
|
|
|
12
12
|
composes: varClass;
|
|
13
13
|
position: relative;
|
|
14
14
|
}
|
|
15
|
-
.disabled
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
.disabled, .readonly {
|
|
19
|
-
cursor: not-allowed;
|
|
15
|
+
.disabled {
|
|
16
|
+
composes: disabled from '../common/common.module.css';
|
|
20
17
|
}
|
|
21
18
|
.icon {
|
|
22
19
|
composes: offSelection from '../common/common.module.css';
|
package/es/Tooltip/Tooltip.js
CHANGED
|
@@ -225,7 +225,9 @@ function useFocusContainment(scopeRef, contain) {
|
|
|
225
225
|
}, [raf]);
|
|
226
226
|
}
|
|
227
227
|
|
|
228
|
-
function isElementInAnyScope(element
|
|
228
|
+
function isElementInAnyScope(element) {
|
|
229
|
+
let scopes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
|
|
230
|
+
|
|
229
231
|
for (let scope of scopes.values()) {
|
|
230
232
|
if (isElementInScope(element, scope.current)) {
|
|
231
233
|
return true;
|
|
@@ -235,11 +237,14 @@ function isElementInAnyScope(element, scopes = []) {
|
|
|
235
237
|
return false;
|
|
236
238
|
}
|
|
237
239
|
|
|
238
|
-
function isElementInScope(element
|
|
240
|
+
function isElementInScope(element) {
|
|
241
|
+
let scope = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
|
|
239
242
|
return scope.some(node => node.contains(element));
|
|
240
243
|
}
|
|
241
244
|
|
|
242
|
-
function focusElement(
|
|
245
|
+
function focusElement() {
|
|
246
|
+
let element = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
247
|
+
|
|
243
248
|
if (element != null) {
|
|
244
249
|
element.focus();
|
|
245
250
|
}
|
|
@@ -259,7 +264,8 @@ function findElement(elements) {
|
|
|
259
264
|
return ele.length ? ele[0] : null;
|
|
260
265
|
}
|
|
261
266
|
|
|
262
|
-
function focusFirstInScope(
|
|
267
|
+
function focusFirstInScope() {
|
|
268
|
+
let scope = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
263
269
|
let elements = getFocusableElementsInScope(scope, {
|
|
264
270
|
tabbable: true
|
|
265
271
|
});
|
|
@@ -16,7 +16,10 @@ const FOCUS_VISIBLE_INPUT_KEYS = {
|
|
|
16
16
|
Escape: false
|
|
17
17
|
};
|
|
18
18
|
|
|
19
|
-
function triggerChangeHandlers(
|
|
19
|
+
function triggerChangeHandlers() {
|
|
20
|
+
let evType = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : eventFrom;
|
|
21
|
+
let e = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : eventType;
|
|
22
|
+
|
|
20
23
|
for (let handler of changeHandlers) {
|
|
21
24
|
handler(evType, e);
|
|
22
25
|
}
|
package/es/utils/Common.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import "core-js/modules/es.string.replace";
|
|
2
1
|
//$Id$//
|
|
3
2
|
import viewPort from '../Popup/viewPort';
|
|
4
3
|
const {
|
|
@@ -39,11 +38,14 @@ export function encodeForHtml(str) {
|
|
|
39
38
|
|
|
40
39
|
return str;
|
|
41
40
|
}
|
|
42
|
-
export function getListOfDetails(
|
|
41
|
+
export function getListOfDetails() {
|
|
42
|
+
let Obj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
43
|
+
let fn = arguments.length > 1 ? arguments[1] : undefined;
|
|
43
44
|
const ids = Object.keys(Obj) || [];
|
|
44
45
|
return ids.map(id => fn(Obj[id]));
|
|
45
46
|
}
|
|
46
|
-
export function capitalize(
|
|
47
|
+
export function capitalize() {
|
|
48
|
+
let value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
47
49
|
let newValue = '';
|
|
48
50
|
|
|
49
51
|
for (let i = 0; i < value.length; i++) {
|
|
@@ -56,12 +58,18 @@ export function capitalize(value = '') {
|
|
|
56
58
|
|
|
57
59
|
return newValue;
|
|
58
60
|
}
|
|
59
|
-
export function bind(
|
|
61
|
+
export function bind() {
|
|
62
|
+
for (var _len = arguments.length, handlers = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
63
|
+
handlers[_key] = arguments[_key];
|
|
64
|
+
}
|
|
65
|
+
|
|
60
66
|
handlers.forEach(handler => {
|
|
61
67
|
this[handler] = this[handler].bind(this);
|
|
62
68
|
});
|
|
63
69
|
}
|
|
64
|
-
export function getFullName(
|
|
70
|
+
export function getFullName() {
|
|
71
|
+
let firstName = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
72
|
+
let lastName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
65
73
|
let fullName = '';
|
|
66
74
|
|
|
67
75
|
if (firstName !== null && firstName !== '') {
|
|
@@ -74,7 +82,8 @@ export function getFullName(firstName = '', lastName = '') {
|
|
|
74
82
|
|
|
75
83
|
return fullName;
|
|
76
84
|
}
|
|
77
|
-
export function getStringifiedOutputForJson(
|
|
85
|
+
export function getStringifiedOutputForJson() {
|
|
86
|
+
let input = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
78
87
|
const keys = Object.keys(input);
|
|
79
88
|
const modifiedInput = keys.reduce((curr, next) => {
|
|
80
89
|
const values = input[next] || [];
|
|
@@ -110,14 +119,19 @@ export function filterValue(obj, val) {
|
|
|
110
119
|
});
|
|
111
120
|
return result;
|
|
112
121
|
}
|
|
113
|
-
export function merge(
|
|
122
|
+
export function merge() {
|
|
123
|
+
let oldObj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
124
|
+
let newObj = arguments.length > 1 ? arguments[1] : undefined;
|
|
114
125
|
const copyOfOld = Object.assign({}, oldObj);
|
|
115
126
|
return Object.keys(newObj).reduce((res, key) => {
|
|
116
127
|
res[key] = Object.assign({}, res[key] || {}, newObj[key]);
|
|
117
128
|
return res;
|
|
118
129
|
}, copyOfOld);
|
|
119
130
|
}
|
|
120
|
-
export function formatValue(
|
|
131
|
+
export function formatValue() {
|
|
132
|
+
let values = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
133
|
+
let valueField = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'id';
|
|
134
|
+
let textField = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'name';
|
|
121
135
|
return values && values.map(value => {
|
|
122
136
|
let formattedValue = value;
|
|
123
137
|
|
|
@@ -141,7 +155,8 @@ export function bytesToSize(bytes) {
|
|
|
141
155
|
const i = parseInt(Math.floor(Math.log(bytes) / Math.log(1024)), 10);
|
|
142
156
|
return `${Math.round(bytes / Math.pow(1024, i), 2)} ${sizes[i]}`;
|
|
143
157
|
}
|
|
144
|
-
export function getMemSize(bytes
|
|
158
|
+
export function getMemSize(bytes) {
|
|
159
|
+
let size = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !0;
|
|
145
160
|
const thresh = size ? 1000 : 1024;
|
|
146
161
|
|
|
147
162
|
if (Math.abs(bytes) < thresh) {
|
|
@@ -274,7 +289,11 @@ export const debounce = function (func, wait) {
|
|
|
274
289
|
};
|
|
275
290
|
};
|
|
276
291
|
let timerId;
|
|
277
|
-
export const throttle = (func, wait
|
|
292
|
+
export const throttle = function (func, wait) {
|
|
293
|
+
for (var _len2 = arguments.length, args = new Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {
|
|
294
|
+
args[_key2 - 2] = arguments[_key2];
|
|
295
|
+
}
|
|
296
|
+
|
|
278
297
|
if (timerId) {
|
|
279
298
|
return;
|
|
280
299
|
}
|
|
@@ -344,6 +363,7 @@ export function getElementSpace(elementRef) {
|
|
|
344
363
|
availableInsideSpace: availableInsideSpace
|
|
345
364
|
};
|
|
346
365
|
}
|
|
347
|
-
export function getSearchString(
|
|
366
|
+
export function getSearchString() {
|
|
367
|
+
let charachers = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
348
368
|
return (charachers || '').toString().toLowerCase(); //.replace(/\s+/g, '');
|
|
349
369
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import "core-js/modules/es.string.replace";
|
|
2
1
|
let dateFormat = {
|
|
3
2
|
dayNames: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
|
|
4
3
|
monthNames: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec', 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
|
|
5
4
|
timeNames: ['a', 'p', 'am', 'pm', 'A', 'P', 'AM', 'PM']
|
|
6
5
|
};
|
|
7
|
-
export function pad(n
|
|
6
|
+
export function pad(n) {
|
|
7
|
+
let width = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
|
|
8
|
+
let z = arguments.length > 2 ? arguments[2] : undefined;
|
|
8
9
|
z = z || '0';
|
|
9
10
|
n = `${n}`;
|
|
10
11
|
return n.length >= width ? n : new Array(width - n.length + 1).join(z) + n;
|
|
@@ -76,7 +77,9 @@ export function replaceI18NValuesWithRegex(i18nStr, values) {
|
|
|
76
77
|
export function unescapeUnicode(str) {
|
|
77
78
|
return str.replace(/\\u([a-fA-F0-9]{4})/g, (g, m1) => String.fromCharCode(parseInt(m1, 16)));
|
|
78
79
|
}
|
|
79
|
-
export function getValues(
|
|
80
|
+
export function getValues() {
|
|
81
|
+
let params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
82
|
+
let diff = arguments.length > 1 ? arguments[1] : undefined;
|
|
80
83
|
return params.map(param => diff[param]);
|
|
81
84
|
}
|
|
82
85
|
export function getI18NValue(i18n) {
|
|
@@ -377,11 +377,12 @@ export const makeGetOptionIdChange = () => createSelector([getOptions, getValueF
|
|
|
377
377
|
return changedOptions;
|
|
378
378
|
}, newOptions);
|
|
379
379
|
});
|
|
380
|
-
export const filterSelectedOptions = ({
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
380
|
+
export const filterSelectedOptions = function () {
|
|
381
|
+
let {
|
|
382
|
+
selectedOptions = dummyArray,
|
|
383
|
+
propSelectedOptions = dummyArray,
|
|
384
|
+
disabledOptions = dummyArray
|
|
385
|
+
} = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
385
386
|
// eslint-disable-next-line no-param-reassign
|
|
386
387
|
selectedOptions = selectedOptions || dummyArray; // eslint-disable-next-line no-param-reassign
|
|
387
388
|
|
package/es/utils/getInitial.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
export function getInitial(
|
|
1
|
+
export function getInitial() {
|
|
2
|
+
let firstName = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
3
|
+
let lastName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
2
4
|
let initial = '';
|
|
3
5
|
|
|
4
6
|
if (firstName) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -17,9 +17,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
17
17
|
|
|
18
18
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
19
19
|
|
|
20
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
20
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
21
21
|
|
|
22
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass
|
|
22
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
23
23
|
|
|
24
24
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
25
25
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
21
21
|
|
|
22
22
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
23
23
|
|
|
24
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
24
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
25
25
|
|
|
26
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass
|
|
26
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
27
27
|
|
|
28
28
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
29
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -19,9 +19,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
19
19
|
|
|
20
20
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
21
21
|
|
|
22
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
22
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
23
23
|
|
|
24
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass
|
|
24
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
25
25
|
|
|
26
26
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
27
27
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
21
21
|
|
|
22
22
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
23
23
|
|
|
24
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
24
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
25
25
|
|
|
26
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass
|
|
26
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
27
27
|
|
|
28
28
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
29
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
21
21
|
|
|
22
22
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
23
23
|
|
|
24
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
24
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
25
25
|
|
|
26
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass
|
|
26
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
27
27
|
|
|
28
28
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
29
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
21
21
|
|
|
22
22
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
23
23
|
|
|
24
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
24
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
25
25
|
|
|
26
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass
|
|
26
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
27
27
|
|
|
28
28
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
29
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
21
21
|
|
|
22
22
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
23
23
|
|
|
24
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
24
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
25
25
|
|
|
26
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass
|
|
26
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
27
27
|
|
|
28
28
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
29
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
21
21
|
|
|
22
22
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
23
23
|
|
|
24
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
24
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
25
25
|
|
|
26
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass
|
|
26
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
27
27
|
|
|
28
28
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
29
|
|