@design.estate/dees-wcctools 3.1.1 → 3.1.2
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/dist_bundle/bundle.js +7 -7
- package/dist_bundle/bundle.js.map +2 -2
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/wcc-properties.d.ts +1 -1
- package/dist_ts_web/elements/wcc-properties.js +9 -11
- package/dist_watch/bundle.js +7 -7
- package/dist_watch/bundle.js.map +2 -2
- package/package.json +1 -1
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/wcc-properties.ts +9 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@design.estate/dees-wcctools",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A set of web component tools for creating element catalogues, enabling the structured development and documentation of custom elements and pages.",
|
|
6
6
|
"exports": {
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@design.estate/dees-wcctools',
|
|
6
|
-
version: '3.1.
|
|
6
|
+
version: '3.1.2',
|
|
7
7
|
description: 'A set of web component tools for creating element catalogues, enabling the structured development and documentation of custom elements and pages.'
|
|
8
8
|
}
|
|
@@ -925,16 +925,16 @@ export class WccProperties extends DeesElement {
|
|
|
925
925
|
this.dashboardRef.buildUrl();
|
|
926
926
|
}
|
|
927
927
|
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
928
|
+
protected updated(changedProperties: Map<string, unknown>) {
|
|
929
|
+
super.updated(changedProperties);
|
|
930
|
+
|
|
931
|
+
// Only recreate properties when selectedItem changes
|
|
932
|
+
if (changedProperties.has('selectedItem')) {
|
|
933
|
+
this.createProperties().catch(error => {
|
|
934
|
+
console.error('Error creating properties:', error);
|
|
935
|
+
this.propertyContent = [];
|
|
936
|
+
});
|
|
935
937
|
}
|
|
936
|
-
// Always call super.scheduleUpdate to ensure component updates
|
|
937
|
-
super.scheduleUpdate();
|
|
938
938
|
}
|
|
939
939
|
|
|
940
940
|
public selectViewport(viewport: TEnvironment) {
|