plutonium 0.19.10 → 0.19.12

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.
@@ -11161,8 +11161,10 @@ ${text2}</tr>
11161
11161
  this.element.setAttribute("data-action", "turbo:morph-element->easymde#reconnect");
11162
11162
  }
11163
11163
  disconnect() {
11164
- this.easyMDE.toTextArea();
11165
- this.easyMDE = null;
11164
+ if (this.easyMDE) {
11165
+ this.easyMDE.toTextArea();
11166
+ this.easyMDE = null;
11167
+ }
11166
11168
  }
11167
11169
  reconnect() {
11168
11170
  this.disconnect();
@@ -11203,8 +11205,10 @@ ${text2}</tr>
11203
11205
  this.element.setAttribute("data-action", "turbo:morph-element->slim-select#reconnect");
11204
11206
  }
11205
11207
  disconnect() {
11206
- this.slimSelect.destroy();
11207
- this.slimSelect = null;
11208
+ if (this.slimSelect) {
11209
+ this.slimSelect.destroy();
11210
+ this.slimSelect = null;
11211
+ }
11208
11212
  }
11209
11213
  reconnect() {
11210
11214
  this.disconnect();
@@ -11219,8 +11223,10 @@ ${text2}</tr>
11219
11223
  this.element.setAttribute("data-action", "turbo:morph-element->flatpickr#reconnect");
11220
11224
  }
11221
11225
  disconnect() {
11222
- this.picker.destroy();
11223
- this.picker = null;
11226
+ if (this.picker) {
11227
+ this.picker.destroy();
11228
+ this.picker = null;
11229
+ }
11224
11230
  }
11225
11231
  reconnect() {
11226
11232
  this.disconnect();
@@ -11253,9 +11259,10 @@ ${text2}</tr>
11253
11259
  this.inputTarget.setAttribute("data-action", "turbo:morph-element->intl-tel-input#reconnect");
11254
11260
  }
11255
11261
  inputTargetDisconnected() {
11256
- if (this.iti)
11262
+ if (this.iti) {
11257
11263
  this.iti.destroy();
11258
- this.iti = null;
11264
+ this.iti = null;
11265
+ }
11259
11266
  }
11260
11267
  reconnect() {
11261
11268
  this.inputTargetDisconnected();
@@ -24306,8 +24313,13 @@ this.ifd0Offset: ${this.ifd0Offset}, file.byteLength: ${e4.byteLength}`), e4.tif
24306
24313
  }
24307
24314
  };
24308
24315
 
24316
+ // src/js/controllers/sidebar_controller.js
24317
+ var sidebar_controller_default = class extends Controller {
24318
+ };
24319
+
24309
24320
  // src/js/controllers/register_controllers.js
24310
24321
  function register_controllers_default(application2) {
24322
+ application2.register("sidebar", sidebar_controller_default);
24311
24323
  application2.register("resource-header", resource_header_controller_default);
24312
24324
  application2.register("nested-resource-form-fields", nested_resource_form_fields_controller_default);
24313
24325
  application2.register("form", form_controller_default);