@aotearoan/neon 9.2.9 → 9.3.0
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/components/navigation/link/NeonLink.cjs.js +1 -1
- package/dist/components/navigation/link/NeonLink.es.js +15 -6
- package/dist/components/navigation/link/NeonLink.es.js.map +1 -1
- package/dist/components/navigation/link/{NeonLink.ts_vue_type_script_src_037ccc85_lang.cjs.js → NeonLink.ts_vue_type_script_src_5a48e750_lang.cjs.js} +1 -1
- package/dist/components/navigation/link/{NeonLink.ts_vue_type_script_src_037ccc85_lang.cjs.js.map → NeonLink.ts_vue_type_script_src_5a48e750_lang.cjs.js.map} +1 -1
- package/dist/components/navigation/link/{NeonLink.ts_vue_type_script_src_037ccc85_lang.es.js → NeonLink.ts_vue_type_script_src_5a48e750_lang.es.js} +1 -1
- package/dist/components/navigation/link/{NeonLink.ts_vue_type_script_src_037ccc85_lang.es.js.map → NeonLink.ts_vue_type_script_src_5a48e750_lang.es.js.map} +1 -1
- package/dist/components/presentation/icon/NeonIcon.cjs.js +1 -1
- package/dist/components/presentation/icon/NeonIcon.es.js +6 -2
- package/dist/components/presentation/icon/NeonIcon.es.js.map +1 -1
- package/dist/components/presentation/icon/{NeonIcon.ts_vue_type_script_src_3580e0c3_lang.cjs.js → NeonIcon.ts_vue_type_script_src_d3713f20_lang.cjs.js} +1 -1
- package/dist/components/presentation/icon/{NeonIcon.ts_vue_type_script_src_3580e0c3_lang.cjs.js.map → NeonIcon.ts_vue_type_script_src_d3713f20_lang.cjs.js.map} +1 -1
- package/dist/components/presentation/icon/{NeonIcon.ts_vue_type_script_src_3580e0c3_lang.es.js → NeonIcon.ts_vue_type_script_src_d3713f20_lang.es.js} +1 -1
- package/dist/components/presentation/icon/{NeonIcon.ts_vue_type_script_src_3580e0c3_lang.es.js.map → NeonIcon.ts_vue_type_script_src_d3713f20_lang.es.js.map} +1 -1
- package/dist/components/user-input/button/NeonButton.cjs.js +1 -1
- package/dist/components/user-input/button/NeonButton.es.js +3 -7
- package/dist/components/user-input/button/NeonButton.es.js.map +1 -1
- package/dist/components/user-input/button/NeonButton.ts_vue_type_script_src_7c4eb572_lang.cjs.js +2 -0
- package/dist/components/user-input/button/NeonButton.ts_vue_type_script_src_7c4eb572_lang.cjs.js.map +1 -0
- package/dist/components/user-input/button/{NeonButton.ts_vue_type_script_src_32308d32_lang.es.js → NeonButton.ts_vue_type_script_src_7c4eb572_lang.es.js} +5 -2
- package/dist/components/user-input/button/NeonButton.ts_vue_type_script_src_7c4eb572_lang.es.js.map +1 -0
- package/dist/components/user-input/date-picker/NeonDatePicker.cjs.js +1 -1
- package/dist/components/user-input/date-picker/NeonDatePicker.es.js +2 -1
- package/dist/components/user-input/date-picker/NeonDatePicker.es.js.map +1 -1
- package/dist/components/user-input/date-picker/{NeonDatePicker.ts_vue_type_script_src_01c3f912_lang.cjs.js → NeonDatePicker.ts_vue_type_script_src_56e4ee8a_lang.cjs.js} +1 -1
- package/dist/components/user-input/date-picker/{NeonDatePicker.ts_vue_type_script_src_01c3f912_lang.cjs.js.map → NeonDatePicker.ts_vue_type_script_src_56e4ee8a_lang.cjs.js.map} +1 -1
- package/dist/components/user-input/date-picker/{NeonDatePicker.ts_vue_type_script_src_01c3f912_lang.es.js → NeonDatePicker.ts_vue_type_script_src_56e4ee8a_lang.es.js} +1 -1
- package/dist/components/user-input/date-picker/{NeonDatePicker.ts_vue_type_script_src_01c3f912_lang.es.js.map → NeonDatePicker.ts_vue_type_script_src_56e4ee8a_lang.es.js.map} +1 -1
- package/dist/components/user-input/input/NeonInput.cjs.js +1 -1
- package/dist/components/user-input/input/NeonInput.es.js +3 -2
- package/dist/components/user-input/input/NeonInput.es.js.map +1 -1
- package/dist/components/user-input/input/{NeonInput.ts_vue_type_script_src_62c5c4a9_lang.cjs.js → NeonInput.ts_vue_type_script_src_2bebb33c_lang.cjs.js} +1 -1
- package/dist/components/user-input/input/{NeonInput.ts_vue_type_script_src_62c5c4a9_lang.cjs.js.map → NeonInput.ts_vue_type_script_src_2bebb33c_lang.cjs.js.map} +1 -1
- package/dist/components/user-input/input/{NeonInput.ts_vue_type_script_src_62c5c4a9_lang.es.js → NeonInput.ts_vue_type_script_src_2bebb33c_lang.es.js} +1 -1
- package/dist/components/user-input/input/{NeonInput.ts_vue_type_script_src_62c5c4a9_lang.es.js.map → NeonInput.ts_vue_type_script_src_2bebb33c_lang.es.js.map} +1 -1
- package/dist/src/common/enums/NeonAlertLevel.d.ts +6 -0
- package/dist/src/common/enums/NeonAlertPlacement.d.ts +6 -0
- package/dist/src/common/enums/NeonButtonSize.d.ts +6 -0
- package/dist/src/common/enums/NeonButtonStyle.d.ts +5 -0
- package/dist/src/common/enums/NeonChipAction.d.ts +4 -0
- package/dist/src/common/enums/NeonDropdownPlacement.d.ts +10 -0
- package/dist/src/common/enums/NeonDropdownStyle.d.ts +6 -0
- package/dist/src/common/enums/NeonFunctionalColor.d.ts +11 -0
- package/dist/src/common/enums/NeonHorizontalPosition.d.ts +4 -0
- package/dist/src/common/enums/NeonInputMode.d.ts +10 -0
- package/dist/src/common/enums/NeonInputType.d.ts +14 -0
- package/dist/src/common/enums/NeonLabelSize.d.ts +4 -0
- package/dist/src/common/enums/NeonMode.d.ts +4 -0
- package/dist/src/common/enums/NeonOrientation.d.ts +4 -0
- package/dist/src/common/enums/NeonOutlineStyle.d.ts +7 -0
- package/dist/src/common/enums/NeonPlacement.d.ts +6 -0
- package/dist/src/common/enums/NeonPosition.d.ts +6 -0
- package/dist/src/common/enums/NeonResponsive.d.ts +11 -0
- package/dist/src/common/enums/NeonSize.d.ts +5 -0
- package/dist/src/common/enums/NeonSplashLoaderSize.d.ts +6 -0
- package/dist/src/common/enums/NeonState.d.ts +6 -0
- package/dist/src/common/enums/NeonSwitchStyle.d.ts +4 -0
- package/dist/src/common/enums/NeonToggleStyle.d.ts +4 -0
- package/dist/src/common/enums/NeonTooltipStyle.d.ts +4 -0
- package/dist/src/common/enums/NeonVerticalPosition.d.ts +4 -0
- package/dist/src/common/models/NeonActionMenuModel.d.ts +7 -0
- package/dist/src/common/models/NeonAlertAction.d.ts +13 -0
- package/dist/src/common/models/NeonAlertMessage.d.ts +38 -0
- package/dist/src/common/models/NeonAvailableSpace.d.ts +9 -0
- package/dist/src/common/models/NeonCalendarConfig.d.ts +13 -0
- package/dist/src/common/models/NeonContrastAccessibility.d.ts +7 -0
- package/dist/src/common/models/NeonDate.d.ts +10 -0
- package/dist/src/common/models/NeonDropdownMenuItem.d.ts +10 -0
- package/dist/src/common/models/NeonDropdownPlacementObject.d.ts +23 -0
- package/dist/src/common/models/NeonFilterListItem.d.ts +9 -0
- package/dist/src/common/models/NeonGridModel.d.ts +19 -0
- package/dist/src/common/models/NeonListItem.d.ts +7 -0
- package/dist/src/common/models/NeonMenuItem.d.ts +7 -0
- package/dist/src/common/models/NeonMenuModel.d.ts +4 -0
- package/dist/src/common/models/NeonNumberFormatOptions.d.ts +6 -0
- package/dist/src/common/models/NeonSearchOption.d.ts +11 -0
- package/dist/src/common/models/NeonSelectGroup.d.ts +8 -0
- package/dist/src/common/models/NeonSelectOption.d.ts +10 -0
- package/dist/src/common/models/NeonTabModel.d.ts +5 -0
- package/dist/src/common/models/NeonToastMessage.d.ts +23 -0
- package/dist/src/common/models/NeonToggleModel.d.ts +6 -0
- package/dist/src/common/models/NeonTreeMenuLinkModel.d.ts +6 -0
- package/dist/src/common/models/NeonTreeMenuSectionModel.d.ts +8 -0
- package/dist/src/common/utils/NeonAlertService.d.ts +29 -0
- package/dist/src/common/utils/NeonClipboardService.d.ts +6 -0
- package/dist/src/common/utils/NeonClosableUtils.d.ts +11 -0
- package/dist/src/common/utils/NeonColorUtils.d.ts +43 -0
- package/dist/src/common/utils/NeonDateUtils.d.ts +16 -0
- package/dist/src/common/utils/NeonDebounceUtils.d.ts +5 -0
- package/dist/src/common/utils/NeonDropdownPlacementUtils.d.ts +6 -0
- package/dist/src/common/utils/NeonEventBus.d.ts +27 -0
- package/dist/src/common/utils/NeonIconRegistry.d.ts +8 -0
- package/dist/src/common/utils/NeonModeUtils.d.ts +15 -0
- package/dist/src/common/utils/NeonNumberUtils.d.ts +10 -0
- package/dist/src/common/utils/NeonPlacementUtils.d.ts +8 -0
- package/dist/src/common/utils/NeonResponsiveUtils.d.ts +4 -0
- package/dist/src/common/utils/NeonScrollUtils.d.ts +3 -0
- package/dist/src/common/utils/NeonToastService.d.ts +29 -0
- package/dist/src/common/utils/NeonTooltipPlacementUtils.d.ts +7 -0
- package/dist/src/common/utils/RegisterIcons.d.ts +3 -0
- package/dist/src/components/feedback/alert/NeonAlert.d.ts +129 -0
- package/dist/src/components/feedback/alert/NeonAlert.vue.d.ts +2 -0
- package/dist/src/components/feedback/alert/NeonAlertModel.d.ts +6 -0
- package/dist/src/components/feedback/alert/NeonToastModel.d.ts +6 -0
- package/dist/src/components/feedback/alert/container/NeonAlertContainer.d.ts +29 -0
- package/dist/src/components/feedback/alert/container/NeonAlertContainer.vue.d.ts +2 -0
- package/dist/src/components/feedback/alert/container/NeonToastContainer.d.ts +27 -0
- package/dist/src/components/feedback/alert/container/NeonToastContainer.vue.d.ts +2 -0
- package/dist/src/components/feedback/dialog/NeonDialog.d.ts +135 -0
- package/dist/src/components/feedback/dialog/NeonDialog.vue.d.ts +2 -0
- package/dist/src/components/feedback/linear-progress/NeonLinearProgress.d.ts +183 -0
- package/dist/src/components/feedback/linear-progress/NeonLinearProgress.vue.d.ts +2 -0
- package/dist/src/components/feedback/note/NeonNote.d.ts +74 -0
- package/dist/src/components/feedback/note/NeonNote.vue.d.ts +2 -0
- package/dist/src/components/feedback/notification-counter/NeonNotificationCounter.d.ts +54 -0
- package/dist/src/components/feedback/notification-counter/NeonNotificationCounter.vue.d.ts +2 -0
- package/dist/src/components/feedback/skeleton-loader/NeonSkeletonLoader.d.ts +26 -0
- package/dist/src/components/feedback/skeleton-loader/NeonSkeletonLoader.vue.d.ts +2 -0
- package/dist/src/components/feedback/splash-loader/NeonSplashLoader.d.ts +74 -0
- package/dist/src/components/feedback/splash-loader/NeonSplashLoader.vue.d.ts +2 -0
- package/dist/src/components/feedback/tooltip/NeonTooltip.d.ts +118 -0
- package/dist/src/components/feedback/tooltip/NeonTooltip.vue.d.ts +2 -0
- package/dist/src/components/layout/card/NeonCard.d.ts +97 -0
- package/dist/src/components/layout/card/NeonCard.vue.d.ts +2 -0
- package/dist/src/components/layout/card/body/NeonCardBody.d.ts +23 -0
- package/dist/src/components/layout/card/body/NeonCardBody.vue.d.ts +2 -0
- package/dist/src/components/layout/card/footer/NeonCardFooter.d.ts +5 -0
- package/dist/src/components/layout/card/footer/NeonCardFooter.vue.d.ts +2 -0
- package/dist/src/components/layout/card/header/NeonCardHeader.d.ts +6 -0
- package/dist/src/components/layout/card/header/NeonCardHeader.vue.d.ts +2 -0
- package/dist/src/components/layout/drawer/NeonDrawer.d.ts +89 -0
- package/dist/src/components/layout/drawer/NeonDrawer.vue.d.ts +2 -0
- package/dist/src/components/layout/footer/NeonFooter.d.ts +5 -0
- package/dist/src/components/layout/footer/NeonFooter.vue.d.ts +2 -0
- package/dist/src/components/layout/grid/NeonGrid.d.ts +41 -0
- package/dist/src/components/layout/grid/NeonGrid.vue.d.ts +2 -0
- package/dist/src/components/layout/grid/grid-area/NeonGridArea.d.ts +21 -0
- package/dist/src/components/layout/grid/grid-area/NeonGridArea.vue.d.ts +2 -0
- package/dist/src/components/layout/modal/NeonModal.d.ts +72 -0
- package/dist/src/components/layout/modal/NeonModal.vue.d.ts +2 -0
- package/dist/src/components/layout/page/NeonPage.d.ts +6 -0
- package/dist/src/components/layout/page/NeonPage.vue.d.ts +2 -0
- package/dist/src/components/layout/side-nav/NeonSideNav.d.ts +26 -0
- package/dist/src/components/layout/side-nav/NeonSideNav.vue.d.ts +2 -0
- package/dist/src/components/layout/top-nav/NeonTopNav.d.ts +6 -0
- package/dist/src/components/layout/top-nav/NeonTopNav.vue.d.ts +2 -0
- package/dist/src/components/navigation/action-menu/NeonActionMenu.d.ts +57 -0
- package/dist/src/components/navigation/action-menu/NeonActionMenu.vue.d.ts +2 -0
- package/dist/src/components/navigation/anchor/NeonAnchor.d.ts +23 -0
- package/dist/src/components/navigation/anchor/NeonAnchor.vue.d.ts +2 -0
- package/dist/src/components/navigation/dropdown-menu/NeonDropdownMenu.d.ts +109 -0
- package/dist/src/components/navigation/dropdown-menu/NeonDropdownMenu.vue.d.ts +2 -0
- package/dist/src/components/navigation/link/NeonLink.d.ts +81 -0
- package/dist/src/components/navigation/link/NeonLink.vue.d.ts +2 -0
- package/dist/src/components/navigation/menu/NeonMenu.d.ts +107 -0
- package/dist/src/components/navigation/menu/NeonMenu.vue.d.ts +2 -0
- package/dist/src/components/navigation/menu/NeonPriorityMenuItem.d.ts +5 -0
- package/dist/src/components/navigation/stepper/NeonStepper.d.ts +74 -0
- package/dist/src/components/navigation/stepper/NeonStepper.vue.d.ts +2 -0
- package/dist/src/components/navigation/tree-menu/NeonTreeMenu.d.ts +47 -0
- package/dist/src/components/navigation/tree-menu/NeonTreeMenu.vue.d.ts +2 -0
- package/dist/src/components/presentation/badge/NeonBadge.d.ts +145 -0
- package/dist/src/components/presentation/badge/NeonBadge.vue.d.ts +2 -0
- package/dist/src/components/presentation/dropdown/NeonDropdown.d.ts +260 -0
- package/dist/src/components/presentation/dropdown/NeonDropdown.vue.d.ts +2 -0
- package/dist/src/components/presentation/expansion-indicator/NeonExpansionIndicator.d.ts +70 -0
- package/dist/src/components/presentation/expansion-indicator/NeonExpansionIndicator.vue.d.ts +2 -0
- package/dist/src/components/presentation/expansion-panel/NeonExpansionPanel.d.ts +153 -0
- package/dist/src/components/presentation/expansion-panel/NeonExpansionPanel.vue.d.ts +2 -0
- package/dist/src/components/presentation/icon/NeonIcon.d.ts +86 -0
- package/dist/src/components/presentation/icon/NeonIcon.vue.d.ts +2 -0
- package/dist/src/components/presentation/label/NeonLabel.d.ts +100 -0
- package/dist/src/components/presentation/label/NeonLabel.vue.d.ts +2 -0
- package/dist/src/components/presentation/tabs/NeonTabs.d.ts +88 -0
- package/dist/src/components/presentation/tabs/NeonTabs.vue.d.ts +2 -0
- package/dist/src/components/presentation/tabs/tab/NeonTab.d.ts +54 -0
- package/dist/src/components/presentation/tabs/tab/NeonTab.vue.d.ts +2 -0
- package/dist/src/components/user-input/button/NeonButton.d.ts +293 -0
- package/dist/src/components/user-input/button/NeonButton.vue.d.ts +2 -0
- package/dist/src/components/user-input/chip/NeonChip.d.ts +123 -0
- package/dist/src/components/user-input/chip/NeonChip.vue.d.ts +2 -0
- package/dist/src/components/user-input/color/NeonColor.d.ts +112 -0
- package/dist/src/components/user-input/color/NeonColor.vue.d.ts +2 -0
- package/dist/src/components/user-input/date-picker/NeonDatePicker.d.ts +378 -0
- package/dist/src/components/user-input/date-picker/NeonDatePicker.vue.d.ts +2 -0
- package/dist/src/components/user-input/drop-zone/NeonDropZone.d.ts +59 -0
- package/dist/src/components/user-input/drop-zone/NeonDropZone.vue.d.ts +2 -0
- package/dist/src/components/user-input/field/NeonField.d.ts +114 -0
- package/dist/src/components/user-input/field/NeonField.vue.d.ts +2 -0
- package/dist/src/components/user-input/field-group/NeonFieldGroup.d.ts +5 -0
- package/dist/src/components/user-input/field-group/NeonFieldGroup.vue.d.ts +2 -0
- package/dist/src/components/user-input/file/NeonFile.d.ts +190 -0
- package/dist/src/components/user-input/file/NeonFile.vue.d.ts +2 -0
- package/dist/src/components/user-input/filter-list/NeonFilterList.d.ts +145 -0
- package/dist/src/components/user-input/filter-list/NeonFilterList.vue.d.ts +2 -0
- package/dist/src/components/user-input/input/NeonInput.d.ts +296 -0
- package/dist/src/components/user-input/input/NeonInput.vue.d.ts +2 -0
- package/dist/src/components/user-input/input-indicator/NeonInputIndicator.d.ts +55 -0
- package/dist/src/components/user-input/input-indicator/NeonInputIndicator.vue.d.ts +2 -0
- package/dist/src/components/user-input/list/NeonList.d.ts +76 -0
- package/dist/src/components/user-input/list/NeonList.vue.d.ts +2 -0
- package/dist/src/components/user-input/number/NeonNumber.d.ts +285 -0
- package/dist/src/components/user-input/number/NeonNumber.vue.d.ts +2 -0
- package/dist/src/components/user-input/password/NeonPassword.d.ts +17 -0
- package/dist/src/components/user-input/password/NeonPassword.vue.d.ts +2 -0
- package/dist/src/components/user-input/range-slider/NeonRangeSlider.d.ts +269 -0
- package/dist/src/components/user-input/range-slider/NeonRangeSlider.vue.d.ts +2 -0
- package/dist/src/components/user-input/search/NeonSearch.d.ts +139 -0
- package/dist/src/components/user-input/search/NeonSearch.vue.d.ts +2 -0
- package/dist/src/components/user-input/select/NeonSelect.d.ts +207 -0
- package/dist/src/components/user-input/select/NeonSelect.vue.d.ts +2 -0
- package/dist/src/components/user-input/selectable-card/NeonSelectableCard.d.ts +79 -0
- package/dist/src/components/user-input/selectable-card/NeonSelectableCard.vue.d.ts +2 -0
- package/dist/src/components/user-input/slider/NeonSlider.d.ts +281 -0
- package/dist/src/components/user-input/slider/NeonSlider.vue.d.ts +2 -0
- package/dist/src/components/user-input/switch/NeonSwitch.d.ts +143 -0
- package/dist/src/components/user-input/switch/NeonSwitch.vue.d.ts +2 -0
- package/dist/src/components/user-input/toggle/NeonToggle.d.ts +138 -0
- package/dist/src/components/user-input/toggle/NeonToggle.vue.d.ts +2 -0
- package/dist/src/components/user-input/toggle-chip/NeonToggleChip.d.ts +110 -0
- package/dist/src/components/user-input/toggle-chip/NeonToggleChip.vue.d.ts +2 -0
- package/dist/src/neon.d.ts +124 -0
- package/package.json +7 -4
- package/src/sass/components/_button.scss +4 -8
- package/src/sass/components/_top-nav.scss +0 -1
- package/src/sass/variables.scss +2 -2
- package/dist/components/user-input/button/NeonButton.ts_vue_type_script_src_32308d32_lang.cjs.js +0 -2
- package/dist/components/user-input/button/NeonButton.ts_vue_type_script_src_32308d32_lang.cjs.js.map +0 -1
- package/dist/components/user-input/button/NeonButton.ts_vue_type_script_src_32308d32_lang.es.js.map +0 -1
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
import { NeonFunctionalColor } from '@/common/enums/NeonFunctionalColor';
|
|
2
|
+
/**
|
|
3
|
+
* <p>
|
|
4
|
+
* The <strong>NeonSlider</strong> component is the equivalent of an <strong><input type="range" /></strong>. In
|
|
5
|
+
* addition to this, there is support for automatic formatting the min, max and selected value plus options for
|
|
6
|
+
* percentage formatting and providing custom templates, e.g. currency formatting.
|
|
7
|
+
* </p>
|
|
8
|
+
* <p><strong>NeonNumber</strong> also supports all relevant properties found on an HTML <input>.</p>
|
|
9
|
+
*/
|
|
10
|
+
declare const _default: import("vue").DefineComponent<{
|
|
11
|
+
/**
|
|
12
|
+
* The current input <em>value</em>.
|
|
13
|
+
*/
|
|
14
|
+
modelValue: {
|
|
15
|
+
type: NumberConstructor;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* id of the range input.
|
|
20
|
+
*/
|
|
21
|
+
id: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
required: false;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Slider color.
|
|
27
|
+
*/
|
|
28
|
+
color: {
|
|
29
|
+
type: () => NeonFunctionalColor;
|
|
30
|
+
default: NeonFunctionalColor;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* The locale used for display purposes. This defaults to the browser's locale if none is provided.
|
|
34
|
+
*/
|
|
35
|
+
locale: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: null;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Show/hide the output.
|
|
41
|
+
*/
|
|
42
|
+
output: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Show/hide the legend.
|
|
48
|
+
*/
|
|
49
|
+
legend: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* Show/hide the tooltip.
|
|
55
|
+
*/
|
|
56
|
+
tooltip: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* Automatically applies % formatting, e.g. if the value = 0.15 it will be displayed as 15%.
|
|
62
|
+
*/
|
|
63
|
+
percentage: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* The size of steps between values the user can select. The default value is 1 except when percentage = true the
|
|
69
|
+
* default is 0.01 (1%).
|
|
70
|
+
*/
|
|
71
|
+
step: {
|
|
72
|
+
type: NumberConstructor;
|
|
73
|
+
required: false;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* The rounding precision for display purposes.
|
|
77
|
+
*/
|
|
78
|
+
decimals: {
|
|
79
|
+
type: NumberConstructor;
|
|
80
|
+
required: false;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* A template string used for formatting the display value. Use the placeholder {value} to reference the value in the
|
|
84
|
+
* template string. e.g. value = 90, ${value} => $90.
|
|
85
|
+
*/
|
|
86
|
+
valueTemplate: {
|
|
87
|
+
type: StringConstructor;
|
|
88
|
+
required: false;
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* Disable formatting, e.g. in the case of a year value -> display as 2020, not 2,020.
|
|
92
|
+
*/
|
|
93
|
+
disableFormatting: {
|
|
94
|
+
type: BooleanConstructor;
|
|
95
|
+
default: boolean;
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* The minimum range value.
|
|
99
|
+
*/
|
|
100
|
+
min: {
|
|
101
|
+
type: NumberConstructor;
|
|
102
|
+
default: number;
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* The maximum range value. The default value is 100 except when percentage = true the default is 1 (100%).
|
|
106
|
+
*/
|
|
107
|
+
max: {
|
|
108
|
+
type: NumberConstructor;
|
|
109
|
+
required: false;
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* The lower bound within the range of values.
|
|
113
|
+
* @ignore
|
|
114
|
+
*/
|
|
115
|
+
lowerBound: {
|
|
116
|
+
type: NumberConstructor;
|
|
117
|
+
required: false;
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* The upper bound within the range of values.
|
|
121
|
+
* @ignore
|
|
122
|
+
*/
|
|
123
|
+
upperBound: {
|
|
124
|
+
type: NumberConstructor;
|
|
125
|
+
required: false;
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* Component disabled state.
|
|
129
|
+
*/
|
|
130
|
+
disabled: {
|
|
131
|
+
type: BooleanConstructor;
|
|
132
|
+
default: boolean;
|
|
133
|
+
};
|
|
134
|
+
}, {
|
|
135
|
+
sanitizedAttributes: import("vue").ComputedRef<{
|
|
136
|
+
[x: string]: unknown;
|
|
137
|
+
}>;
|
|
138
|
+
formattedMin: import("vue").ComputedRef<string | number>;
|
|
139
|
+
formattedMax: import("vue").ComputedRef<string | number>;
|
|
140
|
+
formattedValue: import("vue").ComputedRef<string | number>;
|
|
141
|
+
computedMax: import("vue").ComputedRef<number>;
|
|
142
|
+
computedStep: import("vue").ComputedRef<number>;
|
|
143
|
+
changeValue: (event: Event) => void;
|
|
144
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
145
|
+
/**
|
|
146
|
+
* The current input <em>value</em>.
|
|
147
|
+
*/
|
|
148
|
+
modelValue: {
|
|
149
|
+
type: NumberConstructor;
|
|
150
|
+
required: true;
|
|
151
|
+
};
|
|
152
|
+
/**
|
|
153
|
+
* id of the range input.
|
|
154
|
+
*/
|
|
155
|
+
id: {
|
|
156
|
+
type: StringConstructor;
|
|
157
|
+
required: false;
|
|
158
|
+
};
|
|
159
|
+
/**
|
|
160
|
+
* Slider color.
|
|
161
|
+
*/
|
|
162
|
+
color: {
|
|
163
|
+
type: () => NeonFunctionalColor;
|
|
164
|
+
default: NeonFunctionalColor;
|
|
165
|
+
};
|
|
166
|
+
/**
|
|
167
|
+
* The locale used for display purposes. This defaults to the browser's locale if none is provided.
|
|
168
|
+
*/
|
|
169
|
+
locale: {
|
|
170
|
+
type: StringConstructor;
|
|
171
|
+
default: null;
|
|
172
|
+
};
|
|
173
|
+
/**
|
|
174
|
+
* Show/hide the output.
|
|
175
|
+
*/
|
|
176
|
+
output: {
|
|
177
|
+
type: BooleanConstructor;
|
|
178
|
+
default: boolean;
|
|
179
|
+
};
|
|
180
|
+
/**
|
|
181
|
+
* Show/hide the legend.
|
|
182
|
+
*/
|
|
183
|
+
legend: {
|
|
184
|
+
type: BooleanConstructor;
|
|
185
|
+
default: boolean;
|
|
186
|
+
};
|
|
187
|
+
/**
|
|
188
|
+
* Show/hide the tooltip.
|
|
189
|
+
*/
|
|
190
|
+
tooltip: {
|
|
191
|
+
type: BooleanConstructor;
|
|
192
|
+
default: boolean;
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* Automatically applies % formatting, e.g. if the value = 0.15 it will be displayed as 15%.
|
|
196
|
+
*/
|
|
197
|
+
percentage: {
|
|
198
|
+
type: BooleanConstructor;
|
|
199
|
+
default: boolean;
|
|
200
|
+
};
|
|
201
|
+
/**
|
|
202
|
+
* The size of steps between values the user can select. The default value is 1 except when percentage = true the
|
|
203
|
+
* default is 0.01 (1%).
|
|
204
|
+
*/
|
|
205
|
+
step: {
|
|
206
|
+
type: NumberConstructor;
|
|
207
|
+
required: false;
|
|
208
|
+
};
|
|
209
|
+
/**
|
|
210
|
+
* The rounding precision for display purposes.
|
|
211
|
+
*/
|
|
212
|
+
decimals: {
|
|
213
|
+
type: NumberConstructor;
|
|
214
|
+
required: false;
|
|
215
|
+
};
|
|
216
|
+
/**
|
|
217
|
+
* A template string used for formatting the display value. Use the placeholder {value} to reference the value in the
|
|
218
|
+
* template string. e.g. value = 90, ${value} => $90.
|
|
219
|
+
*/
|
|
220
|
+
valueTemplate: {
|
|
221
|
+
type: StringConstructor;
|
|
222
|
+
required: false;
|
|
223
|
+
};
|
|
224
|
+
/**
|
|
225
|
+
* Disable formatting, e.g. in the case of a year value -> display as 2020, not 2,020.
|
|
226
|
+
*/
|
|
227
|
+
disableFormatting: {
|
|
228
|
+
type: BooleanConstructor;
|
|
229
|
+
default: boolean;
|
|
230
|
+
};
|
|
231
|
+
/**
|
|
232
|
+
* The minimum range value.
|
|
233
|
+
*/
|
|
234
|
+
min: {
|
|
235
|
+
type: NumberConstructor;
|
|
236
|
+
default: number;
|
|
237
|
+
};
|
|
238
|
+
/**
|
|
239
|
+
* The maximum range value. The default value is 100 except when percentage = true the default is 1 (100%).
|
|
240
|
+
*/
|
|
241
|
+
max: {
|
|
242
|
+
type: NumberConstructor;
|
|
243
|
+
required: false;
|
|
244
|
+
};
|
|
245
|
+
/**
|
|
246
|
+
* The lower bound within the range of values.
|
|
247
|
+
* @ignore
|
|
248
|
+
*/
|
|
249
|
+
lowerBound: {
|
|
250
|
+
type: NumberConstructor;
|
|
251
|
+
required: false;
|
|
252
|
+
};
|
|
253
|
+
/**
|
|
254
|
+
* The upper bound within the range of values.
|
|
255
|
+
* @ignore
|
|
256
|
+
*/
|
|
257
|
+
upperBound: {
|
|
258
|
+
type: NumberConstructor;
|
|
259
|
+
required: false;
|
|
260
|
+
};
|
|
261
|
+
/**
|
|
262
|
+
* Component disabled state.
|
|
263
|
+
*/
|
|
264
|
+
disabled: {
|
|
265
|
+
type: BooleanConstructor;
|
|
266
|
+
default: boolean;
|
|
267
|
+
};
|
|
268
|
+
}>> & {
|
|
269
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
270
|
+
}, {
|
|
271
|
+
legend: boolean;
|
|
272
|
+
output: boolean;
|
|
273
|
+
color: NeonFunctionalColor;
|
|
274
|
+
tooltip: boolean;
|
|
275
|
+
disabled: boolean;
|
|
276
|
+
locale: string;
|
|
277
|
+
min: number;
|
|
278
|
+
percentage: boolean;
|
|
279
|
+
disableFormatting: boolean;
|
|
280
|
+
}>;
|
|
281
|
+
export default _default;
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { NeonSize } from '@/common/enums/NeonSize';
|
|
2
|
+
import { NeonFunctionalColor } from '@/common/enums/NeonFunctionalColor';
|
|
3
|
+
import { NeonSwitchStyle } from '@/common/enums/NeonSwitchStyle';
|
|
4
|
+
import { NeonHorizontalPosition } from '@/common/enums/NeonHorizontalPosition';
|
|
5
|
+
/**
|
|
6
|
+
* <p>
|
|
7
|
+
* A Switch or Checkbox component used to indicate an on/off state. This is equivalent to a checkbox. The switch supports
|
|
8
|
+
* both <em>Switch</em> and <em>Checkbox</em> styles which can be used in different scenarios.
|
|
9
|
+
* </p>
|
|
10
|
+
*/
|
|
11
|
+
declare const _default: import("vue").DefineComponent<{
|
|
12
|
+
/**
|
|
13
|
+
* The switch model.
|
|
14
|
+
*/
|
|
15
|
+
modelValue: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* The switch label, the label can be optional only in the case the switch is part of a more complex component.
|
|
21
|
+
*/
|
|
22
|
+
label: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: null;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* The indeterminate state of the checkbox.
|
|
28
|
+
*/
|
|
29
|
+
indeterminate: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* The size of the switch.
|
|
35
|
+
*/
|
|
36
|
+
size: {
|
|
37
|
+
type: () => NeonSize;
|
|
38
|
+
default: () => NeonSize;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* The switch color.
|
|
42
|
+
*/
|
|
43
|
+
color: {
|
|
44
|
+
type: () => NeonFunctionalColor;
|
|
45
|
+
default: () => NeonFunctionalColor;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Style the switch as a <em>Switch</em> or a <em>Checkbox</em>.
|
|
49
|
+
*/
|
|
50
|
+
switchStyle: {
|
|
51
|
+
type: () => NeonSwitchStyle;
|
|
52
|
+
default: () => NeonSwitchStyle;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* The position of the switch label.
|
|
56
|
+
*/
|
|
57
|
+
labelPosition: {
|
|
58
|
+
type: () => NeonHorizontalPosition;
|
|
59
|
+
default: () => NeonHorizontalPosition;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Disabled state of the switch.
|
|
63
|
+
*/
|
|
64
|
+
disabled: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
}, {
|
|
69
|
+
checkbox: import("vue").Ref<HTMLInputElement | null>;
|
|
70
|
+
sanitizedAttributes: import("vue").ComputedRef<{
|
|
71
|
+
[x: string]: unknown;
|
|
72
|
+
}>;
|
|
73
|
+
toggleSwitch: () => void;
|
|
74
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "indeterminate-change")[], "update:modelValue" | "indeterminate-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
75
|
+
/**
|
|
76
|
+
* The switch model.
|
|
77
|
+
*/
|
|
78
|
+
modelValue: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
required: true;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* The switch label, the label can be optional only in the case the switch is part of a more complex component.
|
|
84
|
+
*/
|
|
85
|
+
label: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
default: null;
|
|
88
|
+
};
|
|
89
|
+
/**
|
|
90
|
+
* The indeterminate state of the checkbox.
|
|
91
|
+
*/
|
|
92
|
+
indeterminate: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
default: boolean;
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* The size of the switch.
|
|
98
|
+
*/
|
|
99
|
+
size: {
|
|
100
|
+
type: () => NeonSize;
|
|
101
|
+
default: () => NeonSize;
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* The switch color.
|
|
105
|
+
*/
|
|
106
|
+
color: {
|
|
107
|
+
type: () => NeonFunctionalColor;
|
|
108
|
+
default: () => NeonFunctionalColor;
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* Style the switch as a <em>Switch</em> or a <em>Checkbox</em>.
|
|
112
|
+
*/
|
|
113
|
+
switchStyle: {
|
|
114
|
+
type: () => NeonSwitchStyle;
|
|
115
|
+
default: () => NeonSwitchStyle;
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* The position of the switch label.
|
|
119
|
+
*/
|
|
120
|
+
labelPosition: {
|
|
121
|
+
type: () => NeonHorizontalPosition;
|
|
122
|
+
default: () => NeonHorizontalPosition;
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
* Disabled state of the switch.
|
|
126
|
+
*/
|
|
127
|
+
disabled: {
|
|
128
|
+
type: BooleanConstructor;
|
|
129
|
+
default: boolean;
|
|
130
|
+
};
|
|
131
|
+
}>> & {
|
|
132
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
133
|
+
"onIndeterminate-change"?: ((...args: any[]) => any) | undefined;
|
|
134
|
+
}, {
|
|
135
|
+
label: string;
|
|
136
|
+
color: NeonFunctionalColor;
|
|
137
|
+
disabled: boolean;
|
|
138
|
+
size: NeonSize;
|
|
139
|
+
indeterminate: boolean;
|
|
140
|
+
switchStyle: NeonSwitchStyle;
|
|
141
|
+
labelPosition: NeonHorizontalPosition;
|
|
142
|
+
}>;
|
|
143
|
+
export default _default;
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import type { NeonToggleModel } from '@/common/models/NeonToggleModel';
|
|
2
|
+
import { NeonSize } from '@/common/enums/NeonSize';
|
|
3
|
+
import { NeonFunctionalColor } from '@/common/enums/NeonFunctionalColor';
|
|
4
|
+
import { NeonToggleStyle } from '@/common/enums/NeonToggleStyle';
|
|
5
|
+
import { NeonOrientation } from '@/common/enums/NeonOrientation';
|
|
6
|
+
/**
|
|
7
|
+
* <p>A toggle component for selecting one value from a range of options. This is equivalent to a radio button group. It can be styled as a <em>Toggle</em> or as <em>Radio buttons</em>.
|
|
8
|
+
*/
|
|
9
|
+
declare const _default: import("vue").DefineComponent<{
|
|
10
|
+
/**
|
|
11
|
+
* The name of the radio button group.
|
|
12
|
+
*/
|
|
13
|
+
name: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* The key of the selected option.
|
|
19
|
+
*/
|
|
20
|
+
modelValue: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* The list of options to present to the user.
|
|
26
|
+
*/
|
|
27
|
+
model: {
|
|
28
|
+
type: () => Array<NeonToggleModel>;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* The style of toggle to display to the user.
|
|
33
|
+
*/
|
|
34
|
+
toggleStyle: {
|
|
35
|
+
type: () => NeonToggleStyle;
|
|
36
|
+
default: () => NeonToggleStyle;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* The size of the toggle.
|
|
40
|
+
*/
|
|
41
|
+
size: {
|
|
42
|
+
type: () => NeonSize;
|
|
43
|
+
default: () => NeonSize;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* The orientation of the toggle if the style is a radio button group.
|
|
47
|
+
*/
|
|
48
|
+
orientation: {
|
|
49
|
+
type: () => NeonOrientation;
|
|
50
|
+
default: () => NeonOrientation;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* The color of the toggle.
|
|
54
|
+
*/
|
|
55
|
+
color: {
|
|
56
|
+
type: () => NeonFunctionalColor;
|
|
57
|
+
default: () => NeonFunctionalColor;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Whether the toggle is disabled.
|
|
61
|
+
*/
|
|
62
|
+
disabled: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
}, {
|
|
67
|
+
selectOption: (option: NeonToggleModel) => void;
|
|
68
|
+
onInput: (key: string) => void;
|
|
69
|
+
sanitizedAttributes: import("vue").ComputedRef<{
|
|
70
|
+
[x: string]: unknown;
|
|
71
|
+
}>;
|
|
72
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
73
|
+
/**
|
|
74
|
+
* The name of the radio button group.
|
|
75
|
+
*/
|
|
76
|
+
name: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
required: true;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* The key of the selected option.
|
|
82
|
+
*/
|
|
83
|
+
modelValue: {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
required: true;
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* The list of options to present to the user.
|
|
89
|
+
*/
|
|
90
|
+
model: {
|
|
91
|
+
type: () => Array<NeonToggleModel>;
|
|
92
|
+
required: true;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* The style of toggle to display to the user.
|
|
96
|
+
*/
|
|
97
|
+
toggleStyle: {
|
|
98
|
+
type: () => NeonToggleStyle;
|
|
99
|
+
default: () => NeonToggleStyle;
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* The size of the toggle.
|
|
103
|
+
*/
|
|
104
|
+
size: {
|
|
105
|
+
type: () => NeonSize;
|
|
106
|
+
default: () => NeonSize;
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* The orientation of the toggle if the style is a radio button group.
|
|
110
|
+
*/
|
|
111
|
+
orientation: {
|
|
112
|
+
type: () => NeonOrientation;
|
|
113
|
+
default: () => NeonOrientation;
|
|
114
|
+
};
|
|
115
|
+
/**
|
|
116
|
+
* The color of the toggle.
|
|
117
|
+
*/
|
|
118
|
+
color: {
|
|
119
|
+
type: () => NeonFunctionalColor;
|
|
120
|
+
default: () => NeonFunctionalColor;
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* Whether the toggle is disabled.
|
|
124
|
+
*/
|
|
125
|
+
disabled: {
|
|
126
|
+
type: BooleanConstructor;
|
|
127
|
+
default: boolean;
|
|
128
|
+
};
|
|
129
|
+
}>> & {
|
|
130
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
131
|
+
}, {
|
|
132
|
+
color: NeonFunctionalColor;
|
|
133
|
+
disabled: boolean;
|
|
134
|
+
size: NeonSize;
|
|
135
|
+
orientation: NeonOrientation;
|
|
136
|
+
toggleStyle: NeonToggleStyle;
|
|
137
|
+
}>;
|
|
138
|
+
export default _default;
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { NeonSize } from '@/common/enums/NeonSize';
|
|
2
|
+
import { NeonFunctionalColor } from '@/common/enums/NeonFunctionalColor';
|
|
3
|
+
/**
|
|
4
|
+
* <p>
|
|
5
|
+
* A Toggle chip component used to indicate an on/off state in form inputs. This is equivalent to a checkbox. This is a
|
|
6
|
+
* variation of a checkbox/switch which can be used as an on/off button to trigger an action or used in a group for
|
|
7
|
+
* filtering.
|
|
8
|
+
* </p>
|
|
9
|
+
*/
|
|
10
|
+
declare const _default: import("vue").DefineComponent<{
|
|
11
|
+
/**
|
|
12
|
+
* The toggle chip model.
|
|
13
|
+
*/
|
|
14
|
+
modelValue: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* The toggle label.
|
|
20
|
+
*/
|
|
21
|
+
label: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* The size of the toggle chip.
|
|
27
|
+
*/
|
|
28
|
+
size: {
|
|
29
|
+
type: () => NeonSize;
|
|
30
|
+
default: NeonSize;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* The toggle chip color.
|
|
34
|
+
*/
|
|
35
|
+
color: {
|
|
36
|
+
type: () => NeonFunctionalColor;
|
|
37
|
+
default: NeonFunctionalColor;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Whether to display a checked icon on the toggle chip when it is 'on'.
|
|
41
|
+
*/
|
|
42
|
+
showCheck: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Disabled state of the toggle chip.
|
|
48
|
+
*/
|
|
49
|
+
disabled: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
}, {
|
|
54
|
+
sanitizedAttributes: import("vue").ComputedRef<{
|
|
55
|
+
[x: string]: unknown;
|
|
56
|
+
}>;
|
|
57
|
+
emitInput: (value: boolean) => void;
|
|
58
|
+
toggleChip: () => void;
|
|
59
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
60
|
+
/**
|
|
61
|
+
* The toggle chip model.
|
|
62
|
+
*/
|
|
63
|
+
modelValue: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
required: true;
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* The toggle label.
|
|
69
|
+
*/
|
|
70
|
+
label: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
required: true;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* The size of the toggle chip.
|
|
76
|
+
*/
|
|
77
|
+
size: {
|
|
78
|
+
type: () => NeonSize;
|
|
79
|
+
default: NeonSize;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* The toggle chip color.
|
|
83
|
+
*/
|
|
84
|
+
color: {
|
|
85
|
+
type: () => NeonFunctionalColor;
|
|
86
|
+
default: NeonFunctionalColor;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* Whether to display a checked icon on the toggle chip when it is 'on'.
|
|
90
|
+
*/
|
|
91
|
+
showCheck: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* Disabled state of the toggle chip.
|
|
97
|
+
*/
|
|
98
|
+
disabled: {
|
|
99
|
+
type: BooleanConstructor;
|
|
100
|
+
default: boolean;
|
|
101
|
+
};
|
|
102
|
+
}>> & {
|
|
103
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
104
|
+
}, {
|
|
105
|
+
color: NeonFunctionalColor;
|
|
106
|
+
disabled: boolean;
|
|
107
|
+
size: NeonSize;
|
|
108
|
+
showCheck: boolean;
|
|
109
|
+
}>;
|
|
110
|
+
export default _default;
|