plutonium 0.19.10 → 0.19.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/plutonium.css +1 -1
- data/app/assets/plutonium.js +15 -8
- data/app/assets/plutonium.js.map +2 -2
- data/app/assets/plutonium.min.js +1 -1
- data/app/assets/plutonium.min.js.map +2 -2
- data/lib/generators/pu/gem/dotenv/dotenv_generator.rb +2 -2
- data/lib/generators/pu/gem/dotenv/templates/.env.local +1 -1
- data/lib/generators/pu/gem/dotenv/templates/.env.local.template +1 -1
- data/lib/generators/pu/gem/dotenv/templates/.env.test.local +5 -0
- data/lib/plutonium/ui/layout/rodauth_layout.rb +12 -4
- data/lib/plutonium/version.rb +1 -1
- data/package.json +1 -1
- data/src/js/controllers/easymde_controller.js +4 -2
- data/src/js/controllers/flatpickr_controller.js +4 -2
- data/src/js/controllers/intl_tel_input_controller.js +4 -2
- data/src/js/controllers/slim_select_controller.js +4 -2
- metadata +3 -2
data/app/assets/plutonium.js
CHANGED
@@ -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
|
11165
|
-
|
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
|
11207
|
-
|
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
|
11223
|
-
|
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
|
-
|
11264
|
+
this.iti = null;
|
11265
|
+
}
|
11259
11266
|
}
|
11260
11267
|
reconnect() {
|
11261
11268
|
this.inputTargetDisconnected();
|