@formio/js 5.0.0-dev.5740.c7c00bc → 5.0.0-dev.5743.988e4e6

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/lib/cjs/PDF.js CHANGED
@@ -70,7 +70,7 @@ class PDF extends Webform_1.default {
70
70
  super.destroy(all);
71
71
  }
72
72
  rebuild() {
73
- if (this.attached && this.builderMode && this.component.components) {
73
+ if (this.builderMode && this.component.components) {
74
74
  this.destroyComponents();
75
75
  this.addComponents();
76
76
  return Promise.resolve();
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- const Component_form_1 = __importDefault(require("../_classes/component/Component.form"));
6
+ const Components_1 = __importDefault(require("../Components"));
7
7
  const Time_edit_data_1 = __importDefault(require("./editForm/Time.edit.data"));
8
8
  const Time_edit_display_1 = __importDefault(require("./editForm/Time.edit.display"));
9
9
  /**
@@ -12,7 +12,7 @@ const Time_edit_display_1 = __importDefault(require("./editForm/Time.edit.displa
12
12
  * @returns {import('@formio/core').Component[]} - The edit form components.
13
13
  */
14
14
  function default_1(...extend) {
15
- return (0, Component_form_1.default)([
15
+ return Components_1.default.baseEditForm([
16
16
  {
17
17
  key: 'data',
18
18
  components: Time_edit_data_1.default,
package/lib/mjs/PDF.js CHANGED
@@ -65,7 +65,7 @@ export default class PDF extends Webform {
65
65
  super.destroy(all);
66
66
  }
67
67
  rebuild() {
68
- if (this.attached && this.builderMode && this.component.components) {
68
+ if (this.builderMode && this.component.components) {
69
69
  this.destroyComponents();
70
70
  this.addComponents();
71
71
  return Promise.resolve();
@@ -1,4 +1,4 @@
1
- import baseEditForm from '../_classes/component/Component.form';
1
+ import Components from '../Components';
2
2
  import TimeEditData from './editForm/Time.edit.data';
3
3
  import TimeEditDisplay from './editForm/Time.edit.display';
4
4
  /**
@@ -7,7 +7,7 @@ import TimeEditDisplay from './editForm/Time.edit.display';
7
7
  * @returns {import('@formio/core').Component[]} - The edit form components.
8
8
  */
9
9
  export default function (...extend) {
10
- return baseEditForm([
10
+ return Components.baseEditForm([
11
11
  {
12
12
  key: 'data',
13
13
  components: TimeEditData,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formio/js",
3
- "version": "5.0.0-dev.5740.c7c00bc",
3
+ "version": "5.0.0-dev.5743.988e4e6",
4
4
  "description": "JavaScript powered Forms with JSON Form Builder",
5
5
  "main": "lib/cjs/index.js",
6
6
  "exports": {