antdv-next 1.6.0 → 1.7.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/_util/ContextIsolator.js +12 -3
- package/dist/_util/hooks/useAllowClear.d.ts +22 -6
- package/dist/_util/hooks/useAllowClear.js +24 -6
- package/dist/_util/hooks/useClosable.js +1 -1
- package/dist/_util/statusUtils.d.ts +1 -1
- package/dist/_util/tools.d.ts +3 -1
- package/dist/_util/tools.js +6 -1
- package/dist/_util/vueNode.d.ts +6 -2
- package/dist/alert/Alert.js +4 -1
- package/dist/alert/style/index.d.ts +3 -3
- package/dist/alert/style/index.js +3 -3
- package/dist/antd-with-locales.esm.js +16773 -15780
- package/dist/antd-with-locales.js +78 -78
- package/dist/antd.css +1 -1
- package/dist/antd.esm.js +14353 -14003
- package/dist/antd.js +80 -80
- package/dist/auto-complete/index.js +1 -0
- package/dist/avatar/Avatar.js +2 -4
- package/dist/avatar/AvatarContext.d.ts +2 -2
- package/dist/border-beam/BorderBeam.d.ts +8 -1
- package/dist/border-beam/BorderBeam.js +28 -14
- package/dist/border-beam/index.d.ts +2 -2
- package/dist/breadcrumb/BreadcrumbItem.js +1 -1
- package/dist/card/style/index.js +2 -2
- package/dist/cascader/Panel.js +3 -3
- package/dist/cascader/index.js +12 -5
- package/dist/checkbox/Checkbox.js +6 -4
- package/dist/checkbox/Group.d.ts +19 -1
- package/dist/checkbox/Group.js +34 -5
- package/dist/checkbox/GroupContext.d.ts +3 -0
- package/dist/checkbox/index.d.ts +2 -2
- package/dist/color-picker/ColorPicker.js +1 -1
- package/dist/color-picker/style/input.js +1 -1
- package/dist/components.d.ts +1 -1
- package/dist/date-picker/generatePicker/generateRangePicker.js +20 -2
- package/dist/date-picker/generatePicker/generateSinglePicker.js +20 -2
- package/dist/date-picker/generatePicker/interface.d.ts +4 -0
- package/dist/date-picker/style/panel.js +1 -1
- package/dist/date-picker/style/util.js +1 -1
- package/dist/date-picker/util.d.ts +2 -0
- package/dist/descriptions/hooks/useItems.d.ts +6 -6
- package/dist/descriptions/style/index.js +11 -13
- package/dist/divider/style/index.js +1 -1
- package/dist/drawer/DrawerPanel.js +1 -1
- package/dist/dropdown/dropdown.d.ts +2 -0
- package/dist/dropdown/dropdown.js +9 -2
- package/dist/dropdown/style/index.js +1 -1
- package/dist/form/ErrorList.js +1 -1
- package/dist/form/Form.js +1 -1
- package/dist/form/FormItem/ItemHolder.js +1 -1
- package/dist/form/FormItem/index.js +2 -2
- package/dist/form/FormItemInput.js +1 -1
- package/dist/form/FormItemLabel.js +1 -1
- package/dist/form/hooks/useVariant.js +1 -1
- package/dist/image/hooks/useMergedPreviewConfig.d.ts +1 -0
- package/dist/image/hooks/useMergedPreviewConfig.js +2 -1
- package/dist/index.d.ts +1 -1
- package/dist/input/Group.js +1 -1
- package/dist/input/Input.d.ts +2 -1
- package/dist/input/Input.js +8 -5
- package/dist/input/OTP/OTPInput.d.ts +2 -1
- package/dist/input/OTP/OTPInput.js +12 -3
- package/dist/input/OTP/index.d.ts +3 -1
- package/dist/input/OTP/index.js +15 -6
- package/dist/input/Password.js +7 -5
- package/dist/input/Search.js +4 -2
- package/dist/input/TextArea.d.ts +3 -1
- package/dist/input/TextArea.js +13 -8
- package/dist/input/style/index.js +1 -1
- package/dist/input-number/index.d.ts +3 -6
- package/dist/input-number/index.js +8 -3
- package/dist/input-number/style/index.js +1 -5
- package/dist/listy/index.d.ts +1 -1
- package/dist/listy/index.js +9 -7
- package/dist/listy/interface.d.ts +6 -1
- package/dist/listy/style/index.js +4 -2
- package/dist/locale/ar_EG.js +9 -0
- package/dist/locale/az_AZ.js +9 -0
- package/dist/locale/bg_BG.js +9 -0
- package/dist/locale/bn_BD.js +9 -0
- package/dist/locale/by_BY.js +9 -0
- package/dist/locale/ca_ES.js +9 -0
- package/dist/locale/cs_CZ.js +9 -0
- package/dist/locale/da_DK.js +9 -0
- package/dist/locale/de_DE.js +9 -0
- package/dist/locale/el_GR.js +9 -0
- package/dist/locale/en_GB.js +11 -1
- package/dist/locale/en_US.js +11 -1
- package/dist/locale/es_ES.js +9 -0
- package/dist/locale/et_EE.js +9 -0
- package/dist/locale/eu_ES.js +9 -0
- package/dist/locale/fa_IR.js +9 -0
- package/dist/locale/fi_FI.js +10 -1
- package/dist/locale/fr_BE.js +9 -0
- package/dist/locale/fr_CA.js +9 -0
- package/dist/locale/fr_FR.js +9 -0
- package/dist/locale/ga_IE.js +9 -0
- package/dist/locale/gl_ES.js +9 -0
- package/dist/locale/he_IL.js +9 -0
- package/dist/locale/hi_IN.js +9 -0
- package/dist/locale/hr_HR.js +9 -0
- package/dist/locale/hu_HU.js +9 -0
- package/dist/locale/hy_AM.js +9 -0
- package/dist/locale/id_ID.js +9 -0
- package/dist/locale/index.d.ts +3 -0
- package/dist/locale/is_IS.js +9 -0
- package/dist/locale/it_IT.js +9 -0
- package/dist/locale/ja_JP.js +9 -0
- package/dist/locale/ka_GE.js +9 -0
- package/dist/locale/kk_KZ.js +9 -0
- package/dist/locale/km_KH.js +9 -0
- package/dist/locale/kmr_IQ.js +9 -0
- package/dist/locale/kn_IN.js +9 -0
- package/dist/locale/ko_KR.js +9 -0
- package/dist/locale/ku_IQ.js +9 -0
- package/dist/locale/lt_LT.js +9 -0
- package/dist/locale/lv_LV.js +9 -0
- package/dist/locale/mk_MK.js +9 -0
- package/dist/locale/ml_IN.js +9 -0
- package/dist/locale/mn_MN.js +9 -0
- package/dist/locale/mr_IN.js +9 -0
- package/dist/locale/ms_MY.js +9 -0
- package/dist/locale/my_MM.js +9 -0
- package/dist/locale/nb_NO.js +9 -0
- package/dist/locale/ne_NP.js +9 -0
- package/dist/locale/nl_BE.js +9 -0
- package/dist/locale/nl_NL.js +9 -0
- package/dist/locale/pl_PL.js +9 -0
- package/dist/locale/pt_BR.js +9 -0
- package/dist/locale/pt_PT.js +9 -0
- package/dist/locale/ro_RO.js +19 -10
- package/dist/locale/ru_RU.js +9 -0
- package/dist/locale/si_LK.js +9 -0
- package/dist/locale/sk_SK.js +9 -0
- package/dist/locale/sl_SI.js +9 -0
- package/dist/locale/sq_AL.js +9 -0
- package/dist/locale/sr_RS.js +9 -0
- package/dist/locale/sv_SE.js +9 -0
- package/dist/locale/ta_IN.js +10 -1
- package/dist/locale/th_TH.js +9 -0
- package/dist/locale/tk_TK.js +9 -0
- package/dist/locale/tr_TR.js +9 -0
- package/dist/locale/uk_UA.js +9 -0
- package/dist/locale/ur_PK.js +9 -0
- package/dist/locale/useLocale.d.ts +6 -1
- package/dist/locale/useLocale.js +12 -1
- package/dist/locale/uz_UZ.js +9 -0
- package/dist/locale/vi_VN.js +9 -0
- package/dist/locale/zh_CN.js +13 -3
- package/dist/locale/zh_HK.js +11 -1
- package/dist/locale/zh_TW.js +11 -1
- package/dist/masonry/Masonry.js +1 -1
- package/dist/mentions/index.d.ts +2 -3
- package/dist/mentions/index.js +9 -4
- package/dist/mentions/style/index.js +1 -1
- package/dist/menu/MenuContext.d.ts +2 -0
- package/dist/menu/MenuItem.js +23 -6
- package/dist/menu/index.js +5 -0
- package/dist/menu/menu.d.ts +3 -0
- package/dist/menu/menu.js +7 -0
- package/dist/modal/ConfirmDialog.js +14 -7
- package/dist/notification/PurePanel.js +7 -12
- package/dist/notification/interface.d.ts +8 -0
- package/dist/notification/style/index.js +1 -1
- package/dist/notification/style/placement.js +10 -7
- package/dist/notification/useNotification.js +5 -15
- package/dist/package.js +1 -1
- package/dist/pagination/Pagination.js +2 -2
- package/dist/pagination/useShowSizeChanger.d.ts +3 -0
- package/dist/pagination/useShowSizeChanger.js +1 -1
- package/dist/popconfirm/index.js +5 -5
- package/dist/popconfirm/style/index.js +1 -1
- package/dist/popover/index.js +1 -1
- package/dist/popover/style/index.js +2 -2
- package/dist/progress/Circle.js +0 -8
- package/dist/progress/Line.js +1 -9
- package/dist/progress/Steps.js +0 -8
- package/dist/progress/progress.js +2 -14
- package/dist/qrcode/index.js +4 -4
- package/dist/radio/group.js +40 -7
- package/dist/radio/index.d.ts +2 -2
- package/dist/radio/interface.d.ts +19 -1
- package/dist/radio/radio.js +5 -3
- package/dist/result/index.js +3 -3
- package/dist/result/noFound.js +120 -140
- package/dist/result/serverError.js +132 -147
- package/dist/result/unauthorized.js +115 -129
- package/dist/segmented/index.js +1 -1
- package/dist/select/index.js +10 -3
- package/dist/select/style/dropdown.js +1 -1
- package/dist/select/style/index.js +2 -2
- package/dist/select/style/select-input-multiple.js +1 -1
- package/dist/select/usePopupRender.js +4 -1
- package/dist/slider/index.d.ts +0 -3
- package/dist/slider/index.js +2 -2
- package/dist/splitter/SplitBar.js +9 -3
- package/dist/splitter/interface.d.ts +5 -1
- package/dist/steps/style/index.js +1 -1
- package/dist/steps/style/inline.js +1 -1
- package/dist/style/motion/collapse.js +4 -10
- package/dist/table/ExpandIcon.d.ts +9 -4
- package/dist/table/ExpandIcon.js +42 -20
- package/dist/table/InternalTable.js +21 -15
- package/dist/table/hooks/useLazyKVMap.js +1 -1
- package/dist/table/hooks/useSelection.js +54 -9
- package/dist/table/interface.d.ts +8 -0
- package/dist/table/style/index.js +1 -1
- package/dist/table/style/sorter.js +2 -2
- package/dist/tabs/index.js +9 -2
- package/dist/tabs/style/index.js +1 -1
- package/dist/time-picker/index.js +34 -0
- package/dist/timeline/Timeline.js +1 -1
- package/dist/tooltip/style/index.js +1 -1
- package/dist/tour/panelRender.js +3 -2
- package/dist/transfer/Section.js +2 -1
- package/dist/transfer/Transfer.js +1 -1
- package/dist/tree/style/index.js +1 -1
- package/dist/tree-select/index.js +14 -8
- package/dist/typography/Base/index.js +23 -2
- package/dist/typography/Link.js +5 -0
- package/dist/typography/Paragraph.js +5 -0
- package/dist/typography/Text.js +5 -0
- package/dist/typography/Title.js +5 -0
- package/dist/typography/hooks/useMergedConfig.js +1 -1
- package/dist/typography/interface.d.ts +8 -1
- package/dist/typography/style/index.js +2 -1
- package/dist/typography/style/mixins.d.ts +2 -1
- package/dist/typography/style/mixins.js +26 -3
- package/dist/upload/Upload.d.ts +1 -0
- package/dist/upload/Upload.js +10 -3
- package/dist/upload/UploadList/ListItem.js +8 -3
- package/dist/upload/interface.d.ts +1 -0
- package/dist/version/token-meta.json +1 -1
- package/dist/version/token.json +1 -1
- package/dist/watermark/index.js +1 -1
- package/package.json +9 -9
- package/web-tags.json +74 -14
- package/web-types.json +186 -22
- package/dist/_util/getAllowClear.d.ts +0 -6
- package/dist/_util/getAllowClear.js +0 -11
package/dist/input/TextArea.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
|
|
|
2
2
|
import "../_util/hooks/index.js";
|
|
3
3
|
import { SizeType } from "../config-provider/SizeContext.js";
|
|
4
4
|
import { InputStatus } from "../_util/statusUtils.js";
|
|
5
|
+
import { AllowClear } from "../_util/hooks/useAllowClear.js";
|
|
5
6
|
import { ComponentBaseProps, Variant } from "../config-provider/context.js";
|
|
6
7
|
import { CSSProperties, SlotsType } from "vue";
|
|
7
8
|
import { InputProps } from "@v-c/input";
|
|
@@ -25,7 +26,7 @@ interface TextAreaRef extends Pick<TextAreaRef$1, 'focus' | 'blur'> {
|
|
|
25
26
|
nativeElement: TextAreaRef$1['nativeElement'] | null;
|
|
26
27
|
}
|
|
27
28
|
type InputTextAreaRef = TextAreaRef;
|
|
28
|
-
interface TextAreaProps extends ComponentBaseProps, Omit<TextAreaProps$1, 'classNames' | 'styles' | 'onChange' | 'onFocus' | 'onBlur' | 'onCompositionStart' | 'onCompositionEnd' | 'onKeydown' | 'onPressEnter' | 'onResize' | 'maxLength' | 'readOnly' | 'minLength'>, TextAreaEmitsProps {
|
|
29
|
+
interface TextAreaProps extends ComponentBaseProps, Omit<TextAreaProps$1, 'classNames' | 'styles' | 'onChange' | 'onFocus' | 'onBlur' | 'onCompositionStart' | 'onCompositionEnd' | 'onKeydown' | 'onPressEnter' | 'onResize' | 'maxLength' | 'readOnly' | 'minLength' | 'allowClear'>, TextAreaEmitsProps {
|
|
29
30
|
/** @deprecated Use `variant` instead */
|
|
30
31
|
bordered?: boolean;
|
|
31
32
|
size?: SizeType;
|
|
@@ -38,6 +39,7 @@ interface TextAreaProps extends ComponentBaseProps, Omit<TextAreaProps$1, 'class
|
|
|
38
39
|
minlength?: number;
|
|
39
40
|
readonly?: boolean;
|
|
40
41
|
showCount?: InputProps['showCount'];
|
|
42
|
+
allowClear?: AllowClear;
|
|
41
43
|
}
|
|
42
44
|
interface TextAreaEmits {
|
|
43
45
|
'pressEnter': NonNullable<TextAreaProps$1['onPressEnter']>;
|
package/dist/input/TextArea.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { devUseWarning, isDev } from "../_util/warning.js";
|
|
2
|
+
import { useFormItemInputContext } from "../form/context.js";
|
|
2
3
|
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
4
|
import { useSize } from "../config-provider/hooks/useSize.js";
|
|
4
5
|
import { useCompactItemContext } from "../space/Compact.js";
|
|
@@ -7,10 +8,9 @@ import { toPropsRefs } from "../_util/tools.js";
|
|
|
7
8
|
import useCSSVarCls from "../config-provider/hooks/useCSSVarCls.js";
|
|
8
9
|
import { useDisabledContext } from "../config-provider/DisabledContext.js";
|
|
9
10
|
import { getMergedStatus, getStatusClassNames } from "../_util/statusUtils.js";
|
|
10
|
-
import { useFormItemInputContext } from "../form/context.js";
|
|
11
11
|
import useVariant from "../form/hooks/useVariant.js";
|
|
12
12
|
import { useSharedStyle } from "./style/index.js";
|
|
13
|
-
import
|
|
13
|
+
import useAllowClear, { useAllowClearLabel } from "../_util/hooks/useAllowClear.js";
|
|
14
14
|
import textarea_default from "./style/textarea.js";
|
|
15
15
|
import { computed, createVNode, defineComponent, mergeProps, onBeforeUnmount, shallowRef } from "vue";
|
|
16
16
|
import { clsx } from "@v-c/util";
|
|
@@ -56,7 +56,12 @@ const InternalTextArea = /* @__PURE__ */ defineComponent((props, { attrs, emit,
|
|
|
56
56
|
const hasFeedback = computed(() => formItemInputContext.value.hasFeedback);
|
|
57
57
|
const feedbackIcon = computed(() => formItemInputContext.value.feedbackIcon);
|
|
58
58
|
const [mergedVariant, enableVariantCls] = useVariant("textArea", customVariant, bordered);
|
|
59
|
-
const
|
|
59
|
+
const getClearLabel = useAllowClearLabel();
|
|
60
|
+
const mergedAllowClear = computed(() => useAllowClear({
|
|
61
|
+
allowClear: props.allowClear,
|
|
62
|
+
contextAllowClear: contextAllowClear.value,
|
|
63
|
+
defaultLabel: getClearLabel()
|
|
64
|
+
}));
|
|
60
65
|
const mergedChangeOnComposing = computed(() => props.changeOnComposing ?? contextChangeOnComposing.value);
|
|
61
66
|
const isMouseDown = shallowRef(false);
|
|
62
67
|
const resizeDirty = shallowRef(false);
|
|
@@ -202,6 +207,11 @@ const InternalTextArea = /* @__PURE__ */ defineComponent((props, { attrs, emit,
|
|
|
202
207
|
required: false,
|
|
203
208
|
default: void 0
|
|
204
209
|
},
|
|
210
|
+
allowClear: {
|
|
211
|
+
type: [Boolean, Object],
|
|
212
|
+
required: false,
|
|
213
|
+
default: void 0
|
|
214
|
+
},
|
|
205
215
|
rootClass: {
|
|
206
216
|
type: String,
|
|
207
217
|
required: false
|
|
@@ -222,11 +232,6 @@ const InternalTextArea = /* @__PURE__ */ defineComponent((props, { attrs, emit,
|
|
|
222
232
|
required: false,
|
|
223
233
|
default: void 0
|
|
224
234
|
},
|
|
225
|
-
allowClear: {
|
|
226
|
-
type: [Boolean, Object],
|
|
227
|
-
required: false,
|
|
228
|
-
default: void 0
|
|
229
|
-
},
|
|
230
235
|
suffix: {
|
|
231
236
|
type: [
|
|
232
237
|
Object,
|
|
@@ -93,7 +93,7 @@ const genInputGroupStyle = (token) => {
|
|
|
93
93
|
position: "relative",
|
|
94
94
|
padding: `0 ${unit(token.paddingInline)}`,
|
|
95
95
|
color: token.colorText,
|
|
96
|
-
fontWeight:
|
|
96
|
+
fontWeight: 400,
|
|
97
97
|
fontSize: token.inputFontSize,
|
|
98
98
|
textAlign: "center",
|
|
99
99
|
borderRadius: token.borderRadius,
|
|
@@ -3,6 +3,7 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
|
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import { SizeType } from "../config-provider/SizeContext.js";
|
|
5
5
|
import { InputStatus } from "../_util/statusUtils.js";
|
|
6
|
+
import { AllowClear } from "../_util/hooks/useAllowClear.js";
|
|
6
7
|
import { ComponentBaseProps, Variant } from "../config-provider/context.js";
|
|
7
8
|
import { CSSProperties, SlotsType } from "vue";
|
|
8
9
|
import { InputNumberProps as InputNumberProps$1, InputNumberRef as VcInputNumberRef, ValueType } from "@v-c/input-number";
|
|
@@ -41,12 +42,8 @@ interface InputNumberProps extends ComponentBaseProps, Omit<InputNumberProps$1,
|
|
|
41
42
|
addonAfter?: VueNode;
|
|
42
43
|
prefix?: VueNode;
|
|
43
44
|
suffix?: VueNode;
|
|
44
|
-
/** Show clear button, or customize it with `
|
|
45
|
-
allowClear?:
|
|
46
|
-
clearIcon?: VueNode;
|
|
47
|
-
disabled?: boolean;
|
|
48
|
-
label?: string;
|
|
49
|
-
};
|
|
45
|
+
/** Show clear button (cleared value: `null`), or customize it with `AllowClearConfig` */
|
|
46
|
+
allowClear?: AllowClear;
|
|
50
47
|
/** @deprecated Use `variant="borderless"` instead. */
|
|
51
48
|
bordered?: boolean;
|
|
52
49
|
/**
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { devUseWarning, isDev } from "../_util/warning.js";
|
|
2
|
+
import { useFormItemInputContext } from "../form/context.js";
|
|
2
3
|
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
4
|
import { useSize } from "../config-provider/hooks/useSize.js";
|
|
4
5
|
import { useCompactItemContext } from "../space/Compact.js";
|
|
@@ -8,9 +9,8 @@ import { getSlotPropsFnRun, toPropsRefs } from "../_util/tools.js";
|
|
|
8
9
|
import useCSSVarCls from "../config-provider/hooks/useCSSVarCls.js";
|
|
9
10
|
import { useDisabledContext } from "../config-provider/DisabledContext.js";
|
|
10
11
|
import { getMergedStatus, getStatusClassNames } from "../_util/statusUtils.js";
|
|
11
|
-
import { useFormItemInputContext } from "../form/context.js";
|
|
12
12
|
import useVariant from "../form/hooks/useVariant.js";
|
|
13
|
-
import
|
|
13
|
+
import useAllowClear, { useAllowClearLabel } from "../_util/hooks/useAllowClear.js";
|
|
14
14
|
import { SpaceAddon, SpaceCompact } from "../space/index.js";
|
|
15
15
|
import style_default from "./style/index.js";
|
|
16
16
|
import { Fragment, computed, createVNode, defineComponent, isVNode, mergeProps, shallowRef } from "vue";
|
|
@@ -69,6 +69,7 @@ const InputNumber = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit
|
|
|
69
69
|
warning(!(props.type === "number" && props.changeOnWheel), "usage", "When `type=\"number\"` is used with `changeOnWheel`, the wheel interaction may not work as expected. Remove `type=\"number\"` if not required.");
|
|
70
70
|
}
|
|
71
71
|
const { prefixCls, direction, class: contextClassName, style: contextStyle, classes: contextClassNames, styles: contextStyles, allowClear: contextAllowClear } = useComponentBaseConfig("inputNumber", props, ["allowClear"], "input-number");
|
|
72
|
+
const getClearLabel = useAllowClearLabel();
|
|
72
73
|
const { classes, styles, rootClass, size: customSize, disabled: customDisabled, status: customStatus, bordered, variant: customVariant } = toPropsRefs(props, "classes", "styles", "rootClass", "size", "disabled", "status", "bordered", "variant");
|
|
73
74
|
const inputNumberRef = shallowRef();
|
|
74
75
|
expose({
|
|
@@ -177,7 +178,11 @@ const InputNumber = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit
|
|
|
177
178
|
};
|
|
178
179
|
const mergedSuffix = mergedSuffixFn();
|
|
179
180
|
const clearIconNode = slots.clearIcon?.();
|
|
180
|
-
const allowClear =
|
|
181
|
+
const allowClear = useAllowClear({
|
|
182
|
+
allowClear: props.allowClear,
|
|
183
|
+
contextAllowClear: contextAllowClear.value,
|
|
184
|
+
defaultLabel: getClearLabel()
|
|
185
|
+
});
|
|
181
186
|
const mergedAllowClear = clearIconNode && allowClear ? {
|
|
182
187
|
...typeof allowClear === "object" ? allowClear : {},
|
|
183
188
|
clearIcon: clearIconNode
|
|
@@ -63,10 +63,6 @@ const genInputNumberStyles = (token) => {
|
|
|
63
63
|
appearance: "none"
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
|
-
[`&:hover ${componentCls}-handler-wrap, &-focused ${componentCls}-handler-wrap`]: {
|
|
67
|
-
width: token.handleWidth,
|
|
68
|
-
opacity: 1
|
|
69
|
-
},
|
|
70
66
|
[`&-disabled ${componentCls}-input`]: {
|
|
71
67
|
cursor: "not-allowed",
|
|
72
68
|
color: token.colorTextDisabled
|
|
@@ -77,7 +73,7 @@ const genInputNumberStyles = (token) => {
|
|
|
77
73
|
...resetIcon(),
|
|
78
74
|
userSelect: "none",
|
|
79
75
|
overflow: "hidden",
|
|
80
|
-
fontWeight:
|
|
76
|
+
fontWeight: 700,
|
|
81
77
|
lineHeight: 0,
|
|
82
78
|
textAlign: "center",
|
|
83
79
|
cursor: "pointer",
|
package/dist/listy/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { ListyClassNames, ListyProps, ListyRef, ListyScrollToConfig, ListyStyles
|
|
|
2
2
|
import { SlotsType } from "vue";
|
|
3
3
|
//#region src/listy/index.d.ts
|
|
4
4
|
interface ListyEmits {
|
|
5
|
-
scroll:
|
|
5
|
+
scroll: (event: Event) => void;
|
|
6
6
|
}
|
|
7
7
|
interface ListySlots {
|
|
8
8
|
itemRender: (item: any) => any;
|
package/dist/listy/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import { computed, createVNode, defineComponent, mergeProps, shallowRef, useAttr
|
|
|
7
7
|
import { clsx } from "@v-c/util";
|
|
8
8
|
import VcListy from "@v-c/listy";
|
|
9
9
|
//#region src/listy/index.tsx
|
|
10
|
-
const Listy = /* @__PURE__ */ defineComponent((props, { expose, slots }) => {
|
|
10
|
+
const Listy = /* @__PURE__ */ defineComponent((props, { expose, slots, emit }) => {
|
|
11
11
|
const listyRef = shallowRef();
|
|
12
12
|
const { style, className, restAttrs } = getAttrStyleAndClass(useAttrs());
|
|
13
13
|
const { getPrefixCls, direction, class: contextClassName, style: contextStyle, classes: contextClassNames, styles: contextStyles, virtual: contextVirtual } = useComponentBaseConfig("listy");
|
|
@@ -22,8 +22,8 @@ const Listy = /* @__PURE__ */ defineComponent((props, { expose, slots }) => {
|
|
|
22
22
|
listyRef.value?.scrollTo(config);
|
|
23
23
|
} });
|
|
24
24
|
return () => {
|
|
25
|
-
const { classes, styles, rootClass, virtual, itemRender = slots.itemRender, ...restProps } = props;
|
|
26
|
-
const rootClassNames = clsx(contextClassName.value, mergedClassNames.value.root, rootClass, className, hashId.value, cssVarCls.value, rootCls.value);
|
|
25
|
+
const { classes, styles, rootClass, virtual, rowHoverable = true, itemRender = slots.itemRender, ...restProps } = props;
|
|
26
|
+
const rootClassNames = clsx(contextClassName.value, mergedClassNames.value.root, rootClass, className, { [`${prefixCls.value}-hoverable`]: rowHoverable }, hashId.value, cssVarCls.value, rootCls.value);
|
|
27
27
|
const listyToken = {
|
|
28
28
|
...token.value,
|
|
29
29
|
...token.value.Listy
|
|
@@ -36,6 +36,7 @@ const Listy = /* @__PURE__ */ defineComponent((props, { expose, slots }) => {
|
|
|
36
36
|
"virtual": mergedVirtual,
|
|
37
37
|
"itemHeight": itemHeight,
|
|
38
38
|
"itemRender": itemRender,
|
|
39
|
+
"onScroll": (e) => emit("scroll", e),
|
|
39
40
|
"classNames": {
|
|
40
41
|
...mergedClassNames.value,
|
|
41
42
|
root: rootClassNames
|
|
@@ -76,6 +77,11 @@ const Listy = /* @__PURE__ */ defineComponent((props, { expose, slots }) => {
|
|
|
76
77
|
type: Function,
|
|
77
78
|
required: false
|
|
78
79
|
},
|
|
80
|
+
rowHoverable: {
|
|
81
|
+
type: Boolean,
|
|
82
|
+
required: false,
|
|
83
|
+
default: void 0
|
|
84
|
+
},
|
|
79
85
|
items: {
|
|
80
86
|
type: Array,
|
|
81
87
|
required: false
|
|
@@ -110,10 +116,6 @@ const Listy = /* @__PURE__ */ defineComponent((props, { expose, slots }) => {
|
|
|
110
116
|
type: Function,
|
|
111
117
|
required: true,
|
|
112
118
|
skipCheck: true
|
|
113
|
-
},
|
|
114
|
-
onScroll: {
|
|
115
|
-
type: Function,
|
|
116
|
-
required: false
|
|
117
119
|
}
|
|
118
120
|
},
|
|
119
121
|
emits: ["scroll"],
|
|
@@ -9,13 +9,18 @@ interface ListySemanticType {
|
|
|
9
9
|
}
|
|
10
10
|
type ListyClassNamesType = SemanticType<ListyClassNames, ListyProps>;
|
|
11
11
|
type ListyStylesType = SemanticType<ListyStyles, ListyProps>;
|
|
12
|
-
interface ListyProps extends Omit<ListyProps$1, 'itemHeight' | 'direction' | 'classNames' | 'styles' | 'itemRender'> {
|
|
12
|
+
interface ListyProps extends Omit<ListyProps$1, 'itemHeight' | 'direction' | 'classNames' | 'styles' | 'itemRender' | 'onScroll'> {
|
|
13
13
|
rootClass?: string;
|
|
14
14
|
class?: string;
|
|
15
15
|
style?: StyleValue;
|
|
16
16
|
classes?: ListyClassNamesType;
|
|
17
17
|
styles?: ListyStylesType;
|
|
18
18
|
itemRender?: (item: any, index: number) => VueNode;
|
|
19
|
+
/**
|
|
20
|
+
* Whether rows are hoverable
|
|
21
|
+
* @default true
|
|
22
|
+
*/
|
|
23
|
+
rowHoverable?: boolean;
|
|
19
24
|
}
|
|
20
25
|
//#endregion
|
|
21
26
|
export { type ListyClassNames, ListyProps, type ListyRef, type ListyScrollToConfig, ListySemanticType, type ListyStyles, type ScrollAlign };
|
|
@@ -12,10 +12,12 @@ const genListyStyle = (token) => {
|
|
|
12
12
|
lineHeight: token.lineHeight,
|
|
13
13
|
[`${componentCls}-item`]: {
|
|
14
14
|
padding: `${unit(itemPaddingBlock)} ${unit(itemPaddingInline)}`,
|
|
15
|
-
borderBottom: `${unit(token.lineWidth)} ${token.lineType} ${token.colorSplit}
|
|
15
|
+
borderBottom: `${unit(token.lineWidth)} ${token.lineType} ${token.colorSplit}`
|
|
16
|
+
},
|
|
17
|
+
[`&${componentCls}-hoverable`]: { [`${componentCls}-item`]: {
|
|
16
18
|
transition: `background-color ${token.motionDurationMid} ${token.motionEaseInOut}`,
|
|
17
19
|
"&:hover": { backgroundColor: token.controlItemBgHover }
|
|
18
|
-
},
|
|
20
|
+
} },
|
|
19
21
|
[`${componentCls}-group-header`]: {
|
|
20
22
|
boxSizing: "border-box",
|
|
21
23
|
padding: `${unit(token.paddingXS)} ${unit(itemPaddingInline)}`,
|
package/dist/locale/ar_EG.js
CHANGED
|
@@ -22,9 +22,14 @@ const localeValues = {
|
|
|
22
22
|
selectAll: "اختيار الكل",
|
|
23
23
|
selectInvert: "إلغاء الاختيار",
|
|
24
24
|
selectionAll: "حدد جميع البيانات",
|
|
25
|
+
selectRow: "تحديد الصف",
|
|
26
|
+
selectedRow: "تم تحديد الصف",
|
|
27
|
+
selectionMenu: "قائمة التحديد",
|
|
25
28
|
sortTitle: "رتب",
|
|
26
29
|
expand: "توسيع الصف",
|
|
27
30
|
collapse: "طي الصف",
|
|
31
|
+
expandAll: "توسيع كل الصفوف",
|
|
32
|
+
collapseAll: "طي كل الصفوف",
|
|
28
33
|
triggerDesc: "ترتيب تنازلي",
|
|
29
34
|
triggerAsc: "ترتيب تصاعدي",
|
|
30
35
|
cancelSort: "إلغاء الترتيب",
|
|
@@ -48,6 +53,10 @@ const localeValues = {
|
|
|
48
53
|
okText: "تأكيد",
|
|
49
54
|
cancelText: "إلغاء"
|
|
50
55
|
},
|
|
56
|
+
Splitter: {
|
|
57
|
+
toggleStartPanel: "تبديل لوحة البداية",
|
|
58
|
+
toggleEndPanel: "تبديل لوحة النهاية"
|
|
59
|
+
},
|
|
51
60
|
Transfer: {
|
|
52
61
|
titles: ["", ""],
|
|
53
62
|
searchPlaceholder: "ابحث هنا",
|
package/dist/locale/az_AZ.js
CHANGED
|
@@ -27,9 +27,14 @@ const localeValues = {
|
|
|
27
27
|
filterSearchPlaceholder: "Filterlərdə axtar",
|
|
28
28
|
selectNone: "Bütün məlumatı sil",
|
|
29
29
|
selectionAll: "Bütün məlumatı seç",
|
|
30
|
+
selectRow: "Sətri seç",
|
|
31
|
+
selectedRow: "Sətir seçildi",
|
|
32
|
+
selectionMenu: "Seçim menyusu",
|
|
30
33
|
sortTitle: "Sırala",
|
|
31
34
|
expand: "Sıranı genişləndir",
|
|
32
35
|
collapse: "Sıranı qapadın",
|
|
36
|
+
expandAll: "Bütün sətirləri genişləndir",
|
|
37
|
+
collapseAll: "Bütün sətirləri yığ",
|
|
33
38
|
triggerDesc: "Azalan sıralama üçün klik edin",
|
|
34
39
|
triggerAsc: "Artan sıralama üçün klik edin",
|
|
35
40
|
cancelSort: "Sıralamayı ləğv edin"
|
|
@@ -48,6 +53,10 @@ const localeValues = {
|
|
|
48
53
|
okText: "Bəli",
|
|
49
54
|
cancelText: "Ləğv et"
|
|
50
55
|
},
|
|
56
|
+
Splitter: {
|
|
57
|
+
toggleStartPanel: "Başlanğıc panelini dəyişdir",
|
|
58
|
+
toggleEndPanel: "Son paneli dəyişdir"
|
|
59
|
+
},
|
|
51
60
|
Transfer: {
|
|
52
61
|
titles: ["", ""],
|
|
53
62
|
notFoundContent: "Tapılmadı",
|
package/dist/locale/bg_BG.js
CHANGED
|
@@ -27,9 +27,14 @@ const localeValues = {
|
|
|
27
27
|
emptyText: "Няма данни",
|
|
28
28
|
selectNone: "Изчистване на всички данни",
|
|
29
29
|
selectionAll: "Изберете всички данни",
|
|
30
|
+
selectRow: "Избиране на ред",
|
|
31
|
+
selectedRow: "Редът е избран",
|
|
32
|
+
selectionMenu: "Меню за избор",
|
|
30
33
|
sortTitle: "Сортиране",
|
|
31
34
|
expand: "Разширяване на реда",
|
|
32
35
|
collapse: "Свиване на ред",
|
|
36
|
+
expandAll: "Разширяване на всички редове",
|
|
37
|
+
collapseAll: "Свиване на всички редове",
|
|
33
38
|
triggerDesc: "Кликнете, за да сортирате в низходящ ред",
|
|
34
39
|
triggerAsc: "Кликнете, за да сортирате във възходящ ред",
|
|
35
40
|
cancelSort: "Кликнете, за да отмените сортирането"
|
|
@@ -48,6 +53,10 @@ const localeValues = {
|
|
|
48
53
|
okText: "Добре",
|
|
49
54
|
cancelText: "Отказ"
|
|
50
55
|
},
|
|
56
|
+
Splitter: {
|
|
57
|
+
toggleStartPanel: "Превключване на началния панел",
|
|
58
|
+
toggleEndPanel: "Превключване на крайния панел"
|
|
59
|
+
},
|
|
51
60
|
Transfer: {
|
|
52
61
|
titles: ["", ""],
|
|
53
62
|
searchPlaceholder: "Търсене",
|
package/dist/locale/bn_BD.js
CHANGED
|
@@ -25,9 +25,14 @@ const localeValues = {
|
|
|
25
25
|
selectInvert: "বর্তমান পৃষ্ঠাটি উল্টে দিন",
|
|
26
26
|
selectNone: "সমস্ত ডেটা সাফ করুন",
|
|
27
27
|
selectionAll: "সমস্ত ডেটা নির্বাচন করুন",
|
|
28
|
+
selectRow: "সারি নির্বাচন করুন",
|
|
29
|
+
selectedRow: "সারি নির্বাচিত",
|
|
30
|
+
selectionMenu: "নির্বাচন মেনু",
|
|
28
31
|
sortTitle: "সাজান",
|
|
29
32
|
expand: "সারি প্রসারিত করুন",
|
|
30
33
|
collapse: "সারি সঙ্কুচিত করুন",
|
|
34
|
+
expandAll: "সমস্ত সারি প্রসারিত করুন",
|
|
35
|
+
collapseAll: "সমস্ত সারি সঙ্কুচিত করুন",
|
|
31
36
|
triggerDesc: "অবতরণকে সাজানোর জন্য ক্লিক করুন",
|
|
32
37
|
triggerAsc: "আরোহী বাছাই করতে ক্লিক করুন",
|
|
33
38
|
cancelSort: "বাছাই বাতিল করতে ক্লিক করুন",
|
|
@@ -48,6 +53,10 @@ const localeValues = {
|
|
|
48
53
|
okText: "ঠিক",
|
|
49
54
|
cancelText: "বাতিল"
|
|
50
55
|
},
|
|
56
|
+
Splitter: {
|
|
57
|
+
toggleStartPanel: "শুরুর প্যানেল টগল করুন",
|
|
58
|
+
toggleEndPanel: "শেষের প্যানেল টগল করুন"
|
|
59
|
+
},
|
|
51
60
|
Transfer: {
|
|
52
61
|
titles: ["", ""],
|
|
53
62
|
searchPlaceholder: "এখানে অনুসন্ধান",
|
package/dist/locale/by_BY.js
CHANGED
|
@@ -27,9 +27,14 @@ const localeValues = {
|
|
|
27
27
|
selectInvert: "Інвертаваць выбар",
|
|
28
28
|
selectNone: "Ачысціць усе даныя",
|
|
29
29
|
selectionAll: "Выбраць усе даныя",
|
|
30
|
+
selectRow: "Выбраць радок",
|
|
31
|
+
selectedRow: "Радок выбраны",
|
|
32
|
+
selectionMenu: "Меню выбару",
|
|
30
33
|
sortTitle: "Сартаванне",
|
|
31
34
|
expand: "Разгарнуць радок",
|
|
32
35
|
collapse: "Згарнуць радок",
|
|
36
|
+
expandAll: "Разгарнуць усе радкі",
|
|
37
|
+
collapseAll: "Згарнуць усе радкі",
|
|
33
38
|
triggerDesc: "Націсніце для сартавання па ўбыванні",
|
|
34
39
|
triggerAsc: "Націсніце для сартавання па ўзрастанні",
|
|
35
40
|
cancelSort: "Націсніце, каб адмяніць сартаванне"
|
|
@@ -48,6 +53,10 @@ const localeValues = {
|
|
|
48
53
|
okText: "OK",
|
|
49
54
|
cancelText: "Адмена"
|
|
50
55
|
},
|
|
56
|
+
Splitter: {
|
|
57
|
+
toggleStartPanel: "Пераключыць пачатковую панэль",
|
|
58
|
+
toggleEndPanel: "Пераключыць канчатковую панэль"
|
|
59
|
+
},
|
|
51
60
|
Transfer: {
|
|
52
61
|
titles: ["", ""],
|
|
53
62
|
searchPlaceholder: "Пошук",
|
package/dist/locale/ca_ES.js
CHANGED
|
@@ -23,9 +23,14 @@ const localeValues = {
|
|
|
23
23
|
selectAll: "Seleccionar la pàgina actual",
|
|
24
24
|
selectInvert: "Invertir la selecció",
|
|
25
25
|
selectionAll: "Seleccionar-ho tot",
|
|
26
|
+
selectRow: "Selecciona la fila",
|
|
27
|
+
selectedRow: "Fila seleccionada",
|
|
28
|
+
selectionMenu: "Menú de selecció",
|
|
26
29
|
sortTitle: "Ordenar",
|
|
27
30
|
expand: "Ampliar la fila",
|
|
28
31
|
collapse: "Plegar la fila",
|
|
32
|
+
expandAll: "Ampliar totes les files",
|
|
33
|
+
collapseAll: "Plegar totes les files",
|
|
29
34
|
triggerDesc: "Ordre descendent",
|
|
30
35
|
triggerAsc: "Ordre ascendent",
|
|
31
36
|
cancelSort: "Desactivar l’ordre",
|
|
@@ -48,6 +53,10 @@ const localeValues = {
|
|
|
48
53
|
okText: "D’acord",
|
|
49
54
|
cancelText: "Cancel·lar"
|
|
50
55
|
},
|
|
56
|
+
Splitter: {
|
|
57
|
+
toggleStartPanel: "Commuta el panell inicial",
|
|
58
|
+
toggleEndPanel: "Commuta el panell final"
|
|
59
|
+
},
|
|
51
60
|
Transfer: {
|
|
52
61
|
titles: ["", ""],
|
|
53
62
|
searchPlaceholder: "Cercar",
|
package/dist/locale/cs_CZ.js
CHANGED
|
@@ -27,9 +27,14 @@ const localeValues = {
|
|
|
27
27
|
selectInvert: "Invertovat výběr na současné stránce",
|
|
28
28
|
selectNone: "Odznačit vše",
|
|
29
29
|
selectionAll: "Vybrat všechny řádky",
|
|
30
|
+
selectRow: "Vybrat řádek",
|
|
31
|
+
selectedRow: "Řádek vybrán",
|
|
32
|
+
selectionMenu: "Nabídka výběru",
|
|
30
33
|
sortTitle: "Řadit",
|
|
31
34
|
expand: "Rozbalit řádek",
|
|
32
35
|
collapse: "Zabalit řádek",
|
|
36
|
+
expandAll: "Rozbalit všechny řádky",
|
|
37
|
+
collapseAll: "Zabalit všechny řádky",
|
|
33
38
|
triggerDesc: "Klikni pro sestupné řazení",
|
|
34
39
|
triggerAsc: "Klikni pro vzestupné řazení",
|
|
35
40
|
cancelSort: "Klikni pro zrušení řazení"
|
|
@@ -48,6 +53,10 @@ const localeValues = {
|
|
|
48
53
|
okText: "OK",
|
|
49
54
|
cancelText: "Zrušit"
|
|
50
55
|
},
|
|
56
|
+
Splitter: {
|
|
57
|
+
toggleStartPanel: "Přepnout počáteční panel",
|
|
58
|
+
toggleEndPanel: "Přepnout koncový panel"
|
|
59
|
+
},
|
|
51
60
|
Transfer: {
|
|
52
61
|
titles: ["", ""],
|
|
53
62
|
searchPlaceholder: "Vyhledávání",
|
package/dist/locale/da_DK.js
CHANGED
|
@@ -25,9 +25,14 @@ const localeValues = {
|
|
|
25
25
|
selectNone: "Ryd alt data",
|
|
26
26
|
selectInvert: "Invertér valg",
|
|
27
27
|
selectionAll: "Vælg alt data",
|
|
28
|
+
selectRow: "Vælg række",
|
|
29
|
+
selectedRow: "Række valgt",
|
|
30
|
+
selectionMenu: "Valgmenu",
|
|
28
31
|
sortTitle: "Sortér",
|
|
29
32
|
expand: "Udvid række",
|
|
30
33
|
collapse: "Flet række",
|
|
34
|
+
expandAll: "Udvid alle rækker",
|
|
35
|
+
collapseAll: "Fold alle rækker sammen",
|
|
31
36
|
triggerDesc: "Klik for at sortere faldende",
|
|
32
37
|
triggerAsc: "Klik for at sortere stigende",
|
|
33
38
|
cancelSort: "Klik for at annullere sortering",
|
|
@@ -48,6 +53,10 @@ const localeValues = {
|
|
|
48
53
|
okText: "OK",
|
|
49
54
|
cancelText: "Afbryd"
|
|
50
55
|
},
|
|
56
|
+
Splitter: {
|
|
57
|
+
toggleStartPanel: "Skift startpanelet",
|
|
58
|
+
toggleEndPanel: "Skift slutpanelet"
|
|
59
|
+
},
|
|
51
60
|
Transfer: {
|
|
52
61
|
titles: ["", ""],
|
|
53
62
|
searchPlaceholder: "Søg her",
|
package/dist/locale/de_DE.js
CHANGED
|
@@ -25,10 +25,15 @@ const localeValues = {
|
|
|
25
25
|
selectAll: "Selektiere Alle",
|
|
26
26
|
selectInvert: "Selektion Invertieren",
|
|
27
27
|
selectionAll: "Wählen Sie alle Daten aus",
|
|
28
|
+
selectRow: "Zeile auswählen",
|
|
29
|
+
selectedRow: "Zeile ausgewählt",
|
|
30
|
+
selectionMenu: "Auswahlmenü",
|
|
28
31
|
sortTitle: "Sortieren",
|
|
29
32
|
emptyText: "Keine Daten",
|
|
30
33
|
expand: "Zeile erweitern",
|
|
31
34
|
collapse: "Zeile reduzieren",
|
|
35
|
+
expandAll: "Alle Zeilen erweitern",
|
|
36
|
+
collapseAll: "Alle Zeilen reduzieren",
|
|
32
37
|
triggerDesc: "Klicken zur absteigenden Sortierung",
|
|
33
38
|
triggerAsc: "Klicken zur aufsteigenden Sortierung",
|
|
34
39
|
cancelSort: "Klicken zum Abbrechen der Sortierung",
|
|
@@ -48,6 +53,10 @@ const localeValues = {
|
|
|
48
53
|
okText: "OK",
|
|
49
54
|
cancelText: "Abbrechen"
|
|
50
55
|
},
|
|
56
|
+
Splitter: {
|
|
57
|
+
toggleStartPanel: "Startpanel umschalten",
|
|
58
|
+
toggleEndPanel: "Endpanel umschalten"
|
|
59
|
+
},
|
|
51
60
|
Transfer: {
|
|
52
61
|
titles: ["", ""],
|
|
53
62
|
searchPlaceholder: "Suchen",
|
package/dist/locale/el_GR.js
CHANGED
|
@@ -27,9 +27,14 @@ const localeValues = {
|
|
|
27
27
|
selectInvert: "Αντιστροφή τρέχουσας σελίδας",
|
|
28
28
|
selectNone: "Εκκαθάριση όλων των δεδομένων",
|
|
29
29
|
selectionAll: "Επιλογή όλων των δεδομένων",
|
|
30
|
+
selectRow: "Επιλογή γραμμής",
|
|
31
|
+
selectedRow: "Η γραμμή επιλέχθηκε",
|
|
32
|
+
selectionMenu: "Μενού επιλογής",
|
|
30
33
|
sortTitle: "Ταξινόμηση",
|
|
31
34
|
expand: "Ανάπτυξη σειράς",
|
|
32
35
|
collapse: "Σύμπτυξη σειράς",
|
|
36
|
+
expandAll: "Ανάπτυξη όλων των σειρών",
|
|
37
|
+
collapseAll: "Σύμπτυξη όλων των σειρών",
|
|
33
38
|
triggerDesc: "Κλικ για φθίνουσα ταξινόμηση",
|
|
34
39
|
triggerAsc: "Κλικ για αύξουσα ταξινόμηση",
|
|
35
40
|
cancelSort: "Κλικ για ακύρωση ταξινόμησης"
|
|
@@ -48,6 +53,10 @@ const localeValues = {
|
|
|
48
53
|
okText: "ΟΚ",
|
|
49
54
|
cancelText: "Άκυρο"
|
|
50
55
|
},
|
|
56
|
+
Splitter: {
|
|
57
|
+
toggleStartPanel: "Εναλλαγή αρχικού πίνακα",
|
|
58
|
+
toggleEndPanel: "Εναλλαγή τελικού πίνακα"
|
|
59
|
+
},
|
|
51
60
|
Transfer: {
|
|
52
61
|
titles: ["", ""],
|
|
53
62
|
searchPlaceholder: "Αναζήτηση",
|
package/dist/locale/en_GB.js
CHANGED
|
@@ -13,7 +13,8 @@ const localeValues = {
|
|
|
13
13
|
global: {
|
|
14
14
|
placeholder: "Please select",
|
|
15
15
|
close: "Close",
|
|
16
|
-
sortable: "sortable"
|
|
16
|
+
sortable: "sortable",
|
|
17
|
+
clear: "Clear"
|
|
17
18
|
},
|
|
18
19
|
Table: {
|
|
19
20
|
filterTitle: "Filter menu",
|
|
@@ -27,9 +28,14 @@ const localeValues = {
|
|
|
27
28
|
selectInvert: "Invert current page",
|
|
28
29
|
selectNone: "Clear all data",
|
|
29
30
|
selectionAll: "Select all data",
|
|
31
|
+
selectRow: "Select row",
|
|
32
|
+
selectedRow: "Row selected",
|
|
33
|
+
selectionMenu: "Selection menu",
|
|
30
34
|
sortTitle: "Sort",
|
|
31
35
|
expand: "Expand row",
|
|
32
36
|
collapse: "Collapse row",
|
|
37
|
+
expandAll: "Expand all rows",
|
|
38
|
+
collapseAll: "Collapse all rows",
|
|
33
39
|
triggerDesc: "Click to sort descending",
|
|
34
40
|
triggerAsc: "Click to sort ascending",
|
|
35
41
|
cancelSort: "Click to cancel sorting"
|
|
@@ -48,6 +54,10 @@ const localeValues = {
|
|
|
48
54
|
okText: "OK",
|
|
49
55
|
cancelText: "Cancel"
|
|
50
56
|
},
|
|
57
|
+
Splitter: {
|
|
58
|
+
toggleStartPanel: "Toggle start panel",
|
|
59
|
+
toggleEndPanel: "Toggle end panel"
|
|
60
|
+
},
|
|
51
61
|
Transfer: {
|
|
52
62
|
titles: ["", ""],
|
|
53
63
|
searchPlaceholder: "Search here",
|
package/dist/locale/en_US.js
CHANGED
|
@@ -13,7 +13,8 @@ const localeValues = {
|
|
|
13
13
|
global: {
|
|
14
14
|
placeholder: "Please select",
|
|
15
15
|
close: "Close",
|
|
16
|
-
sortable: "sortable"
|
|
16
|
+
sortable: "sortable",
|
|
17
|
+
clear: "Clear"
|
|
17
18
|
},
|
|
18
19
|
Table: {
|
|
19
20
|
filterTitle: "Filter menu",
|
|
@@ -27,9 +28,14 @@ const localeValues = {
|
|
|
27
28
|
selectInvert: "Invert current page",
|
|
28
29
|
selectNone: "Clear all data",
|
|
29
30
|
selectionAll: "Select all data",
|
|
31
|
+
selectRow: "Select row",
|
|
32
|
+
selectedRow: "Row selected",
|
|
33
|
+
selectionMenu: "Selection menu",
|
|
30
34
|
sortTitle: "Sort",
|
|
31
35
|
expand: "Expand row",
|
|
32
36
|
collapse: "Collapse row",
|
|
37
|
+
expandAll: "Expand all rows",
|
|
38
|
+
collapseAll: "Collapse all rows",
|
|
33
39
|
triggerDesc: "Click to sort descending",
|
|
34
40
|
triggerAsc: "Click to sort ascending",
|
|
35
41
|
cancelSort: "Click to cancel sorting"
|
|
@@ -48,6 +54,10 @@ const localeValues = {
|
|
|
48
54
|
okText: "OK",
|
|
49
55
|
cancelText: "Cancel"
|
|
50
56
|
},
|
|
57
|
+
Splitter: {
|
|
58
|
+
toggleStartPanel: "Toggle start panel",
|
|
59
|
+
toggleEndPanel: "Toggle end panel"
|
|
60
|
+
},
|
|
51
61
|
Transfer: {
|
|
52
62
|
titles: ["", ""],
|
|
53
63
|
searchPlaceholder: "Search here",
|
package/dist/locale/es_ES.js
CHANGED
|
@@ -27,9 +27,14 @@ const localeValues = {
|
|
|
27
27
|
selectInvert: "Invertir selección",
|
|
28
28
|
selectNone: "Vacíe todo",
|
|
29
29
|
selectionAll: "Seleccionar todos los datos",
|
|
30
|
+
selectRow: "Seleccionar fila",
|
|
31
|
+
selectedRow: "Fila seleccionada",
|
|
32
|
+
selectionMenu: "Menú de selección",
|
|
30
33
|
sortTitle: "Ordenar",
|
|
31
34
|
expand: "Expandir fila",
|
|
32
35
|
collapse: "Colapsar fila",
|
|
36
|
+
expandAll: "Expandir todas las filas",
|
|
37
|
+
collapseAll: "Colapsar todas las filas",
|
|
33
38
|
triggerDesc: "Click para ordenar en orden descendente",
|
|
34
39
|
triggerAsc: "Click para ordenar en orden ascendente",
|
|
35
40
|
cancelSort: "Click para cancelar ordenamiento"
|
|
@@ -48,6 +53,10 @@ const localeValues = {
|
|
|
48
53
|
okText: "Aceptar",
|
|
49
54
|
cancelText: "Cancelar"
|
|
50
55
|
},
|
|
56
|
+
Splitter: {
|
|
57
|
+
toggleStartPanel: "Alternar panel inicial",
|
|
58
|
+
toggleEndPanel: "Alternar panel final"
|
|
59
|
+
},
|
|
51
60
|
Transfer: {
|
|
52
61
|
titles: ["", ""],
|
|
53
62
|
searchPlaceholder: "Buscar aquí",
|