not-bulma 1.0.2 → 1.0.5

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/notBulma.js CHANGED
@@ -1143,7 +1143,7 @@ var notBulma = (function (exports) {
1143
1143
  }
1144
1144
  }
1145
1145
 
1146
- var index$9 = /*#__PURE__*/Object.freeze({
1146
+ var index$8 = /*#__PURE__*/Object.freeze({
1147
1147
  __proto__: null,
1148
1148
  UIBlock: Ui_block,
1149
1149
  UIBox: Ui_box,
@@ -1853,7 +1853,7 @@ var notBulma = (function (exports) {
1853
1853
  }, {});
1854
1854
  };
1855
1855
 
1856
- class notCommon$1 {
1856
+ class notCommon$2 {
1857
1857
  static isError(e) {
1858
1858
  return e instanceof Error || Object.prototype.hasOwnProperty.call(e, 'status') && e.status === 'error';
1859
1859
  }
@@ -1946,8 +1946,8 @@ var notBulma = (function (exports) {
1946
1946
  if (obj) {
1947
1947
  const proc = notPath.get(':' + name, obj);
1948
1948
 
1949
- if (notCommon$1.isFunc(proc)) {
1950
- if (notCommon$1.isAsync(proc)) {
1949
+ if (notCommon$2.isFunc(proc)) {
1950
+ if (notCommon$2.isAsync(proc)) {
1951
1951
  return await proc(...params);
1952
1952
  } else {
1953
1953
  return proc(...params);
@@ -2047,10 +2047,10 @@ var notBulma = (function (exports) {
2047
2047
  static genLogMsg(prefix) {
2048
2048
  return function () {
2049
2049
  //not arrow bc of arguments special var is not available in arrow functions
2050
- let now = notCommon$1.localIsoDate(); // eslint-disable-next-line no-console
2050
+ let now = notCommon$2.localIsoDate(); // eslint-disable-next-line no-console
2051
2051
 
2052
- window[notCommon$1.LOG].log(`[${now}]: ${prefix}::`, ...arguments);
2053
- notCommon$1.backlogAdd([`[${now}]: ${prefix}::`, ...arguments], 'log');
2052
+ window[notCommon$2.LOG].log(`[${now}]: ${prefix}::`, ...arguments);
2053
+ notCommon$2.backlogAdd([`[${now}]: ${prefix}::`, ...arguments], 'log');
2054
2054
  };
2055
2055
  }
2056
2056
  /**
@@ -2094,10 +2094,10 @@ var notBulma = (function (exports) {
2094
2094
  static genLogError(prefix) {
2095
2095
  return function () {
2096
2096
  //do not change to arrow function, bc of arguments
2097
- let now = notCommon$1.localIsoDate(); // eslint-disable-next-line no-console
2097
+ let now = notCommon$2.localIsoDate(); // eslint-disable-next-line no-console
2098
2098
 
2099
- window[notCommon$1.LOG].error(`[${now}]: ${prefix}::`, ...arguments);
2100
- notCommon$1.backlogAdd([`[${now}]: ${prefix}::`, ...arguments], 'error');
2099
+ window[notCommon$2.LOG].error(`[${now}]: ${prefix}::`, ...arguments);
2100
+ notCommon$2.backlogAdd([`[${now}]: ${prefix}::`, ...arguments], 'error');
2101
2101
  };
2102
2102
  }
2103
2103
 
@@ -2378,29 +2378,29 @@ var notBulma = (function (exports) {
2378
2378
 
2379
2379
  }
2380
2380
 
2381
- _defineProperty(notCommon$1, "MANAGER", null);
2381
+ _defineProperty(notCommon$2, "MANAGER", null);
2382
2382
 
2383
- _defineProperty(notCommon$1, "LOG", 'console');
2383
+ _defineProperty(notCommon$2, "LOG", 'console');
2384
2384
 
2385
- _defineProperty(notCommon$1, "deepMerge", deepmerge);
2385
+ _defineProperty(notCommon$2, "deepMerge", deepmerge);
2386
2386
 
2387
- _defineProperty(notCommon$1, "TZ_OFFSET", new Date().getTimezoneOffset() / 60 * -1);
2387
+ _defineProperty(notCommon$2, "TZ_OFFSET", new Date().getTimezoneOffset() / 60 * -1);
2388
2388
 
2389
- _defineProperty(notCommon$1, "DEV_ENV", 'production');
2389
+ _defineProperty(notCommon$2, "DEV_ENV", 'production');
2390
2390
 
2391
- _defineProperty(notCommon$1, "ENV_TYPE", window.NOT_ENV_TYPE ? window.NOT_ENV_TYPE : notCommon$1.DEV_ENV);
2391
+ _defineProperty(notCommon$2, "ENV_TYPE", window.NOT_ENV_TYPE ? window.NOT_ENV_TYPE : notCommon$2.DEV_ENV);
2392
2392
 
2393
- _defineProperty(notCommon$1, "NOOP", function () {});
2393
+ _defineProperty(notCommon$2, "NOOP", function () {});
2394
2394
 
2395
- _defineProperty(notCommon$1, "backlog", []);
2395
+ _defineProperty(notCommon$2, "backlog", []);
2396
2396
 
2397
- _defineProperty(notCommon$1, "registry", {});
2397
+ _defineProperty(notCommon$2, "registry", {});
2398
2398
 
2399
2399
  function absorbServices(target, src) {
2400
2400
  if (target) {
2401
2401
  for (let serv in src) {
2402
2402
  if (Object.prototype.hasOwnProperty.call(target, serv)) {
2403
- notCommon$1.logError(`services property duplication ${serv}`);
2403
+ notCommon$2.logError(`services property duplication ${serv}`);
2404
2404
  }
2405
2405
 
2406
2406
  target[serv] = src[serv];
@@ -2463,7 +2463,7 @@ var notBulma = (function (exports) {
2463
2463
  if (target) {
2464
2464
  for (let ui in src) {
2465
2465
  if (Object.prototype.hasOwnProperty.call(target, ui)) {
2466
- notCommon$1.logError(`uis property duplication ${ui}`);
2466
+ notCommon$2.logError(`uis property duplication ${ui}`);
2467
2467
  }
2468
2468
 
2469
2469
  target[ui] = src[ui];
@@ -2475,7 +2475,7 @@ var notBulma = (function (exports) {
2475
2475
  if (target) {
2476
2476
  for (let ui in src) {
2477
2477
  if (Object.prototype.hasOwnProperty.call(target, ui)) {
2478
- notCommon$1.logError(`fields property duplication ${ui}`);
2478
+ notCommon$2.logError(`fields property duplication ${ui}`);
2479
2479
  }
2480
2480
 
2481
2481
  target[ui] = src[ui];
@@ -2483,10 +2483,10 @@ var notBulma = (function (exports) {
2483
2483
  }
2484
2484
  }
2485
2485
 
2486
- notCommon$1.register('absorb.wsc', absorbWSC);
2487
- notCommon$1.register('absorb.services', absorbServices);
2488
- notCommon$1.register('absorb.uis', absorbUIs);
2489
- notCommon$1.register('absorb.uis', absorbFields);
2486
+ notCommon$2.register('absorb.wsc', absorbWSC);
2487
+ notCommon$2.register('absorb.services', absorbServices);
2488
+ notCommon$2.register('absorb.uis', absorbUIs);
2489
+ notCommon$2.register('absorb.uis', absorbFields);
2490
2490
 
2491
2491
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
2492
2492
 
@@ -3001,10 +3001,10 @@ var notBulma = (function (exports) {
3001
3001
  this.setOptions(input.options);
3002
3002
  }
3003
3003
 
3004
- this.log = notCommon$1.genLogMsg(this.getWorking('name'));
3004
+ this.log = notCommon$2.genLogMsg(this.getWorking('name'));
3005
3005
  this.info = this.log;
3006
- this.debug = notCommon$1.genLogDebug(this.getWorking('name'));
3007
- this.error = notCommon$1.genLogError(this.getWorking('name'));
3006
+ this.debug = notCommon$2.genLogDebug(this.getWorking('name'));
3007
+ this.error = notCommon$2.genLogError(this.getWorking('name'));
3008
3008
  }
3009
3009
 
3010
3010
  setCommon(what, args) {
@@ -3118,13 +3118,13 @@ var notBulma = (function (exports) {
3118
3118
  }
3119
3119
 
3120
3120
  report(e) {
3121
- if (notCommon$1.report) {
3122
- notCommon$1.report(e);
3121
+ if (notCommon$2.report) {
3122
+ notCommon$2.report(e);
3123
3123
  }
3124
3124
  }
3125
3125
 
3126
3126
  getApp() {
3127
- return notCommon$1.getApp();
3127
+ return notCommon$2.getApp();
3128
3128
  }
3129
3129
 
3130
3130
  destroy() {
@@ -3469,12 +3469,12 @@ var notBulma = (function (exports) {
3469
3469
  this.debug(`tasks [${list}]`);
3470
3470
  let task = this.queue.shift();
3471
3471
 
3472
- if (!notCommon$1.isFunc(task.action)) {
3472
+ if (!notCommon$2.isFunc(task.action)) {
3473
3473
  this.error('В задании нет исполнимой части, action не функция', task.title);
3474
3474
  return Promise.resolve();
3475
3475
  }
3476
3476
 
3477
- if (!notCommon$1.isFunc(task.resolve)) {
3477
+ if (!notCommon$2.isFunc(task.resolve)) {
3478
3478
  this.error('В задании нет возвратной части, resolve не функция', task.title);
3479
3479
  return task.action();
3480
3480
  }
@@ -3635,7 +3635,7 @@ var notBulma = (function (exports) {
3635
3635
 
3636
3636
  _defineProperty(notAPIConnection, "online", void 0);
3637
3637
 
3638
- var index$8 = /*#__PURE__*/Object.freeze({
3638
+ var index$7 = /*#__PURE__*/Object.freeze({
3639
3639
  __proto__: null,
3640
3640
  notAPIQueue: notAPIQueue,
3641
3641
  notAPIOptions: notAPIOptions,
@@ -3645,11 +3645,15 @@ var notBulma = (function (exports) {
3645
3645
  var _lib = /*#__PURE__*/new WeakMap();
3646
3646
 
3647
3647
  class Lib {
3648
- constructor() {
3648
+ constructor(seedLib) {
3649
3649
  _classPrivateFieldInitSpec(this, _lib, {
3650
3650
  writable: true,
3651
3651
  value: {}
3652
3652
  });
3653
+
3654
+ if (seedLib instanceof Lib) {
3655
+ this.import(seedLib.getContent());
3656
+ }
3653
3657
  }
3654
3658
  /**
3655
3659
  *
@@ -3691,14 +3695,19 @@ var notBulma = (function (exports) {
3691
3695
  return Object.keys(_classPrivateFieldGet(this, _lib)).length === 0;
3692
3696
  }
3693
3697
 
3698
+ getContent() {
3699
+ return { ..._classPrivateFieldGet(this, _lib)
3700
+ };
3701
+ }
3702
+
3694
3703
  }
3695
3704
 
3696
3705
  /*
3697
3706
  * Библиотека UI конструкторов
3698
3707
  */
3699
- const COMPONENTS = new Lib();
3700
- const FIELDS$1 = new Lib();
3701
- const VARIANTS = new Lib();
3708
+ const COMPONENTS$1 = new Lib();
3709
+ const FIELDS$2 = new Lib();
3710
+ const VARIANTS$1 = new Lib();
3702
3711
 
3703
3712
  const //interface
3704
3713
  //record
@@ -3799,8 +3808,8 @@ var notBulma = (function (exports) {
3799
3808
  return response.json();
3800
3809
  });
3801
3810
  } catch (e) {
3802
- notCommon$1.error(e);
3803
- notCommon$1.report(e);
3811
+ notCommon$2.error(e);
3812
+ notCommon$2.report(e);
3804
3813
  }
3805
3814
  }
3806
3815
 
@@ -3808,7 +3817,7 @@ var notBulma = (function (exports) {
3808
3817
  try {
3809
3818
  let actionData = this.getActionData(actionName),
3810
3819
  requestParams = this.collectRequestData(actionData);
3811
- const WS = notCommon$1.getApp().getWSClient();
3820
+ const WS = notCommon$2.getApp().getWSClient();
3812
3821
  const messageName = this.getWSRequestName(actionName);
3813
3822
  const payload = Object.assign({}, requestParams, record.getData());
3814
3823
 
@@ -3822,8 +3831,8 @@ var notBulma = (function (exports) {
3822
3831
  });
3823
3832
  }
3824
3833
  } catch (e) {
3825
- notCommon$1.error(e);
3826
- notCommon$1.report(e);
3834
+ notCommon$2.error(e);
3835
+ notCommon$2.report(e);
3827
3836
  }
3828
3837
  }
3829
3838
 
@@ -3847,9 +3856,9 @@ var notBulma = (function (exports) {
3847
3856
  let client;
3848
3857
 
3849
3858
  if (Object.prototype.hasOwnProperty.call(actionData, 'wsClient') && actionData.wsClient) {
3850
- client = notCommon$1.getApp().getWSClient(actionData.wsClient);
3859
+ client = notCommon$2.getApp().getWSClient(actionData.wsClient);
3851
3860
  } else {
3852
- client = notCommon$1.getApp().getWSClient();
3861
+ client = notCommon$2.getApp().getWSClient();
3853
3862
  }
3854
3863
 
3855
3864
  if (client) {
@@ -3924,7 +3933,7 @@ var notBulma = (function (exports) {
3924
3933
  }
3925
3934
 
3926
3935
  getServerURL() {
3927
- return notCommon$1.getApp() ? notCommon$1.getApp().getOptions('api.server.url', '') : '';
3936
+ return notCommon$2.getApp() ? notCommon$2.getApp().getOptions('api.server.url', '') : '';
3928
3937
  }
3929
3938
 
3930
3939
  getWSRequestName(actionName) {
@@ -3962,7 +3971,7 @@ var notBulma = (function (exports) {
3962
3971
 
3963
3972
  if (Object.prototype.hasOwnProperty.call(actionData, 'data') && Array.isArray(actionData.data)) {
3964
3973
  for (let i = 0; i < actionData.data.length; i++) {
3965
- let dataProviderName = 'get' + notCommon$1.capitalizeFirstLetter(actionData.data[i]);
3974
+ let dataProviderName = 'get' + notCommon$2.capitalizeFirstLetter(actionData.data[i]);
3966
3975
 
3967
3976
  if (this[dataProviderName] && typeof this[dataProviderName] === 'function') {
3968
3977
  let data = this[dataProviderName](),
@@ -4116,7 +4125,7 @@ var notBulma = (function (exports) {
4116
4125
  }
4117
4126
 
4118
4127
  if (item && item.isProxy) {
4119
- notCommon$1.error('this is Proxy item');
4128
+ notCommon$2.error('this is Proxy item');
4120
4129
  return item;
4121
4130
  }
4122
4131
 
@@ -4152,7 +4161,7 @@ var notBulma = (function (exports) {
4152
4161
 
4153
4162
  mapToMethods() {
4154
4163
  let manifest = this[META_INTERFACE].manifest,
4155
- app = notCommon$1.getApp(),
4164
+ app = notCommon$2.getApp(),
4156
4165
  methods = {};
4157
4166
 
4158
4167
  if (manifest.methods) {
@@ -4239,7 +4248,7 @@ var notBulma = (function (exports) {
4239
4248
  let prx = this.getData(what, {});
4240
4249
 
4241
4250
  if (plain) {
4242
- return notCommon$1.stripProxy(prx);
4251
+ return notCommon$2.stripProxy(prx);
4243
4252
  } else {
4244
4253
  return prx;
4245
4254
  }
@@ -4297,13 +4306,13 @@ var notBulma = (function (exports) {
4297
4306
  options
4298
4307
  });
4299
4308
  this.log('start app');
4300
- notCommon$1.register('app', this);
4309
+ notCommon$2.register('app', this);
4301
4310
  this.initManifest();
4302
4311
  return this;
4303
4312
  }
4304
4313
 
4305
4314
  initManifest() {
4306
- notCommon$1.getJSON(this.getOptions('manifestURL'), {}).then(this.setInterfaceManifest.bind(this)).catch(notCommon$1.report.bind(this));
4315
+ notCommon$2.getJSON(this.getOptions('manifestURL'), {}).then(this.setInterfaceManifest.bind(this)).catch(notCommon$2.report.bind(this));
4307
4316
  }
4308
4317
 
4309
4318
  initRouter() {
@@ -4404,17 +4413,17 @@ var notBulma = (function (exports) {
4404
4413
  return new notRecord(recordManifest, recordData);
4405
4414
  };
4406
4415
 
4407
- window['nr' + notCommon$1.capitalizeFirstLetter(name)] = this.getWorking('interfaces')[name];
4416
+ window['nr' + notCommon$2.capitalizeFirstLetter(name)] = this.getWorking('interfaces')[name];
4408
4417
  }
4409
4418
  }
4410
4419
  }
4411
4420
 
4412
4421
  getRecordName(name) {
4413
- return OPT_RECORD_PREFIX + notCommon$1.capitalizeFirstLetter(name);
4422
+ return OPT_RECORD_PREFIX + notCommon$2.capitalizeFirstLetter(name);
4414
4423
  }
4415
4424
 
4416
4425
  getControllerName(name) {
4417
- return OPT_CONTROLLER_PREFIX + notCommon$1.capitalizeFirstLetter(name);
4426
+ return OPT_CONTROLLER_PREFIX + notCommon$2.capitalizeFirstLetter(name);
4418
4427
  }
4419
4428
 
4420
4429
  getInterfaces() {
@@ -4459,7 +4468,7 @@ var notBulma = (function (exports) {
4459
4468
  for (let servName in this.getOptions('services')) {
4460
4469
  try {
4461
4470
  let serv = this.getOptions(`services.${servName}`);
4462
- const servType = notCommon$1.detectType(serv);
4471
+ const servType = notCommon$2.detectType(serv);
4463
4472
 
4464
4473
  switch (servType) {
4465
4474
  case 'function':
@@ -4597,7 +4606,7 @@ var notBulma = (function (exports) {
4597
4606
 
4598
4607
 
4599
4608
  getApp() {
4600
- return notCommon$1.getApp();
4609
+ return notCommon$2.getApp();
4601
4610
  }
4602
4611
  /**
4603
4612
  * Sets default controller model
@@ -4646,7 +4655,7 @@ var notBulma = (function (exports) {
4646
4655
 
4647
4656
 
4648
4657
  setModelName(modelName) {
4649
- this.setWorking('modelName', notCommon$1.lowerFirstLetter(modelName));
4658
+ this.setWorking('modelName', notCommon$2.lowerFirstLetter(modelName));
4650
4659
  return this;
4651
4660
  }
4652
4661
  /**
@@ -4709,7 +4718,7 @@ var notBulma = (function (exports) {
4709
4718
 
4710
4719
 
4711
4720
  setModuleName(val) {
4712
- this.setOptions('moduleName', notCommon$1.lowerFirstLetter(val));
4721
+ this.setOptions('moduleName', notCommon$2.lowerFirstLetter(val));
4713
4722
  this.updateAutoName();
4714
4723
  return this;
4715
4724
  }
@@ -4729,7 +4738,7 @@ var notBulma = (function (exports) {
4729
4738
 
4730
4739
 
4731
4740
  getModulePrefix() {
4732
- return [notCommon$1.getApp().getOptions('paths.modules'), this.getModuleName()].join('/');
4741
+ return [notCommon$2.getApp().getOptions('paths.modules'), this.getModuleName()].join('/');
4733
4742
  }
4734
4743
  /**
4735
4744
  * Returns this model URL with URL prefix
@@ -4738,7 +4747,7 @@ var notBulma = (function (exports) {
4738
4747
 
4739
4748
 
4740
4749
  getModelURL() {
4741
- return notCommon$1.buildURL({
4750
+ return notCommon$2.buildURL({
4742
4751
  prefix: this.getURLPrefix(),
4743
4752
  module: this.getModuleName(),
4744
4753
  model: this.getModelName()
@@ -4754,7 +4763,7 @@ var notBulma = (function (exports) {
4754
4763
 
4755
4764
  getModelActionURL(id) {
4756
4765
  let action = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
4757
- return notCommon$1.buildURL({
4766
+ return notCommon$2.buildURL({
4758
4767
  prefix: this.getURLPrefix(),
4759
4768
  module: this.getModuleName(),
4760
4769
  model: this.getModelName(),
@@ -4764,7 +4773,7 @@ var notBulma = (function (exports) {
4764
4773
  }
4765
4774
 
4766
4775
  buildURL(val) {
4767
- return notCommon$1.buildURL(val);
4776
+ return notCommon$2.buildURL(val);
4768
4777
  }
4769
4778
  /**
4770
4779
  * Updates working name
@@ -4855,7 +4864,7 @@ var notBulma = (function (exports) {
4855
4864
 
4856
4865
  getActionName() {
4857
4866
  let name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : OPT_DEFAULT_ACTION_NAME;
4858
- return 'run' + notCommon$1.capitalizeFirstLetter(name);
4867
+ return 'run' + notCommon$2.capitalizeFirstLetter(name);
4859
4868
  }
4860
4869
  /**
4861
4870
  * Get default controller action name
@@ -4973,11 +4982,11 @@ var notBulma = (function (exports) {
4973
4982
  let path = [];
4974
4983
 
4975
4984
  if (this.MODULE_NAME && this.MODULE_NAME.length > 0) {
4976
- path.push(notCommon$1.lowerFirstLetter(this.MODULE_NAME));
4985
+ path.push(notCommon$2.lowerFirstLetter(this.MODULE_NAME));
4977
4986
  }
4978
4987
 
4979
4988
  if (this.MODEL_NAME && this.MODEL_NAME.length > 0) {
4980
- path.push(notCommon$1.lowerFirstLetter(this.MODEL_NAME));
4989
+ path.push(notCommon$2.lowerFirstLetter(this.MODEL_NAME));
4981
4990
  }
4982
4991
 
4983
4992
  path = [path.join('/')];
@@ -5207,7 +5216,7 @@ var notBulma = (function (exports) {
5207
5216
  throw new Error(`Unknown locale phrase: ${phrase}`);
5208
5217
  }
5209
5218
  } catch (e) {
5210
- notCommon$1.debug(e);
5219
+ notCommon$2.debug(e);
5211
5220
  return phrase;
5212
5221
  }
5213
5222
  }
@@ -5230,7 +5239,7 @@ var notBulma = (function (exports) {
5230
5239
  try {
5231
5240
  return window.localStorage.setItem('dictionary', JSON.stringify(dict));
5232
5241
  } catch (e) {
5233
- notCommon$1.debug(e);
5242
+ notCommon$2.debug(e);
5234
5243
  return false;
5235
5244
  }
5236
5245
  }
@@ -5250,7 +5259,7 @@ var notBulma = (function (exports) {
5250
5259
  return false;
5251
5260
  }
5252
5261
  } catch (e) {
5253
- notCommon$1.debug(e);
5262
+ notCommon$2.debug(e);
5254
5263
  return false;
5255
5264
  }
5256
5265
  }
@@ -5799,7 +5808,7 @@ var notBulma = (function (exports) {
5799
5808
 
5800
5809
  // (53:2) {#if !isNaN(field.maxLength) && field.maxLength }
5801
5810
  function create_if_block_7$3(ctx) {
5802
- let t_value = notCommon$1.strLengthCap(notPath.get(/*field*/ ctx[1].path, /*item*/ ctx[2], /*helpers*/ ctx[3]), /*field*/ ctx[1].maxLength) + "";
5811
+ let t_value = notCommon$2.strLengthCap(notPath.get(/*field*/ ctx[1].path, /*item*/ ctx[2], /*helpers*/ ctx[3]), /*field*/ ctx[1].maxLength) + "";
5803
5812
  let t;
5804
5813
 
5805
5814
  return {
@@ -5810,7 +5819,7 @@ var notBulma = (function (exports) {
5810
5819
  insert(target, t, anchor);
5811
5820
  },
5812
5821
  p(ctx, dirty) {
5813
- if (dirty & /*field, item, helpers*/ 14 && t_value !== (t_value = notCommon$1.strLengthCap(notPath.get(/*field*/ ctx[1].path, /*item*/ ctx[2], /*helpers*/ ctx[3]), /*field*/ ctx[1].maxLength) + "")) set_data(t, t_value);
5822
+ if (dirty & /*field, item, helpers*/ 14 && t_value !== (t_value = notCommon$2.strLengthCap(notPath.get(/*field*/ ctx[1].path, /*item*/ ctx[2], /*helpers*/ ctx[3]), /*field*/ ctx[1].maxLength) + "")) set_data(t, t_value);
5814
5823
  },
5815
5824
  i: noop,
5816
5825
  o: noop,
@@ -9599,15 +9608,15 @@ var notBulma = (function (exports) {
9599
9608
 
9600
9609
  class notFormUtils {
9601
9610
  static addComponent(name, value) {
9602
- COMPONENTS.add(name, value);
9611
+ COMPONENTS$1.add(name, value);
9603
9612
  }
9604
9613
 
9605
9614
  static addVariants(name, value) {
9606
- VARIANTS.add(name, value);
9615
+ VARIANTS$1.add(name, value);
9607
9616
  }
9608
9617
 
9609
9618
  static addField(name, field) {
9610
- FIELDS$1.add(name, field);
9619
+ FIELDS$2.add(name, field);
9611
9620
  }
9612
9621
 
9613
9622
  static actionFieldsInit(fieldName, options, data) {
@@ -9618,11 +9627,11 @@ var notBulma = (function (exports) {
9618
9627
  _this.actionFieldsInit(subFieldName, options, data);
9619
9628
  });
9620
9629
  } else {
9621
- if (!notCommon$1.objHas(options, 'fields')) {
9630
+ if (!notCommon$2.objHas(options, 'fields')) {
9622
9631
  options.fields = {};
9623
9632
  }
9624
9633
 
9625
- if (!notCommon$1.objHas(options.fields, fieldName)) {
9634
+ if (!notCommon$2.objHas(options.fields, fieldName)) {
9626
9635
  options.fields[fieldName] = {};
9627
9636
  } //copying initial data
9628
9637
 
@@ -9641,7 +9650,7 @@ var notBulma = (function (exports) {
9641
9650
  return Object.keys(data).reduce((acc, curr)=>{acc[curr] = []; return acc;}, {});
9642
9651
  };
9643
9652
 
9644
- const FIELDS = ['fields', 'form'];
9653
+ const FIELDS$1 = ['fields', 'form'];
9645
9654
 
9646
9655
  var result = class ValidationResult{
9647
9656
  #clean = true;
@@ -9650,7 +9659,7 @@ var notBulma = (function (exports) {
9650
9659
  constructor(result){
9651
9660
  this.#result = JSON.parse(JSON.stringify(result));
9652
9661
  Object.keys(this.#result).forEach((fieldName)=>{
9653
- if(!FIELDS.includes(fieldName)){
9662
+ if(!FIELDS$1.includes(fieldName)){
9654
9663
  delete this.#result[fieldName];
9655
9664
  }
9656
9665
  });
@@ -10064,7 +10073,7 @@ var notBulma = (function (exports) {
10064
10073
  } //adding variants list to field from VARIANTS store
10065
10074
 
10066
10075
 
10067
- if (notCommon$1.objHas(field, 'variantsSource') && VARIANTS.contains(field.variantsSource)) {
10076
+ if (notCommon$2.objHas(field, 'variantsSource') && VARIANTS.contains(field.variantsSource)) {
10068
10077
  field.variants = VARIANTS.get(field.variantsSource);
10069
10078
  } else {
10070
10079
  if (!field.variants || field.variants.length === 0) {
@@ -10100,11 +10109,11 @@ var notBulma = (function (exports) {
10100
10109
  } else {
10101
10110
  let opts = {};
10102
10111
 
10103
- if (formFieldsOptions && notCommon$1.objHas(formFieldsOptions, 'mutations') && notCommon$1.objHas(formFieldsOptions.mutations, fieldName)) {
10112
+ if (formFieldsOptions && notCommon$2.objHas(formFieldsOptions, 'mutations') && notCommon$2.objHas(formFieldsOptions.mutations, fieldName)) {
10104
10113
  opts = formFieldsOptions.mutations[fieldName]; //option mutation for field
10105
10114
  }
10106
10115
 
10107
- if (data && notCommon$1.objHas(data, fieldName)) {
10116
+ if (data && notCommon$2.objHas(data, fieldName)) {
10108
10117
  opts.value = data[fieldName];
10109
10118
  }
10110
10119
 
@@ -10259,7 +10268,7 @@ var notBulma = (function (exports) {
10259
10268
  }
10260
10269
 
10261
10270
  function setFieldValue(form, fieldName, value) {
10262
- if (notCommon$1.objHas(form, fieldName)) {
10271
+ if (notCommon$2.objHas(form, fieldName)) {
10263
10272
  form[fieldName].value = value;
10264
10273
  return true;
10265
10274
  }
@@ -10268,7 +10277,7 @@ var notBulma = (function (exports) {
10268
10277
  }
10269
10278
 
10270
10279
  function fieldIsVisibleAndFilled(form, fieldName) {
10271
- return notCommon$1.objHas(form, fieldName) && form[fieldName].enabled && form[fieldName].visible && typeof form[fieldName].value !== 'undefined';
10280
+ return notCommon$2.objHas(form, fieldName) && form[fieldName].enabled && form[fieldName].visible && typeof form[fieldName].value !== 'undefined';
10272
10281
  }
10273
10282
 
10274
10283
  function collectData(fields, form) {
@@ -10689,7 +10698,7 @@ var notBulma = (function (exports) {
10689
10698
  });
10690
10699
 
10691
10700
  const switch_instance_spread_levels = [/*control*/ ctx[18], { fieldname: /*name*/ ctx[1] }];
10692
- var switch_value = COMPONENTS.get(/*control*/ ctx[18].component);
10701
+ var switch_value = COMPONENTS$1.get(/*control*/ ctx[18].component);
10693
10702
 
10694
10703
  function switch_props(ctx) {
10695
10704
  let switch_instance_props = {};
@@ -10737,7 +10746,7 @@ var notBulma = (function (exports) {
10737
10746
  ])
10738
10747
  : {};
10739
10748
 
10740
- if (switch_value !== (switch_value = COMPONENTS.get(/*control*/ ctx[18].component))) {
10749
+ if (switch_value !== (switch_value = COMPONENTS$1.get(/*control*/ ctx[18].component))) {
10741
10750
  if (switch_instance) {
10742
10751
  group_outros();
10743
10752
  const old_component = switch_instance;
@@ -10788,7 +10797,7 @@ var notBulma = (function (exports) {
10788
10797
  let switch_instance_anchor;
10789
10798
  let current;
10790
10799
  const switch_instance_spread_levels = [/*control*/ ctx[18], { fieldname: /*name*/ ctx[1] }];
10791
- var switch_value = COMPONENTS.get(/*control*/ ctx[18].component);
10800
+ var switch_value = COMPONENTS$1.get(/*control*/ ctx[18].component);
10792
10801
 
10793
10802
  function switch_props(ctx) {
10794
10803
  let switch_instance_props = {};
@@ -10826,7 +10835,7 @@ var notBulma = (function (exports) {
10826
10835
  ])
10827
10836
  : {};
10828
10837
 
10829
- if (switch_value !== (switch_value = COMPONENTS.get(/*control*/ ctx[18].component))) {
10838
+ if (switch_value !== (switch_value = COMPONENTS$1.get(/*control*/ ctx[18].component))) {
10830
10839
  if (switch_instance) {
10831
10840
  group_outros();
10832
10841
  const old_component = switch_instance;
@@ -10873,7 +10882,7 @@ var notBulma = (function (exports) {
10873
10882
  let switch_instance_anchor;
10874
10883
  let current;
10875
10884
  const switch_instance_spread_levels = [/*control*/ ctx[18], { fieldname: /*name*/ ctx[1] }];
10876
- var switch_value = COMPONENTS.get(/*control*/ ctx[18].component);
10885
+ var switch_value = COMPONENTS$1.get(/*control*/ ctx[18].component);
10877
10886
 
10878
10887
  function switch_props(ctx) {
10879
10888
  let switch_instance_props = {};
@@ -10911,7 +10920,7 @@ var notBulma = (function (exports) {
10911
10920
  ])
10912
10921
  : {};
10913
10922
 
10914
- if (switch_value !== (switch_value = COMPONENTS.get(/*control*/ ctx[18].component))) {
10923
+ if (switch_value !== (switch_value = COMPONENTS$1.get(/*control*/ ctx[18].component))) {
10915
10924
  if (switch_instance) {
10916
10925
  group_outros();
10917
10926
  const old_component = switch_instance;
@@ -12610,7 +12619,7 @@ var notBulma = (function (exports) {
12610
12619
  ];
12611
12620
  }
12612
12621
 
12613
- class Form$1 extends SvelteComponent {
12622
+ class Form extends SvelteComponent {
12614
12623
  constructor(options) {
12615
12624
  super();
12616
12625
 
@@ -12754,7 +12763,7 @@ var notBulma = (function (exports) {
12754
12763
  options = {},
12755
12764
  working = {},
12756
12765
  data: _data = {},
12757
- ui = Form$1 //default UI
12766
+ ui = Form //default UI
12758
12767
 
12759
12768
  } = _ref;
12760
12769
  super({
@@ -12799,16 +12808,18 @@ var notBulma = (function (exports) {
12799
12808
 
12800
12809
  _classPrivateFieldInitSpec(this, _variants, {
12801
12810
  writable: true,
12802
- value: new Lib()
12811
+ value: null
12803
12812
  });
12804
12813
 
12814
+ _classPrivateFieldSet(this, _variants, new Lib(VARIANTS$1.getContent()));
12815
+
12805
12816
  if (target) {
12806
12817
  this.setOptions('target', target);
12807
12818
  }
12808
12819
 
12809
12820
  _classPrivateFieldSet(this, _uiComponent, ui);
12810
12821
 
12811
- if (notCommon$1.objHas(options, 'action')) {
12822
+ if (notCommon$2.objHas(options, 'action')) {
12812
12823
  _classPrivateFieldSet(this, _action, options.action);
12813
12824
  }
12814
12825
 
@@ -12840,14 +12851,14 @@ var notBulma = (function (exports) {
12840
12851
  initFields() {
12841
12852
  const manifest = this.getFormManifest();
12842
12853
 
12843
- if (notCommon$1.objHas(manifest, 'fields') && _classPrivateFieldGet(this, _fields).isEmpty()) {
12854
+ if (notCommon$2.objHas(manifest, 'fields') && _classPrivateFieldGet(this, _fields).isEmpty()) {
12844
12855
  _classPrivateFieldGet(this, _fields).import(manifest.fields); //all fields available in model manifest
12845
12856
 
12846
12857
  }
12847
12858
  }
12848
12859
 
12849
12860
  initVariants() {
12850
- if (this.getOptions('variants') && _classPrivateFieldGet(this, _variants).isEmpty()) {
12861
+ if (this.getOptions('variants')) {
12851
12862
  _classPrivateFieldGet(this, _variants).import(this.getOptions('variants'));
12852
12863
  }
12853
12864
  } //creating validators runner for this specific form
@@ -12911,7 +12922,7 @@ var notBulma = (function (exports) {
12911
12922
  };
12912
12923
  _classPrivateFieldGet(this, _form$1) && _classPrivateFieldGet(this, _form$1).updateFormValidationStatus(report);
12913
12924
  this.emit('error', report);
12914
- notCommon$1.report(e);
12925
+ notCommon$2.report(e);
12915
12926
  }
12916
12927
  }
12917
12928
 
@@ -13060,8 +13071,8 @@ var notBulma = (function (exports) {
13060
13071
  getFormManifest() {
13061
13072
  const modelName = this.getOptions('model', undefined);
13062
13073
 
13063
- if (modelName && notCommon$1.getApp()) {
13064
- return notCommon$1.getApp().getInterfaceManifest(modelName);
13074
+ if (modelName && notCommon$2.getApp()) {
13075
+ return notCommon$2.getApp().getInterfaceManifest(modelName);
13065
13076
  }
13066
13077
 
13067
13078
  if (this.getOptions('manifest', undefined)) {
@@ -13429,7 +13440,7 @@ var notBulma = (function (exports) {
13429
13440
  constructor(_ref) {
13430
13441
  let {
13431
13442
  options = {},
13432
- formComponent = Form$1,
13443
+ formComponent = Form,
13433
13444
  formSetComponent = Form_set
13434
13445
  } = _ref;
13435
13446
  super({
@@ -13463,7 +13474,7 @@ var notBulma = (function (exports) {
13463
13474
  value: null
13464
13475
  });
13465
13476
 
13466
- _classPrivateFieldSet(this, _formComponent, Form$1);
13477
+ _classPrivateFieldSet(this, _formComponent, Form);
13467
13478
 
13468
13479
  _classPrivateFieldSet(this, _formSetComponent, Form_set);
13469
13480
 
@@ -14006,8 +14017,8 @@ var notBulma = (function (exports) {
14006
14017
  }
14007
14018
 
14008
14019
  static getComponent(name) {
14009
- if (COMPONENTS.contains(name)) {
14010
- return COMPONENTS.get(name);
14020
+ if (COMPONENTS$1.contains(name)) {
14021
+ return COMPONENTS$1.get(name);
14011
14022
  } else {
14012
14023
  return false;
14013
14024
  }
@@ -15065,7 +15076,7 @@ var notBulma = (function (exports) {
15065
15076
  let { classes = '' } = $$props;
15066
15077
  let sided = false;
15067
15078
  let { events = {} } = $$props;
15068
- let { register = notCommon$1.registerWidgetEvents.bind(notCommon$1) } = $$props;
15079
+ let { register = notCommon$2.registerWidgetEvents.bind(notCommon$2) } = $$props;
15069
15080
 
15070
15081
  let { onUpdate = data => {
15071
15082
  if (Object.prototype.hasOwnProperty.call(data, 'title')) {
@@ -15185,7 +15196,7 @@ var notBulma = (function (exports) {
15185
15196
  let switch_instance_anchor;
15186
15197
  let current;
15187
15198
  const switch_instance_spread_levels = [{ id: /*item*/ ctx[0].id }, /*item*/ ctx[0].props];
15188
- var switch_value = COMPONENTS.get(/*item*/ ctx[0].component);
15199
+ var switch_value = COMPONENTS$1.get(/*item*/ ctx[0].component);
15189
15200
 
15190
15201
  function switch_props(ctx) {
15191
15202
  let switch_instance_props = {};
@@ -15219,7 +15230,7 @@ var notBulma = (function (exports) {
15219
15230
  ? get_spread_update(switch_instance_spread_levels, [{ id: /*item*/ ctx[0].id }, get_spread_object(/*item*/ ctx[0].props)])
15220
15231
  : {};
15221
15232
 
15222
- if (switch_value !== (switch_value = COMPONENTS.get(/*item*/ ctx[0].component))) {
15233
+ if (switch_value !== (switch_value = COMPONENTS$1.get(/*item*/ ctx[0].component))) {
15223
15234
  if (switch_instance) {
15224
15235
  group_outros();
15225
15236
  const old_component = switch_instance;
@@ -15402,7 +15413,7 @@ var notBulma = (function (exports) {
15402
15413
  function select_block_type(ctx, dirty) {
15403
15414
  if (dirty & /*item*/ 1) show_if = null;
15404
15415
  if (/*item*/ ctx[0].icon) return 0;
15405
- if (show_if == null) show_if = !!(/*item*/ ctx[0].type === 'component' && /*item*/ ctx[0].component && COMPONENTS.contains(/*item*/ ctx[0].component));
15416
+ if (show_if == null) show_if = !!(/*item*/ ctx[0].type === 'component' && /*item*/ ctx[0].component && COMPONENTS$1.contains(/*item*/ ctx[0].component));
15406
15417
  if (show_if) return 1;
15407
15418
  return 2;
15408
15419
  }
@@ -16241,7 +16252,7 @@ var notBulma = (function (exports) {
16241
16252
 
16242
16253
  function select_block_type(ctx, dirty) {
16243
16254
  if (dirty & /*section*/ 1) show_if = null;
16244
- if (show_if == null) show_if = !!(/*section*/ ctx[0].type === 'component' && /*section*/ ctx[0].component && COMPONENTS.contains(/*section*/ ctx[0].component));
16255
+ if (show_if == null) show_if = !!(/*section*/ ctx[0].type === 'component' && /*section*/ ctx[0].component && COMPONENTS$1.contains(/*section*/ ctx[0].component));
16245
16256
  if (show_if) return 0;
16246
16257
  return 1;
16247
16258
  }
@@ -16398,7 +16409,7 @@ var notBulma = (function (exports) {
16398
16409
  let switch_instance_anchor;
16399
16410
  let current;
16400
16411
  const switch_instance_spread_levels = [{ id: /*section*/ ctx[0].id }, /*section*/ ctx[0].props];
16401
- var switch_value = COMPONENTS.get(/*section*/ ctx[0].component);
16412
+ var switch_value = COMPONENTS$1.get(/*section*/ ctx[0].component);
16402
16413
 
16403
16414
  function switch_props(ctx) {
16404
16415
  let switch_instance_props = {};
@@ -16435,7 +16446,7 @@ var notBulma = (function (exports) {
16435
16446
  ])
16436
16447
  : {};
16437
16448
 
16438
- if (switch_value !== (switch_value = COMPONENTS.get(/*section*/ ctx[0].component))) {
16449
+ if (switch_value !== (switch_value = COMPONENTS$1.get(/*section*/ ctx[0].component))) {
16439
16450
  if (switch_instance) {
16440
16451
  group_outros();
16441
16452
  const old_component = switch_instance;
@@ -17468,7 +17479,7 @@ var notBulma = (function (exports) {
17468
17479
  let switch_instance_anchor;
17469
17480
  let current;
17470
17481
  const switch_instance_spread_levels = [{ id: /*item*/ ctx[0].id }, /*item*/ ctx[0].props];
17471
- var switch_value = COMPONENTS.get(/*item*/ ctx[0].component);
17482
+ var switch_value = COMPONENTS$1.get(/*item*/ ctx[0].component);
17472
17483
 
17473
17484
  function switch_props(ctx) {
17474
17485
  let switch_instance_props = {};
@@ -17502,7 +17513,7 @@ var notBulma = (function (exports) {
17502
17513
  ? get_spread_update(switch_instance_spread_levels, [{ id: /*item*/ ctx[0].id }, get_spread_object(/*item*/ ctx[0].props)])
17503
17514
  : {};
17504
17515
 
17505
- if (switch_value !== (switch_value = COMPONENTS.get(/*item*/ ctx[0].component))) {
17516
+ if (switch_value !== (switch_value = COMPONENTS$1.get(/*item*/ ctx[0].component))) {
17506
17517
  if (switch_instance) {
17507
17518
  group_outros();
17508
17519
  const old_component = switch_instance;
@@ -17699,7 +17710,7 @@ var notBulma = (function (exports) {
17699
17710
  function select_block_type(ctx, dirty) {
17700
17711
  if (dirty & /*item*/ 1) show_if = null;
17701
17712
  if (/*item*/ ctx[0].icon) return 0;
17702
- if (show_if == null) show_if = !!(/*item*/ ctx[0].type === 'component' && /*item*/ ctx[0].component && COMPONENTS.contains(/*item*/ ctx[0].component));
17713
+ if (show_if == null) show_if = !!(/*item*/ ctx[0].type === 'component' && /*item*/ ctx[0].component && COMPONENTS$1.contains(/*item*/ ctx[0].component));
17703
17714
  if (show_if) return 1;
17704
17715
  return 2;
17705
17716
  }
@@ -18625,7 +18636,7 @@ var notBulma = (function (exports) {
18625
18636
  function instance$x($$self, $$props, $$invalidate) {
18626
18637
  const dispatch = createEventDispatcher();
18627
18638
  let { events = {} } = $$props;
18628
- let { register = notCommon$1.registerWidgetEvents.bind(notCommon$1) } = $$props;
18639
+ let { register = notCommon$2.registerWidgetEvents.bind(notCommon$2) } = $$props;
18629
18640
  let { closed = true } = $$props;
18630
18641
 
18631
18642
  function toggle(e) {
@@ -19715,7 +19726,7 @@ var notBulma = (function (exports) {
19715
19726
  let libProps = Object.keys(preload);
19716
19727
  let proms = [];
19717
19728
  libProps.forEach(function (prop) {
19718
- let modelName = notCommon$1.lowerFirstLetter(preload[prop]);
19729
+ let modelName = notCommon$2.lowerFirstLetter(preload[prop]);
19719
19730
  let Model = controller.make[modelName]({});
19720
19731
  proms.push(Model.$listAll());
19721
19732
  });
@@ -20042,7 +20053,7 @@ var notBulma = (function (exports) {
20042
20053
  }
20043
20054
  }
20044
20055
 
20045
- var index$7 = /*#__PURE__*/Object.freeze({
20056
+ var index$6 = /*#__PURE__*/Object.freeze({
20046
20057
  __proto__: null,
20047
20058
  UIError: Ui_error,
20048
20059
  UISuccess: Ui_success,
@@ -20099,7 +20110,7 @@ var notBulma = (function (exports) {
20099
20110
 
20100
20111
  controller.ui[ACTION$4] = new notForm({
20101
20112
  options: {
20102
- target: controller.els.main,
20113
+ target: controller.getContainerInnerElement(),
20103
20114
  model: controller.getModelName(),
20104
20115
  action: createActionName,
20105
20116
  name: `${controller.getName()}.${ACTION$4}Form`,
@@ -20163,7 +20174,7 @@ var notBulma = (function (exports) {
20163
20174
  }]);
20164
20175
  controller.ui[ACTION$3] = new notForm({
20165
20176
  options: {
20166
- target: controller.els.main,
20177
+ target: controller.getContainerInnerElement(),
20167
20178
  model: controller.getModelName(),
20168
20179
  action: detailsActionName,
20169
20180
  name: `${controller.getName()}.${ACTION$3}Form`,
@@ -20176,9 +20187,9 @@ var notBulma = (function (exports) {
20176
20187
  data: res.result
20177
20188
  });
20178
20189
  controller.emit(`after:render:${ACTION$3}`);
20179
- controller.ui[ACTION$3].$on('reject', controller.goList.bind(this));
20190
+ controller.ui[ACTION$3].$on('reject', controller.goList.bind(controller));
20180
20191
  } catch (e) {
20181
- contoller.report(e);
20192
+ controller.report(e);
20182
20193
  controller.showErrorMessage(e);
20183
20194
  }
20184
20195
  }
@@ -20222,7 +20233,7 @@ var notBulma = (function (exports) {
20222
20233
  }]);
20223
20234
  controller.ui[ACTION$2] = new notForm({
20224
20235
  options: {
20225
- target: controller.els.main,
20236
+ target: controller.getContainerInnerElement(),
20226
20237
  model: controller.getModelName(),
20227
20238
  action: MODEL_ACTION_UPDATE,
20228
20239
  name: `${controller.getName()}.${ACTION$2}Form`,
@@ -20231,7 +20242,7 @@ var notBulma = (function (exports) {
20231
20242
  ui: controller.getOptions(`${ACTION$2}.ui`, {}),
20232
20243
  fields: controller.getOptions(`${ACTION$2}.fields`, {})
20233
20244
  },
20234
- data: notCommon$1.stripProxy(res.result)
20245
+ data: notCommon$2.stripProxy(res.result)
20235
20246
  });
20236
20247
  controller.ui[ACTION$2].$on('submit', async function (ev) {
20237
20248
  const success = await controller.onActionSubmit(ACTION$2, ev.detail);
@@ -20329,7 +20340,7 @@ var notBulma = (function (exports) {
20329
20340
  };
20330
20341
  const TABLE_OPTIONS = {
20331
20342
  options: {
20332
- targetEl: controller.els.main,
20343
+ targetEl: controller.getContainerInnerElement(),
20333
20344
  endless: false,
20334
20345
  actions: [{
20335
20346
  title: 'Создать',
@@ -20349,7 +20360,7 @@ var notBulma = (function (exports) {
20349
20360
 
20350
20361
  }
20351
20362
 
20352
- var index$6 = {
20363
+ var index$5 = {
20353
20364
  create: CRUDActionCreate,
20354
20365
  details: CRUDActionDetails,
20355
20366
  update: CRUDActionUpdate,
@@ -20359,7 +20370,7 @@ var notBulma = (function (exports) {
20359
20370
 
20360
20371
  var CRUDActions = /*#__PURE__*/Object.freeze({
20361
20372
  __proto__: null,
20362
- 'default': index$6
20373
+ 'default': index$5
20363
20374
  });
20364
20375
 
20365
20376
  const BREADCRUMBS = [];
@@ -20509,16 +20520,16 @@ var notBulma = (function (exports) {
20509
20520
 
20510
20521
  async preloadVariants() {
20511
20522
  let type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'list';
20512
- await CRUDVariantsPreloader.preload(this, type);
20523
+ await _classPrivateFieldGet(this, _preloader).preload(this, type);
20513
20524
  }
20514
20525
 
20515
20526
  getTitleFromLib(propName, id) {
20516
- return Form.getVariant(propName, id).title;
20527
+ throw new Error('not suported anymore'); //return Form.getVariant(propName, id).title;
20517
20528
  }
20518
20529
 
20519
20530
  getItemTitle(item) {
20520
20531
  const fieldName = this.TITLE_FIELDS_PRIORITY.find(function (key) {
20521
- return notCommon$1.objHas(item, key);
20532
+ return notCommon$2.objHas(item, key);
20522
20533
  });
20523
20534
 
20524
20535
  if (fieldName) {
@@ -20551,7 +20562,7 @@ var notBulma = (function (exports) {
20551
20562
  runAction(actionName, params) {
20552
20563
  if (Object.keys(_classPrivateFieldGet(this, _actions)).includes(actionName)) {
20553
20564
  return _classPrivateFieldGet(this, _actions)[actionName].run(this, params);
20554
- } else if (typeof this['run' + notCommon$1.capitalizeFirstLetter(actionName)]) {
20565
+ } else if (typeof this['run' + notCommon$2.capitalizeFirstLetter(actionName)]) {
20555
20566
  throw new Error(`No such action: ${actionName} in contoller ${this.getWorking('name')}`);
20556
20567
  }
20557
20568
  }
@@ -20633,9 +20644,9 @@ var notBulma = (function (exports) {
20633
20644
  //import 'babel-polyfill/dist/polyfill';
20634
20645
  const ncCRUD = notCRUD; //legacy alias
20635
20646
 
20636
- var index$5 = /*#__PURE__*/Object.freeze({
20647
+ var Frame = /*#__PURE__*/Object.freeze({
20637
20648
  __proto__: null,
20638
- notCommon: notCommon$1,
20649
+ notCommon: notCommon$2,
20639
20650
  notPath: notPath,
20640
20651
  notController: notController,
20641
20652
  notBase: notBase,
@@ -20643,14 +20654,14 @@ var notBulma = (function (exports) {
20643
20654
  notRecord: notRecord,
20644
20655
  notInterface: notInterface,
20645
20656
  notApp: notApp,
20646
- notAPI: index$8,
20657
+ notAPI: index$7,
20647
20658
  notCRUD: notCRUD,
20648
20659
  ncCRUD: ncCRUD,
20649
- COMPONENTS: COMPONENTS,
20650
- FIELDS: FIELDS$1,
20651
- VARIANTS: VARIANTS,
20660
+ COMPONENTS: COMPONENTS$1,
20661
+ FIELDS: FIELDS$2,
20662
+ VARIANTS: VARIANTS$1,
20652
20663
  notTable: notTable,
20653
- UIForm: Form$1,
20664
+ UIForm: Form,
20654
20665
  notForm: notForm,
20655
20666
  notFormSet: notFormSet,
20656
20667
  notFormUtils: notFormUtils,
@@ -20724,7 +20735,7 @@ var notBulma = (function (exports) {
20724
20735
  let { bottom = false } = $$props;
20725
20736
  let sided = false;
20726
20737
  let { events = {} } = $$props;
20727
- let { register = notCommon$1.registerWidgetEvents.bind(notCommon$1) } = $$props;
20738
+ let { register = notCommon$2.registerWidgetEvents.bind(notCommon$2) } = $$props;
20728
20739
 
20729
20740
  let { onUpdate = data => {
20730
20741
  if (Object.prototype.hasOwnProperty.call(data, 'state')) {
@@ -21116,7 +21127,7 @@ var notBulma = (function (exports) {
21116
21127
  let { username = 'John Doe' } = $$props;
21117
21128
  let { role = 'admin' } = $$props;
21118
21129
  let { events = {} } = $$props;
21119
- let { register = notCommon$1.registerWidgetEvents } = $$props;
21130
+ let { register = notCommon$2.registerWidgetEvents } = $$props;
21120
21131
 
21121
21132
  let { onUpdate = data => {
21122
21133
  if (Object.prototype.hasOwnProperty.call(data, 'username')) {
@@ -31535,7 +31546,7 @@ var notBulma = (function (exports) {
31535
31546
 
31536
31547
  var index = /*#__PURE__*/Object.freeze({
31537
31548
  __proto__: null,
31538
- Blocks: index$9,
31549
+ Blocks: index$8,
31539
31550
  Various: Various,
31540
31551
  Buttons: Buttons,
31541
31552
  Forms: index$4,
@@ -31544,7 +31555,7 @@ var notBulma = (function (exports) {
31544
31555
  Layouts: index$2,
31545
31556
  Links: Links,
31546
31557
  Modals: index$1,
31547
- Notifications: index$7,
31558
+ Notifications: index$6,
31548
31559
  UICommon: UICommon
31549
31560
  });
31550
31561
 
@@ -31553,14 +31564,24 @@ var notBulma = (function (exports) {
31553
31564
  say,
31554
31565
  notLocale: notLocale$1
31555
31566
  };
31567
+ const {
31568
+ notCommon: notCommon$1,
31569
+ COMPONENTS,
31570
+ FIELDS,
31571
+ VARIANTS
31572
+ } = Frame;
31556
31573
  Object.keys(index$4).forEach(function (fieldtype) {
31557
31574
  notFormUtils.addComponent(fieldtype, index$4[fieldtype]);
31558
31575
  });
31559
31576
 
31577
+ exports.COMPONENTS = COMPONENTS;
31560
31578
  exports.Elements = index;
31561
- exports.Frame = index$5;
31579
+ exports.FIELDS = FIELDS;
31580
+ exports.Frame = Frame;
31562
31581
  exports.LOCALE = LOCALE;
31563
31582
  exports.Locale = Locale;
31583
+ exports.VARIANTS = VARIANTS;
31584
+ exports.notCommon = notCommon$1;
31564
31585
  exports.notLocale = notLocale$1;
31565
31586
  exports.say = say;
31566
31587