@milaboratories/milaboratories.ui-examples.ui 1.3.5 → 1.3.7
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 +12 -0
- package/dist/assets/{index-BJSaT5J1.css → index-BQLe-X22.css} +1 -1
- package/dist/assets/{index-BpRgZ30G.js → index-CXj4DcWa.js} +112 -112
- package/dist/assets/{index-BpRgZ30G.js.map → index-CXj4DcWa.js.map} +1 -1
- package/dist/index.html +2 -2
- package/package.json +2 -2
- package/src/app.ts +3 -0
- package/src/pages/LayoutPage.vue +7 -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-CXj4DcWa.js"></script>
|
|
8
|
+
<link rel="stylesheet" crossorigin href="./assets/index-BQLe-X22.css">
|
|
9
9
|
</head>
|
|
10
10
|
<body>
|
|
11
11
|
<div id="app"></div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@milaboratories/milaboratories.ui-examples.ui",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"vue": "^3.5.13",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"@ag-grid-community/client-side-row-model": "^32.3.3",
|
|
19
19
|
"@ag-grid-community/core": "^32.3.3",
|
|
20
20
|
"@ag-grid-community/theming": "^32.3.3",
|
|
21
|
-
"@platforma-sdk/ui-vue": "^1.20.
|
|
21
|
+
"@platforma-sdk/ui-vue": "^1.20.14",
|
|
22
22
|
"@milaboratories/helpers": "^1.6.11"
|
|
23
23
|
},
|
|
24
24
|
"scripts": {
|
package/src/app.ts
CHANGED
package/src/pages/LayoutPage.vue
CHANGED
|
@@ -1,21 +1,26 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import {
|
|
2
|
+
import { listToOptions } from '@milaboratories/helpers';
|
|
3
|
+
import { PlBlockPage, PlBtnGroup, PlCheckbox } from '@platforma-sdk/ui-vue';
|
|
3
4
|
import { computed, reactive } from 'vue';
|
|
4
5
|
|
|
5
6
|
const data = reactive({
|
|
6
7
|
longTitle: false,
|
|
7
8
|
noBodyGutters: false,
|
|
9
|
+
group: 'Lorem ipsum',
|
|
8
10
|
});
|
|
9
11
|
|
|
10
12
|
const loremIpsum = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.';
|
|
11
13
|
|
|
12
|
-
const pageTitle = computed(() => data.longTitle ? loremIpsum : 'Layout
|
|
14
|
+
const pageTitle = computed(() => data.longTitle ? loremIpsum : 'Layout page');
|
|
15
|
+
|
|
16
|
+
const options = listToOptions(['Lorem ipsum', 'two words', 'cccc dddd zzzz']);
|
|
13
17
|
</script>
|
|
14
18
|
|
|
15
19
|
<template>
|
|
16
20
|
<PlBlockPage :no-body-gutters="data.noBodyGutters">
|
|
17
21
|
<template #title> {{ pageTitle }} </template>
|
|
18
22
|
<template #append>
|
|
23
|
+
<PlBtnGroup v-model="data.group" :options="options"/>
|
|
19
24
|
<PlCheckbox v-model="data.longTitle">Long title</PlCheckbox>
|
|
20
25
|
<PlCheckbox v-model="data.noBodyGutters">No body gutters</PlCheckbox>
|
|
21
26
|
</template>
|