sample-cross-fx 0.14.8-beta.3504 → 0.14.8-beta.3509

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.
@@ -130764,7 +130764,7 @@ function createInstance(config = {}) {
130764
130764
  const createApi = apiFactory(context, usedPlugins);
130765
130765
  const root = createApi({
130766
130766
  name: 'root',
130767
- version: "0.14.8-beta.3504" || 0,
130767
+ version: "0.14.8-beta.3509" || 0,
130768
130768
  spec: ''
130769
130769
  });
130770
130770
  const options = (0,_helpers__WEBPACK_IMPORTED_MODULE_6__.createPiletOptions)({
@@ -131227,15 +131227,38 @@ if (typeof window !== 'undefined' && 'customElements' in window) {
131227
131227
  super(...arguments);
131228
131228
  this.dispose = _utils__WEBPACK_IMPORTED_MODULE_0__.noop;
131229
131229
  this.update = _utils__WEBPACK_IMPORTED_MODULE_0__.noop;
131230
+ this.props = {
131231
+ name: this.getAttribute('name'),
131232
+ params: (0,_utils__WEBPACK_IMPORTED_MODULE_0__.tryParseJson)(this.getAttribute('params')),
131233
+ empty: undefined
131234
+ };
131230
131235
  }
131231
131236
 
131232
- getProps() {
131233
- const name = this.getAttribute('name');
131234
- const params = (0,_utils__WEBPACK_IMPORTED_MODULE_0__.tryParseJson)(this.getAttribute('params'));
131235
- return {
131236
- name,
131237
- params
131238
- };
131237
+ get params() {
131238
+ return this.props.params;
131239
+ }
131240
+
131241
+ set params(value) {
131242
+ this.props.params = value;
131243
+ this.update(this.props);
131244
+ }
131245
+
131246
+ get name() {
131247
+ return this.props.name;
131248
+ }
131249
+
131250
+ set name(value) {
131251
+ this.props.name = value;
131252
+ this.update(this.props);
131253
+ }
131254
+
131255
+ get empty() {
131256
+ return this.props.empty;
131257
+ }
131258
+
131259
+ set empty(value) {
131260
+ this.props.empty = value;
131261
+ this.update(this.props);
131239
131262
  }
131240
131263
 
131241
131264
  connectedCallback() {
@@ -131244,7 +131267,7 @@ if (typeof window !== 'undefined' && 'customElements' in window) {
131244
131267
  bubbles: true,
131245
131268
  detail: {
131246
131269
  target: this,
131247
- props: this.getProps()
131270
+ props: this.props
131248
131271
  }
131249
131272
  }));
131250
131273
  }
@@ -131256,8 +131279,16 @@ if (typeof window !== 'undefined' && 'customElements' in window) {
131256
131279
  this.update = _utils__WEBPACK_IMPORTED_MODULE_0__.noop;
131257
131280
  }
131258
131281
 
131259
- attributeChangedCallback() {
131260
- this.update(this.getProps());
131282
+ attributeChangedCallback(name, _, newValue) {
131283
+ switch (name) {
131284
+ case 'name':
131285
+ this.name = newValue;
131286
+ break;
131287
+
131288
+ case 'params':
131289
+ this.params = (0,_utils__WEBPACK_IMPORTED_MODULE_0__.tryParseJson)(newValue);
131290
+ break;
131291
+ }
131261
131292
  }
131262
131293
 
131263
131294
  static get observedAttributes() {
@@ -133201,11 +133232,11 @@ function installPiralDebug(options) {
133201
133232
  debug: debugApiVersion,
133202
133233
  instance: {
133203
133234
  name: "sample-cross-fx",
133204
- version: "0.14.8-beta.3504",
133235
+ version: "0.14.8-beta.3509",
133205
133236
  dependencies: "@angular/common,@angular/compiler,@angular/core,@angular/platform-browser,@angular/platform-browser-dynamic,@webcomponents/webcomponentsjs,angular,aurelia-framework,aurelia-templating-binding,aurelia-templating-resources,aurelia-pal-browser,aurelia-event-aggregator,aurelia-history-browser,hyperapp,inferno,inferno-create-element,mithril,lit-element,solid-js,solid-js/dom,preact,riot,rxjs,vue,zone.js,react,react-dom,react-router,react-router-dom,history,tslib,path-to-regexp,@libre/atom,@dbeining/react-atom"
133206
133237
  },
133207
133238
  build: {
133208
- date: "2022-01-18T18:10:12.734Z",
133239
+ date: "2022-01-19T08:52:11.652Z",
133209
133240
  cli: "0.14.7",
133210
133241
  compat: "0.14"
133211
133242
  },
@@ -255283,4 +255314,4 @@ const app = React.createElement(piral_core_1.Piral, {
255283
255314
 
255284
255315
  /******/ })()
255285
255316
  ;
255286
- //# sourceMappingURL=index.b43df5.js.map
255317
+ //# sourceMappingURL=index.59e19b.js.map