@everymatrix/general-styling-wrapper 1.56.0 → 1.56.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/cjs/general-styling-wrapper.cjs.entry.js +5 -13
- package/dist/cjs/general-styling-wrapper.cjs.js +2 -2
- package/dist/cjs/{index-bd515e45.js → index-0608126f.js} +107 -273
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/general-styling-wrapper/general-styling-wrapper.js +5 -21
- package/dist/esm/general-styling-wrapper.entry.js +5 -13
- package/dist/esm/general-styling-wrapper.js +3 -3
- package/dist/esm/{index-d449ed4b.js → index-5d1b44a7.js} +107 -273
- package/dist/esm/loader.js +2 -2
- package/dist/general-styling-wrapper/general-styling-wrapper.esm.js +1 -1
- package/dist/general-styling-wrapper/p-8f5d4d70.js +2 -0
- package/dist/general-styling-wrapper/p-cbc56d10.entry.js +1 -0
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-styling-wrapper/.stencil/packages/stencil/general-styling-wrapper/stencil.config.d.ts +2 -0
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-styling-wrapper/.stencil/packages/stencil/general-styling-wrapper/stencil.config.dev.d.ts +2 -0
- package/dist/types/stencil-public-runtime.d.ts +0 -6
- package/package.json +1 -1
- package/dist/general-styling-wrapper/p-4bf9aa97.js +0 -2
- package/dist/general-styling-wrapper/p-fefdf7c8.entry.js +0 -1
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/general-styling-wrapper/.stencil/packages/stencil/general-styling-wrapper/stencil.config.d.ts +0 -2
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/general-styling-wrapper/.stencil/packages/stencil/general-styling-wrapper/stencil.config.dev.d.ts +0 -2
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-styling-wrapper/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-styling-wrapper/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-styling-wrapper/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/general-styling-wrapper/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
|
@@ -2,18 +2,6 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
import { mergeTranslations } from "../../utils/locale.utils";
|
|
3
3
|
export class GeneralStylingWrapper {
|
|
4
4
|
constructor() {
|
|
5
|
-
/**
|
|
6
|
-
* Client custom styling via inline styles
|
|
7
|
-
*/
|
|
8
|
-
this.clientStyling = '';
|
|
9
|
-
/**
|
|
10
|
-
* Client custom styling via url
|
|
11
|
-
*/
|
|
12
|
-
this.clientStylingUrl = '';
|
|
13
|
-
/**
|
|
14
|
-
* Translation via url
|
|
15
|
-
*/
|
|
16
|
-
this.translationUrl = '';
|
|
17
5
|
this.stylingAppends = false;
|
|
18
6
|
this.setClientStyling = () => {
|
|
19
7
|
let sheet = document.createElement('style');
|
|
@@ -35,6 +23,10 @@ export class GeneralStylingWrapper {
|
|
|
35
23
|
console.log('error ', err);
|
|
36
24
|
});
|
|
37
25
|
};
|
|
26
|
+
this.clientStyling = '';
|
|
27
|
+
this.clientStylingUrl = '';
|
|
28
|
+
this.translationUrl = '';
|
|
29
|
+
this.targetTranslations = undefined;
|
|
38
30
|
}
|
|
39
31
|
componentDidRender() {
|
|
40
32
|
// start custom styling area
|
|
@@ -85,8 +77,6 @@ export class GeneralStylingWrapper {
|
|
|
85
77
|
"tags": [],
|
|
86
78
|
"text": "Client custom styling via inline styles"
|
|
87
79
|
},
|
|
88
|
-
"getter": false,
|
|
89
|
-
"setter": false,
|
|
90
80
|
"attribute": "client-styling",
|
|
91
81
|
"reflect": false,
|
|
92
82
|
"defaultValue": "''"
|
|
@@ -105,8 +95,6 @@ export class GeneralStylingWrapper {
|
|
|
105
95
|
"tags": [],
|
|
106
96
|
"text": "Client custom styling via url"
|
|
107
97
|
},
|
|
108
|
-
"getter": false,
|
|
109
|
-
"setter": false,
|
|
110
98
|
"attribute": "client-styling-url",
|
|
111
99
|
"reflect": false,
|
|
112
100
|
"defaultValue": "''"
|
|
@@ -125,8 +113,6 @@ export class GeneralStylingWrapper {
|
|
|
125
113
|
"tags": [],
|
|
126
114
|
"text": "Translation via url"
|
|
127
115
|
},
|
|
128
|
-
"getter": false,
|
|
129
|
-
"setter": false,
|
|
130
116
|
"attribute": "translation-url",
|
|
131
117
|
"reflect": false,
|
|
132
118
|
"defaultValue": "''"
|
|
@@ -150,9 +136,7 @@ export class GeneralStylingWrapper {
|
|
|
150
136
|
"docs": {
|
|
151
137
|
"tags": [],
|
|
152
138
|
"text": "Translation be merged to"
|
|
153
|
-
}
|
|
154
|
-
"getter": false,
|
|
155
|
-
"setter": false
|
|
139
|
+
}
|
|
156
140
|
}
|
|
157
141
|
};
|
|
158
142
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, g as getElement } from './index-5d1b44a7.js';
|
|
2
2
|
|
|
3
3
|
const mergeTranslations = (url, target) => {
|
|
4
4
|
return new Promise((resolve) => {
|
|
@@ -22,18 +22,6 @@ const GeneralStylingWrapperStyle0 = generalStylingWrapperCss;
|
|
|
22
22
|
const GeneralStylingWrapper = class {
|
|
23
23
|
constructor(hostRef) {
|
|
24
24
|
registerInstance(this, hostRef);
|
|
25
|
-
/**
|
|
26
|
-
* Client custom styling via inline styles
|
|
27
|
-
*/
|
|
28
|
-
this.clientStyling = '';
|
|
29
|
-
/**
|
|
30
|
-
* Client custom styling via url
|
|
31
|
-
*/
|
|
32
|
-
this.clientStylingUrl = '';
|
|
33
|
-
/**
|
|
34
|
-
* Translation via url
|
|
35
|
-
*/
|
|
36
|
-
this.translationUrl = '';
|
|
37
25
|
this.stylingAppends = false;
|
|
38
26
|
this.setClientStyling = () => {
|
|
39
27
|
let sheet = document.createElement('style');
|
|
@@ -55,6 +43,10 @@ const GeneralStylingWrapper = class {
|
|
|
55
43
|
console.log('error ', err);
|
|
56
44
|
});
|
|
57
45
|
};
|
|
46
|
+
this.clientStyling = '';
|
|
47
|
+
this.clientStylingUrl = '';
|
|
48
|
+
this.translationUrl = '';
|
|
49
|
+
this.targetTranslations = undefined;
|
|
58
50
|
}
|
|
59
51
|
componentDidRender() {
|
|
60
52
|
// start custom styling area
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-5d1b44a7.js';
|
|
2
|
+
export { s as setNonce } from './index-5d1b44a7.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v4.
|
|
6
|
+
Stencil Client Patch Browser v4.19.2 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
var patchBrowser = () => {
|
|
9
9
|
const importMeta = import.meta.url;
|