@things-factory/organization 6.0.28 → 6.0.34

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/organization",
3
- "version": "6.0.28",
3
+ "version": "6.0.34",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -30,9 +30,9 @@
30
30
  "@operato/data-tree": "^1.0.0",
31
31
  "@operato/graphql": "^1.0.0",
32
32
  "@operato/shell": "^1.0.0",
33
- "@things-factory/auth-base": "^6.0.28",
34
- "@things-factory/contact": "^6.0.28",
35
- "@things-factory/shell": "^6.0.28"
33
+ "@things-factory/auth-base": "^6.0.34",
34
+ "@things-factory/contact": "^6.0.34",
35
+ "@things-factory/shell": "^6.0.34"
36
36
  },
37
- "gitHead": "8b4e03229444e38fc3f3487227a96837eef85099"
37
+ "gitHead": "a460e5183f6e97e061be886d1efe9a114bd1316b"
38
38
  }
@@ -1 +0,0 @@
1
- export {};
@@ -1,27 +0,0 @@
1
- import { __decorate, __metadata } from "tslib";
2
- import { html } from 'lit';
3
- import { customElement, property } from 'lit/decorators.js';
4
- import { connect } from 'pwa-helpers/connect-mixin.js';
5
- import { store, PageView } from '@operato/shell';
6
- const logo = new URL('/assets/images/hatiolab-logo.png', import.meta.url).href;
7
- let OrganizationMain = class OrganizationMain extends connect(store)(PageView) {
8
- render() {
9
- return html `
10
- <section>
11
- <h2>Organization</h2>
12
- <img src=${logo}>
13
- </section>
14
- `;
15
- }
16
- stateChanged(state) {
17
- this.organization = state.organization.state_main;
18
- }
19
- };
20
- __decorate([
21
- property({ type: String }),
22
- __metadata("design:type", String)
23
- ], OrganizationMain.prototype, "organization", void 0);
24
- OrganizationMain = __decorate([
25
- customElement('organization-main')
26
- ], OrganizationMain);
27
- //# sourceMappingURL=main.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"main.js","sourceRoot":"","sources":["../../client/pages/main.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAC1B,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAA;AACtD,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEhD,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,kCAAkC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAG9E,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,OAAO,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC;IAGrD,MAAM;QACJ,OAAO,IAAI,CAAA;;;mBAGI,IAAI;;KAElB,CAAA;IACH,CAAC;IAED,YAAY,CAAC,KAAK;QAChB,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC,YAAY,CAAC,UAAU,CAAA;IACnD,CAAC;CACF,CAAA;AAdC;IAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;sDAAsB;AAD7C,gBAAgB;IADrB,aAAa,CAAC,mBAAmB,CAAC;GAC7B,gBAAgB,CAerB","sourcesContent":["import { html } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\nimport { connect } from 'pwa-helpers/connect-mixin.js'\nimport { store, PageView } from '@operato/shell'\n\nconst logo = new URL('/assets/images/hatiolab-logo.png', import.meta.url).href\n\n@customElement('organization-main')\nclass OrganizationMain extends connect(store)(PageView) {\n @property({ type: String }) organization?: string\n\n render() {\n return html`\n <section>\n <h2>Organization</h2>\n <img src=${logo}>\n </section>\n `\n }\n\n stateChanged(state) {\n this.organization = state.organization.state_main\n }\n}\n\n"]}