lookbook 2.0.0.beta.8 → 2.0.0.beta.9
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.
- checksums.yaml +4 -4
- data/app/controllers/concerns/lookbook/targetable_concern.rb +1 -1
- data/app/views/lookbook/inspector/panels/_preview.html.erb +1 -1
- data/config/tags.yml +4 -0
- data/lib/lookbook/engine.rb +2 -0
- data/lib/lookbook/entities/preview_entity.rb +6 -1
- data/lib/lookbook/entities/scenario_entity.rb +5 -0
- data/lib/lookbook/preview.rb +1 -0
- data/lib/lookbook/preview_after_render.rb +13 -0
- data/lib/lookbook/preview_controller_actions.rb +18 -3
- data/lib/lookbook/tags/after_render_tag.rb +7 -0
- data/lib/lookbook/tags/param_tag.rb +1 -1
- data/lib/lookbook/version.rb +1 -1
- data/public/lookbook-assets/js/index.js +170 -170
- data/public/lookbook-assets/js/index.js.map +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c56294755ec1cadc843570567334d0b03ca5c2f462a8b2f78a8732b8829b63d8
|
4
|
+
data.tar.gz: 7acecdcc7dee2ba4a1110da91f204d75a05a04c28c7578c425c9bcc00e946623
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c1aec7589afd938ef941d112c478756a0d2838458245752e0605333a2c68d94efea2a7dda06a60951b7a760850f62c69efe2d393a17773632e5fcbfd707b2d0
|
7
|
+
data.tar.gz: f5cd4fbf4ad04f6dc8d99038cd6f5d8058e4463e0ec7844d89bef51c2200412890ef3be51315d42a01141fb8b46be895ecd4b5b6059c0723cc7de72398859421
|
@@ -96,7 +96,7 @@ module Lookbook
|
|
96
96
|
|
97
97
|
scenarios = @target ? @target.scenarios : []
|
98
98
|
rendered_scenarios = scenarios.map do |scenario|
|
99
|
-
output = preview_controller.process(:render_scenario_to_string, @preview, scenario
|
99
|
+
output = preview_controller.process(:render_scenario_to_string, @preview, scenario)
|
100
100
|
RenderedScenarioEntity.new(scenario, output, preview_controller.params)
|
101
101
|
end
|
102
102
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<div class="overflow-hidden h-full w-full">
|
2
2
|
<%= lookbook_render :viewport,
|
3
|
-
key: (lookbook_preview_path(request.query_parameters).parameterize unless Rails.env.test?),
|
3
|
+
key: (lookbook_preview_path(request.query_parameters).force_encoding('UTF-8').parameterize unless Rails.env.test?),
|
4
4
|
iframe_id: "preview-iframe",
|
5
5
|
src: lookbook_preview_path(request.query_parameters.merge(lookbook_timestamp: Time.now)),
|
6
6
|
alpine_data: "$store.inspector.main",
|
data/config/tags.yml
CHANGED
data/lib/lookbook/engine.rb
CHANGED
@@ -57,6 +57,8 @@ module Lookbook
|
|
57
57
|
if vc_config.view_component_path.present?
|
58
58
|
opts.component_paths << vc_config.view_component_path
|
59
59
|
end
|
60
|
+
|
61
|
+
ViewComponent::Preview.extend(Lookbook::PreviewAfterRender)
|
60
62
|
end
|
61
63
|
|
62
64
|
opts.reload_on_change = host_config.reload_classes_only_on_change if opts.reload_on_change.nil?
|
@@ -7,7 +7,7 @@ module Lookbook
|
|
7
7
|
include LocatableEntity
|
8
8
|
include NavigableEntity
|
9
9
|
|
10
|
-
delegate :render_args, to: :preview_class
|
10
|
+
delegate :after_render, :render_args, to: :preview_class
|
11
11
|
|
12
12
|
# @api private
|
13
13
|
attr_reader :preview_class
|
@@ -158,6 +158,11 @@ module Lookbook
|
|
158
158
|
global_options.deep_merge(fetch_config(:display_options, {}))
|
159
159
|
end
|
160
160
|
|
161
|
+
# @api private
|
162
|
+
def after_render_method
|
163
|
+
fetch_config(:after_render)
|
164
|
+
end
|
165
|
+
|
161
166
|
# @api private
|
162
167
|
def layout
|
163
168
|
preview_class.instance_variable_get(:@layout)
|
data/lib/lookbook/preview.rb
CHANGED
@@ -0,0 +1,13 @@
|
|
1
|
+
module Lookbook
|
2
|
+
# Shared module that both Lookbook::Preview and ViewComponent::Preview are extended with
|
3
|
+
module PreviewAfterRender
|
4
|
+
def after_render(method:, html:, context:)
|
5
|
+
instance = new
|
6
|
+
if instance.method(method).arity > 1
|
7
|
+
instance.send(method, html, context)
|
8
|
+
else
|
9
|
+
instance.send(method, html)
|
10
|
+
end.html_safe
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
@@ -6,12 +6,12 @@ module Lookbook
|
|
6
6
|
helper PreviewHelper
|
7
7
|
prepend_view_path Engine.root.join("app/views")
|
8
8
|
|
9
|
-
def render_scenario_to_string(preview,
|
9
|
+
def render_scenario_to_string(preview, scenario)
|
10
10
|
prepend_application_view_paths
|
11
11
|
prepend_preview_examples_view_path
|
12
12
|
|
13
13
|
@preview = preview
|
14
|
-
@scenario_name =
|
14
|
+
@scenario_name = scenario.name
|
15
15
|
@render_args = @preview.render_args(@scenario_name, params: params.permit!)
|
16
16
|
template = @render_args[:template]
|
17
17
|
locals = @render_args[:locals]
|
@@ -19,8 +19,19 @@ module Lookbook
|
|
19
19
|
opts[:layout] = nil
|
20
20
|
opts[:locals] = locals if locals.present?
|
21
21
|
|
22
|
+
rendered = render_to_string(template, **opts)
|
23
|
+
|
24
|
+
if scenario.after_render_method.present?
|
25
|
+
render_context = Store.new({
|
26
|
+
preview: preview,
|
27
|
+
scenario: scenario,
|
28
|
+
params: user_request_parameters
|
29
|
+
})
|
30
|
+
rendered = @preview.after_render(method: scenario.after_render_method, html: rendered, context: render_context)
|
31
|
+
end
|
32
|
+
|
22
33
|
with_optional_action_view_annotations do
|
23
|
-
render html:
|
34
|
+
render html: rendered
|
24
35
|
end
|
25
36
|
end
|
26
37
|
|
@@ -40,6 +51,10 @@ module Lookbook
|
|
40
51
|
disable = Lookbook.config.preview_disable_action_view_annotations
|
41
52
|
ActionViewAnnotationsHandler.call(disable_annotations: disable, &block)
|
42
53
|
end
|
54
|
+
|
55
|
+
def user_request_parameters
|
56
|
+
request.query_parameters.to_h.filter { |k, v| !k.start_with?("_") }
|
57
|
+
end
|
43
58
|
end
|
44
59
|
end
|
45
60
|
end
|
@@ -28,7 +28,7 @@ module Lookbook
|
|
28
28
|
def value_default
|
29
29
|
default_value_parts = object.parameters.find { |parts| parts[0].chomp(":") == name }
|
30
30
|
if default_value_parts
|
31
|
-
|
31
|
+
host_class_instance.instance_eval(default_value_parts[1])
|
32
32
|
else
|
33
33
|
raise ParserError.new "Unknown method parameter '#{name}'"
|
34
34
|
end
|
data/lib/lookbook/version.rb
CHANGED
@@ -7815,7 +7815,7 @@ function $12b7aa006b8a97e1$var$toCamel(s) {
|
|
7815
7815
|
}
|
7816
7816
|
|
7817
7817
|
|
7818
|
-
var $
|
7818
|
+
var $d9c79682b7f8e136$exports = {};
|
7819
7819
|
var $cbd28b10fa9798c7$exports = {};
|
7820
7820
|
|
7821
7821
|
$parcel$defineInteropFlag($cbd28b10fa9798c7$exports);
|
@@ -11356,6 +11356,39 @@ function $99486586f6691564$export$2e2bcd8739ae039() {
|
|
11356
11356
|
}
|
11357
11357
|
|
11358
11358
|
|
11359
|
+
var $e398acaded942bbe$exports = {};
|
11360
|
+
|
11361
|
+
$parcel$defineInteropFlag($e398acaded942bbe$exports);
|
11362
|
+
|
11363
|
+
$parcel$export($e398acaded942bbe$exports, "default", () => $e398acaded942bbe$export$2e2bcd8739ae039);
|
11364
|
+
|
11365
|
+
function $e398acaded942bbe$export$2e2bcd8739ae039(targetSelector) {
|
11366
|
+
return {
|
11367
|
+
width: 0,
|
11368
|
+
height: 0,
|
11369
|
+
resizing: false,
|
11370
|
+
target: null,
|
11371
|
+
init () {
|
11372
|
+
this.target = document.querySelector(targetSelector);
|
11373
|
+
if (this.target) {
|
11374
|
+
this.width = Math.round(this.target.clientWidth);
|
11375
|
+
this.height = Math.round(this.target.clientHeight);
|
11376
|
+
this.createObserver();
|
11377
|
+
}
|
11378
|
+
},
|
11379
|
+
createObserver () {
|
11380
|
+
if (this.target) this.observer = (0, $7ecd1fc3a6b35e5c$export$a2214cc2adb2dc44)(this.target, ({ width: width , height: height })=>{
|
11381
|
+
this.width = width;
|
11382
|
+
this.height = height;
|
11383
|
+
});
|
11384
|
+
},
|
11385
|
+
tearDown () {
|
11386
|
+
if (this.observer) this.observer.disconnect();
|
11387
|
+
}
|
11388
|
+
};
|
11389
|
+
}
|
11390
|
+
|
11391
|
+
|
11359
11392
|
var $47a1c62621be0c54$exports = {};
|
11360
11393
|
|
11361
11394
|
$parcel$defineInteropFlag($47a1c62621be0c54$exports);
|
@@ -11412,39 +11445,6 @@ function $47a1c62621be0c54$export$2e2bcd8739ae039() {
|
|
11412
11445
|
}
|
11413
11446
|
|
11414
11447
|
|
11415
|
-
var $e398acaded942bbe$exports = {};
|
11416
|
-
|
11417
|
-
$parcel$defineInteropFlag($e398acaded942bbe$exports);
|
11418
|
-
|
11419
|
-
$parcel$export($e398acaded942bbe$exports, "default", () => $e398acaded942bbe$export$2e2bcd8739ae039);
|
11420
|
-
|
11421
|
-
function $e398acaded942bbe$export$2e2bcd8739ae039(targetSelector) {
|
11422
|
-
return {
|
11423
|
-
width: 0,
|
11424
|
-
height: 0,
|
11425
|
-
resizing: false,
|
11426
|
-
target: null,
|
11427
|
-
init () {
|
11428
|
-
this.target = document.querySelector(targetSelector);
|
11429
|
-
if (this.target) {
|
11430
|
-
this.width = Math.round(this.target.clientWidth);
|
11431
|
-
this.height = Math.round(this.target.clientHeight);
|
11432
|
-
this.createObserver();
|
11433
|
-
}
|
11434
|
-
},
|
11435
|
-
createObserver () {
|
11436
|
-
if (this.target) this.observer = (0, $7ecd1fc3a6b35e5c$export$a2214cc2adb2dc44)(this.target, ({ width: width , height: height })=>{
|
11437
|
-
this.width = width;
|
11438
|
-
this.height = height;
|
11439
|
-
});
|
11440
|
-
},
|
11441
|
-
tearDown () {
|
11442
|
-
if (this.observer) this.observer.disconnect();
|
11443
|
-
}
|
11444
|
-
};
|
11445
|
-
}
|
11446
|
-
|
11447
|
-
|
11448
11448
|
var $216ef7001f59f21d$exports = {};
|
11449
11449
|
|
11450
11450
|
$parcel$defineInteropFlag($216ef7001f59f21d$exports);
|
@@ -12116,99 +12116,6 @@ function $a87dacf5139b5e2f$export$2e2bcd8739ae039(store) {
|
|
12116
12116
|
}
|
12117
12117
|
|
12118
12118
|
|
12119
|
-
var $0db07828cadc68e0$exports = {};
|
12120
|
-
|
12121
|
-
$parcel$defineInteropFlag($0db07828cadc68e0$exports);
|
12122
|
-
|
12123
|
-
$parcel$export($0db07828cadc68e0$exports, "default", () => $0db07828cadc68e0$export$2e2bcd8739ae039);
|
12124
|
-
|
12125
|
-
|
12126
|
-
|
12127
|
-
|
12128
|
-
function $0db07828cadc68e0$export$2e2bcd8739ae039(store) {
|
12129
|
-
const initial = store ? store.activeTab : null;
|
12130
|
-
let dropdown = null;
|
12131
|
-
return {
|
12132
|
-
visibleTabsCount: 0,
|
12133
|
-
triggerLeft: 0,
|
12134
|
-
get store () {
|
12135
|
-
return store || this;
|
12136
|
-
},
|
12137
|
-
get tabs () {
|
12138
|
-
return this.$refs.tabs ? Array.from(this.$refs.tabs.children) : [];
|
12139
|
-
},
|
12140
|
-
get dropdownTabs () {
|
12141
|
-
return Array.from(this.$refs.tabsDropdown ? this.$refs.tabsDropdown.children : []);
|
12142
|
-
},
|
12143
|
-
get tabWidths () {
|
12144
|
-
return this.tabs.map((tab)=>(0, $490552754c23ef6f$export$bdf7e699b242f476)(tab, {
|
12145
|
-
includeMargins: true
|
12146
|
-
}).width);
|
12147
|
-
},
|
12148
|
-
init () {
|
12149
|
-
this.$nextTick(()=>{
|
12150
|
-
if (this.$root.parentElement.offsetWidth === this.$root.offsetWidth) this.visibleTabsCount = this.tabs.length;
|
12151
|
-
dropdown = (0, $789b7d27a7c715a6$export$2e2bcd8739ae039)(this.$refs.dropdownTrigger, {
|
12152
|
-
content: this.$refs.tabsDropdown,
|
12153
|
-
theme: "menu",
|
12154
|
-
interactive: true,
|
12155
|
-
trigger: "click",
|
12156
|
-
placement: "bottom",
|
12157
|
-
appendTo: this.$root
|
12158
|
-
});
|
12159
|
-
const initialTab = initial ? this.tabs.find((t)=>this._getRef(t) === initial) : this.tabs[0];
|
12160
|
-
this.selectTab(initialTab || this.tabs[0], true);
|
12161
|
-
this.parentObserver = (0, $7ecd1fc3a6b35e5c$export$a2214cc2adb2dc44)(this.$root.parentElement, (0, $c5d017602d25d050$export$61fc7d43ac8f84b0)(10, this.handleResize.bind(this)));
|
12162
|
-
this.$watch("visibleTabsCount", (value)=>{
|
12163
|
-
this.debug(`'#${this.$root.id}' visible tabs count:`, value);
|
12164
|
-
});
|
12165
|
-
});
|
12166
|
-
},
|
12167
|
-
handleResize ({ width: width }) {
|
12168
|
-
if (width === this._lastMeasuredWidth) return;
|
12169
|
-
if (width === this.$root.offsetWidth) {
|
12170
|
-
this.visibleTabsCount = this.tabs.length;
|
12171
|
-
return;
|
12172
|
-
}
|
12173
|
-
let sumTabWidths = 60;
|
12174
|
-
let triggerLeft = 20;
|
12175
|
-
let visibleTabsCount = 0;
|
12176
|
-
this.tabWidths.forEach((tabWidth)=>{
|
12177
|
-
sumTabWidths += tabWidth;
|
12178
|
-
if (sumTabWidths < width) {
|
12179
|
-
triggerLeft += tabWidth;
|
12180
|
-
visibleTabsCount++;
|
12181
|
-
}
|
12182
|
-
});
|
12183
|
-
this.visibleTabsCount = visibleTabsCount;
|
12184
|
-
this.triggerLeft = triggerLeft;
|
12185
|
-
this._lastMeasuredWidth = width;
|
12186
|
-
},
|
12187
|
-
selectTab (el, initial = false) {
|
12188
|
-
this.store.activeTab = this._getRef(el);
|
12189
|
-
dropdown.hide();
|
12190
|
-
if (!initial) this.$dispatch("tabs:change", {
|
12191
|
-
tabs: this
|
12192
|
-
});
|
12193
|
-
},
|
12194
|
-
isSelected (el) {
|
12195
|
-
return this.store.activeTab === this._getRef(el);
|
12196
|
-
},
|
12197
|
-
isDisabled (el) {
|
12198
|
-
return el.getAttribute("data-disabled") == "true";
|
12199
|
-
},
|
12200
|
-
hasHiddenTabs () {
|
12201
|
-
return this.visibleTabsCount < this.tabs.length;
|
12202
|
-
},
|
12203
|
-
// protected
|
12204
|
-
_lastMeasuredWidth: 0,
|
12205
|
-
_getRef (el) {
|
12206
|
-
return el ? el.getAttribute("x-ref").replace("dropdown-", "") : null;
|
12207
|
-
}
|
12208
|
-
};
|
12209
|
-
}
|
12210
|
-
|
12211
|
-
|
12212
12119
|
var $6d64716f0b34fdf4$exports = {};
|
12213
12120
|
|
12214
12121
|
$parcel$defineInteropFlag($6d64716f0b34fdf4$exports);
|
@@ -12336,22 +12243,115 @@ function $6d64716f0b34fdf4$export$2e2bcd8739ae039(store) {
|
|
12336
12243
|
}
|
12337
12244
|
|
12338
12245
|
|
12339
|
-
$
|
12246
|
+
var $0db07828cadc68e0$exports = {};
|
12247
|
+
|
12248
|
+
$parcel$defineInteropFlag($0db07828cadc68e0$exports);
|
12249
|
+
|
12250
|
+
$parcel$export($0db07828cadc68e0$exports, "default", () => $0db07828cadc68e0$export$2e2bcd8739ae039);
|
12251
|
+
|
12252
|
+
|
12253
|
+
|
12254
|
+
|
12255
|
+
function $0db07828cadc68e0$export$2e2bcd8739ae039(store) {
|
12256
|
+
const initial = store ? store.activeTab : null;
|
12257
|
+
let dropdown = null;
|
12258
|
+
return {
|
12259
|
+
visibleTabsCount: 0,
|
12260
|
+
triggerLeft: 0,
|
12261
|
+
get store () {
|
12262
|
+
return store || this;
|
12263
|
+
},
|
12264
|
+
get tabs () {
|
12265
|
+
return this.$refs.tabs ? Array.from(this.$refs.tabs.children) : [];
|
12266
|
+
},
|
12267
|
+
get dropdownTabs () {
|
12268
|
+
return Array.from(this.$refs.tabsDropdown ? this.$refs.tabsDropdown.children : []);
|
12269
|
+
},
|
12270
|
+
get tabWidths () {
|
12271
|
+
return this.tabs.map((tab)=>(0, $490552754c23ef6f$export$bdf7e699b242f476)(tab, {
|
12272
|
+
includeMargins: true
|
12273
|
+
}).width);
|
12274
|
+
},
|
12275
|
+
init () {
|
12276
|
+
this.$nextTick(()=>{
|
12277
|
+
if (this.$root.parentElement.offsetWidth === this.$root.offsetWidth) this.visibleTabsCount = this.tabs.length;
|
12278
|
+
dropdown = (0, $789b7d27a7c715a6$export$2e2bcd8739ae039)(this.$refs.dropdownTrigger, {
|
12279
|
+
content: this.$refs.tabsDropdown,
|
12280
|
+
theme: "menu",
|
12281
|
+
interactive: true,
|
12282
|
+
trigger: "click",
|
12283
|
+
placement: "bottom",
|
12284
|
+
appendTo: this.$root
|
12285
|
+
});
|
12286
|
+
const initialTab = initial ? this.tabs.find((t)=>this._getRef(t) === initial) : this.tabs[0];
|
12287
|
+
this.selectTab(initialTab || this.tabs[0], true);
|
12288
|
+
this.parentObserver = (0, $7ecd1fc3a6b35e5c$export$a2214cc2adb2dc44)(this.$root.parentElement, (0, $c5d017602d25d050$export$61fc7d43ac8f84b0)(10, this.handleResize.bind(this)));
|
12289
|
+
this.$watch("visibleTabsCount", (value)=>{
|
12290
|
+
this.debug(`'#${this.$root.id}' visible tabs count:`, value);
|
12291
|
+
});
|
12292
|
+
});
|
12293
|
+
},
|
12294
|
+
handleResize ({ width: width }) {
|
12295
|
+
if (width === this._lastMeasuredWidth) return;
|
12296
|
+
if (width === this.$root.offsetWidth) {
|
12297
|
+
this.visibleTabsCount = this.tabs.length;
|
12298
|
+
return;
|
12299
|
+
}
|
12300
|
+
let sumTabWidths = 60;
|
12301
|
+
let triggerLeft = 20;
|
12302
|
+
let visibleTabsCount = 0;
|
12303
|
+
this.tabWidths.forEach((tabWidth)=>{
|
12304
|
+
sumTabWidths += tabWidth;
|
12305
|
+
if (sumTabWidths < width) {
|
12306
|
+
triggerLeft += tabWidth;
|
12307
|
+
visibleTabsCount++;
|
12308
|
+
}
|
12309
|
+
});
|
12310
|
+
this.visibleTabsCount = visibleTabsCount;
|
12311
|
+
this.triggerLeft = triggerLeft;
|
12312
|
+
this._lastMeasuredWidth = width;
|
12313
|
+
},
|
12314
|
+
selectTab (el, initial = false) {
|
12315
|
+
this.store.activeTab = this._getRef(el);
|
12316
|
+
dropdown.hide();
|
12317
|
+
if (!initial) this.$dispatch("tabs:change", {
|
12318
|
+
tabs: this
|
12319
|
+
});
|
12320
|
+
},
|
12321
|
+
isSelected (el) {
|
12322
|
+
return this.store.activeTab === this._getRef(el);
|
12323
|
+
},
|
12324
|
+
isDisabled (el) {
|
12325
|
+
return el.getAttribute("data-disabled") == "true";
|
12326
|
+
},
|
12327
|
+
hasHiddenTabs () {
|
12328
|
+
return this.visibleTabsCount < this.tabs.length;
|
12329
|
+
},
|
12330
|
+
// protected
|
12331
|
+
_lastMeasuredWidth: 0,
|
12332
|
+
_getRef (el) {
|
12333
|
+
return el ? el.getAttribute("x-ref").replace("dropdown-", "") : null;
|
12334
|
+
}
|
12335
|
+
};
|
12336
|
+
}
|
12337
|
+
|
12338
|
+
|
12339
|
+
$d9c79682b7f8e136$exports = {
|
12340
12340
|
"button": $cbd28b10fa9798c7$exports,
|
12341
12341
|
"code": $99486586f6691564$exports,
|
12342
|
-
"copy_button": $47a1c62621be0c54$exports,
|
12343
12342
|
"dimensions_display": $e398acaded942bbe$exports,
|
12343
|
+
"copy_button": $47a1c62621be0c54$exports,
|
12344
12344
|
"embed_code_dropdown": $216ef7001f59f21d$exports,
|
12345
12345
|
"filter": $e9904a14dabf652d$exports,
|
12346
12346
|
"nav": $d92d9d5253f84566$exports,
|
12347
12347
|
"split_layout": $506dabb2bf255b38$exports,
|
12348
12348
|
"tab_panels": $a87dacf5139b5e2f$exports,
|
12349
|
-
"
|
12350
|
-
"
|
12349
|
+
"viewport": $6d64716f0b34fdf4$exports,
|
12350
|
+
"tabs": $0db07828cadc68e0$exports
|
12351
12351
|
};
|
12352
12352
|
|
12353
12353
|
|
12354
|
-
var $
|
12354
|
+
var $f3e1e32f4a1bd6da$exports = {};
|
12355
12355
|
var $6a9b69d9cc7f810f$exports = {};
|
12356
12356
|
|
12357
12357
|
$parcel$defineInteropFlag($6a9b69d9cc7f810f$exports);
|
@@ -13352,38 +13352,6 @@ function $c299e36fa9e271bc$export$2e2bcd8739ae039(id, embedStore) {
|
|
13352
13352
|
}
|
13353
13353
|
|
13354
13354
|
|
13355
|
-
var $1a7a7298eec5b755$exports = {};
|
13356
|
-
|
13357
|
-
$parcel$defineInteropFlag($1a7a7298eec5b755$exports);
|
13358
|
-
|
13359
|
-
$parcel$export($1a7a7298eec5b755$exports, "default", () => $1a7a7298eec5b755$export$2e2bcd8739ae039);
|
13360
|
-
|
13361
|
-
function $1a7a7298eec5b755$export$2e2bcd8739ae039() {
|
13362
|
-
return {
|
13363
|
-
narrow: false,
|
13364
|
-
init () {
|
13365
|
-
(0, $7ecd1fc3a6b35e5c$export$a2214cc2adb2dc44)(this.$el, ({ width: width })=>{
|
13366
|
-
this.narrow = width < 500;
|
13367
|
-
});
|
13368
|
-
}
|
13369
|
-
};
|
13370
|
-
}
|
13371
|
-
|
13372
|
-
|
13373
|
-
var $e773f8ef556b41ff$exports = {};
|
13374
|
-
|
13375
|
-
$parcel$defineInteropFlag($e773f8ef556b41ff$exports);
|
13376
|
-
|
13377
|
-
$parcel$export($e773f8ef556b41ff$exports, "default", () => $e773f8ef556b41ff$export$2e2bcd8739ae039);
|
13378
|
-
function $e773f8ef556b41ff$export$2e2bcd8739ae039() {
|
13379
|
-
return {
|
13380
|
-
get isNarrowLayout () {
|
13381
|
-
return this.narrow || false;
|
13382
|
-
}
|
13383
|
-
};
|
13384
|
-
}
|
13385
|
-
|
13386
|
-
|
13387
13355
|
var $9b24cbeb3a465447$exports = {};
|
13388
13356
|
|
13389
13357
|
$parcel$defineInteropFlag($9b24cbeb3a465447$exports);
|
@@ -13441,19 +13409,51 @@ function $9b24cbeb3a465447$export$2e2bcd8739ae039({ id: id , matchers: matchers
|
|
13441
13409
|
}
|
13442
13410
|
|
13443
13411
|
|
13444
|
-
$
|
13412
|
+
var $1a7a7298eec5b755$exports = {};
|
13413
|
+
|
13414
|
+
$parcel$defineInteropFlag($1a7a7298eec5b755$exports);
|
13415
|
+
|
13416
|
+
$parcel$export($1a7a7298eec5b755$exports, "default", () => $1a7a7298eec5b755$export$2e2bcd8739ae039);
|
13417
|
+
|
13418
|
+
function $1a7a7298eec5b755$export$2e2bcd8739ae039() {
|
13419
|
+
return {
|
13420
|
+
narrow: false,
|
13421
|
+
init () {
|
13422
|
+
(0, $7ecd1fc3a6b35e5c$export$a2214cc2adb2dc44)(this.$el, ({ width: width })=>{
|
13423
|
+
this.narrow = width < 500;
|
13424
|
+
});
|
13425
|
+
}
|
13426
|
+
};
|
13427
|
+
}
|
13428
|
+
|
13429
|
+
|
13430
|
+
var $e773f8ef556b41ff$exports = {};
|
13431
|
+
|
13432
|
+
$parcel$defineInteropFlag($e773f8ef556b41ff$exports);
|
13433
|
+
|
13434
|
+
$parcel$export($e773f8ef556b41ff$exports, "default", () => $e773f8ef556b41ff$export$2e2bcd8739ae039);
|
13435
|
+
function $e773f8ef556b41ff$export$2e2bcd8739ae039() {
|
13436
|
+
return {
|
13437
|
+
get isNarrowLayout () {
|
13438
|
+
return this.narrow || false;
|
13439
|
+
}
|
13440
|
+
};
|
13441
|
+
}
|
13442
|
+
|
13443
|
+
|
13444
|
+
$f3e1e32f4a1bd6da$exports = {
|
13445
13445
|
"display_options": {
|
13446
13446
|
"field": $6a9b69d9cc7f810f$exports
|
13447
13447
|
},
|
13448
13448
|
"embed": {
|
13449
13449
|
"inspector": $c299e36fa9e271bc$exports
|
13450
13450
|
},
|
13451
|
+
"nav": {
|
13452
|
+
"item": $9b24cbeb3a465447$exports
|
13453
|
+
},
|
13451
13454
|
"params": {
|
13452
13455
|
"editor": $1a7a7298eec5b755$exports,
|
13453
13456
|
"field": $e773f8ef556b41ff$exports
|
13454
|
-
},
|
13455
|
-
"nav": {
|
13456
|
-
"item": $9b24cbeb3a465447$exports
|
13457
13457
|
}
|
13458
13458
|
};
|
13459
13459
|
|
@@ -13521,8 +13521,8 @@ const $22969b543678f572$var$prefix = window.APP_NAME;
|
|
13521
13521
|
// Components
|
13522
13522
|
(0, $caa9439642c6336c$export$2e2bcd8739ae039).data("app", (0, $5792afa4170ed552$export$2e2bcd8739ae039));
|
13523
13523
|
[
|
13524
|
-
$
|
13525
|
-
$
|
13524
|
+
$d9c79682b7f8e136$exports,
|
13525
|
+
$f3e1e32f4a1bd6da$exports,
|
13526
13526
|
$338da9a25bc5c332$exports
|
13527
13527
|
].forEach((scripts)=>{
|
13528
13528
|
const components = (0, $12b7aa006b8a97e1$export$4e811121b221213b)(scripts);
|