@omegagrid/core 0.6.110 → 0.6.111
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/model/adapter.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export declare abstract class ComponentAdapter<TComponent extends HTMLElement =
|
|
|
2
2
|
private _component;
|
|
3
3
|
readonly customProperties?: Record<string, unknown>;
|
|
4
4
|
get component(): TComponent;
|
|
5
|
-
protected
|
|
5
|
+
protected attached(_component: TComponent): void;
|
|
6
6
|
attach(component: TComponent): void;
|
|
7
7
|
}
|
|
8
8
|
//# sourceMappingURL=adapter.d.ts.map
|
package/dist/model/adapter.js
CHANGED
|
@@ -4,10 +4,10 @@ export class ComponentAdapter {
|
|
|
4
4
|
this.customProperties = {};
|
|
5
5
|
}
|
|
6
6
|
get component() { return this._component; }
|
|
7
|
-
|
|
7
|
+
attached(_component) { }
|
|
8
8
|
attach(component) {
|
|
9
9
|
this._component = component;
|
|
10
|
-
this.
|
|
10
|
+
this.attached(component);
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
//# sourceMappingURL=adapter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter.js","sourceRoot":"","sources":["../../src/model/adapter.ts"],"names":[],"mappings":"AAAA,yDAAyD;AAEzD,MAAM,OAAgB,gBAAgB;IAAtC;QAGU,qBAAgB,GAA6B,EAAE,CAAC;IAW1D,CAAC;IATA,IAAI,SAAS,KAAK,OAAO,IAAI,CAAC,UAAU,CAAA,CAAC,CAAC;IAEhC,QAAQ,CAAC,UAAsB,IAAI,CAAC;IAE9C,MAAM,CAAC,SAAqB;QAC3B,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;QAC5B,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;IAC1B,CAAC;CAED","sourcesContent":["/* eslint-disable @typescript-eslint/no-empty-function */\n\nexport abstract class ComponentAdapter<TComponent extends HTMLElement = HTMLElement> {\n\n\tprivate _component: TComponent;\n\treadonly customProperties?: Record<string, unknown> = {};\n\n\tget component() { return this._component }\n\n\tprotected
|
|
1
|
+
{"version":3,"file":"adapter.js","sourceRoot":"","sources":["../../src/model/adapter.ts"],"names":[],"mappings":"AAAA,yDAAyD;AAEzD,MAAM,OAAgB,gBAAgB;IAAtC;QAGU,qBAAgB,GAA6B,EAAE,CAAC;IAW1D,CAAC;IATA,IAAI,SAAS,KAAK,OAAO,IAAI,CAAC,UAAU,CAAA,CAAC,CAAC;IAEhC,QAAQ,CAAC,UAAsB,IAAI,CAAC;IAE9C,MAAM,CAAC,SAAqB;QAC3B,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;QAC5B,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;IAC1B,CAAC;CAED","sourcesContent":["/* eslint-disable @typescript-eslint/no-empty-function */\n\nexport abstract class ComponentAdapter<TComponent extends HTMLElement = HTMLElement> {\n\n\tprivate _component: TComponent;\n\treadonly customProperties?: Record<string, unknown> = {};\n\n\tget component() { return this._component }\n\n\tprotected attached(_component: TComponent) { }\n\n\tattach(component: TComponent) {\n\t\tthis._component = component;\n\t\tthis.attached(component);\n\t}\n\n}"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omegagrid/core",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.111",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"description": "Core components",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@fortawesome/fontawesome-svg-core": "6.4.2",
|
|
39
|
-
"@omegagrid/localize": "^0.6.
|
|
39
|
+
"@omegagrid/localize": "^0.6.111",
|
|
40
40
|
"@riovir/wc-fontawesome": "^0.1.9",
|
|
41
41
|
"color": "^4.2.3",
|
|
42
42
|
"date-fns": "^3.2.0",
|