@limetech/lime-web-components 5.44.0 → 5.45.0
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/CHANGELOG.md +8 -0
- package/dist/es5/view/index.js +1 -0
- package/dist/es5/view/layout.js +2 -0
- package/dist/view/index.d.ts +1 -0
- package/dist/view/index.d.ts.map +1 -1
- package/dist/view/index.js +1 -0
- package/dist/view/layout.d.ts +31 -0
- package/dist/view/layout.d.ts.map +1 -0
- package/dist/view/layout.js +1 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [5.45.0](https://github.com/Lundalogik/lime-web-components/compare/v5.44.0...v5.45.0) (2025-03-05)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
* **view:** add interfaces for layouts ([d3759e4](https://github.com/Lundalogik/lime-web-components/commit/d3759e43b88eb922551671be2efb48bcd2459cc8)), closes [Lundalogik/crm-feature#3190](https://github.com/Lundalogik/crm-feature/issues/3190)
|
|
8
|
+
|
|
1
9
|
## [5.44.0](https://github.com/Lundalogik/lime-web-components/compare/v5.43.0...v5.44.0) (2025-01-27)
|
|
2
10
|
|
|
3
11
|
|
package/dist/es5/view/index.js
CHANGED
package/dist/view/index.d.ts
CHANGED
package/dist/view/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/view/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/view/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC"}
|
package/dist/view/index.js
CHANGED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { LoadOptions } from '../limeobject';
|
|
2
|
+
/**
|
|
3
|
+
* Layout config for a view
|
|
4
|
+
* @beta
|
|
5
|
+
* @group Views
|
|
6
|
+
*/
|
|
7
|
+
export type ViewLayout<T extends object = object> = {
|
|
8
|
+
/**
|
|
9
|
+
* The order to sort the objects by for this layout
|
|
10
|
+
*/
|
|
11
|
+
order?: LoadOptions['order'];
|
|
12
|
+
} & T;
|
|
13
|
+
/**
|
|
14
|
+
* Interface for components that render a configuration UI for a
|
|
15
|
+
* {@link ViewLayout}
|
|
16
|
+
* @beta
|
|
17
|
+
* @group Views
|
|
18
|
+
*/
|
|
19
|
+
export interface ViewLayoutConfigurationComponent<T extends object = object> {
|
|
20
|
+
/**
|
|
21
|
+
* The layout config
|
|
22
|
+
*/
|
|
23
|
+
layout: ViewLayout<T>;
|
|
24
|
+
/**
|
|
25
|
+
* Event emitter to use to emit events when the layout has changed
|
|
26
|
+
*/
|
|
27
|
+
changeLayout: {
|
|
28
|
+
emit: (data?: ViewLayout<T>) => CustomEvent<ViewLayout<T>>;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=layout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../src/view/layout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C;;;;GAIG;AACH,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,IAAI;IAChD;;OAEG;IACH,KAAK,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;CAChC,GAAG,CAAC,CAAC;AAEN;;;;;GAKG;AACH,MAAM,WAAW,gCAAgC,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM;IACvE;;OAEG;IACH,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC;IAEtB;;OAEG;IACH,YAAY,EAAE;QACV,IAAI,EAAE,CAAC,IAAI,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,KAAK,WAAW,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;KAC9D,CAAC;CACL"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@limetech/lime-web-components",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.45.0",
|
|
4
4
|
"description": "Lime Web Components",
|
|
5
5
|
"author": "Lime Technologies",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@stencil/core": "^2.22.3",
|
|
32
|
-
"rxjs": "^7.8.
|
|
32
|
+
"rxjs": "^7.8.2",
|
|
33
33
|
"tslib": "^2.8.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@commitlint/config-conventional": "^19.
|
|
37
|
-
"@microsoft/api-extractor": "^7.
|
|
36
|
+
"@commitlint/config-conventional": "^19.7.1",
|
|
37
|
+
"@microsoft/api-extractor": "^7.51.1",
|
|
38
38
|
"@types/jest": "^27.5.0",
|
|
39
39
|
"@typescript-eslint/eslint-plugin": "^7.5.0",
|
|
40
40
|
"@typescript-eslint/parser": "^7.5.0",
|