@veloceapps/sdk 7.0.2-13 → 7.0.2-15
Sign up to get free protection for your applications and to get access to all the features.
- package/cms/types/common.types.d.ts +7 -0
- package/cms/types/index.d.ts +2 -0
- package/cms/types/layouts.types.d.ts +28 -2
- package/cms/types/pages.types.d.ts +1 -0
- package/esm2020/cms/cms.layouts.mjs +39 -1
- package/esm2020/cms/services/io-provider.service.mjs +7 -5
- package/esm2020/cms/types/common.types.mjs +1 -1
- package/esm2020/cms/types/index.mjs +3 -1
- package/esm2020/cms/types/layouts.types.mjs +70 -1
- package/esm2020/cms/types/pages.types.mjs +2 -0
- package/fesm2015/veloceapps-sdk-cms.mjs +44 -4
- package/fesm2015/veloceapps-sdk-cms.mjs.map +1 -1
- package/fesm2020/veloceapps-sdk-cms.mjs +114 -4
- package/fesm2020/veloceapps-sdk-cms.mjs.map +1 -1
- package/package.json +1 -1
@@ -494,12 +494,14 @@ class IOProviderService {
|
|
494
494
|
if (isHost) {
|
495
495
|
return this.createSubjectSafe(el.path ?? '', name);
|
496
496
|
}
|
497
|
+
const pathIsValue = target.startsWith('"') && target.endsWith('"');
|
498
|
+
if (pathIsValue) {
|
499
|
+
return this.createSubjectSafe(el.path, name, new BehaviorSubject(target.slice(1, -1)));
|
500
|
+
}
|
497
501
|
const elPath = parsePath(target);
|
498
|
-
const pathIsValue = elPath.segments.length === 1 && elPath.segments[0].startsWith('"') && elPath.segments[0].endsWith('"');
|
499
502
|
const finalName = elPath.variable ?? name;
|
500
|
-
const
|
501
|
-
|
502
|
-
return this.createSubjectSafe(absolutePath ?? '', finalName, value);
|
503
|
+
const absolutePath = getAbsolutePath(this.runtimeService.applicationTree, el, elPath);
|
504
|
+
return this.createSubjectSafe(absolutePath ?? '', finalName, undefined);
|
503
505
|
}
|
504
506
|
createSubjectSafe(path, name, subject) {
|
505
507
|
if (!this.inputs[path]) {
|
@@ -1699,6 +1701,44 @@ const LAYOUT = {
|
|
1699
1701
|
}
|
1700
1702
|
}
|
1701
1703
|
/* end of LAYOUT_6 styles */
|
1704
|
+
`,
|
1705
|
+
},
|
1706
|
+
LAYOUT_7: {
|
1707
|
+
styles: `
|
1708
|
+
/* start of LAYOUT_7 styles */
|
1709
|
+
:host {
|
1710
|
+
height: 100%;
|
1711
|
+
display: grid;
|
1712
|
+
grid: "left" 1fr / 0.3fr;
|
1713
|
+
gap: 10px;
|
1714
|
+
padding: 10px;
|
1715
|
+
justify-content: start;
|
1716
|
+
}
|
1717
|
+
:host ::ng-deep element-children > vl-cms-element-renderer {
|
1718
|
+
&:nth-child(1) > vl-element {
|
1719
|
+
grid-area: left;
|
1720
|
+
}
|
1721
|
+
}
|
1722
|
+
/* end of LAYOUT_7 styles */
|
1723
|
+
`,
|
1724
|
+
},
|
1725
|
+
LAYOUT_8: {
|
1726
|
+
styles: `
|
1727
|
+
/* start of LAYOUT_8 styles */
|
1728
|
+
:host {
|
1729
|
+
height: 100%;
|
1730
|
+
display: grid;
|
1731
|
+
grid: "right" 1fr / 0.3fr;
|
1732
|
+
gap: 10px;
|
1733
|
+
padding: 10px;
|
1734
|
+
justify-content: end;
|
1735
|
+
}
|
1736
|
+
:host ::ng-deep element-children > vl-cms-element-renderer {
|
1737
|
+
&:nth-child(1) > vl-element {
|
1738
|
+
grid-area: right;
|
1739
|
+
}
|
1740
|
+
}
|
1741
|
+
/* end of LAYOUT_8 styles */
|
1702
1742
|
`,
|
1703
1743
|
},
|
1704
1744
|
};
|
@@ -2210,6 +2250,76 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImpor
|
|
2210
2250
|
}]
|
2211
2251
|
}] });
|
2212
2252
|
|
2253
|
+
/**
|
2254
|
+
* List of available layouts for Full Page Type:
|
2255
|
+
*
|
2256
|
+
LAYOUT_1
|
2257
|
+
+-------------------------+
|
2258
|
+
| 1. HEADER |
|
2259
|
+
|-------------------------|
|
2260
|
+
| |
|
2261
|
+
| 2. CONTAINER |
|
2262
|
+
| |
|
2263
|
+
|-------------------------|
|
2264
|
+
| 3. FOOTER |
|
2265
|
+
+-------------------------+
|
2266
|
+
|
2267
|
+
LAYOUT_2
|
2268
|
+
+-------------------------+
|
2269
|
+
| 1. HEADER |
|
2270
|
+
|------------+------------|
|
2271
|
+
| | |
|
2272
|
+
| 2. LEFT | 3. RIGHT |
|
2273
|
+
| | |
|
2274
|
+
|------------+------------|
|
2275
|
+
| 4. FOOTER |
|
2276
|
+
+-------------------------+
|
2277
|
+
|
2278
|
+
LAYOUT_3
|
2279
|
+
+-------------------------+
|
2280
|
+
| |
|
2281
|
+
| |
|
2282
|
+
| 1. CONTAINER |
|
2283
|
+
| |
|
2284
|
+
| |
|
2285
|
+
|-------------------------|
|
2286
|
+
| 2. FOOTER |
|
2287
|
+
+-------------------------+
|
2288
|
+
|
2289
|
+
LAYOUT_4
|
2290
|
+
+-------------------------+
|
2291
|
+
| | |
|
2292
|
+
| | |
|
2293
|
+
| 1. LEFT | 2. RIGHT |
|
2294
|
+
| | |
|
2295
|
+
| | |
|
2296
|
+
|------------+------------|
|
2297
|
+
| 3. FOOTER |
|
2298
|
+
+-------------------------+
|
2299
|
+
|
2300
|
+
LAYOUT_5
|
2301
|
+
+-------------------------+
|
2302
|
+
| 1. HEADER |
|
2303
|
+
|-------------------------|
|
2304
|
+
| |
|
2305
|
+
| |
|
2306
|
+
| 2. CONTAINER |
|
2307
|
+
| |
|
2308
|
+
| |
|
2309
|
+
+-------------------------+
|
2310
|
+
|
2311
|
+
LAYOUT_6
|
2312
|
+
+-------------------------+
|
2313
|
+
| |
|
2314
|
+
| |
|
2315
|
+
| |
|
2316
|
+
| 1. CONTAINER |
|
2317
|
+
| |
|
2318
|
+
| |
|
2319
|
+
| |
|
2320
|
+
+-------------------------+
|
2321
|
+
*/
|
2322
|
+
|
2213
2323
|
/**
|
2214
2324
|
* Generated bundle index. Do not edit.
|
2215
2325
|
*/
|