primevue 4.3.1 → 4.3.3
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/accordionheader/AccordionHeader.vue +8 -2
- package/accordionheader/index.mjs +8 -1
- package/accordionheader/index.mjs.map +1 -1
- package/autocomplete/AutoComplete.vue +72 -16
- package/autocomplete/index.d.ts +3 -3
- package/autocomplete/index.mjs +84 -37
- package/autocomplete/index.mjs.map +1 -1
- package/avatar/Avatar.vue +13 -4
- package/avatar/index.d.ts +3 -3
- package/avatar/index.mjs +26 -6
- package/avatar/index.mjs.map +1 -1
- package/badge/Badge.vue +13 -2
- package/badge/index.d.ts +1 -1
- package/badge/index.mjs +18 -3
- package/badge/index.mjs.map +1 -1
- package/blockui/BlockUI.vue +15 -4
- package/blockui/index.mjs +13 -4
- package/blockui/index.mjs.map +1 -1
- package/button/Button.vue +30 -3
- package/button/index.d.ts +3 -7
- package/button/index.mjs +28 -9
- package/button/index.mjs.map +1 -1
- package/cascadeselect/CascadeSelect.vue +1 -1
- package/cascadeselect/index.d.ts +2 -2
- package/cascadeselect/index.mjs +1 -2
- package/cascadeselect/index.mjs.map +1 -1
- package/checkbox/Checkbox.vue +15 -5
- package/checkbox/index.d.ts +2 -2
- package/checkbox/index.mjs +29 -7
- package/checkbox/index.mjs.map +1 -1
- package/chip/BaseChip.vue +1 -1
- package/chip/Chip.vue +9 -1
- package/chip/index.d.ts +1 -1
- package/chip/index.mjs +13 -3
- package/chip/index.mjs.map +1 -1
- package/colorpicker/ColorPicker.vue +10 -2
- package/colorpicker/index.d.ts +1 -1
- package/colorpicker/index.mjs +9 -2
- package/colorpicker/index.mjs.map +1 -1
- package/column/index.d.ts +3 -3
- package/columngroup/index.d.ts +2 -2
- package/confirmationoptions/index.d.ts +1 -1
- package/datatable/BodyCell.vue +4 -1
- package/datatable/BodyRow.vue +2 -0
- package/datatable/ColumnFilter.vue +1 -1
- package/datatable/DataTable.vue +103 -44
- package/datatable/HeaderCheckbox.vue +2 -2
- package/datatable/RowCheckbox.vue +1 -1
- package/datatable/TableBody.vue +12 -1
- package/datatable/TableFooter.vue +9 -1
- package/datatable/TableHeader.vue +9 -2
- package/datatable/index.d.ts +45 -37
- package/datatable/index.mjs +170 -101
- package/datatable/index.mjs.map +1 -1
- package/dataview/DataView.vue +4 -0
- package/dataview/index.d.ts +61 -4
- package/dataview/index.mjs +6 -2
- package/dataview/index.mjs.map +1 -1
- package/datepicker/DatePicker.vue +370 -234
- package/datepicker/index.d.ts +162 -6
- package/datepicker/index.mjs +644 -384
- package/datepicker/index.mjs.map +1 -1
- package/dialog/Dialog.vue +48 -39
- package/dialog/index.d.ts +26 -1
- package/dialog/index.mjs +73 -50
- package/dialog/index.mjs.map +1 -1
- package/divider/Divider.vue +13 -3
- package/divider/index.d.ts +4 -4
- package/divider/index.mjs +18 -5
- package/divider/index.mjs.map +1 -1
- package/dock/index.d.ts +4 -4
- package/drawer/Drawer.vue +30 -20
- package/drawer/index.d.ts +12 -2
- package/drawer/index.mjs +42 -25
- package/drawer/index.mjs.map +1 -1
- package/fieldset/Fieldset.vue +8 -2
- package/fieldset/index.mjs +20 -10
- package/fieldset/index.mjs.map +1 -1
- package/fileupload/FileUpload.vue +1 -1
- package/fileupload/index.d.ts +2 -2
- package/fileupload/index.mjs +2 -2
- package/fileupload/index.mjs.map +1 -1
- package/floatlabel/index.d.ts +2 -2
- package/galleria/Galleria.vue +39 -3
- package/galleria/GalleriaItem.vue +8 -9
- package/galleria/index.d.ts +3 -3
- package/galleria/index.mjs +48 -11
- package/galleria/index.mjs.map +1 -1
- package/inplace/Inplace.vue +1 -1
- package/inplace/index.mjs +3 -2
- package/inplace/index.mjs.map +1 -1
- package/inputchips/index.d.ts +2 -2
- package/inputmask/InputMask.vue +15 -1
- package/inputmask/index.d.ts +3 -3
- package/inputmask/index.mjs +12 -1
- package/inputmask/index.mjs.map +1 -1
- package/inputnumber/BaseInputNumber.vue +4 -0
- package/inputnumber/InputNumber.vue +29 -14
- package/inputnumber/index.d.ts +6 -6
- package/inputnumber/index.mjs +47 -25
- package/inputnumber/index.mjs.map +1 -1
- package/inputotp/index.d.ts +3 -3
- package/inputtext/InputText.vue +10 -1
- package/inputtext/index.d.ts +4 -5
- package/inputtext/index.mjs +14 -1
- package/inputtext/index.mjs.map +1 -1
- package/keyfilter/index.mjs +12 -19
- package/keyfilter/index.mjs.map +1 -1
- package/knob/Knob.vue +1 -1
- package/knob/index.mjs +1 -1
- package/knob/index.mjs.map +1 -1
- package/listbox/Listbox.vue +9 -2
- package/listbox/index.mjs +11 -3
- package/listbox/index.mjs.map +1 -1
- package/megamenu/index.d.ts +2 -2
- package/menu/Menu.vue +8 -2
- package/menu/Menuitem.vue +14 -4
- package/menu/index.mjs +36 -16
- package/menu/index.mjs.map +1 -1
- package/message/Message.vue +16 -7
- package/message/index.d.ts +2 -2
- package/message/index.mjs +35 -13
- package/message/index.mjs.map +1 -1
- package/metergroup/MeterGroup.vue +9 -3
- package/metergroup/MeterGroupLabel.vue +10 -1
- package/metergroup/index.mjs +32 -7
- package/metergroup/index.mjs.map +1 -1
- package/multiselect/MultiSelect.vue +41 -6
- package/multiselect/index.d.ts +3 -3
- package/multiselect/index.mjs +53 -21
- package/multiselect/index.mjs.map +1 -1
- package/organizationchart/index.d.ts +2 -2
- package/overlaybadge/index.d.ts +1 -1
- package/package.json +3 -3
- package/paginator/Paginator.vue +2 -0
- package/paginator/index.d.ts +8 -0
- package/paginator/index.mjs +3 -1
- package/paginator/index.mjs.map +1 -1
- package/panel/Panel.vue +29 -22
- package/panel/index.d.ts +22 -2
- package/panel/index.mjs +55 -31
- package/panel/index.mjs.map +1 -1
- package/panelmenu/PanelMenuList.vue +1 -1
- package/panelmenu/index.mjs +1 -1
- package/panelmenu/index.mjs.map +1 -1
- package/password/Password.vue +21 -3
- package/password/index.d.ts +3 -3
- package/password/index.mjs +32 -10
- package/password/index.mjs.map +1 -1
- package/popover/Popover.vue +3 -3
- package/popover/index.mjs +3 -4
- package/popover/index.mjs.map +1 -1
- package/progressbar/ProgressBar.vue +11 -4
- package/progressbar/index.mjs +21 -7
- package/progressbar/index.mjs.map +1 -1
- package/radiobutton/RadioButton.vue +13 -3
- package/radiobutton/index.d.ts +3 -3
- package/radiobutton/index.mjs +24 -4
- package/radiobutton/index.mjs.map +1 -1
- package/rating/Rating.vue +19 -2
- package/rating/index.mjs +28 -7
- package/rating/index.mjs.map +1 -1
- package/scrolltop/ScrollTop.vue +2 -2
- package/scrolltop/index.d.ts +2 -2
- package/scrolltop/index.mjs +4 -2
- package/scrolltop/index.mjs.map +1 -1
- package/select/Select.vue +56 -16
- package/select/index.d.ts +2 -2
- package/select/index.mjs +111 -74
- package/select/index.mjs.map +1 -1
- package/selectbutton/SelectButton.vue +26 -9
- package/selectbutton/index.d.ts +2 -2
- package/selectbutton/index.mjs +30 -10
- package/selectbutton/index.mjs.map +1 -1
- package/skeleton/Skeleton.vue +7 -1
- package/skeleton/index.d.ts +3 -3
- package/skeleton/index.mjs +12 -1
- package/skeleton/index.mjs.map +1 -1
- package/slider/Slider.vue +11 -2
- package/slider/index.d.ts +2 -2
- package/slider/index.mjs +27 -8
- package/slider/index.mjs.map +1 -1
- package/speeddial/index.d.ts +5 -5
- package/splitbutton/index.d.ts +1 -1
- package/splitter/Splitter.vue +10 -2
- package/splitter/index.d.ts +3 -3
- package/splitter/index.mjs +19 -6
- package/splitter/index.mjs.map +1 -1
- package/step/Step.vue +25 -7
- package/step/index.mjs +44 -14
- package/step/index.mjs.map +1 -1
- package/steppanel/StepPanel.vue +9 -3
- package/steppanel/index.d.ts +8 -0
- package/steppanel/index.mjs +23 -8
- package/steppanel/index.mjs.map +1 -1
- package/stepper/StepperSeparator.vue +5 -2
- package/stepper/index.d.ts +4 -0
- package/tab/Tab.vue +12 -6
- package/tab/index.mjs +13 -5
- package/tab/index.mjs.map +1 -1
- package/tablist/TabList.vue +13 -2
- package/tablist/index.mjs +21 -8
- package/tablist/index.mjs.map +1 -1
- package/tabpanel/TabPanel.vue +2 -2
- package/tabpanel/index.mjs +2 -2
- package/tabpanel/index.mjs.map +1 -1
- package/tag/Tag.vue +11 -2
- package/tag/index.mjs +17 -3
- package/tag/index.mjs.map +1 -1
- package/textarea/Textarea.vue +10 -1
- package/textarea/index.d.ts +4 -5
- package/textarea/index.mjs +14 -1
- package/textarea/index.mjs.map +1 -1
- package/tieredmenu/TieredMenu.vue +1 -1
- package/tieredmenu/index.mjs +1 -2
- package/tieredmenu/index.mjs.map +1 -1
- package/timeline/Timeline.vue +16 -7
- package/timeline/index.d.ts +3 -3
- package/timeline/index.mjs +42 -11
- package/timeline/index.mjs.map +1 -1
- package/toast/Toast.vue +10 -1
- package/toast/ToastMessage.vue +29 -19
- package/toast/index.d.ts +2 -2
- package/toast/index.mjs +77 -38
- package/toast/index.mjs.map +1 -1
- package/togglebutton/ToggleButton.vue +10 -1
- package/togglebutton/index.d.ts +3 -3
- package/togglebutton/index.mjs +19 -4
- package/togglebutton/index.mjs.map +1 -1
- package/toggleswitch/ToggleSwitch.vue +11 -3
- package/toggleswitch/index.mjs +20 -5
- package/toggleswitch/index.mjs.map +1 -1
- package/tooltip/index.mjs +22 -22
- package/tooltip/index.mjs.map +1 -1
- package/tree/Tree.vue +14 -2
- package/tree/TreeNode.vue +2 -2
- package/tree/index.d.ts +3 -3
- package/tree/index.mjs +28 -10
- package/tree/index.mjs.map +1 -1
- package/treeselect/TreeSelect.vue +1 -1
- package/treeselect/index.d.ts +6 -6
- package/treeselect/index.mjs +1 -2
- package/treeselect/index.mjs.map +1 -1
- package/treetable/index.d.ts +7 -7
- package/treetable/style/index.mjs +2 -3
- package/treetable/style/index.mjs.map +1 -1
- package/umd/primevue.min.js +1 -1
- package/virtualscroller/VirtualScroller.vue +13 -2
- package/virtualscroller/index.d.ts +2 -2
- package/virtualscroller/index.mjs +14 -4
- package/virtualscroller/index.mjs.map +1 -1
- package/virtualscroller/style/index.mjs +1 -1
- package/virtualscroller/style/index.mjs.map +1 -1
- package/web-types.json +1 -1
package/inputnumber/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @module inputnumber
|
|
8
8
|
*
|
|
9
9
|
*/
|
|
10
|
-
import type { DefineComponent, DesignToken, EmitFn, Nullable, PassThrough } from '@primevue/core';
|
|
10
|
+
import type { DefineComponent, DesignToken, EmitFn, HintedString, Nullable, PassThrough } from '@primevue/core';
|
|
11
11
|
import type { ComponentHooks } from '@primevue/core/basecomponent';
|
|
12
12
|
import type { InputTextPassThroughOptions } from 'primevue/inputtext';
|
|
13
13
|
import type { PassThroughOptions } from 'primevue/passthrough';
|
|
@@ -220,7 +220,7 @@ export interface InputNumberProps {
|
|
|
220
220
|
* Layout of the buttons.
|
|
221
221
|
* @defaultValue stacked
|
|
222
222
|
*/
|
|
223
|
-
buttonLayout?: 'stacked' | 'horizontal' | 'vertical' | undefined;
|
|
223
|
+
buttonLayout?: HintedString<'stacked' | 'horizontal' | 'vertical'> | undefined;
|
|
224
224
|
/**
|
|
225
225
|
* Style class of the increment button.
|
|
226
226
|
*/
|
|
@@ -256,12 +256,12 @@ export interface InputNumberProps {
|
|
|
256
256
|
* See [Locale Negotation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locale_negotiation) for details.
|
|
257
257
|
* @defaultValue best fit
|
|
258
258
|
*/
|
|
259
|
-
localeMatcher?: 'lookup' | 'best fit' | undefined;
|
|
259
|
+
localeMatcher?: HintedString<'lookup' | 'best fit'> | undefined;
|
|
260
260
|
/**
|
|
261
261
|
* Defines the behavior of the component.
|
|
262
262
|
* @defaultValue decimal
|
|
263
263
|
*/
|
|
264
|
-
mode?: 'decimal' | 'currency' | undefined;
|
|
264
|
+
mode?: HintedString<'decimal' | 'currency'> | undefined;
|
|
265
265
|
/**
|
|
266
266
|
* Text to display before the value.
|
|
267
267
|
*/
|
|
@@ -326,7 +326,7 @@ export interface InputNumberProps {
|
|
|
326
326
|
/**
|
|
327
327
|
* Defines the size of the component.
|
|
328
328
|
*/
|
|
329
|
-
size?: 'small' | 'large' | undefined;
|
|
329
|
+
size?: HintedString<'small' | 'large'> | undefined;
|
|
330
330
|
/**
|
|
331
331
|
* When present, it specifies that the component should have invalid state style.
|
|
332
332
|
* @defaultValue false
|
|
@@ -341,7 +341,7 @@ export interface InputNumberProps {
|
|
|
341
341
|
* Specifies the input variant of the component.
|
|
342
342
|
* @defaultValue null
|
|
343
343
|
*/
|
|
344
|
-
variant?: 'outlined' | 'filled' | undefined | null;
|
|
344
|
+
variant?: HintedString<'outlined' | 'filled'> | undefined | null;
|
|
345
345
|
/**
|
|
346
346
|
* When present, it specifies that an input field is read-only.
|
|
347
347
|
* @defaultValue false
|
package/inputnumber/index.mjs
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { cn } from '@primeuix/utils';
|
|
1
2
|
import { clearSelection, getSelection } from '@primeuix/utils/dom';
|
|
2
3
|
import { isNotEmpty } from '@primeuix/utils/object';
|
|
3
4
|
import AngleDownIcon from '@primevue/icons/angledown';
|
|
@@ -141,6 +142,10 @@ var script$1 = {
|
|
|
141
142
|
ariaLabel: {
|
|
142
143
|
type: String,
|
|
143
144
|
"default": null
|
|
145
|
+
},
|
|
146
|
+
required: {
|
|
147
|
+
type: Boolean,
|
|
148
|
+
"default": false
|
|
144
149
|
}
|
|
145
150
|
},
|
|
146
151
|
style: InputNumberStyle,
|
|
@@ -876,13 +881,7 @@ var script = {
|
|
|
876
881
|
this.$refs.input.$el.setSelectionRange(_selectionEnd, _selectionEnd);
|
|
877
882
|
} else if (newLength === currentLength) {
|
|
878
883
|
if (operation === 'insert' || operation === 'delete-back-single') {
|
|
879
|
-
|
|
880
|
-
if (insertedValueStr === '0') {
|
|
881
|
-
newSelectionEnd = _selectionEnd + 1;
|
|
882
|
-
} else {
|
|
883
|
-
newSelectionEnd = newSelectionEnd + Number(this.isDecimalSign(value) || this.isDecimalSign(insertedValueStr));
|
|
884
|
-
}
|
|
885
|
-
this.$refs.input.$el.setSelectionRange(newSelectionEnd, newSelectionEnd);
|
|
884
|
+
this.$refs.input.$el.setSelectionRange(_selectionEnd + 1, _selectionEnd + 1);
|
|
886
885
|
} else if (operation === 'delete-single') {
|
|
887
886
|
this.$refs.input.$el.setSelectionRange(_selectionEnd - 1, _selectionEnd - 1);
|
|
888
887
|
} else if (operation === 'delete-range' || operation === 'spin') {
|
|
@@ -1019,6 +1018,13 @@ var script = {
|
|
|
1019
1018
|
},
|
|
1020
1019
|
getFormatter: function getFormatter() {
|
|
1021
1020
|
return this.numberFormat;
|
|
1021
|
+
},
|
|
1022
|
+
dataP: function dataP() {
|
|
1023
|
+
return cn(_defineProperty(_defineProperty({
|
|
1024
|
+
invalid: this.$invalid,
|
|
1025
|
+
fluid: this.$fluid,
|
|
1026
|
+
filled: this.$variant === 'filled'
|
|
1027
|
+
}, this.size, this.size), this.buttonLayout, this.showButtons && this.buttonLayout));
|
|
1022
1028
|
}
|
|
1023
1029
|
},
|
|
1024
1030
|
components: {
|
|
@@ -1028,15 +1034,19 @@ var script = {
|
|
|
1028
1034
|
}
|
|
1029
1035
|
};
|
|
1030
1036
|
|
|
1031
|
-
var _hoisted_1 = ["
|
|
1032
|
-
var _hoisted_2 = ["
|
|
1033
|
-
var _hoisted_3 = ["disabled"];
|
|
1034
|
-
var _hoisted_4 = ["disabled"];
|
|
1037
|
+
var _hoisted_1 = ["data-p"];
|
|
1038
|
+
var _hoisted_2 = ["data-p"];
|
|
1039
|
+
var _hoisted_3 = ["disabled", "data-p"];
|
|
1040
|
+
var _hoisted_4 = ["disabled", "data-p"];
|
|
1041
|
+
var _hoisted_5 = ["disabled", "data-p"];
|
|
1042
|
+
var _hoisted_6 = ["disabled", "data-p"];
|
|
1035
1043
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1036
1044
|
var _component_InputText = resolveComponent("InputText");
|
|
1037
1045
|
return openBlock(), createElementBlock("span", mergeProps({
|
|
1038
1046
|
"class": _ctx.cx('root')
|
|
1039
|
-
}, _ctx.ptmi('root')
|
|
1047
|
+
}, _ctx.ptmi('root'), {
|
|
1048
|
+
"data-p": $options.dataP
|
|
1049
|
+
}), [createVNode(_component_InputText, {
|
|
1040
1050
|
ref: "input",
|
|
1041
1051
|
id: _ctx.inputId,
|
|
1042
1052
|
name: _ctx.$formName,
|
|
@@ -1053,6 +1063,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1053
1063
|
placeholder: _ctx.placeholder,
|
|
1054
1064
|
"aria-labelledby": _ctx.ariaLabelledby,
|
|
1055
1065
|
"aria-label": _ctx.ariaLabel,
|
|
1066
|
+
required: _ctx.required,
|
|
1056
1067
|
size: _ctx.size,
|
|
1057
1068
|
invalid: _ctx.invalid,
|
|
1058
1069
|
variant: _ctx.variant,
|
|
@@ -1064,11 +1075,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1064
1075
|
onFocus: $options.onInputFocus,
|
|
1065
1076
|
onBlur: $options.onInputBlur,
|
|
1066
1077
|
pt: _ctx.ptm('pcInputText'),
|
|
1067
|
-
unstyled: _ctx.unstyled
|
|
1068
|
-
|
|
1078
|
+
unstyled: _ctx.unstyled,
|
|
1079
|
+
"data-p": $options.dataP
|
|
1080
|
+
}, null, 8, ["id", "name", "class", "style", "value", "aria-valuemin", "aria-valuemax", "aria-valuenow", "inputmode", "disabled", "readonly", "placeholder", "aria-labelledby", "aria-label", "required", "size", "invalid", "variant", "onInput", "onKeydown", "onKeypress", "onPaste", "onClick", "onFocus", "onBlur", "pt", "unstyled", "data-p"]), _ctx.showButtons && _ctx.buttonLayout === 'stacked' ? (openBlock(), createElementBlock("span", mergeProps({
|
|
1069
1081
|
key: 0,
|
|
1070
1082
|
"class": _ctx.cx('buttonGroup')
|
|
1071
|
-
}, _ctx.ptm('buttonGroup')
|
|
1083
|
+
}, _ctx.ptm('buttonGroup'), {
|
|
1084
|
+
"data-p": $options.dataP
|
|
1085
|
+
}), [renderSlot(_ctx.$slots, "incrementbutton", {
|
|
1072
1086
|
listeners: $options.upButtonListeners
|
|
1073
1087
|
}, function () {
|
|
1074
1088
|
return [createElementVNode("button", mergeProps({
|
|
@@ -1078,13 +1092,15 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1078
1092
|
tabindex: -1,
|
|
1079
1093
|
"aria-hidden": "true",
|
|
1080
1094
|
type: "button"
|
|
1081
|
-
}, _ctx.ptm('incrementButton')
|
|
1095
|
+
}, _ctx.ptm('incrementButton'), {
|
|
1096
|
+
"data-p": $options.dataP
|
|
1097
|
+
}), [renderSlot(_ctx.$slots, _ctx.$slots.incrementicon ? 'incrementicon' : 'incrementbuttonicon', {}, function () {
|
|
1082
1098
|
return [(openBlock(), createBlock(resolveDynamicComponent(_ctx.incrementIcon || _ctx.incrementButtonIcon ? 'span' : 'AngleUpIcon'), mergeProps({
|
|
1083
1099
|
"class": [_ctx.incrementIcon, _ctx.incrementButtonIcon]
|
|
1084
1100
|
}, _ctx.ptm('incrementIcon'), {
|
|
1085
1101
|
"data-pc-section": "incrementicon"
|
|
1086
1102
|
}), null, 16, ["class"]))];
|
|
1087
|
-
})], 16,
|
|
1103
|
+
})], 16, _hoisted_3)];
|
|
1088
1104
|
}), renderSlot(_ctx.$slots, "decrementbutton", {
|
|
1089
1105
|
listeners: $options.downButtonListeners
|
|
1090
1106
|
}, function () {
|
|
@@ -1095,14 +1111,16 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1095
1111
|
tabindex: -1,
|
|
1096
1112
|
"aria-hidden": "true",
|
|
1097
1113
|
type: "button"
|
|
1098
|
-
}, _ctx.ptm('decrementButton')
|
|
1114
|
+
}, _ctx.ptm('decrementButton'), {
|
|
1115
|
+
"data-p": $options.dataP
|
|
1116
|
+
}), [renderSlot(_ctx.$slots, _ctx.$slots.decrementicon ? 'decrementicon' : 'decrementbuttonicon', {}, function () {
|
|
1099
1117
|
return [(openBlock(), createBlock(resolveDynamicComponent(_ctx.decrementIcon || _ctx.decrementButtonIcon ? 'span' : 'AngleDownIcon'), mergeProps({
|
|
1100
1118
|
"class": [_ctx.decrementIcon, _ctx.decrementButtonIcon]
|
|
1101
1119
|
}, _ctx.ptm('decrementIcon'), {
|
|
1102
1120
|
"data-pc-section": "decrementicon"
|
|
1103
1121
|
}), null, 16, ["class"]))];
|
|
1104
|
-
})], 16,
|
|
1105
|
-
})], 16)) : createCommentVNode("", true), renderSlot(_ctx.$slots, "incrementbutton", {
|
|
1122
|
+
})], 16, _hoisted_4)];
|
|
1123
|
+
})], 16, _hoisted_2)) : createCommentVNode("", true), renderSlot(_ctx.$slots, "incrementbutton", {
|
|
1106
1124
|
listeners: $options.upButtonListeners
|
|
1107
1125
|
}, function () {
|
|
1108
1126
|
return [_ctx.showButtons && _ctx.buttonLayout !== 'stacked' ? (openBlock(), createElementBlock("button", mergeProps({
|
|
@@ -1113,13 +1131,15 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1113
1131
|
tabindex: -1,
|
|
1114
1132
|
"aria-hidden": "true",
|
|
1115
1133
|
type: "button"
|
|
1116
|
-
}, _ctx.ptm('incrementButton')
|
|
1134
|
+
}, _ctx.ptm('incrementButton'), {
|
|
1135
|
+
"data-p": $options.dataP
|
|
1136
|
+
}), [renderSlot(_ctx.$slots, _ctx.$slots.incrementicon ? 'incrementicon' : 'incrementbuttonicon', {}, function () {
|
|
1117
1137
|
return [(openBlock(), createBlock(resolveDynamicComponent(_ctx.incrementIcon || _ctx.incrementButtonIcon ? 'span' : 'AngleUpIcon'), mergeProps({
|
|
1118
1138
|
"class": [_ctx.incrementIcon, _ctx.incrementButtonIcon]
|
|
1119
1139
|
}, _ctx.ptm('incrementIcon'), {
|
|
1120
1140
|
"data-pc-section": "incrementicon"
|
|
1121
1141
|
}), null, 16, ["class"]))];
|
|
1122
|
-
})], 16,
|
|
1142
|
+
})], 16, _hoisted_5)) : createCommentVNode("", true)];
|
|
1123
1143
|
}), renderSlot(_ctx.$slots, "decrementbutton", {
|
|
1124
1144
|
listeners: $options.downButtonListeners
|
|
1125
1145
|
}, function () {
|
|
@@ -1131,14 +1151,16 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1131
1151
|
tabindex: -1,
|
|
1132
1152
|
"aria-hidden": "true",
|
|
1133
1153
|
type: "button"
|
|
1134
|
-
}, _ctx.ptm('decrementButton')
|
|
1154
|
+
}, _ctx.ptm('decrementButton'), {
|
|
1155
|
+
"data-p": $options.dataP
|
|
1156
|
+
}), [renderSlot(_ctx.$slots, _ctx.$slots.decrementicon ? 'decrementicon' : 'decrementbuttonicon', {}, function () {
|
|
1135
1157
|
return [(openBlock(), createBlock(resolveDynamicComponent(_ctx.decrementIcon || _ctx.decrementButtonIcon ? 'span' : 'AngleDownIcon'), mergeProps({
|
|
1136
1158
|
"class": [_ctx.decrementIcon, _ctx.decrementButtonIcon]
|
|
1137
1159
|
}, _ctx.ptm('decrementIcon'), {
|
|
1138
1160
|
"data-pc-section": "decrementicon"
|
|
1139
1161
|
}), null, 16, ["class"]))];
|
|
1140
|
-
})], 16,
|
|
1141
|
-
})], 16);
|
|
1162
|
+
})], 16, _hoisted_6)) : createCommentVNode("", true)];
|
|
1163
|
+
})], 16, _hoisted_1);
|
|
1142
1164
|
}
|
|
1143
1165
|
|
|
1144
1166
|
script.render = render;
|