@platforma-sdk/ui-vue 1.37.13 → 1.37.15
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/.turbo/turbo-build.log +24 -20
- package/.turbo/turbo-type-check.log +1 -1
- package/CHANGELOG.md +14 -0
- package/dist/AgGridVue/createAgGridColDef.d.ts.map +1 -1
- package/dist/AgGridVue/createAgGridColDef.js.map +1 -1
- package/dist/components/PlAgDataTable/PlAgDataTableV2.vue.d.ts.map +1 -1
- package/dist/components/PlAgDataTable/PlAgDataTableV2.vue2.js +87 -67
- package/dist/components/PlAgDataTable/PlAgDataTableV2.vue2.js.map +1 -1
- package/dist/components/PlAgDataTable/PlAgOverlayLoading.vue.d.ts +4 -4
- package/dist/components/PlAgDataTable/PlAgOverlayLoading.vue.d.ts.map +1 -1
- package/dist/components/PlAgDataTable/PlAgOverlayLoading.vue.js +23 -18
- package/dist/components/PlAgDataTable/PlAgOverlayLoading.vue.js.map +1 -1
- package/dist/components/PlAgDataTable/PlAgOverlayNoRows.vue.d.ts +3 -1
- package/dist/components/PlAgDataTable/PlAgOverlayNoRows.vue.d.ts.map +1 -1
- package/dist/components/PlAgDataTable/PlAgOverlayNoRows.vue.js +12 -7
- package/dist/components/PlAgDataTable/PlAgOverlayNoRows.vue.js.map +1 -1
- package/dist/lib/ui/uikit/dist/components/DataTable/TableComponent.vue.js +1 -1
- package/dist/lib/ui/uikit/dist/components/PlAccordion/PlAccordionSection.vue2.js +27 -27
- package/dist/lib/ui/uikit/dist/components/PlAccordion/PlAccordionSection.vue2.js.map +1 -1
- package/dist/lib/ui/uikit/dist/components/PlAutocomplete/PlAutocomplete.vue.js.map +1 -1
- package/dist/lib/ui/uikit/dist/components/PlDropdown/OptionList.vue.js +88 -0
- package/dist/lib/ui/uikit/dist/components/PlDropdown/OptionList.vue.js.map +1 -0
- package/dist/lib/ui/uikit/dist/components/PlDropdown/PlDropdown.vue.js +105 -117
- package/dist/lib/ui/uikit/dist/components/PlDropdown/PlDropdown.vue.js.map +1 -1
- package/dist/lib/ui/uikit/dist/components/PlDropdown/useGroupBy.js +33 -0
- package/dist/lib/ui/uikit/dist/components/PlDropdown/useGroupBy.js.map +1 -0
- package/dist/lib/ui/uikit/dist/components/PlDropdownRef/PlDropdownRef.vue.js +8 -7
- package/dist/lib/ui/uikit/dist/components/PlDropdownRef/PlDropdownRef.vue.js.map +1 -1
- package/dist/lib/ui/uikit/dist/components/PlFileDialog/Remote.vue.js +4 -4
- package/dist/lib/ui/uikit/dist/components/PlSlideModal/PlSlideModal.vue.js +1 -1
- package/dist/lib/ui/uikit/dist/helpers/utils.js +2 -1
- package/dist/lib/ui/uikit/dist/helpers/utils.js.map +1 -1
- package/dist/lib/ui/uikit/dist/sdk/model/dist/index.js +1 -1
- package/dist/lib/ui/uikit/dist/sdk/model/dist/index.js.map +1 -1
- package/dist/lib/ui/uikit/dist/utils/TextLabel.vue.js +26 -0
- package/dist/lib/ui/uikit/dist/utils/TextLabel.vue.js.map +1 -0
- package/dist/lib/ui/uikit/dist/utils/TextLabel.vue2.js +22 -0
- package/dist/lib/ui/uikit/dist/utils/TextLabel.vue2.js.map +1 -0
- package/dist/plugins/Monetization/MonetizationSidebar.vue.js +2 -2
- package/dist/sdk/model/dist/index.js +1 -1
- package/dist/sdk/model/dist/index.js.map +1 -1
- package/package.json +6 -6
- package/src/AgGridVue/createAgGridColDef.ts +2 -1
- package/src/components/PlAgDataTable/PlAgDataTableV2.vue +23 -0
- package/src/components/PlAgDataTable/PlAgOverlayLoading.vue +12 -5
- package/src/components/PlAgDataTable/PlAgOverlayNoRows.vue +10 -1
|
@@ -3,7 +3,8 @@ import type { ColDef, ICellRendererParams } from 'ag-grid-enterprise';
|
|
|
3
3
|
import { PlAgCellProgress } from '../components/PlAgCellProgress';
|
|
4
4
|
import type { MaskIconName16, PlProgressCellProps } from '@milaboratories/uikit';
|
|
5
5
|
import { tapIf } from '@milaboratories/helpers';
|
|
6
|
-
import {
|
|
6
|
+
import type { PlAgHeaderComponentParams } from '../components/PlAgColumnHeader';
|
|
7
|
+
import { PlAgColumnHeader } from '../components/PlAgColumnHeader';
|
|
7
8
|
import { PlAgTextAndButtonCell } from '../components/PlAgTextAndButtonCell';
|
|
8
9
|
|
|
9
10
|
/**
|
|
@@ -484,6 +484,29 @@ watch(
|
|
|
484
484
|
}
|
|
485
485
|
},
|
|
486
486
|
);
|
|
487
|
+
|
|
488
|
+
watch(
|
|
489
|
+
() => ({
|
|
490
|
+
gridApi: gridApi.value,
|
|
491
|
+
loadingText: props.loadingText,
|
|
492
|
+
notReadyText: props.notReadyText,
|
|
493
|
+
noRowsText: props.noRowsText,
|
|
494
|
+
}),
|
|
495
|
+
({ gridApi, loadingText, notReadyText, noRowsText }) => {
|
|
496
|
+
if (!gridApi || gridApi.isDestroyed()) return;
|
|
497
|
+
gridApi.updateGridOptions({
|
|
498
|
+
loadingOverlayComponentParams: {
|
|
499
|
+
...gridOptions.value.loadingOverlayComponentParams,
|
|
500
|
+
loadingText,
|
|
501
|
+
notReadyText,
|
|
502
|
+
},
|
|
503
|
+
noRowsOverlayComponentParams: {
|
|
504
|
+
...gridOptions.value.noRowsOverlayComponentParams,
|
|
505
|
+
text: noRowsText,
|
|
506
|
+
},
|
|
507
|
+
});
|
|
508
|
+
},
|
|
509
|
+
);
|
|
487
510
|
</script>
|
|
488
511
|
|
|
489
512
|
<template>
|
|
@@ -1,16 +1,23 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import style from './pl-ag-overlay-loading.module.scss';
|
|
3
2
|
import { PlSplash } from '@milaboratories/uikit';
|
|
3
|
+
import { ref } from 'vue';
|
|
4
|
+
import style from './pl-ag-overlay-loading.module.scss';
|
|
4
5
|
import type { PlAgOverlayLoadingParams } from './types';
|
|
5
6
|
|
|
6
7
|
// @TODO move this component from this folder
|
|
7
8
|
|
|
8
|
-
defineProps<{
|
|
9
|
-
/**
|
|
10
|
-
* Required object that contains props from loadingOverlayComponentParams.
|
|
11
|
-
*/
|
|
9
|
+
const props = defineProps<{
|
|
10
|
+
/** Required object that contains props from loadingOverlayComponentParams. */
|
|
12
11
|
params: PlAgOverlayLoadingParams;
|
|
13
12
|
}>();
|
|
13
|
+
|
|
14
|
+
const params = ref(props.params);
|
|
15
|
+
|
|
16
|
+
defineExpose({
|
|
17
|
+
refresh: (newParams: PlAgOverlayLoadingParams) => {
|
|
18
|
+
params.value = newParams;
|
|
19
|
+
},
|
|
20
|
+
});
|
|
14
21
|
</script>
|
|
15
22
|
|
|
16
23
|
<template>
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
|
+
import { ref } from 'vue';
|
|
2
3
|
import type { PlAgOverlayNoRowsParams } from './types';
|
|
3
4
|
|
|
4
|
-
defineProps<{
|
|
5
|
+
const props = defineProps<{
|
|
5
6
|
params: PlAgOverlayNoRowsParams;
|
|
6
7
|
}>();
|
|
8
|
+
|
|
9
|
+
const params = ref(props.params);
|
|
10
|
+
|
|
11
|
+
defineExpose({
|
|
12
|
+
refresh: (newParams: PlAgOverlayNoRowsParams) => {
|
|
13
|
+
params.value = newParams;
|
|
14
|
+
},
|
|
15
|
+
});
|
|
7
16
|
</script>
|
|
8
17
|
|
|
9
18
|
<template>
|