primevue 3.32.1 → 3.32.2
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/autocomplete/AutoComplete.vue +2 -2
- package/autocomplete/autocomplete.cjs.js +2 -2
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +2 -2
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +2 -2
- package/autocomplete/autocomplete.min.js +1 -1
- package/basecomponent/BaseComponent.vue +1 -1
- package/basecomponent/basecomponent.cjs.js +1 -5
- package/basecomponent/basecomponent.cjs.min.js +1 -1
- package/basecomponent/basecomponent.esm.js +1 -5
- package/basecomponent/basecomponent.esm.min.js +1 -1
- package/basecomponent/basecomponent.js +1 -5
- package/basecomponent/basecomponent.min.js +1 -1
- package/calendar/Calendar.d.ts +28 -4
- package/calendar/Calendar.vue +4 -4
- package/calendar/calendar.cjs.js +12 -4
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +12 -4
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +12 -4
- package/calendar/calendar.min.js +1 -1
- package/core/core.js +10 -12
- package/core/core.min.js +4 -4
- package/datatable/BodyCell.vue +2 -0
- package/datatable/DataTable.vue +2 -1
- package/datatable/datatable.cjs.js +6 -4
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +6 -4
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +6 -4
- package/datatable/datatable.min.js +1 -1
- package/dialog/Dialog.d.ts +11 -1
- package/dialog/Dialog.vue +5 -5
- package/dialog/dialog.cjs.js +8 -5
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +9 -6
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +8 -5
- package/dialog/dialog.min.js +1 -1
- package/editor/BaseEditor.vue +8 -6
- package/editor/editor.cjs.js +8 -6
- package/editor/editor.cjs.min.js +1 -1
- package/editor/editor.esm.js +8 -6
- package/editor/editor.esm.min.js +1 -1
- package/editor/editor.js +8 -6
- package/editor/editor.min.js +1 -1
- package/fileupload/FileUpload.vue +3 -3
- package/fileupload/fileupload.cjs.js +3 -3
- package/fileupload/fileupload.cjs.min.js +1 -1
- package/fileupload/fileupload.esm.js +3 -3
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +3 -3
- package/fileupload/fileupload.min.js +1 -1
- package/inputnumber/InputNumber.vue +1 -0
- package/inputnumber/inputnumber.cjs.js +1 -0
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +1 -0
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +1 -0
- package/inputnumber/inputnumber.min.js +1 -1
- package/listbox/Listbox.d.ts +7 -1
- package/package.json +9 -4
- package/passthrough/tailwind/index.cjs.js +0 -2
- package/passthrough/tailwind/index.cjs.min.js +1 -1
- package/passthrough/tailwind/index.esm.js +0 -2
- package/passthrough/tailwind/index.esm.min.js +1 -1
- package/passthrough/tailwind/index.js +0 -2
- package/passthrough/tailwind/index.min.js +1 -1
- package/resources/themes/arya-blue/theme.css +0 -4
- package/resources/themes/arya-green/theme.css +0 -4
- package/resources/themes/arya-orange/theme.css +0 -4
- package/resources/themes/arya-purple/theme.css +0 -4
- package/resources/themes/bootstrap4-dark-blue/theme.css +0 -4
- package/resources/themes/bootstrap4-dark-purple/theme.css +0 -4
- package/resources/themes/bootstrap4-light-blue/theme.css +0 -4
- package/resources/themes/bootstrap4-light-purple/theme.css +0 -4
- package/resources/themes/fluent-light/theme.css +0 -4
- package/resources/themes/lara-dark-blue/theme.css +0 -4
- package/resources/themes/lara-dark-indigo/theme.css +0 -4
- package/resources/themes/lara-dark-purple/theme.css +0 -4
- package/resources/themes/lara-dark-teal/theme.css +0 -4
- package/resources/themes/lara-light-blue/theme.css +0 -4
- package/resources/themes/lara-light-indigo/theme.css +0 -4
- package/resources/themes/lara-light-purple/theme.css +0 -4
- package/resources/themes/lara-light-teal/theme.css +0 -4
- package/resources/themes/luna-amber/theme.css +0 -4
- package/resources/themes/luna-blue/theme.css +0 -4
- package/resources/themes/luna-green/theme.css +0 -4
- package/resources/themes/luna-pink/theme.css +0 -4
- package/resources/themes/md-dark-deeppurple/theme.css +0 -4
- package/resources/themes/md-dark-indigo/theme.css +0 -4
- package/resources/themes/md-light-deeppurple/theme.css +0 -4
- package/resources/themes/md-light-indigo/theme.css +0 -4
- package/resources/themes/mdc-dark-deeppurple/theme.css +0 -4
- package/resources/themes/mdc-dark-indigo/theme.css +0 -4
- package/resources/themes/mdc-light-deeppurple/theme.css +0 -4
- package/resources/themes/mdc-light-indigo/theme.css +0 -4
- package/resources/themes/mira/theme.css +0 -4
- package/resources/themes/nano/theme.css +0 -4
- package/resources/themes/nova/theme.css +0 -4
- package/resources/themes/nova-accent/theme.css +0 -4
- package/resources/themes/nova-alt/theme.css +0 -4
- package/resources/themes/nova-vue/theme.css +0 -4
- package/resources/themes/rhea/theme.css +0 -4
- package/resources/themes/saga-blue/theme.css +0 -4
- package/resources/themes/saga-green/theme.css +0 -4
- package/resources/themes/saga-orange/theme.css +0 -4
- package/resources/themes/saga-purple/theme.css +0 -4
- package/resources/themes/soho-dark/theme.css +0 -4
- package/resources/themes/soho-light/theme.css +0 -4
- package/resources/themes/tailwind-light/theme.css +0 -4
- package/resources/themes/vela-blue/theme.css +0 -4
- package/resources/themes/vela-green/theme.css +0 -4
- package/resources/themes/vela-orange/theme.css +0 -4
- package/resources/themes/vela-purple/theme.css +0 -4
- package/resources/themes/viva-dark/theme.css +0 -4
- package/resources/themes/viva-light/theme.css +0 -4
- package/sidebar/Sidebar.d.ts +8 -2
- package/sidebar/Sidebar.vue +1 -1
- package/sidebar/sidebar.cjs.js +3 -1
- package/sidebar/sidebar.cjs.min.js +1 -1
- package/sidebar/sidebar.esm.js +4 -2
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +3 -1
- package/sidebar/sidebar.min.js +1 -1
- package/toast/BaseToast.vue +2 -0
- package/toast/Toast.d.ts +14 -2
- package/toast/toast.cjs.js +1 -1
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.esm.js +1 -1
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +1 -1
- package/toast/toast.min.js +1 -1
- package/web-types.json +1 -1
package/datatable/BodyCell.vue
CHANGED
package/datatable/DataTable.vue
CHANGED
|
@@ -522,8 +522,9 @@ export default {
|
|
|
522
522
|
resolvedFieldDatas.set(item, ObjectUtils.resolveFieldData(item, this.d_sortField));
|
|
523
523
|
}
|
|
524
524
|
|
|
525
|
+
const comparer = new Intl.Collator(undefined, { numeric: true }).compare;
|
|
526
|
+
|
|
525
527
|
data.sort((data1, data2) => {
|
|
526
|
-
const comparer = new Intl.Collator(undefined, { numeric: true }).compare;
|
|
527
528
|
let value1 = resolvedFieldDatas.get(data1);
|
|
528
529
|
let value2 = resolvedFieldDatas.get(data2);
|
|
529
530
|
|
|
@@ -1274,7 +1274,7 @@ function _objectSpread$9(target) { for (var i = 1; i < arguments.length; i++) {
|
|
|
1274
1274
|
function _defineProperty$9(obj, key, value) { key = _toPropertyKey$9(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
1275
1275
|
function _toPropertyKey$9(arg) { var key = _toPrimitive$9(arg, "string"); return _typeof$9(key) === "symbol" ? key : String(key); }
|
|
1276
1276
|
function _toPrimitive$9(input, hint) { if (_typeof$9(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof$9(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
1277
|
-
var _hoisted_1$5 = ["data-p-selection-column", "data-p-editable-column", "data-p-cell-editing", "data-p-frozen-column"];
|
|
1277
|
+
var _hoisted_1$5 = ["colspan", "rowspan", "data-p-selection-column", "data-p-editable-column", "data-p-cell-editing", "data-p-frozen-column"];
|
|
1278
1278
|
var _hoisted_2$2 = ["aria-expanded", "aria-controls", "aria-label"];
|
|
1279
1279
|
var _hoisted_3$2 = ["aria-label"];
|
|
1280
1280
|
var _hoisted_4$1 = ["aria-label"];
|
|
@@ -1302,6 +1302,8 @@ function render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1302
1302
|
key: 1,
|
|
1303
1303
|
style: $options.containerStyle,
|
|
1304
1304
|
"class": $options.containerClass,
|
|
1305
|
+
colspan: $options.columnProp('colspan'),
|
|
1306
|
+
rowspan: $options.columnProp('rowspan'),
|
|
1305
1307
|
onClick: _cache[6] || (_cache[6] = function () {
|
|
1306
1308
|
return $options.onClick && $options.onClick.apply($options, arguments);
|
|
1307
1309
|
}),
|
|
@@ -4335,10 +4337,10 @@ var script = {
|
|
|
4335
4337
|
} finally {
|
|
4336
4338
|
_iterator.f();
|
|
4337
4339
|
}
|
|
4340
|
+
var comparer = new Intl.Collator(undefined, {
|
|
4341
|
+
numeric: true
|
|
4342
|
+
}).compare;
|
|
4338
4343
|
data.sort(function (data1, data2) {
|
|
4339
|
-
var comparer = new Intl.Collator(undefined, {
|
|
4340
|
-
numeric: true
|
|
4341
|
-
}).compare;
|
|
4342
4344
|
var value1 = resolvedFieldDatas.get(data1);
|
|
4343
4345
|
var value2 = resolvedFieldDatas.get(data2);
|
|
4344
4346
|
var result = null;
|