@milaboratories/milaboratories.ui-examples.ui 1.3.27 → 1.3.29
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 +5 -5
- package/CHANGELOG.md +14 -0
- package/dist/assets/{index-Dkhq9G66.js → index-Cn3qO9Le.js} +161 -161
- package/dist/assets/{index-Dkhq9G66.js.map → index-Cn3qO9Le.js.map} +1 -1
- package/dist/assets/index-DMuI660z.css +1 -0
- package/dist/index.html +2 -2
- package/package.json +4 -4
- package/src/pages/LayoutPage.vue +6 -4
- package/src/pages/ModalsPage.vue +13 -1
- package/dist/assets/index-t4yyIvTm.css +0 -1
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-Cn3qO9Le.js"></script>
|
|
8
|
+
<link rel="stylesheet" crossorigin href="./assets/index-DMuI660z.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.29",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"vue": "^3.5.13",
|
|
7
|
-
"@
|
|
8
|
-
"@
|
|
7
|
+
"@platforma-sdk/model": "^1.22.18",
|
|
8
|
+
"@milaboratories/milaboratories.ui-examples.model": "1.1.16"
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
11
|
"@vitejs/plugin-vue": "^5.2.1",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"ag-grid-enterprise": "^33.0.4",
|
|
18
18
|
"ag-grid-vue3": "^33.0.4",
|
|
19
19
|
"rollup-plugin-sourcemaps2": "^0.4.3",
|
|
20
|
-
"@platforma-sdk/ui-vue": "^1.22.
|
|
20
|
+
"@platforma-sdk/ui-vue": "^1.22.24",
|
|
21
21
|
"@milaboratories/helpers": "^1.6.11"
|
|
22
22
|
},
|
|
23
23
|
"scripts": {
|
package/src/pages/LayoutPage.vue
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { listToOptions } from '@milaboratories/helpers';
|
|
3
|
-
import { PlBlockPage, PlBtnGroup, PlCheckbox } from '@platforma-sdk/ui-vue';
|
|
3
|
+
import { PlBlockPage, PlBtnGroup, PlCheckbox, PlRow } from '@platforma-sdk/ui-vue';
|
|
4
4
|
import { computed, reactive } from 'vue';
|
|
5
5
|
|
|
6
6
|
const data = reactive({
|
|
@@ -20,9 +20,11 @@ const options = listToOptions(['Lorem ipsum', 'two words', 'cccc dddd zzzz']);
|
|
|
20
20
|
<PlBlockPage :no-body-gutters="data.noBodyGutters">
|
|
21
21
|
<template #title> {{ pageTitle }} </template>
|
|
22
22
|
<template #append>
|
|
23
|
-
<
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
<PlRow>
|
|
24
|
+
<PlBtnGroup v-model="data.group" :options="options"/>
|
|
25
|
+
<PlCheckbox v-model="data.longTitle">Long title</PlCheckbox>
|
|
26
|
+
<PlCheckbox v-model="data.noBodyGutters">No body gutters</PlCheckbox>
|
|
27
|
+
</PlRow>
|
|
26
28
|
</template>
|
|
27
29
|
<div :class="$style.content">Content</div>
|
|
28
30
|
</PlBlockPage>
|
package/src/pages/ModalsPage.vue
CHANGED
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
PlNumberField,
|
|
20
20
|
PlBtnDanger,
|
|
21
21
|
PlBtnGroup,
|
|
22
|
+
PlAccordionSection,
|
|
22
23
|
} from '@platforma-sdk/ui-vue';
|
|
23
24
|
import { computed, reactive } from 'vue';
|
|
24
25
|
|
|
@@ -222,7 +223,7 @@ const sizeOptions = [{
|
|
|
222
223
|
:shadow="slideData.shadow"
|
|
223
224
|
:width="slideData.sliderWidth"
|
|
224
225
|
>
|
|
225
|
-
<template v-if="slideData.title" #title>
|
|
226
|
+
<template v-if="slideData.title" #title>Settings</template>
|
|
226
227
|
<PlTextField v-model="slideData.text" label="Text field" />
|
|
227
228
|
<PlDropdown
|
|
228
229
|
v-model="dialogData.item"
|
|
@@ -260,6 +261,17 @@ const sizeOptions = [{
|
|
|
260
261
|
label="Select item"
|
|
261
262
|
:options="listToOptions(['Item 1', 'Item 2', 'Item 3', 'Item 4', 'Item 5', 'Item 6'])"
|
|
262
263
|
/>
|
|
264
|
+
<PlAccordionSection label="Section 1">
|
|
265
|
+
<div>Section 1</div>
|
|
266
|
+
<div>Section 1</div>
|
|
267
|
+
<div>Section 1</div>
|
|
268
|
+
<div>Section 1</div>
|
|
269
|
+
</PlAccordionSection>
|
|
270
|
+
<PlAccordionSection label="Section 2">
|
|
271
|
+
<div>Section 3</div>
|
|
272
|
+
<div>Section 2</div>
|
|
273
|
+
<div>Section 2</div>
|
|
274
|
+
</PlAccordionSection>
|
|
263
275
|
<template v-if="slideData.actions" #actions>
|
|
264
276
|
<PlBtnPrimary>Save</PlBtnPrimary>
|
|
265
277
|
<PlBtnSecondary>Cancel</PlBtnSecondary>
|