plutonium 0.15.19 → 0.15.21

Sign up to get free protection for your applications and to get access to all the features.
@@ -7432,6 +7432,32 @@
7432
7432
  }
7433
7433
  };
7434
7434
 
7435
+ // src/js/controllers/easymde_controller.js
7436
+ var easymde_controller_default = class extends Controller {
7437
+ connect() {
7438
+ console.log(`easymde connected: ${this.element}`);
7439
+ self.easyMDE = new EasyMDE({ element: this.element });
7440
+ }
7441
+ disconnect() {
7442
+ self.easyMDE.toTextArea();
7443
+ self.easyMDE = null;
7444
+ }
7445
+ };
7446
+
7447
+ // src/js/controllers/slim_select_controller.js
7448
+ var slim_select_controller_default = class extends Controller {
7449
+ connect() {
7450
+ console.log(`slim-select connected: ${this.element}`);
7451
+ self.slimSelect = new SlimSelect({
7452
+ select: this.element
7453
+ });
7454
+ }
7455
+ disconnect() {
7456
+ self.slimSelect.destroy();
7457
+ self.slimSelect = null;
7458
+ }
7459
+ };
7460
+
7435
7461
  // src/js/controllers/register_controllers.js
7436
7462
  function register_controllers_default(application2) {
7437
7463
  application2.register("resource-layout", resource_layout_controller_default);
@@ -7456,6 +7482,8 @@
7456
7482
  application2.register("resource-dismiss", resource_dismiss_controller_default);
7457
7483
  application2.register("frame-navigator", frame_navigator_controller_default);
7458
7484
  application2.register("color-mode", color_mode_controller_default);
7485
+ application2.register("easymde", easymde_controller_default);
7486
+ application2.register("slim-select", slim_select_controller_default);
7459
7487
  }
7460
7488
 
7461
7489
  // node_modules/@hotwired/turbo/dist/turbo.es2017-esm.js