@milaboratories/milaboratories.ui-examples.ui 1.3.19 → 1.3.20
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 +4 -4
- package/CHANGELOG.md +6 -0
- package/dist/assets/{index-BUzfRle6.js → index-DqUyzlU1.js} +189 -189
- package/dist/assets/{index-BUzfRle6.js.map → index-DqUyzlU1.js.map} +1 -1
- package/dist/assets/{index-DFdnYYCs.css → index-DyybnC77.css} +1 -1
- package/dist/index.html +2 -2
- package/package.json +4 -4
- package/src/pages/AgGridVuePage.vue +4 -1
- package/src/pages/ButtonsPage.vue +8 -2
package/dist/index.html
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta http-equiv="Content-Security-Policy" content="script-src 'self' blob:">
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
-
<script type="module" crossorigin src="./assets/index-
|
|
8
|
-
<link rel="stylesheet" crossorigin href="./assets/index-
|
|
7
|
+
<script type="module" crossorigin src="./assets/index-DqUyzlU1.js"></script>
|
|
8
|
+
<link rel="stylesheet" crossorigin href="./assets/index-DyybnC77.css">
|
|
9
9
|
</head>
|
|
10
10
|
<body>
|
|
11
11
|
<div id="app"></div>
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@milaboratories/milaboratories.ui-examples.ui",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.20",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"vue": "^3.5.13",
|
|
7
|
-
"@
|
|
8
|
-
"@
|
|
7
|
+
"@platforma-sdk/model": "^1.21.20",
|
|
8
|
+
"@milaboratories/milaboratories.ui-examples.model": "1.1.11"
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
11
|
"@vitejs/plugin-vue": "^5.2.1",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"zod": "~3.23.8",
|
|
17
17
|
"ag-grid-enterprise": "^33.0.3",
|
|
18
18
|
"ag-grid-vue3": "^33.0.3",
|
|
19
|
-
"@platforma-sdk/ui-vue": "^1.21.
|
|
19
|
+
"@platforma-sdk/ui-vue": "^1.21.21",
|
|
20
20
|
"@milaboratories/helpers": "^1.6.11"
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
@@ -45,7 +45,10 @@ const columnDefs: ColDef[] = [
|
|
|
45
45
|
{
|
|
46
46
|
colId: 'label',
|
|
47
47
|
field: 'label',
|
|
48
|
-
|
|
48
|
+
pinned: 'left',
|
|
49
|
+
lockPinned: true,
|
|
50
|
+
lockPosition: true,
|
|
51
|
+
headerName: 'Sample label long text for overflow label long text for overflow',
|
|
49
52
|
cellRenderer: 'PlAgTextAndButtonCell',
|
|
50
53
|
headerComponent: PlAgColumnHeader,
|
|
51
54
|
headerComponentParams: { type: 'Text' } satisfies PlAgHeaderComponentParams,
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { PlBlockPage, PlBtnAccent, PlBtnGhost, PlBtnPrimary, PlBtnSecondary } from '@platforma-sdk/ui-vue';
|
|
2
|
+
import { PlBlockPage, PlBtnAccent, PlBtnGhost, PlBtnPrimary, PlBtnSecondary, PlBtnSplit } from '@platforma-sdk/ui-vue';
|
|
3
3
|
import { reactive, ref } from 'vue';
|
|
4
4
|
|
|
5
|
+
const model = ref('value-1');
|
|
5
6
|
const counter = ref(0);
|
|
6
|
-
|
|
7
|
+
const options = Array(5).fill(0).map((v, i) => ({ label: `Item${i}`, value: `value-${i}` }));
|
|
7
8
|
const data = reactive({
|
|
8
9
|
size: 'medium' as const,
|
|
9
10
|
round: false,
|
|
@@ -15,6 +16,9 @@ const data = reactive({
|
|
|
15
16
|
function onClick() {
|
|
16
17
|
counter.value++;
|
|
17
18
|
}
|
|
19
|
+
function clickHandler() {
|
|
20
|
+
console.log(model.value);
|
|
21
|
+
}
|
|
18
22
|
</script>
|
|
19
23
|
<template>
|
|
20
24
|
<PlBlockPage>
|
|
@@ -64,6 +68,8 @@ function onClick() {
|
|
|
64
68
|
>
|
|
65
69
|
Btn ghost
|
|
66
70
|
</PlBtnGhost>
|
|
71
|
+
|
|
72
|
+
<PlBtnSplit v-model="model" :options="options" @click="clickHandler"/>
|
|
67
73
|
</div>
|
|
68
74
|
</PlBlockPage>
|
|
69
75
|
</template>
|