@ditojs/admin 0.265.0 → 0.269.0
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/LICENSE +1 -1
- package/dist/dito-admin.common.js +1193 -968
- package/dist/dito-admin.common.js.map +1 -1
- package/dist/dito-admin.umd.js +1193 -968
- package/dist/dito-admin.umd.js.map +1 -1
- package/dist/dito-admin.umd.min.js +3 -3
- package/dist/dito-admin.umd.min.js.map +1 -1
- package/package.json +13 -13
- package/src/DitoAdmin.js +3 -2
- package/src/components/DitoAccount.vue +4 -3
- package/src/components/DitoButtons.vue +4 -6
- package/src/components/DitoClipboard.vue +20 -9
- package/src/components/{DitoComponentContainer.vue → DitoContainer.vue} +4 -8
- package/src/components/DitoForm.vue +30 -16
- package/src/components/DitoLabel.vue +2 -2
- package/src/components/{DitoComponents.vue → DitoPane.vue} +18 -28
- package/src/components/DitoPanel.vue +10 -5
- package/src/components/DitoPanels.vue +4 -2
- package/src/components/DitoSchema.vue +59 -51
- package/src/components/DitoSchemaInlined.vue +1 -1
- package/src/components/index.js +5 -6
- package/src/mixins/DitoMixin.js +13 -4
- package/src/mixins/ResourceMixin.js +6 -1
- package/src/mixins/RouteMixin.js +1 -1
- package/src/mixins/SchemaParentMixin.js +6 -0
- package/src/mixins/SourceMixin.js +63 -33
- package/src/mixins/TypeMixin.js +32 -17
- package/src/mixins/ValidatorMixin.js +0 -4
- package/src/styles/_button.sass +1 -1
- package/src/types/TypeButton.vue +12 -11
- package/src/types/TypeCode.vue +1 -1
- package/src/types/TypeMarkup.vue +1 -1
- package/src/types/TypeMultiselect.vue +11 -10
- package/src/types/TypeSection.vue +1 -1
- package/src/types/TypeTreeList.vue +1 -3
- package/src/types/TypeUpload.vue +1 -1
- package/src/utils/accessor.js +2 -0
- package/src/utils/schema.js +17 -7
- package/src/components/DitoButtonContainer.vue +0 -22
package/dist/dito-admin.umd.js
CHANGED
|
@@ -96,6 +96,21 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
96
96
|
/************************************************************************/
|
|
97
97
|
/******/ ({
|
|
98
98
|
|
|
99
|
+
/***/ "004f":
|
|
100
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
101
|
+
|
|
102
|
+
var isConstructor = __webpack_require__("c42f");
|
|
103
|
+
var tryToString = __webpack_require__("4912");
|
|
104
|
+
|
|
105
|
+
// `Assert: IsConstructor(argument) is true`
|
|
106
|
+
module.exports = function (argument) {
|
|
107
|
+
if (isConstructor(argument)) return argument;
|
|
108
|
+
throw TypeError(tryToString(argument) + ' is not a constructor');
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
/***/ }),
|
|
113
|
+
|
|
99
114
|
/***/ "03e2":
|
|
100
115
|
/***/ (function(module, exports, __webpack_require__) {
|
|
101
116
|
|
|
@@ -116,14 +131,15 @@ var update = add("41e3412c", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
116
131
|
/***/ (function(module, exports, __webpack_require__) {
|
|
117
132
|
|
|
118
133
|
var classof = __webpack_require__("da06");
|
|
134
|
+
var getMethod = __webpack_require__("60de");
|
|
119
135
|
var Iterators = __webpack_require__("5bb7");
|
|
120
136
|
var wellKnownSymbol = __webpack_require__("7d53");
|
|
121
137
|
|
|
122
138
|
var ITERATOR = wellKnownSymbol('iterator');
|
|
123
139
|
|
|
124
140
|
module.exports = function (it) {
|
|
125
|
-
if (it != undefined) return it
|
|
126
|
-
|| it
|
|
141
|
+
if (it != undefined) return getMethod(it, ITERATOR)
|
|
142
|
+
|| getMethod(it, '@@iterator')
|
|
127
143
|
|| Iterators[classof(it)];
|
|
128
144
|
};
|
|
129
145
|
|
|
@@ -149,6 +165,7 @@ module.exports = exports;
|
|
|
149
165
|
|
|
150
166
|
var isObject = __webpack_require__("7526");
|
|
151
167
|
var isSymbol = __webpack_require__("cfd1");
|
|
168
|
+
var getMethod = __webpack_require__("60de");
|
|
152
169
|
var ordinaryToPrimitive = __webpack_require__("eba0");
|
|
153
170
|
var wellKnownSymbol = __webpack_require__("7d53");
|
|
154
171
|
|
|
@@ -158,9 +175,9 @@ var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
|
|
158
175
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
159
176
|
module.exports = function (input, pref) {
|
|
160
177
|
if (!isObject(input) || isSymbol(input)) return input;
|
|
161
|
-
var exoticToPrim = input
|
|
178
|
+
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
|
162
179
|
var result;
|
|
163
|
-
if (exoticToPrim
|
|
180
|
+
if (exoticToPrim) {
|
|
164
181
|
if (pref === undefined) pref = 'default';
|
|
165
182
|
result = exoticToPrim.call(input, pref);
|
|
166
183
|
if (!isObject(result) || isSymbol(result)) return result;
|
|
@@ -516,10 +533,10 @@ module.exports = exports;
|
|
|
516
533
|
|
|
517
534
|
var isObject = __webpack_require__("7526");
|
|
518
535
|
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
536
|
+
// `Assert: Type(argument) is Object`
|
|
537
|
+
module.exports = function (argument) {
|
|
538
|
+
if (isObject(argument)) return argument;
|
|
539
|
+
throw TypeError(String(argument) + ' is not an object');
|
|
523
540
|
};
|
|
524
541
|
|
|
525
542
|
|
|
@@ -626,8 +643,8 @@ var update = add("2f466bb2", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
626
643
|
var $ = __webpack_require__("6b1d");
|
|
627
644
|
var IS_PURE = __webpack_require__("0e93");
|
|
628
645
|
var getBuiltIn = __webpack_require__("5428");
|
|
646
|
+
var aCallable = __webpack_require__("63d3");
|
|
629
647
|
var anObject = __webpack_require__("157c");
|
|
630
|
-
var aFunction = __webpack_require__("8697");
|
|
631
648
|
var speciesConstructor = __webpack_require__("433a");
|
|
632
649
|
var iterate = __webpack_require__("b578");
|
|
633
650
|
|
|
@@ -637,7 +654,7 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
|
|
|
637
654
|
difference: function difference(iterable) {
|
|
638
655
|
var set = anObject(this);
|
|
639
656
|
var newSet = new (speciesConstructor(set, getBuiltIn('Set')))(set);
|
|
640
|
-
var remover =
|
|
657
|
+
var remover = aCallable(newSet['delete']);
|
|
641
658
|
iterate(iterable, function (value) {
|
|
642
659
|
remover.call(newSet, value);
|
|
643
660
|
});
|
|
@@ -707,7 +724,7 @@ var external_root_VueNotification_amd_vue_notification_commonjs_vue_notification
|
|
|
707
724
|
var external_root_Axios_amd_axios_commonjs_axios_commonjs2_axios_ = __webpack_require__("cebe");
|
|
708
725
|
var external_root_Axios_amd_axios_commonjs_axios_commonjs2_axios_default = /*#__PURE__*/__webpack_require__.n(external_root_Axios_amd_axios_commonjs_axios_commonjs2_axios_);
|
|
709
726
|
|
|
710
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
727
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoRoot.vue?vue&type=template&id=266234f0&lang=pug&
|
|
711
728
|
var DitoRootvue_type_template_id_266234f0_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"dito-root"},[_c('modals-container'),_c('notifications',{ref:"notifications",staticClass:"dito-notifications",attrs:{"position":"top right","classes":"dito-notification"}}),_c('dito-menu'),_c('main',{staticClass:"dito-page dito-scroll-parent"},[_c('dito-header',{attrs:{"spinner":_vm.options.spinner,"isLoading":_vm.isLoading}},[(_vm.user)?_c('dito-account'):(_vm.allowLogin)?_c('a',{staticClass:"dito-login",on:{"click":function($event){return _vm.rootComponent.login()}}},[_c('span',[_vm._v("Login")])]):_vm._e()],1),_c('router-view')],1)],1)}
|
|
712
729
|
var staticRenderFns = []
|
|
713
730
|
|
|
@@ -1318,7 +1335,7 @@ function deprecate(message) {
|
|
|
1318
1335
|
|
|
1319
1336
|
/* harmony default export */ var DitoMixin = ({
|
|
1320
1337
|
mixins: [EmitterMixin],
|
|
1321
|
-
inject: ['api', '$verbs', '$views', '$isPopulated', '$schemaComponent', '$routeComponent', '$dataComponent', '$sourceComponent', '$resourceComponent', '$dialogComponent', '$panelComponent'],
|
|
1338
|
+
inject: ['api', '$verbs', '$views', '$isPopulated', '$schemaComponent', '$routeComponent', '$dataComponent', '$sourceComponent', '$resourceComponent', '$dialogComponent', '$panelComponent', '$tabComponent'],
|
|
1322
1339
|
|
|
1323
1340
|
provide() {
|
|
1324
1341
|
return this.providesData ? {
|
|
@@ -1408,6 +1425,10 @@ function deprecate(message) {
|
|
|
1408
1425
|
return this.$panelComponent();
|
|
1409
1426
|
},
|
|
1410
1427
|
|
|
1428
|
+
tabComponent() {
|
|
1429
|
+
return this.$tabComponent();
|
|
1430
|
+
},
|
|
1431
|
+
|
|
1411
1432
|
parentSchemaComponent() {
|
|
1412
1433
|
var _this$schemaComponent;
|
|
1413
1434
|
|
|
@@ -1755,7 +1776,7 @@ function deprecate(message) {
|
|
|
1755
1776
|
|
|
1756
1777
|
const addEvent = (key, event, callback) => {
|
|
1757
1778
|
if (Object(utils_["isFunction"])(callback)) {
|
|
1758
|
-
this.on(event, callback);
|
|
1779
|
+
this.on(Object(utils_["hyphenate"])(event), callback);
|
|
1759
1780
|
} else {
|
|
1760
1781
|
console.error(`Invalid event definition: ${key}: ${callback}`);
|
|
1761
1782
|
}
|
|
@@ -1769,7 +1790,7 @@ function deprecate(message) {
|
|
|
1769
1790
|
|
|
1770
1791
|
for (const [key, value] of Object.entries(this.schema)) {
|
|
1771
1792
|
if (/^on[A-Z]/.test(key)) {
|
|
1772
|
-
addEvent(key,
|
|
1793
|
+
addEvent(key, key.slice(2), value);
|
|
1773
1794
|
}
|
|
1774
1795
|
}
|
|
1775
1796
|
},
|
|
@@ -1796,6 +1817,10 @@ function deprecate(message) {
|
|
|
1796
1817
|
|
|
1797
1818
|
return res;
|
|
1798
1819
|
}
|
|
1820
|
+
},
|
|
1821
|
+
|
|
1822
|
+
emitSchemaEvent(event, params) {
|
|
1823
|
+
return this.schemaComponent.emitEvent(event, params);
|
|
1799
1824
|
}
|
|
1800
1825
|
|
|
1801
1826
|
}
|
|
@@ -2075,6 +2100,7 @@ function getStoreAccessor(name, {
|
|
|
2075
2100
|
if (value === undefined && def !== undefined) {
|
|
2076
2101
|
value = Object(utils_["isFunction"])(def) ? def.call(this, this.context) : def;
|
|
2077
2102
|
this[name] = value;
|
|
2103
|
+
this.getStore(name);
|
|
2078
2104
|
}
|
|
2079
2105
|
|
|
2080
2106
|
return get ? get.call(this, value) : value;
|
|
@@ -2784,16 +2810,17 @@ function getSourceType(schemaOrType) {
|
|
|
2784
2810
|
|
|
2785
2811
|
return (_getTypeOptions$getSo = (_getTypeOptions6 = getTypeOptions(schemaOrType)) == null ? void 0 : _getTypeOptions6.getSourceType == null ? void 0 : _getTypeOptions6.getSourceType(getType(schemaOrType))) != null ? _getTypeOptions$getSo : null;
|
|
2786
2812
|
}
|
|
2787
|
-
function getPanelSchema(schema, dataPath) {
|
|
2813
|
+
function getPanelSchema(schema, dataPath, tabComponent) {
|
|
2788
2814
|
return schema ? {
|
|
2789
2815
|
schema,
|
|
2790
|
-
dataPath: schema.name ? appendDataPath(dataPath, schema.name) : dataPath
|
|
2816
|
+
dataPath: schema.name ? appendDataPath(dataPath, schema.name) : dataPath,
|
|
2817
|
+
tabComponent
|
|
2791
2818
|
} : null;
|
|
2792
2819
|
}
|
|
2793
|
-
function getPanelSchemas(schemas, dataPath, panels = []) {
|
|
2820
|
+
function getPanelSchemas(schemas, dataPath, tabComponent, panels = []) {
|
|
2794
2821
|
if (schemas) {
|
|
2795
2822
|
for (const [key, schema] of Object.entries(schemas)) {
|
|
2796
|
-
const panel = getPanelSchema(schema, appendDataPath(dataPath, key));
|
|
2823
|
+
const panel = getPanelSchema(schema, appendDataPath(dataPath, key), tabComponent);
|
|
2797
2824
|
|
|
2798
2825
|
if (panel) {
|
|
2799
2826
|
panels.push(panel);
|
|
@@ -2803,12 +2830,12 @@ function getPanelSchemas(schemas, dataPath, panels = []) {
|
|
|
2803
2830
|
|
|
2804
2831
|
return panels;
|
|
2805
2832
|
}
|
|
2806
|
-
function getAllPanelSchemas(schema, dataPath, schemaComponent = null) {
|
|
2833
|
+
function getAllPanelSchemas(schema, dataPath, schemaComponent = null, tabComponent = null) {
|
|
2807
2834
|
var _getTypeOptions7;
|
|
2808
2835
|
|
|
2809
2836
|
const panel = (_getTypeOptions7 = getTypeOptions(schema)) == null ? void 0 : _getTypeOptions7.getPanelSchema == null ? void 0 : _getTypeOptions7.getPanelSchema(schema, dataPath, schemaComponent);
|
|
2810
|
-
const panels = panel ? [getPanelSchema(panel, dataPath)] : [];
|
|
2811
|
-
getPanelSchemas(schema.panels, dataPath, panels);
|
|
2837
|
+
const panels = panel ? [getPanelSchema(panel, dataPath, tabComponent)] : [];
|
|
2838
|
+
getPanelSchemas(schema.panels, dataPath, tabComponent, panels);
|
|
2812
2839
|
return panels;
|
|
2813
2840
|
}
|
|
2814
2841
|
function isObjectSource(schemaOrType) {
|
|
@@ -2833,7 +2860,6 @@ function getItemUid(sourceSchema, item) {
|
|
|
2833
2860
|
|
|
2834
2861
|
/* harmony default export */ var TypeMixin = ({
|
|
2835
2862
|
mixins: [ValidationMixin],
|
|
2836
|
-
inject: ['tabComponent'],
|
|
2837
2863
|
props: {
|
|
2838
2864
|
schema: {
|
|
2839
2865
|
type: Object,
|
|
@@ -3014,12 +3040,18 @@ function getItemUid(sourceSchema, item) {
|
|
|
3014
3040
|
},
|
|
3015
3041
|
|
|
3016
3042
|
listeners() {
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3043
|
+
const listeners = this.getListeners();
|
|
3044
|
+
const {
|
|
3045
|
+
events = {}
|
|
3046
|
+
} = this.schema;
|
|
3047
|
+
|
|
3048
|
+
if (events) {
|
|
3049
|
+
for (const event of Object.keys(events)) {
|
|
3050
|
+
listeners[event] || (listeners[event] = () => this.emitEvent(event));
|
|
3051
|
+
}
|
|
3052
|
+
}
|
|
3053
|
+
|
|
3054
|
+
return listeners;
|
|
3023
3055
|
},
|
|
3024
3056
|
|
|
3025
3057
|
validations() {
|
|
@@ -3070,30 +3102,43 @@ function getItemUid(sourceSchema, item) {
|
|
|
3070
3102
|
}
|
|
3071
3103
|
},
|
|
3072
3104
|
|
|
3105
|
+
getListeners() {
|
|
3106
|
+
return {
|
|
3107
|
+
focus: this.onFocus,
|
|
3108
|
+
blur: this.onBlur,
|
|
3109
|
+
input: this.onInput,
|
|
3110
|
+
change: this.onChange
|
|
3111
|
+
};
|
|
3112
|
+
},
|
|
3113
|
+
|
|
3073
3114
|
getValidations() {
|
|
3074
3115
|
return null;
|
|
3075
3116
|
},
|
|
3076
3117
|
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
this.schemaComponent.focus();
|
|
3081
|
-
(_this$tabComponent = this.tabComponent) == null ? void 0 : _this$tabComponent.focus();
|
|
3082
|
-
const [focus] = Object(utils_["asArray"])(this.$refs.element);
|
|
3118
|
+
focusElement() {
|
|
3119
|
+
const [element] = Object(utils_["asArray"])(this.$refs.element);
|
|
3083
3120
|
|
|
3084
|
-
if (
|
|
3121
|
+
if (element) {
|
|
3085
3122
|
this.$nextTick(() => {
|
|
3086
|
-
|
|
3123
|
+
element.focus();
|
|
3087
3124
|
|
|
3088
3125
|
if (this.disabled) {
|
|
3089
3126
|
var _scrollIntoView, _ref;
|
|
3090
3127
|
|
|
3091
|
-
(_scrollIntoView = (_ref =
|
|
3128
|
+
(_scrollIntoView = (_ref = element.$el || element).scrollIntoView) == null ? void 0 : _scrollIntoView.call(_ref);
|
|
3092
3129
|
}
|
|
3093
3130
|
});
|
|
3094
3131
|
}
|
|
3095
3132
|
},
|
|
3096
3133
|
|
|
3134
|
+
focus() {
|
|
3135
|
+
var _this$tabComponent;
|
|
3136
|
+
|
|
3137
|
+
this.schemaComponent.focus();
|
|
3138
|
+
(_this$tabComponent = this.tabComponent) == null ? void 0 : _this$tabComponent.focus();
|
|
3139
|
+
this.focusElement();
|
|
3140
|
+
},
|
|
3141
|
+
|
|
3097
3142
|
clear() {
|
|
3098
3143
|
this.value = null;
|
|
3099
3144
|
this.onChange();
|
|
@@ -3190,7 +3235,7 @@ class DitoUser {
|
|
|
3190
3235
|
}
|
|
3191
3236
|
|
|
3192
3237
|
}
|
|
3193
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3238
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoView.vue?vue&type=template&id=3a484d3a&lang=pug&
|
|
3194
3239
|
var DitoViewvue_type_template_id_3a484d3a_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (!_vm.isLastRoute)?_c('router-view',{key:_vm.name}):(_vm.shouldRender(_vm.viewSchema))?_c('div',{staticClass:"dito-view dito-scroll-parent"},[_c('dito-schema',{staticClass:"dito-scroll",attrs:{"schema":_vm.viewSchema,"data":_vm.data,"meta":_vm.meta,"store":_vm.getChildStore(_vm.name),"disabled":_vm.isLoading,"generateLabels":false,"menuHeader":true}})],1):_vm._e()}
|
|
3195
3240
|
var DitoViewvue_type_template_id_3a484d3a_lang_pug_staticRenderFns = []
|
|
3196
3241
|
|
|
@@ -3211,6 +3256,12 @@ var DitoViewvue_type_template_id_3a484d3a_lang_pug_staticRenderFns = []
|
|
|
3211
3256
|
};
|
|
3212
3257
|
},
|
|
3213
3258
|
|
|
3259
|
+
computed: {
|
|
3260
|
+
mainSchemaComponent() {
|
|
3261
|
+
return this.schemaComponents[0];
|
|
3262
|
+
}
|
|
3263
|
+
|
|
3264
|
+
},
|
|
3214
3265
|
methods: {
|
|
3215
3266
|
_registerSchemaComponent(schemaComponent, add) {
|
|
3216
3267
|
const {
|
|
@@ -3231,10 +3282,6 @@ var DitoViewvue_type_template_id_3a484d3a_lang_pug_staticRenderFns = []
|
|
|
3231
3282
|
/* harmony default export */ var ValidatorMixin = ({
|
|
3232
3283
|
mixins: [SchemaParentMixin],
|
|
3233
3284
|
computed: {
|
|
3234
|
-
mainSchemaComponent() {
|
|
3235
|
-
return this.schemaComponents[0];
|
|
3236
|
-
},
|
|
3237
|
-
|
|
3238
3285
|
errors() {
|
|
3239
3286
|
return this.schemaComponents.reduce((result, {
|
|
3240
3287
|
errors
|
|
@@ -3956,7 +4003,7 @@ var DitoRoot_component = normalizeComponent(
|
|
|
3956
4003
|
)
|
|
3957
4004
|
|
|
3958
4005
|
/* harmony default export */ var DitoRoot = (DitoRoot_component.exports);
|
|
3959
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4006
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoMenu.vue?vue&type=template&id=5514b8a4&lang=pug&
|
|
3960
4007
|
var DitoMenuvue_type_template_id_5514b8a4_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nav',{staticClass:"dito-menu dito-scroll-parent"},[_c('h1',[_vm._v(_vm._s(_vm.appState.title))]),_c('ul',{staticClass:"dito-scroll"},_vm._l((_vm.views),function(view){return _c('li',[(_vm.shouldRender(view))?_c('router-link',{staticClass:"dito-link",attrs:{"to":("/" + (view.path)),"active-class":"dito-active"}},[_vm._v(_vm._s(_vm.getLabel(view)))]):_vm._e()],1)}),0)])}
|
|
3961
4008
|
var DitoMenuvue_type_template_id_5514b8a4_lang_pug_staticRenderFns = []
|
|
3962
4009
|
|
|
@@ -3992,14 +4039,14 @@ var DitoMenu_component = normalizeComponent(
|
|
|
3992
4039
|
)
|
|
3993
4040
|
|
|
3994
4041
|
/* harmony default export */ var DitoMenu = (DitoMenu_component.exports);
|
|
3995
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4042
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoHeader.vue?vue&type=template&id=575544cb&lang=pug&
|
|
3996
4043
|
var DitoHeadervue_type_template_id_575544cb_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nav',{staticClass:"dito-header"},[_c('div',{staticClass:"dito-trail"},[_c('ul',_vm._l((_vm.trail),function(component,index){return _c('li',[(index === _vm.trail.length - 1)?[_c('span',{class:_vm.getBreadcrumbClass(component)},[_vm._v(_vm._s(component.breadcrumb))])]:_c('router-link',{staticClass:"dito-breadcrumb",attrs:{"to":component.path}},[_c('span',{class:_vm.getBreadcrumbClass(component)},[_vm._v(_vm._s(component.breadcrumb))])])],2)}),0),(_vm.isLoading)?_c('spinner',{staticClass:"dito-spinner"}):_vm._e()],1),_vm._t("default")],2)}
|
|
3997
4044
|
var DitoHeadervue_type_template_id_575544cb_lang_pug_staticRenderFns = []
|
|
3998
4045
|
|
|
3999
4046
|
|
|
4000
4047
|
// CONCATENATED MODULE: ./src/components/DitoHeader.vue?vue&type=template&id=575544cb&lang=pug&
|
|
4001
4048
|
|
|
4002
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4049
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/vue-spinner/src/PulseLoader.vue?vue&type=template&id=7dc0198c&
|
|
4003
4050
|
var PulseLoadervue_type_template_id_7dc0198c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.loading),expression:"loading"}],staticClass:"v-spinner"},[_c('div',{staticClass:"v-pulse v-pulse1",style:([_vm.spinnerStyle,_vm.spinnerDelay1])}),_c('div',{staticClass:"v-pulse v-pulse2",style:([_vm.spinnerStyle,_vm.spinnerDelay2])}),_c('div',{staticClass:"v-pulse v-pulse3",style:([_vm.spinnerStyle,_vm.spinnerDelay3])})])}
|
|
4004
4051
|
var PulseLoadervue_type_template_id_7dc0198c_staticRenderFns = []
|
|
4005
4052
|
|
|
@@ -4164,12 +4211,12 @@ var DitoHeader_component = normalizeComponent(
|
|
|
4164
4211
|
)
|
|
4165
4212
|
|
|
4166
4213
|
/* harmony default export */ var DitoHeader = (DitoHeader_component.exports);
|
|
4167
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4168
|
-
var
|
|
4169
|
-
var
|
|
4214
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoAccount.vue?vue&type=template&id=65587a0e&lang=pug&
|
|
4215
|
+
var DitoAccountvue_type_template_id_65587a0e_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"dito-account"},[_c('a',{on:{"mousedown":function($event){$event.stopPropagation();return _vm.onPulldownMouseDown()}}},[_c('span',[_vm._v(_vm._s(_vm.user.username))])]),_c('ul',{staticClass:"dito-pulldown",class:{ 'dito-open': _vm.pulldown.open }},_vm._l((_vm.items),function(label,value){return _c('li',[_c('a',{on:{"mousedown":function($event){$event.stopPropagation();return _vm.onPulldownMouseDown(value)},"mouseup":function($event){return _vm.onPulldownMouseUp(value)}}},[_vm._v(_vm._s(label))])])}),0)])}
|
|
4216
|
+
var DitoAccountvue_type_template_id_65587a0e_lang_pug_staticRenderFns = []
|
|
4170
4217
|
|
|
4171
4218
|
|
|
4172
|
-
// CONCATENATED MODULE: ./src/components/DitoAccount.vue?vue&type=template&id=
|
|
4219
|
+
// CONCATENATED MODULE: ./src/components/DitoAccount.vue?vue&type=template&id=65587a0e&lang=pug&
|
|
4173
4220
|
|
|
4174
4221
|
// CONCATENATED MODULE: ./src/mixins/PulldownMixin.js
|
|
4175
4222
|
|
|
@@ -4283,8 +4330,8 @@ var DitoAccountvue_type_style_index_0_lang_sass_ = __webpack_require__("c4c0");
|
|
|
4283
4330
|
|
|
4284
4331
|
var DitoAccount_component = normalizeComponent(
|
|
4285
4332
|
components_DitoAccountvue_type_script_lang_js_,
|
|
4286
|
-
|
|
4287
|
-
|
|
4333
|
+
DitoAccountvue_type_template_id_65587a0e_lang_pug_render,
|
|
4334
|
+
DitoAccountvue_type_template_id_65587a0e_lang_pug_staticRenderFns,
|
|
4288
4335
|
false,
|
|
4289
4336
|
null,
|
|
4290
4337
|
null,
|
|
@@ -4293,7 +4340,7 @@ var DitoAccount_component = normalizeComponent(
|
|
|
4293
4340
|
)
|
|
4294
4341
|
|
|
4295
4342
|
/* harmony default export */ var DitoAccount = (DitoAccount_component.exports);
|
|
4296
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4343
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoDialog.vue?vue&type=template&id=fd5319de&lang=pug&
|
|
4297
4344
|
var DitoDialogvue_type_template_id_fd5319de_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('form',{staticClass:"dito-dialog",on:{"submit":function($event){$event.preventDefault();}}},[_c('dito-schema',{staticClass:"dito-scroll",attrs:{"schema":_vm.schema,"data":_vm.dialogData}},[_c('dito-buttons',{staticClass:"dito-buttons-large",attrs:{"slot":"buttons","buttons":_vm.buttonSchemas,"data":_vm.dialogData},slot:"buttons"})],1)],1)}
|
|
4298
4345
|
var DitoDialogvue_type_template_id_fd5319de_lang_pug_staticRenderFns = []
|
|
4299
4346
|
|
|
@@ -4458,7 +4505,7 @@ var DitoDialog_component = normalizeComponent(
|
|
|
4458
4505
|
)
|
|
4459
4506
|
|
|
4460
4507
|
/* harmony default export */ var DitoDialog = (DitoDialog_component.exports);
|
|
4461
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4508
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoElement.vue?vue&type=template&id=515c42dd&lang=pug&
|
|
4462
4509
|
var DitoElementvue_type_template_id_515c42dd_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.content)?_c(_vm.options.tag || _vm.tag,{tag:"component",class:_vm.classes,style:(_vm.styles)},[_vm._v(_vm._s(_vm.options.text))]):_vm._e()}
|
|
4463
4510
|
var DitoElementvue_type_template_id_515c42dd_lang_pug_staticRenderFns = []
|
|
4464
4511
|
|
|
@@ -4536,12 +4583,12 @@ var DitoElement_component = normalizeComponent(
|
|
|
4536
4583
|
)
|
|
4537
4584
|
|
|
4538
4585
|
/* harmony default export */ var DitoElement = (DitoElement_component.exports);
|
|
4539
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4540
|
-
var
|
|
4541
|
-
var
|
|
4586
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoLabel.vue?vue&type=template&id=b4d751a0&lang=pug&
|
|
4587
|
+
var DitoLabelvue_type_template_id_b4d751a0_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.text || _vm.collapsible)?_c(_vm.tag,_vm._g({tag:"component",staticClass:"dito-label",class:{ 'dito-active': _vm.isActive }},_vm.listeners),[(_vm.collapsible)?_c('div',{staticClass:"dito-chevron",class:{ 'dito-opened': !_vm.collapsed }}):_vm._e(),_vm._l((_vm.prefixes),function(prefix,index){return _c('dito-element',{key:("prefix-" + index),staticClass:"dito-label-prefix",attrs:{"tag":"span","content":prefix}})}),_c('label',{attrs:{"for":_vm.dataPath},domProps:{"innerHTML":_vm._s(_vm.text)}}),_vm._l((_vm.suffixes),function(suffix,index){return _c('dito-element',{key:("suffix-" + index),staticClass:"dito-label-suffix",attrs:{"tag":"span","content":suffix}})}),_vm._t("edit-buttons")],2):_vm._e()}
|
|
4588
|
+
var DitoLabelvue_type_template_id_b4d751a0_lang_pug_staticRenderFns = []
|
|
4542
4589
|
|
|
4543
4590
|
|
|
4544
|
-
// CONCATENATED MODULE: ./src/components/DitoLabel.vue?vue&type=template&id=
|
|
4591
|
+
// CONCATENATED MODULE: ./src/components/DitoLabel.vue?vue&type=template&id=b4d751a0&lang=pug&
|
|
4545
4592
|
|
|
4546
4593
|
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--12-0!/Users/lehni/Development/Lineto/dito/node_modules/thread-loader/dist/cjs.js!/Users/lehni/Development/Lineto/dito/node_modules/@vue/cli-service/node_modules/babel-loader/lib!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoLabel.vue?vue&type=script&lang=js&
|
|
4547
4594
|
|
|
@@ -4625,8 +4672,8 @@ var DitoLabelvue_type_style_index_0_lang_sass_ = __webpack_require__("75ca");
|
|
|
4625
4672
|
|
|
4626
4673
|
var DitoLabel_component = normalizeComponent(
|
|
4627
4674
|
components_DitoLabelvue_type_script_lang_js_,
|
|
4628
|
-
|
|
4629
|
-
|
|
4675
|
+
DitoLabelvue_type_template_id_b4d751a0_lang_pug_render,
|
|
4676
|
+
DitoLabelvue_type_template_id_b4d751a0_lang_pug_staticRenderFns,
|
|
4630
4677
|
false,
|
|
4631
4678
|
null,
|
|
4632
4679
|
null,
|
|
@@ -4635,12 +4682,12 @@ var DitoLabel_component = normalizeComponent(
|
|
|
4635
4682
|
)
|
|
4636
4683
|
|
|
4637
4684
|
/* harmony default export */ var DitoLabel = (DitoLabel_component.exports);
|
|
4638
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4639
|
-
var
|
|
4640
|
-
var
|
|
4685
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoSchema.vue?vue&type=template&id=4d545d2c&lang=pug&
|
|
4686
|
+
var DitoSchemavue_type_template_id_4d545d2c_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"dito-schema"},[_c('div',{staticClass:"dito-schema-content"},[(_vm.hasLabel || _vm.hasTabs || _vm.clipboard)?_c('div',{staticClass:"dito-schema-header",class:{ 'dito-schema-menu-header': _vm.menuHeader }},[(_vm.hasLabel)?_c('dito-label',{attrs:{"label":_vm.label,"dataPath":_vm.dataPath,"collapsible":_vm.collapsible,"collapsed":!_vm.opened},on:{"expand":_vm.onExpand},scopedSlots:_vm._u([(_vm.inlined)?{key:"edit-buttons",fn:function(){return [_vm._t("edit-buttons")]},proxy:true}:null],null,true)}):_vm._e(),(_vm.tabs)?_c('dito-tabs',{attrs:{"tabs":_vm.tabs,"selectedTab":_vm.selectedTab}}):_vm._e(),_c('dito-clipboard',{attrs:{"clipboard":_vm.clipboard,"dataPath":_vm.dataPath,"data":_vm.data}})],1):_vm._e(),_vm._l((_vm.tabs),function(schema,tab){return (_vm.hasTabs)?_c('dito-pane',{key:tab,ref:"tabs",refInFor:true,staticClass:"dito-pane-tab",attrs:{"visible":_vm.selectedTab === tab,"tab":tab,"schema":schema,"dataPath":_vm.dataPath,"data":_vm.data,"meta":_vm.meta,"store":_vm.store,"single":!_vm.inlined && !_vm.hasMainPane,"disabled":_vm.disabled,"generateLabels":_vm.generateLabels}}):_vm._e()}),_c('transition-height',{attrs:{"enabled":_vm.inlined}},[(_vm.hasMainPane && _vm.opened)?_c('dito-pane',{ref:"components",staticClass:"dito-pane-main",attrs:{"schema":_vm.schema,"dataPath":_vm.dataPath,"data":_vm.data,"meta":_vm.meta,"store":_vm.store,"single":!_vm.inlined && !_vm.hasTabs,"disabled":_vm.disabled,"generateLabels":_vm.generateLabels}}):_vm._e()],1),(!_vm.inlined && _vm.isPopulated)?_vm._t("buttons"):_vm._e()],2),(_vm.inlined)?[(!_vm.hasLabel)?_vm._t("edit-buttons"):_vm._e()]:(_vm.isPopulated)?[_c('dito-panels',{attrs:{"panels":_vm.panelSchemas,"data":_vm.data,"meta":_vm.meta,"store":_vm.store,"disabled":_vm.disabled}})]:_vm._e()],2)}
|
|
4687
|
+
var DitoSchemavue_type_template_id_4d545d2c_lang_pug_staticRenderFns = []
|
|
4641
4688
|
|
|
4642
4689
|
|
|
4643
|
-
// CONCATENATED MODULE: ./src/components/DitoSchema.vue?vue&type=template&id=
|
|
4690
|
+
// CONCATENATED MODULE: ./src/components/DitoSchema.vue?vue&type=template&id=4d545d2c&lang=pug&
|
|
4644
4691
|
|
|
4645
4692
|
// CONCATENATED MODULE: ./src/mixins/ItemMixin.js
|
|
4646
4693
|
|
|
@@ -4847,8 +4894,8 @@ var DitoSchemavue_type_template_id_063e4ec7_lang_pug_staticRenderFns = []
|
|
|
4847
4894
|
data
|
|
4848
4895
|
} = this.schema;
|
|
4849
4896
|
return { ...(data && Object(utils_["isFunction"])(data) ? data.call(this, this.context) : data),
|
|
4850
|
-
containersRegistry: {},
|
|
4851
4897
|
componentsRegistry: {},
|
|
4898
|
+
panesRegistry: {},
|
|
4852
4899
|
panelsRegistry: {}
|
|
4853
4900
|
};
|
|
4854
4901
|
},
|
|
@@ -4865,8 +4912,8 @@ var DitoSchemavue_type_template_id_063e4ec7_lang_pug_staticRenderFns = []
|
|
|
4865
4912
|
panelSchemas() {
|
|
4866
4913
|
const panels = getPanelSchemas(this.schema.panels, '');
|
|
4867
4914
|
|
|
4868
|
-
for (const
|
|
4869
|
-
panels.push(...
|
|
4915
|
+
for (const pane of this.panes) {
|
|
4916
|
+
panels.push(...pane.panelSchemas);
|
|
4870
4917
|
}
|
|
4871
4918
|
|
|
4872
4919
|
return panels;
|
|
@@ -4988,7 +5035,7 @@ var DitoSchemavue_type_template_id_063e4ec7_lang_pug_staticRenderFns = []
|
|
|
4988
5035
|
return !this.inlined && !!this.tabs;
|
|
4989
5036
|
},
|
|
4990
5037
|
|
|
4991
|
-
|
|
5038
|
+
hasMainPane() {
|
|
4992
5039
|
const {
|
|
4993
5040
|
components
|
|
4994
5041
|
} = this.schema;
|
|
@@ -5002,14 +5049,26 @@ var DitoSchemavue_type_template_id_063e4ec7_lang_pug_staticRenderFns = []
|
|
|
5002
5049
|
|
|
5003
5050
|
}),
|
|
5004
5051
|
|
|
5005
|
-
|
|
5006
|
-
return
|
|
5052
|
+
components() {
|
|
5053
|
+
return Object.values(this.componentsRegistry);
|
|
5054
|
+
},
|
|
5055
|
+
|
|
5056
|
+
panes() {
|
|
5057
|
+
return Object.values(this.panesRegistry);
|
|
5058
|
+
},
|
|
5059
|
+
|
|
5060
|
+
panels() {
|
|
5061
|
+
return Object.values(this.panelsRegistry);
|
|
5007
5062
|
},
|
|
5008
5063
|
|
|
5009
5064
|
componentsByDataPath() {
|
|
5010
5065
|
return this._listEntriesByDataPath(this.componentsRegistry);
|
|
5011
5066
|
},
|
|
5012
5067
|
|
|
5068
|
+
panesByDataPath() {
|
|
5069
|
+
return this._listEntriesByDataPath(this.panesRegistry);
|
|
5070
|
+
},
|
|
5071
|
+
|
|
5013
5072
|
panelsByDataPath() {
|
|
5014
5073
|
return this._listEntriesByDataPath(this.panelsRegistry);
|
|
5015
5074
|
}
|
|
@@ -5021,7 +5080,7 @@ var DitoSchemavue_type_template_id_063e4ec7_lang_pug_staticRenderFns = []
|
|
|
5021
5080
|
|
|
5022
5081
|
this.setupSchemaFields();
|
|
5023
5082
|
this.delegate('change', this.parentSchemaComponent);
|
|
5024
|
-
this.emitEvent('
|
|
5083
|
+
this.emitEvent('initialize');
|
|
5025
5084
|
},
|
|
5026
5085
|
|
|
5027
5086
|
beforeDestroy() {
|
|
@@ -5072,11 +5131,11 @@ var DitoSchemavue_type_template_id_063e4ec7_lang_pug_staticRenderFns = []
|
|
|
5072
5131
|
},
|
|
5073
5132
|
|
|
5074
5133
|
someComponent(callback) {
|
|
5075
|
-
return this.isPopulated &&
|
|
5134
|
+
return this.isPopulated && this.components.some(callback);
|
|
5076
5135
|
},
|
|
5077
5136
|
|
|
5078
5137
|
everyComponent(callback) {
|
|
5079
|
-
return this.isPopulated &&
|
|
5138
|
+
return this.isPopulated && this.components.every(callback);
|
|
5080
5139
|
},
|
|
5081
5140
|
|
|
5082
5141
|
onExpand(expand) {
|
|
@@ -5085,11 +5144,10 @@ var DitoSchemavue_type_template_id_063e4ec7_lang_pug_staticRenderFns = []
|
|
|
5085
5144
|
expand
|
|
5086
5145
|
}
|
|
5087
5146
|
});
|
|
5088
|
-
this.opened = expand;
|
|
5089
|
-
},
|
|
5090
5147
|
|
|
5091
|
-
|
|
5092
|
-
|
|
5148
|
+
if (!this.opened || expand || this.validateAll()) {
|
|
5149
|
+
this.opened = expand;
|
|
5150
|
+
}
|
|
5093
5151
|
},
|
|
5094
5152
|
|
|
5095
5153
|
onChange() {
|
|
@@ -5097,13 +5155,13 @@ var DitoSchemavue_type_template_id_063e4ec7_lang_pug_staticRenderFns = []
|
|
|
5097
5155
|
},
|
|
5098
5156
|
|
|
5099
5157
|
resetValidation() {
|
|
5100
|
-
for (const component of
|
|
5158
|
+
for (const component of this.components) {
|
|
5101
5159
|
component.resetValidation();
|
|
5102
5160
|
}
|
|
5103
5161
|
},
|
|
5104
5162
|
|
|
5105
5163
|
clearErrors() {
|
|
5106
|
-
for (const component of
|
|
5164
|
+
for (const component of this.components) {
|
|
5107
5165
|
component.clearErrors();
|
|
5108
5166
|
}
|
|
5109
5167
|
},
|
|
@@ -5160,7 +5218,7 @@ var DitoSchemavue_type_template_id_063e4ec7_lang_pug_staticRenderFns = []
|
|
|
5160
5218
|
return this.validateAll(match, false);
|
|
5161
5219
|
},
|
|
5162
5220
|
|
|
5163
|
-
showValidationErrors(errors, focus) {
|
|
5221
|
+
async showValidationErrors(errors, focus) {
|
|
5164
5222
|
this.clearErrors();
|
|
5165
5223
|
let first = true;
|
|
5166
5224
|
const unmatched = [];
|
|
@@ -5174,7 +5232,7 @@ var DitoSchemavue_type_template_id_063e4ec7_lang_pug_staticRenderFns = []
|
|
|
5174
5232
|
for (const component of components) {
|
|
5175
5233
|
if (component.showValidationErrors(errs, first && focus)) {
|
|
5176
5234
|
found = true;
|
|
5177
|
-
|
|
5235
|
+
first = false;
|
|
5178
5236
|
}
|
|
5179
5237
|
}
|
|
5180
5238
|
|
|
@@ -5185,17 +5243,20 @@ var DitoSchemavue_type_template_id_063e4ec7_lang_pug_staticRenderFns = []
|
|
|
5185
5243
|
const components = this.getComponentsByDataPath(dataPathParts);
|
|
5186
5244
|
|
|
5187
5245
|
for (const component of components) {
|
|
5188
|
-
if (component.navigateToComponent
|
|
5189
|
-
|
|
5190
|
-
|
|
5191
|
-
|
|
5192
|
-
|
|
5246
|
+
if (await (component.navigateToComponent == null ? void 0 : component.navigateToComponent(fullDataPath, subComponents => {
|
|
5247
|
+
let found = false;
|
|
5248
|
+
|
|
5249
|
+
for (const component of subComponents) {
|
|
5250
|
+
const errs = errors[component.dataPath];
|
|
5251
|
+
|
|
5252
|
+
if (errs && component.showValidationErrors(errs, first && focus)) {
|
|
5253
|
+
found = true;
|
|
5254
|
+
first = false;
|
|
5193
5255
|
}
|
|
5256
|
+
}
|
|
5194
5257
|
|
|
5195
|
-
|
|
5196
|
-
|
|
5197
|
-
subComponent.showValidationErrors(filteredErrors, true);
|
|
5198
|
-
})) {
|
|
5258
|
+
return found;
|
|
5259
|
+
}))) {
|
|
5199
5260
|
return;
|
|
5200
5261
|
}
|
|
5201
5262
|
}
|
|
@@ -5279,10 +5340,6 @@ var DitoSchemavue_type_template_id_063e4ec7_lang_pug_staticRenderFns = []
|
|
|
5279
5340
|
(_this$$schemaParentCo = this.$schemaParentComponent()) == null ? void 0 : _this$$schemaParentCo._registerSchemaComponent(this, add);
|
|
5280
5341
|
},
|
|
5281
5342
|
|
|
5282
|
-
_registerContainer(container, add) {
|
|
5283
|
-
this._registerEntry(this.containersRegistry, container, add);
|
|
5284
|
-
},
|
|
5285
|
-
|
|
5286
5343
|
_registerComponent(component, add) {
|
|
5287
5344
|
var _this$parentSchemaCom2;
|
|
5288
5345
|
|
|
@@ -5291,6 +5348,10 @@ var DitoSchemavue_type_template_id_063e4ec7_lang_pug_staticRenderFns = []
|
|
|
5291
5348
|
(_this$parentSchemaCom2 = this.parentSchemaComponent) == null ? void 0 : _this$parentSchemaCom2._registerComponent(component, add);
|
|
5292
5349
|
},
|
|
5293
5350
|
|
|
5351
|
+
_registerPane(pane, add) {
|
|
5352
|
+
this._registerEntry(this.panesRegistry, pane, add);
|
|
5353
|
+
},
|
|
5354
|
+
|
|
5294
5355
|
_registerPanel(panel, add) {
|
|
5295
5356
|
this._registerEntry(this.panelsRegistry, panel, add);
|
|
5296
5357
|
},
|
|
@@ -5350,8 +5411,8 @@ var DitoSchemavue_type_style_index_0_lang_sass_ = __webpack_require__("dd36");
|
|
|
5350
5411
|
|
|
5351
5412
|
var DitoSchema_component = normalizeComponent(
|
|
5352
5413
|
components_DitoSchemavue_type_script_lang_js_,
|
|
5353
|
-
|
|
5354
|
-
|
|
5414
|
+
DitoSchemavue_type_template_id_4d545d2c_lang_pug_render,
|
|
5415
|
+
DitoSchemavue_type_template_id_4d545d2c_lang_pug_staticRenderFns,
|
|
5355
5416
|
false,
|
|
5356
5417
|
null,
|
|
5357
5418
|
null,
|
|
@@ -5360,12 +5421,12 @@ var DitoSchema_component = normalizeComponent(
|
|
|
5360
5421
|
)
|
|
5361
5422
|
|
|
5362
5423
|
/* harmony default export */ var DitoSchema = (DitoSchema_component.exports);
|
|
5363
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5364
|
-
var
|
|
5365
|
-
var
|
|
5424
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoSchemaInlined.vue?vue&type=template&id=71e529ef&lang=pug&
|
|
5425
|
+
var DitoSchemaInlinedvue_type_template_id_71e529ef_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dito-schema',{staticClass:"dito-schema-inlined",class:{ 'dito-schema-compact': _vm.isCompact },attrs:{"schema":_vm.schema,"dataPath":_vm.dataPath,"data":_vm.data,"meta":_vm.meta,"store":_vm.store,"label":_vm.isCompact ? null : _vm.label,"inlined":true,"disabled":_vm.disabled,"collapsed":_vm.collapsed,"collapsible":_vm.collapsible},scopedSlots:_vm._u([{key:"edit-buttons",fn:function(){return [(_vm.deletable || _vm.draggable || _vm.editable)?_c('dito-edit-buttons',{attrs:{"deletable":_vm.deletable,"draggable":_vm.draggable,"editable":_vm.editable,"editPath":_vm.editPath,"schema":_vm.schema,"dataPath":_vm.dataPath,"data":_vm.data,"meta":_vm.meta,"store":_vm.store},on:{"delete":function($event){return _vm.$emit('delete')}}}):_vm._e()]},proxy:true}])})}
|
|
5426
|
+
var DitoSchemaInlinedvue_type_template_id_71e529ef_lang_pug_staticRenderFns = []
|
|
5366
5427
|
|
|
5367
5428
|
|
|
5368
|
-
// CONCATENATED MODULE: ./src/components/DitoSchemaInlined.vue?vue&type=template&id=
|
|
5429
|
+
// CONCATENATED MODULE: ./src/components/DitoSchemaInlined.vue?vue&type=template&id=71e529ef&lang=pug&
|
|
5369
5430
|
|
|
5370
5431
|
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--12-0!/Users/lehni/Development/Lineto/dito/node_modules/thread-loader/dist/cjs.js!/Users/lehni/Development/Lineto/dito/node_modules/@vue/cli-service/node_modules/babel-loader/lib!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoSchemaInlined.vue?vue&type=script&lang=js&
|
|
5371
5432
|
|
|
@@ -5452,8 +5513,8 @@ var DitoSchemaInlinedvue_type_style_index_0_lang_sass_ = __webpack_require__("3c
|
|
|
5452
5513
|
|
|
5453
5514
|
var DitoSchemaInlined_component = normalizeComponent(
|
|
5454
5515
|
components_DitoSchemaInlinedvue_type_script_lang_js_,
|
|
5455
|
-
|
|
5456
|
-
|
|
5516
|
+
DitoSchemaInlinedvue_type_template_id_71e529ef_lang_pug_render,
|
|
5517
|
+
DitoSchemaInlinedvue_type_template_id_71e529ef_lang_pug_staticRenderFns,
|
|
5457
5518
|
false,
|
|
5458
5519
|
null,
|
|
5459
5520
|
null,
|
|
@@ -5462,27 +5523,27 @@ var DitoSchemaInlined_component = normalizeComponent(
|
|
|
5462
5523
|
)
|
|
5463
5524
|
|
|
5464
5525
|
/* harmony default export */ var DitoSchemaInlined = (DitoSchemaInlined_component.exports);
|
|
5465
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5466
|
-
var
|
|
5526
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoPane.vue?vue&type=template&id=c1bdbb52&lang=pug&
|
|
5527
|
+
var DitoPanevue_type_template_id_c1bdbb52_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isPopulated && _vm.componentSchemas.length > 0)?_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.visible),expression:"visible"}],staticClass:"dito-pane"},[_vm._l((_vm.componentSchemas),function(ref){
|
|
5467
5528
|
var schema = ref.schema;
|
|
5468
5529
|
var dataPath = ref.dataPath;
|
|
5469
5530
|
var nestedDataPath = ref.nestedDataPath;
|
|
5470
5531
|
var nested = ref.nested;
|
|
5471
5532
|
var store = ref.store;
|
|
5472
|
-
return [(schema.break === 'before')?_c('div',{staticClass:"dito-break"}):_vm._e(),(_vm.shouldRender(schema))?_c('dito-
|
|
5473
|
-
var
|
|
5533
|
+
return [(schema.break === 'before')?_c('div',{staticClass:"dito-break"}):_vm._e(),(_vm.shouldRender(schema))?_c('dito-container',{key:nestedDataPath,attrs:{"schema":schema,"dataPath":dataPath,"data":_vm.data,"meta":_vm.meta,"store":store,"single":_vm.isSingleComponent,"nested":nested,"disabled":_vm.disabled,"generateLabels":_vm.generateLabels}}):_vm._e(),(schema.break === 'after')?_c('div',{staticClass:"dito-break"}):_vm._e()]})],2):_vm._e()}
|
|
5534
|
+
var DitoPanevue_type_template_id_c1bdbb52_lang_pug_staticRenderFns = []
|
|
5474
5535
|
|
|
5475
5536
|
|
|
5476
|
-
// CONCATENATED MODULE: ./src/components/
|
|
5537
|
+
// CONCATENATED MODULE: ./src/components/DitoPane.vue?vue&type=template&id=c1bdbb52&lang=pug&
|
|
5477
5538
|
|
|
5478
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--12-0!/Users/lehni/Development/Lineto/dito/node_modules/thread-loader/dist/cjs.js!/Users/lehni/Development/Lineto/dito/node_modules/@vue/cli-service/node_modules/babel-loader/lib!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/
|
|
5539
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--12-0!/Users/lehni/Development/Lineto/dito/node_modules/thread-loader/dist/cjs.js!/Users/lehni/Development/Lineto/dito/node_modules/@vue/cli-service/node_modules/babel-loader/lib!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoPane.vue?vue&type=script&lang=js&
|
|
5479
5540
|
|
|
5480
5541
|
|
|
5481
5542
|
|
|
5482
|
-
/* harmony default export */ var
|
|
5543
|
+
/* harmony default export */ var DitoPanevue_type_script_lang_js_ = (src_DitoComponent.component('dito-pane', {
|
|
5483
5544
|
provide() {
|
|
5484
5545
|
return {
|
|
5485
|
-
tabComponent: this.tabComponent
|
|
5546
|
+
$tabComponent: () => this.tabComponent
|
|
5486
5547
|
};
|
|
5487
5548
|
},
|
|
5488
5549
|
|
|
@@ -5530,7 +5591,7 @@ var DitoComponentsvue_type_template_id_6278c7d8_lang_pug_staticRenderFns = []
|
|
|
5530
5591
|
},
|
|
5531
5592
|
computed: {
|
|
5532
5593
|
tabComponent() {
|
|
5533
|
-
return this.tab ? this :
|
|
5594
|
+
return this.tab ? this : this.$tabComponent();
|
|
5534
5595
|
},
|
|
5535
5596
|
|
|
5536
5597
|
componentSchemas() {
|
|
@@ -5552,18 +5613,10 @@ var DitoComponentsvue_type_template_id_6278c7d8_lang_pug_staticRenderFns = []
|
|
|
5552
5613
|
},
|
|
5553
5614
|
|
|
5554
5615
|
panelSchemas() {
|
|
5555
|
-
return this.componentSchemas.
|
|
5616
|
+
return this.componentSchemas.flatMap(({
|
|
5556
5617
|
schema,
|
|
5557
5618
|
nestedDataPath: dataPath
|
|
5558
|
-
}) =>
|
|
5559
|
-
for (const panel of getAllPanelSchemas(schema, dataPath, this.schemaComponent)) {
|
|
5560
|
-
schemas.push({ ...panel,
|
|
5561
|
-
tabComponent: this.tabComponent
|
|
5562
|
-
});
|
|
5563
|
-
}
|
|
5564
|
-
|
|
5565
|
-
return schemas;
|
|
5566
|
-
}, []);
|
|
5619
|
+
}) => getAllPanelSchemas(schema, dataPath, this.schemaComponent, this.tabComponent));
|
|
5567
5620
|
},
|
|
5568
5621
|
|
|
5569
5622
|
isSingleComponent() {
|
|
@@ -5582,7 +5635,7 @@ var DitoComponentsvue_type_template_id_6278c7d8_lang_pug_staticRenderFns = []
|
|
|
5582
5635
|
|
|
5583
5636
|
methods: {
|
|
5584
5637
|
_register(add) {
|
|
5585
|
-
this.schemaComponent.
|
|
5638
|
+
this.schemaComponent._registerPane(this, add);
|
|
5586
5639
|
},
|
|
5587
5640
|
|
|
5588
5641
|
focus() {
|
|
@@ -5595,12 +5648,12 @@ var DitoComponentsvue_type_template_id_6278c7d8_lang_pug_staticRenderFns = []
|
|
|
5595
5648
|
|
|
5596
5649
|
}
|
|
5597
5650
|
}));
|
|
5598
|
-
// CONCATENATED MODULE: ./src/components/
|
|
5599
|
-
/* harmony default export */ var
|
|
5600
|
-
// EXTERNAL MODULE: ./src/components/
|
|
5601
|
-
var
|
|
5651
|
+
// CONCATENATED MODULE: ./src/components/DitoPane.vue?vue&type=script&lang=js&
|
|
5652
|
+
/* harmony default export */ var components_DitoPanevue_type_script_lang_js_ = (DitoPanevue_type_script_lang_js_);
|
|
5653
|
+
// EXTERNAL MODULE: ./src/components/DitoPane.vue?vue&type=style&index=0&lang=sass&
|
|
5654
|
+
var DitoPanevue_type_style_index_0_lang_sass_ = __webpack_require__("6f72");
|
|
5602
5655
|
|
|
5603
|
-
// CONCATENATED MODULE: ./src/components/
|
|
5656
|
+
// CONCATENATED MODULE: ./src/components/DitoPane.vue
|
|
5604
5657
|
|
|
5605
5658
|
|
|
5606
5659
|
|
|
@@ -5609,10 +5662,10 @@ var DitoComponentsvue_type_style_index_0_lang_sass_ = __webpack_require__("dda4"
|
|
|
5609
5662
|
|
|
5610
5663
|
/* normalize component */
|
|
5611
5664
|
|
|
5612
|
-
var
|
|
5613
|
-
|
|
5614
|
-
|
|
5615
|
-
|
|
5665
|
+
var DitoPane_component = normalizeComponent(
|
|
5666
|
+
components_DitoPanevue_type_script_lang_js_,
|
|
5667
|
+
DitoPanevue_type_template_id_c1bdbb52_lang_pug_render,
|
|
5668
|
+
DitoPanevue_type_template_id_c1bdbb52_lang_pug_staticRenderFns,
|
|
5616
5669
|
false,
|
|
5617
5670
|
null,
|
|
5618
5671
|
null,
|
|
@@ -5620,25 +5673,38 @@ var DitoComponents_component = normalizeComponent(
|
|
|
5620
5673
|
|
|
5621
5674
|
)
|
|
5622
5675
|
|
|
5623
|
-
/* harmony default export */ var
|
|
5624
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5625
|
-
var
|
|
5626
|
-
var
|
|
5676
|
+
/* harmony default export */ var DitoPane = (DitoPane_component.exports);
|
|
5677
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoContainer.vue?vue&type=template&id=543910cb&lang=pug&
|
|
5678
|
+
var DitoContainervue_type_template_id_543910cb_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.componentVisible),expression:"componentVisible"}],staticClass:"dito-container",class:_vm.containerClass,style:(_vm.containerStyle)},[(_vm.label)?_c('dito-label',{class:_vm.componentClass,attrs:{"label":_vm.label,"dataPath":_vm.labelDataPath}}):_vm._e(),_c(_vm.getTypeComponent(_vm.schema.type),{tag:"component",staticClass:"dito-component",class:_vm.componentClass,attrs:{"schema":_vm.schema,"dataPath":_vm.dataPath,"data":_vm.data,"meta":_vm.meta,"store":_vm.store,"single":_vm.single,"nested":_vm.nested,"disabled":_vm.componentDisabled},on:{"errors":_vm.onErrors}}),_c('dito-errors',{attrs:{"errors":_vm.errors}})],1)}
|
|
5679
|
+
var DitoContainervue_type_template_id_543910cb_lang_pug_staticRenderFns = []
|
|
5627
5680
|
|
|
5628
5681
|
|
|
5629
|
-
// CONCATENATED MODULE: ./src/components/
|
|
5682
|
+
// CONCATENATED MODULE: ./src/components/DitoContainer.vue?vue&type=template&id=543910cb&lang=pug&
|
|
5630
5683
|
|
|
5631
|
-
// CONCATENATED MODULE:
|
|
5684
|
+
// CONCATENATED MODULE: ./src/utils/math.js
|
|
5632
5685
|
|
|
5686
|
+
function parseFraction(value) {
|
|
5687
|
+
const match = Object(utils_["isString"])(value) && value.match(/^\s*([+-]?\d+)\s*\/\s*([+-]?\d+)\s*$/);
|
|
5633
5688
|
|
|
5634
|
-
|
|
5635
|
-
|
|
5636
|
-
|
|
5637
|
-
}
|
|
5689
|
+
if (match) {
|
|
5690
|
+
const [, dividend, divisor] = match;
|
|
5691
|
+
return parseFloat(dividend) / parseFloat(divisor);
|
|
5692
|
+
} else {
|
|
5693
|
+
return parseFloat(value);
|
|
5694
|
+
}
|
|
5695
|
+
}
|
|
5696
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--12-0!/Users/lehni/Development/Lineto/dito/node_modules/thread-loader/dist/cjs.js!/Users/lehni/Development/Lineto/dito/node_modules/@vue/cli-service/node_modules/babel-loader/lib!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoContainer.vue?vue&type=script&lang=js&
|
|
5697
|
+
|
|
5698
|
+
|
|
5699
|
+
|
|
5700
|
+
|
|
5701
|
+
|
|
5702
|
+
|
|
5703
|
+
/* harmony default export */ var DitoContainervue_type_script_lang_js_ = (src_DitoComponent.component('dito-container', {
|
|
5638
5704
|
props: {
|
|
5639
|
-
|
|
5705
|
+
schema: {
|
|
5640
5706
|
type: Object,
|
|
5641
|
-
|
|
5707
|
+
required: true
|
|
5642
5708
|
},
|
|
5643
5709
|
dataPath: {
|
|
5644
5710
|
type: String,
|
|
@@ -5646,38 +5712,160 @@ var DitoButtonsvue_type_template_id_d62fc2d8_lang_pug_staticRenderFns = []
|
|
|
5646
5712
|
},
|
|
5647
5713
|
data: {
|
|
5648
5714
|
type: [Object, Array],
|
|
5649
|
-
|
|
5715
|
+
required: true
|
|
5650
5716
|
},
|
|
5651
5717
|
meta: {
|
|
5652
5718
|
type: Object,
|
|
5653
|
-
|
|
5719
|
+
required: true
|
|
5654
5720
|
},
|
|
5655
5721
|
store: {
|
|
5656
5722
|
type: Object,
|
|
5657
|
-
|
|
5723
|
+
required: true
|
|
5658
5724
|
},
|
|
5659
|
-
|
|
5725
|
+
single: {
|
|
5660
5726
|
type: Boolean,
|
|
5661
5727
|
default: false
|
|
5728
|
+
},
|
|
5729
|
+
nested: {
|
|
5730
|
+
type: Boolean,
|
|
5731
|
+
default: true
|
|
5732
|
+
},
|
|
5733
|
+
disabled: {
|
|
5734
|
+
type: Boolean,
|
|
5735
|
+
required: true
|
|
5736
|
+
},
|
|
5737
|
+
generateLabels: {
|
|
5738
|
+
type: Boolean,
|
|
5739
|
+
default: true
|
|
5662
5740
|
}
|
|
5663
5741
|
},
|
|
5742
|
+
|
|
5743
|
+
data() {
|
|
5744
|
+
return {
|
|
5745
|
+
errors: null
|
|
5746
|
+
};
|
|
5747
|
+
},
|
|
5748
|
+
|
|
5664
5749
|
computed: {
|
|
5665
|
-
|
|
5750
|
+
context() {
|
|
5751
|
+
return new DitoContext_DitoContext(this, {
|
|
5752
|
+
nested: this.nested
|
|
5753
|
+
});
|
|
5754
|
+
},
|
|
5755
|
+
|
|
5756
|
+
typeOptions() {
|
|
5757
|
+
return getTypeOptions(this.schema) || {};
|
|
5758
|
+
},
|
|
5759
|
+
|
|
5760
|
+
hasLabel() {
|
|
5666
5761
|
const {
|
|
5667
|
-
|
|
5668
|
-
buttons
|
|
5762
|
+
schema
|
|
5669
5763
|
} = this;
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
|
|
5764
|
+
const {
|
|
5765
|
+
label
|
|
5766
|
+
} = schema;
|
|
5767
|
+
return label !== false && (!!label || this.typeOptions.generateLabel && this.generateLabels);
|
|
5768
|
+
},
|
|
5769
|
+
|
|
5770
|
+
label() {
|
|
5771
|
+
return this.hasLabel ? this.getLabel(this.schema) : null;
|
|
5772
|
+
},
|
|
5773
|
+
|
|
5774
|
+
labelDataPath() {
|
|
5775
|
+
return this.nested ? this.dataPath : null;
|
|
5776
|
+
},
|
|
5777
|
+
|
|
5778
|
+
componentWidth: getSchemaAccessor('width', {
|
|
5779
|
+
type: [String, Number],
|
|
5780
|
+
|
|
5781
|
+
default() {
|
|
5782
|
+
return this.typeOptions.defaultWidth;
|
|
5783
|
+
},
|
|
5784
|
+
|
|
5785
|
+
get(width) {
|
|
5786
|
+
return width === undefined ? 1.0 : Object(utils_["isString"])(width) ? width.match(/^\s*[<>]?\s*(.*)$/)[1] : width;
|
|
5787
|
+
}
|
|
5788
|
+
|
|
5789
|
+
}),
|
|
5790
|
+
componentWidthOperator: getSchemaAccessor('width', {
|
|
5791
|
+
type: String,
|
|
5792
|
+
|
|
5793
|
+
get(width) {
|
|
5794
|
+
return Object(utils_["isString"])(width) ? width.match(/^\s*([<>]?)/)[1] || null : null;
|
|
5795
|
+
}
|
|
5796
|
+
|
|
5797
|
+
}),
|
|
5798
|
+
componentVisible: getSchemaAccessor('visible', {
|
|
5799
|
+
type: Boolean,
|
|
5800
|
+
|
|
5801
|
+
default() {
|
|
5802
|
+
return this.typeOptions.defaultVisible;
|
|
5803
|
+
}
|
|
5804
|
+
|
|
5805
|
+
}),
|
|
5806
|
+
componentDisabled: getSchemaAccessor('disabled', {
|
|
5807
|
+
type: Boolean,
|
|
5808
|
+
default: false,
|
|
5809
|
+
|
|
5810
|
+
get(disabled) {
|
|
5811
|
+
return disabled || this.disabled;
|
|
5812
|
+
}
|
|
5813
|
+
|
|
5814
|
+
}),
|
|
5815
|
+
|
|
5816
|
+
containerClass() {
|
|
5817
|
+
const {
|
|
5818
|
+
class: containerClass
|
|
5819
|
+
} = this.schema;
|
|
5820
|
+
return {
|
|
5821
|
+
'dito-single': this.single,
|
|
5822
|
+
'dito-omit-padding': shouldOmitPadding(this.schema),
|
|
5823
|
+
...(Object(utils_["isString"])(containerClass) ? {
|
|
5824
|
+
[containerClass]: true
|
|
5825
|
+
} : containerClass)
|
|
5826
|
+
};
|
|
5827
|
+
},
|
|
5828
|
+
|
|
5829
|
+
componentBasis() {
|
|
5830
|
+
const width = this.componentWidth;
|
|
5831
|
+
const basis = [null, 'auto', 'fill'].includes(width) ? 'auto' : /%$/.test(width) ? parseFloat(width) : /[a-z]/.test(width) ? width : parseFraction(width) * 100;
|
|
5832
|
+
return Object(utils_["isNumber"])(basis) ? `${basis}%` : basis;
|
|
5833
|
+
},
|
|
5834
|
+
|
|
5835
|
+
containerStyle() {
|
|
5836
|
+
const grow = this.componentWidthOperator === '>' || this.componentWidth === 'fill';
|
|
5837
|
+
const shrink = this.componentWidthOperator === '<';
|
|
5838
|
+
return {
|
|
5839
|
+
flex: `${grow ? 1 : 0} ${shrink ? 1 : 0} ${this.componentBasis}`
|
|
5840
|
+
};
|
|
5841
|
+
},
|
|
5842
|
+
|
|
5843
|
+
componentClass() {
|
|
5844
|
+
const basisIsAuto = this.componentBasis === 'auto';
|
|
5845
|
+
return {
|
|
5846
|
+
'dito-single': this.single,
|
|
5847
|
+
'dito-disabled': this.componentDisabled,
|
|
5848
|
+
'dito-width-fill': !basisIsAuto || this.componentWidth === 'fill',
|
|
5849
|
+
'dito-width-auto': basisIsAuto,
|
|
5850
|
+
'dito-has-errors': !!this.errors
|
|
5851
|
+
};
|
|
5852
|
+
}
|
|
5853
|
+
|
|
5854
|
+
},
|
|
5855
|
+
methods: {
|
|
5856
|
+
onErrors(errors) {
|
|
5857
|
+
this.errors = errors;
|
|
5674
5858
|
}
|
|
5675
5859
|
|
|
5676
5860
|
}
|
|
5677
5861
|
}));
|
|
5678
|
-
// CONCATENATED MODULE: ./src/components/
|
|
5679
|
-
/* harmony default export */ var
|
|
5680
|
-
//
|
|
5862
|
+
// CONCATENATED MODULE: ./src/components/DitoContainer.vue?vue&type=script&lang=js&
|
|
5863
|
+
/* harmony default export */ var components_DitoContainervue_type_script_lang_js_ = (DitoContainervue_type_script_lang_js_);
|
|
5864
|
+
// EXTERNAL MODULE: ./src/components/DitoContainer.vue?vue&type=style&index=0&lang=sass&
|
|
5865
|
+
var DitoContainervue_type_style_index_0_lang_sass_ = __webpack_require__("af1e");
|
|
5866
|
+
|
|
5867
|
+
// CONCATENATED MODULE: ./src/components/DitoContainer.vue
|
|
5868
|
+
|
|
5681
5869
|
|
|
5682
5870
|
|
|
5683
5871
|
|
|
@@ -5685,10 +5873,10 @@ var DitoButtonsvue_type_template_id_d62fc2d8_lang_pug_staticRenderFns = []
|
|
|
5685
5873
|
|
|
5686
5874
|
/* normalize component */
|
|
5687
5875
|
|
|
5688
|
-
var
|
|
5689
|
-
|
|
5690
|
-
|
|
5691
|
-
|
|
5876
|
+
var DitoContainer_component = normalizeComponent(
|
|
5877
|
+
components_DitoContainervue_type_script_lang_js_,
|
|
5878
|
+
DitoContainervue_type_template_id_543910cb_lang_pug_render,
|
|
5879
|
+
DitoContainervue_type_template_id_543910cb_lang_pug_staticRenderFns,
|
|
5692
5880
|
false,
|
|
5693
5881
|
null,
|
|
5694
5882
|
null,
|
|
@@ -5696,109 +5884,34 @@ var DitoButtons_component = normalizeComponent(
|
|
|
5696
5884
|
|
|
5697
5885
|
)
|
|
5698
5886
|
|
|
5699
|
-
/* harmony default export */ var
|
|
5700
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5701
|
-
var
|
|
5702
|
-
var
|
|
5703
|
-
|
|
5887
|
+
/* harmony default export */ var DitoContainer = (DitoContainer_component.exports);
|
|
5888
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoTabs.vue?vue&type=template&id=16c31a87&lang=pug&
|
|
5889
|
+
var DitoTabsvue_type_template_id_16c31a87_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"dito-tabs"},_vm._l((_vm.tabs),function(tabSchema,key){return (_vm.shouldRender(tabSchema))?_c('router-link',{key:key,staticClass:"dito-link",attrs:{"to":{ hash: key },"active-class":"dito-active"}},[_vm._v(_vm._s(_vm.getLabel(tabSchema, key)))]):_vm._e()}),1)}
|
|
5890
|
+
var DitoTabsvue_type_template_id_16c31a87_lang_pug_staticRenderFns = []
|
|
5704
5891
|
|
|
5705
|
-
// CONCATENATED MODULE: ./src/components/DitoEditButtons.vue?vue&type=template&id=0b3ba536&lang=pug&
|
|
5706
5892
|
|
|
5707
|
-
// CONCATENATED MODULE:
|
|
5893
|
+
// CONCATENATED MODULE: ./src/components/DitoTabs.vue?vue&type=template&id=16c31a87&lang=pug&
|
|
5708
5894
|
|
|
5895
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--12-0!/Users/lehni/Development/Lineto/dito/node_modules/thread-loader/dist/cjs.js!/Users/lehni/Development/Lineto/dito/node_modules/@vue/cli-service/node_modules/babel-loader/lib!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoTabs.vue?vue&type=script&lang=js&
|
|
5709
5896
|
|
|
5710
|
-
/* harmony default export */ var
|
|
5897
|
+
/* harmony default export */ var DitoTabsvue_type_script_lang_js_ = (src_DitoComponent.component('dito-tabs', {
|
|
5711
5898
|
props: {
|
|
5712
|
-
|
|
5713
|
-
type: Boolean,
|
|
5714
|
-
default: false
|
|
5715
|
-
},
|
|
5716
|
-
editable: {
|
|
5717
|
-
type: Boolean,
|
|
5718
|
-
default: false
|
|
5719
|
-
},
|
|
5720
|
-
creatable: {
|
|
5721
|
-
type: Boolean,
|
|
5722
|
-
default: false
|
|
5723
|
-
},
|
|
5724
|
-
deletable: {
|
|
5725
|
-
type: Boolean,
|
|
5726
|
-
default: false
|
|
5727
|
-
},
|
|
5728
|
-
editPath: {
|
|
5729
|
-
type: String,
|
|
5730
|
-
default: null
|
|
5731
|
-
},
|
|
5732
|
-
createPath: {
|
|
5733
|
-
type: String,
|
|
5734
|
-
default: null
|
|
5735
|
-
},
|
|
5736
|
-
buttons: {
|
|
5899
|
+
tabs: {
|
|
5737
5900
|
type: Object,
|
|
5738
5901
|
default: null
|
|
5739
5902
|
},
|
|
5740
|
-
|
|
5741
|
-
type: Object,
|
|
5742
|
-
required: true
|
|
5743
|
-
},
|
|
5744
|
-
dataPath: {
|
|
5903
|
+
selectedTab: {
|
|
5745
5904
|
type: String,
|
|
5746
|
-
required: true
|
|
5747
|
-
},
|
|
5748
|
-
data: {
|
|
5749
|
-
type: [Object, Array],
|
|
5750
5905
|
default: null
|
|
5751
|
-
},
|
|
5752
|
-
meta: {
|
|
5753
|
-
type: Object,
|
|
5754
|
-
required: true
|
|
5755
|
-
},
|
|
5756
|
-
store: {
|
|
5757
|
-
type: Object,
|
|
5758
|
-
required: true
|
|
5759
|
-
}
|
|
5760
|
-
},
|
|
5761
|
-
computed: {
|
|
5762
|
-
formLabel() {
|
|
5763
|
-
return this.getLabel(this.schema.form);
|
|
5764
|
-
},
|
|
5765
|
-
|
|
5766
|
-
isDraggable() {
|
|
5767
|
-
return this.hasOption('draggable');
|
|
5768
|
-
},
|
|
5769
|
-
|
|
5770
|
-
isEditable() {
|
|
5771
|
-
return this.hasOption('editable') && !!this.editPath;
|
|
5772
|
-
},
|
|
5773
|
-
|
|
5774
|
-
isCreatable() {
|
|
5775
|
-
return this.hasOption('creatable') && !!this.createPath;
|
|
5776
|
-
},
|
|
5777
|
-
|
|
5778
|
-
isDeletable() {
|
|
5779
|
-
return this.hasOption('deletable');
|
|
5780
|
-
},
|
|
5781
|
-
|
|
5782
|
-
createButtonText() {
|
|
5783
|
-
var _this$schema$creatabl;
|
|
5784
|
-
|
|
5785
|
-
return ((_this$schema$creatabl = this.schema.creatable) == null ? void 0 : _this$schema$creatabl.label) || this.formLabel && `${Object(utils_["capitalize"])(this.verbs.create)} ${this.formLabel}` || null;
|
|
5786
5906
|
}
|
|
5787
|
-
|
|
5788
|
-
},
|
|
5789
|
-
methods: {
|
|
5790
|
-
hasOption(name) {
|
|
5791
|
-
return !!(this[name] && this.schema[name] !== false);
|
|
5792
|
-
}
|
|
5793
|
-
|
|
5794
5907
|
}
|
|
5795
5908
|
}));
|
|
5796
|
-
// CONCATENATED MODULE: ./src/components/
|
|
5797
|
-
/* harmony default export */ var
|
|
5798
|
-
// EXTERNAL MODULE: ./src/components/
|
|
5799
|
-
var
|
|
5909
|
+
// CONCATENATED MODULE: ./src/components/DitoTabs.vue?vue&type=script&lang=js&
|
|
5910
|
+
/* harmony default export */ var components_DitoTabsvue_type_script_lang_js_ = (DitoTabsvue_type_script_lang_js_);
|
|
5911
|
+
// EXTERNAL MODULE: ./src/components/DitoTabs.vue?vue&type=style&index=0&lang=sass&
|
|
5912
|
+
var DitoTabsvue_type_style_index_0_lang_sass_ = __webpack_require__("fb0b");
|
|
5800
5913
|
|
|
5801
|
-
// CONCATENATED MODULE: ./src/components/
|
|
5914
|
+
// CONCATENATED MODULE: ./src/components/DitoTabs.vue
|
|
5802
5915
|
|
|
5803
5916
|
|
|
5804
5917
|
|
|
@@ -5807,10 +5920,10 @@ var DitoEditButtonsvue_type_style_index_0_lang_sass_ = __webpack_require__("7f8e
|
|
|
5807
5920
|
|
|
5808
5921
|
/* normalize component */
|
|
5809
5922
|
|
|
5810
|
-
var
|
|
5811
|
-
|
|
5812
|
-
|
|
5813
|
-
|
|
5923
|
+
var DitoTabs_component = normalizeComponent(
|
|
5924
|
+
components_DitoTabsvue_type_script_lang_js_,
|
|
5925
|
+
DitoTabsvue_type_template_id_16c31a87_lang_pug_render,
|
|
5926
|
+
DitoTabsvue_type_template_id_16c31a87_lang_pug_staticRenderFns,
|
|
5814
5927
|
false,
|
|
5815
5928
|
null,
|
|
5816
5929
|
null,
|
|
@@ -5818,34 +5931,30 @@ var DitoEditButtons_component = normalizeComponent(
|
|
|
5818
5931
|
|
|
5819
5932
|
)
|
|
5820
5933
|
|
|
5821
|
-
/* harmony default export */ var
|
|
5822
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5823
|
-
var
|
|
5824
|
-
var
|
|
5825
|
-
|
|
5934
|
+
/* harmony default export */ var DitoTabs = (DitoTabs_component.exports);
|
|
5935
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoPanel.vue?vue&type=template&id=40feea3b&lang=pug&
|
|
5936
|
+
var DitoPanelvue_type_template_id_40feea3b_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.panelTag,{directives:[{name:"show",rawName:"v-show",value:(_vm.visible && (!_vm.panelTabComponent || _vm.panelTabComponent.visible)),expression:"visible && (!panelTabComponent || panelTabComponent.visible)"}],tag:"component",staticClass:"dito-panel",on:{"submit":function($event){$event.preventDefault();}}},[_c('label',{staticClass:"dito-panel-title"},[_vm._v(_vm._s(_vm.getLabel(_vm.schema)))]),_c('dito-schema',{staticClass:"dito-panel-schema",attrs:{"schema":_vm.panelSchema,"dataPath":_vm.panelDataPath,"data":_vm.panelData,"meta":_vm.meta,"store":_vm.store,"disabled":_vm.disabled,"hasOwnData":_vm.hasOwnData}},[_c('dito-buttons',{attrs:{"slot":"buttons","buttons":_vm.buttonSchemas,"dataPath":_vm.panelDataPath,"data":_vm.panelData,"meta":_vm.meta,"store":_vm.store,"disabled":_vm.disabled},slot:"buttons"})],1)],1)}
|
|
5937
|
+
var DitoPanelvue_type_template_id_40feea3b_lang_pug_staticRenderFns = []
|
|
5826
5938
|
|
|
5827
|
-
// CONCATENATED MODULE: ./src/components/DitoComponentContainer.vue?vue&type=template&id=406c48bc&lang=pug&
|
|
5828
5939
|
|
|
5829
|
-
// CONCATENATED MODULE: ./src/
|
|
5940
|
+
// CONCATENATED MODULE: ./src/components/DitoPanel.vue?vue&type=template&id=40feea3b&lang=pug&
|
|
5830
5941
|
|
|
5831
|
-
|
|
5832
|
-
const match = Object(utils_["isString"])(value) && value.match(/^\s*([+-]?\d+)\s*\/\s*([+-]?\d+)\s*$/);
|
|
5942
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--12-0!/Users/lehni/Development/Lineto/dito/node_modules/thread-loader/dist/cjs.js!/Users/lehni/Development/Lineto/dito/node_modules/@vue/cli-service/node_modules/babel-loader/lib!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoPanel.vue?vue&type=script&lang=js&
|
|
5833
5943
|
|
|
5834
|
-
if (match) {
|
|
5835
|
-
const [, dividend, divisor] = match;
|
|
5836
|
-
return parseFloat(dividend) / parseFloat(divisor);
|
|
5837
|
-
} else {
|
|
5838
|
-
return parseFloat(value);
|
|
5839
|
-
}
|
|
5840
|
-
}
|
|
5841
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--12-0!/Users/lehni/Development/Lineto/dito/node_modules/thread-loader/dist/cjs.js!/Users/lehni/Development/Lineto/dito/node_modules/@vue/cli-service/node_modules/babel-loader/lib!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoComponentContainer.vue?vue&type=script&lang=js&
|
|
5842
5944
|
|
|
5843
5945
|
|
|
5844
5946
|
|
|
5845
5947
|
|
|
5948
|
+
/* harmony default export */ var DitoPanelvue_type_script_lang_js_ = (src_DitoComponent.component('dito-panel', {
|
|
5949
|
+
mixins: [ValidatorMixin],
|
|
5846
5950
|
|
|
5951
|
+
provide() {
|
|
5952
|
+
return {
|
|
5953
|
+
$panelComponent: () => this,
|
|
5954
|
+
$tabComponent: () => this.panelTabComponent
|
|
5955
|
+
};
|
|
5956
|
+
},
|
|
5847
5957
|
|
|
5848
|
-
/* harmony default export */ var DitoComponentContainervue_type_script_lang_js_ = (src_DitoComponent.component('dito-component-container', {
|
|
5849
5958
|
props: {
|
|
5850
5959
|
schema: {
|
|
5851
5960
|
type: Object,
|
|
@@ -5853,10 +5962,10 @@ function parseFraction(value) {
|
|
|
5853
5962
|
},
|
|
5854
5963
|
dataPath: {
|
|
5855
5964
|
type: String,
|
|
5856
|
-
|
|
5965
|
+
required: true
|
|
5857
5966
|
},
|
|
5858
5967
|
data: {
|
|
5859
|
-
type:
|
|
5968
|
+
type: Object,
|
|
5860
5969
|
required: true
|
|
5861
5970
|
},
|
|
5862
5971
|
meta: {
|
|
@@ -5867,150 +5976,102 @@ function parseFraction(value) {
|
|
|
5867
5976
|
type: Object,
|
|
5868
5977
|
required: true
|
|
5869
5978
|
},
|
|
5870
|
-
single: {
|
|
5871
|
-
type: Boolean,
|
|
5872
|
-
default: false
|
|
5873
|
-
},
|
|
5874
|
-
nested: {
|
|
5875
|
-
type: Boolean,
|
|
5876
|
-
default: true
|
|
5877
|
-
},
|
|
5878
5979
|
disabled: {
|
|
5879
5980
|
type: Boolean,
|
|
5880
5981
|
required: true
|
|
5881
5982
|
},
|
|
5882
|
-
|
|
5883
|
-
type:
|
|
5884
|
-
default:
|
|
5983
|
+
panelTabComponent: {
|
|
5984
|
+
type: src_DitoComponent,
|
|
5985
|
+
default: null
|
|
5885
5986
|
}
|
|
5886
5987
|
},
|
|
5887
5988
|
|
|
5888
5989
|
data() {
|
|
5889
5990
|
return {
|
|
5890
|
-
|
|
5991
|
+
ownData: null
|
|
5891
5992
|
};
|
|
5892
5993
|
},
|
|
5893
5994
|
|
|
5894
5995
|
computed: {
|
|
5895
|
-
|
|
5896
|
-
return
|
|
5897
|
-
nested: this.nested
|
|
5898
|
-
});
|
|
5996
|
+
panelComponent() {
|
|
5997
|
+
return this;
|
|
5899
5998
|
},
|
|
5900
5999
|
|
|
5901
|
-
|
|
5902
|
-
return
|
|
6000
|
+
tabComponent() {
|
|
6001
|
+
return this.panelTabComponent;
|
|
5903
6002
|
},
|
|
5904
6003
|
|
|
5905
|
-
|
|
5906
|
-
|
|
5907
|
-
schema
|
|
5908
|
-
} = this;
|
|
5909
|
-
const {
|
|
5910
|
-
label
|
|
5911
|
-
} = schema;
|
|
5912
|
-
return label !== false && (!!label || this.typeOptions.generateLabel && this.generateLabels);
|
|
6004
|
+
buttonSchemas() {
|
|
6005
|
+
return getButtonSchemas(this.schema.buttons);
|
|
5913
6006
|
},
|
|
5914
6007
|
|
|
5915
|
-
|
|
5916
|
-
return this.
|
|
6008
|
+
target() {
|
|
6009
|
+
return this.schema.target || this.dataPath;
|
|
5917
6010
|
},
|
|
5918
6011
|
|
|
5919
|
-
|
|
5920
|
-
return this.
|
|
6012
|
+
hasOwnData() {
|
|
6013
|
+
return !!this.ownData;
|
|
5921
6014
|
},
|
|
5922
6015
|
|
|
5923
|
-
|
|
5924
|
-
|
|
5925
|
-
|
|
5926
|
-
default() {
|
|
5927
|
-
return this.typeOptions.defaultWidth;
|
|
5928
|
-
},
|
|
6016
|
+
panelData() {
|
|
6017
|
+
return this.ownData || this.data;
|
|
6018
|
+
},
|
|
5929
6019
|
|
|
5930
|
-
|
|
5931
|
-
|
|
6020
|
+
panelSchema() {
|
|
6021
|
+
if (this.hasOwnData) {
|
|
6022
|
+
return this.schema;
|
|
6023
|
+
} else {
|
|
6024
|
+
const {
|
|
6025
|
+
data,
|
|
6026
|
+
...schema
|
|
6027
|
+
} = this.schema;
|
|
6028
|
+
return schema;
|
|
5932
6029
|
}
|
|
6030
|
+
},
|
|
5933
6031
|
|
|
5934
|
-
|
|
5935
|
-
|
|
5936
|
-
|
|
6032
|
+
panelTag() {
|
|
6033
|
+
return this.hasOwnData ? 'form' : 'div';
|
|
6034
|
+
},
|
|
5937
6035
|
|
|
5938
|
-
|
|
5939
|
-
|
|
5940
|
-
|
|
6036
|
+
panelDataPath() {
|
|
6037
|
+
return this.hasOwnData ? this.dataPath : this.schemaComponent.dataPath;
|
|
6038
|
+
},
|
|
5941
6039
|
|
|
5942
|
-
|
|
5943
|
-
componentVisible: getSchemaAccessor('visible', {
|
|
6040
|
+
visible: getSchemaAccessor('visible', {
|
|
5944
6041
|
type: Boolean,
|
|
6042
|
+
default: true
|
|
6043
|
+
})
|
|
6044
|
+
},
|
|
5945
6045
|
|
|
5946
|
-
|
|
5947
|
-
|
|
5948
|
-
}
|
|
5949
|
-
|
|
5950
|
-
}),
|
|
5951
|
-
componentDisabled: getSchemaAccessor('disabled', {
|
|
5952
|
-
type: Boolean,
|
|
5953
|
-
default: false,
|
|
6046
|
+
created() {
|
|
6047
|
+
this._register(true);
|
|
5954
6048
|
|
|
5955
|
-
|
|
5956
|
-
|
|
5957
|
-
|
|
6049
|
+
const {
|
|
6050
|
+
data
|
|
6051
|
+
} = this.schema;
|
|
5958
6052
|
|
|
5959
|
-
|
|
6053
|
+
if (data) {
|
|
6054
|
+
this.ownData = Object(utils_["isFunction"])(data) ? data.call(this, this.context) : data;
|
|
6055
|
+
}
|
|
6056
|
+
},
|
|
5960
6057
|
|
|
5961
|
-
|
|
5962
|
-
|
|
5963
|
-
|
|
5964
|
-
} = this.schema;
|
|
5965
|
-
return {
|
|
5966
|
-
[this.$options.name]: true,
|
|
5967
|
-
'dito-single': this.single,
|
|
5968
|
-
'dito-omit-padding': shouldOmitPadding(this.schema),
|
|
5969
|
-
...(Object(utils_["isString"])(containerClass) ? {
|
|
5970
|
-
[containerClass]: true
|
|
5971
|
-
} : containerClass)
|
|
5972
|
-
};
|
|
5973
|
-
},
|
|
6058
|
+
beforeDestroy() {
|
|
6059
|
+
this._register(false);
|
|
6060
|
+
},
|
|
5974
6061
|
|
|
5975
|
-
|
|
5976
|
-
|
|
5977
|
-
|
|
5978
|
-
|
|
5979
|
-
},
|
|
5980
|
-
|
|
5981
|
-
containerStyle() {
|
|
5982
|
-
const grow = this.componentWidthOperator === '>' || this.componentWidth === 'fill';
|
|
5983
|
-
const shrink = this.componentWidthOperator === '<';
|
|
5984
|
-
return {
|
|
5985
|
-
flex: `${grow ? 1 : 0} ${shrink ? 1 : 0} ${this.componentBasis}`
|
|
5986
|
-
};
|
|
5987
|
-
},
|
|
5988
|
-
|
|
5989
|
-
componentClass() {
|
|
5990
|
-
const basisIsAuto = this.componentBasis === 'auto';
|
|
5991
|
-
return {
|
|
5992
|
-
'dito-single': this.single,
|
|
5993
|
-
'dito-disabled': this.componentDisabled,
|
|
5994
|
-
'dito-width-fill': !basisIsAuto || this.componentWidth === 'fill',
|
|
5995
|
-
'dito-width-auto': basisIsAuto,
|
|
5996
|
-
'dito-has-errors': !!this.errors
|
|
5997
|
-
};
|
|
5998
|
-
}
|
|
5999
|
-
|
|
6000
|
-
},
|
|
6001
|
-
methods: {
|
|
6002
|
-
onErrors(errors) {
|
|
6003
|
-
this.errors = errors;
|
|
6004
|
-
}
|
|
6062
|
+
methods: {
|
|
6063
|
+
_register(add) {
|
|
6064
|
+
this.schemaComponent._registerPanel(this, add);
|
|
6065
|
+
}
|
|
6005
6066
|
|
|
6006
6067
|
}
|
|
6007
6068
|
}));
|
|
6008
|
-
// CONCATENATED MODULE: ./src/components/
|
|
6009
|
-
/* harmony default export */ var
|
|
6010
|
-
// EXTERNAL MODULE: ./src/components/
|
|
6011
|
-
var
|
|
6069
|
+
// CONCATENATED MODULE: ./src/components/DitoPanel.vue?vue&type=script&lang=js&
|
|
6070
|
+
/* harmony default export */ var components_DitoPanelvue_type_script_lang_js_ = (DitoPanelvue_type_script_lang_js_);
|
|
6071
|
+
// EXTERNAL MODULE: ./src/components/DitoPanel.vue?vue&type=style&index=0&lang=sass&
|
|
6072
|
+
var DitoPanelvue_type_style_index_0_lang_sass_ = __webpack_require__("e2c2");
|
|
6012
6073
|
|
|
6013
|
-
// CONCATENATED MODULE: ./src/components/
|
|
6074
|
+
// CONCATENATED MODULE: ./src/components/DitoPanel.vue
|
|
6014
6075
|
|
|
6015
6076
|
|
|
6016
6077
|
|
|
@@ -6019,10 +6080,10 @@ var DitoComponentContainervue_type_style_index_0_lang_sass_ = __webpack_require_
|
|
|
6019
6080
|
|
|
6020
6081
|
/* normalize component */
|
|
6021
6082
|
|
|
6022
|
-
var
|
|
6023
|
-
|
|
6024
|
-
|
|
6025
|
-
|
|
6083
|
+
var DitoPanel_component = normalizeComponent(
|
|
6084
|
+
components_DitoPanelvue_type_script_lang_js_,
|
|
6085
|
+
DitoPanelvue_type_template_id_40feea3b_lang_pug_render,
|
|
6086
|
+
DitoPanelvue_type_template_id_40feea3b_lang_pug_staticRenderFns,
|
|
6026
6087
|
false,
|
|
6027
6088
|
null,
|
|
6028
6089
|
null,
|
|
@@ -6030,37 +6091,68 @@ var DitoComponentContainer_component = normalizeComponent(
|
|
|
6030
6091
|
|
|
6031
6092
|
)
|
|
6032
6093
|
|
|
6033
|
-
/* harmony default export */ var
|
|
6034
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js
|
|
6094
|
+
/* harmony default export */ var DitoPanel = (DitoPanel_component.exports);
|
|
6095
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoPanels.vue?vue&type=template&id=7ffc591c&lang=pug&
|
|
6096
|
+
var DitoPanelsvue_type_template_id_7ffc591c_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.panels.length > 0)?_c('div',{staticClass:"dito-panels"},_vm._l((_vm.panels),function(ref){
|
|
6097
|
+
var schema = ref.schema;
|
|
6098
|
+
var dataPath = ref.dataPath;
|
|
6099
|
+
var tabComponent = ref.tabComponent;
|
|
6100
|
+
return (_vm.shouldRender(schema))?_c('dito-panel',{key:_vm.getPanelKey(dataPath, tabComponent),attrs:{"schema":schema,"dataPath":dataPath,"data":_vm.data,"meta":_vm.meta,"store":_vm.getChildStore(schema.name),"disabled":schema.disabled != null ? schema.disabled : _vm.disabled,"panelTabComponent":tabComponent}}):_vm._e()}),1):_vm._e()}
|
|
6101
|
+
var DitoPanelsvue_type_template_id_7ffc591c_lang_pug_staticRenderFns = []
|
|
6035
6102
|
|
|
6036
|
-
/* harmony default export */ var DitoButtonContainervue_type_script_lang_js_ = (DitoComponentContainer.component('dito-button-container', {
|
|
6037
|
-
computed: {
|
|
6038
|
-
width() {
|
|
6039
|
-
return this.schema.width;
|
|
6040
|
-
},
|
|
6041
6103
|
|
|
6042
|
-
|
|
6043
|
-
|
|
6044
|
-
|
|
6045
|
-
|
|
6104
|
+
// CONCATENATED MODULE: ./src/components/DitoPanels.vue?vue&type=template&id=7ffc591c&lang=pug&
|
|
6105
|
+
|
|
6106
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--12-0!/Users/lehni/Development/Lineto/dito/node_modules/thread-loader/dist/cjs.js!/Users/lehni/Development/Lineto/dito/node_modules/@vue/cli-service/node_modules/babel-loader/lib!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoPanels.vue?vue&type=script&lang=js&
|
|
6107
|
+
|
|
6108
|
+
/* harmony default export */ var DitoPanelsvue_type_script_lang_js_ = (src_DitoComponent.component('dito-panels', {
|
|
6109
|
+
props: {
|
|
6110
|
+
panels: {
|
|
6111
|
+
type: Array,
|
|
6112
|
+
default: null
|
|
6113
|
+
},
|
|
6114
|
+
data: {
|
|
6115
|
+
type: Object,
|
|
6116
|
+
required: true
|
|
6117
|
+
},
|
|
6118
|
+
meta: {
|
|
6119
|
+
type: Object,
|
|
6120
|
+
required: true
|
|
6121
|
+
},
|
|
6122
|
+
store: {
|
|
6123
|
+
type: Object,
|
|
6124
|
+
required: true
|
|
6125
|
+
},
|
|
6126
|
+
disabled: {
|
|
6127
|
+
type: Boolean,
|
|
6128
|
+
required: true
|
|
6129
|
+
}
|
|
6130
|
+
},
|
|
6131
|
+
methods: {
|
|
6132
|
+
getPanelKey(dataPath, tabComponent) {
|
|
6133
|
+
return tabComponent ? `${tabComponent.tab}_${dataPath}` : dataPath;
|
|
6046
6134
|
}
|
|
6047
6135
|
|
|
6048
6136
|
}
|
|
6049
6137
|
}));
|
|
6050
|
-
// CONCATENATED MODULE: ./src/components/
|
|
6051
|
-
/* harmony default export */ var
|
|
6052
|
-
//
|
|
6053
|
-
var
|
|
6138
|
+
// CONCATENATED MODULE: ./src/components/DitoPanels.vue?vue&type=script&lang=js&
|
|
6139
|
+
/* harmony default export */ var components_DitoPanelsvue_type_script_lang_js_ = (DitoPanelsvue_type_script_lang_js_);
|
|
6140
|
+
// EXTERNAL MODULE: ./src/components/DitoPanels.vue?vue&type=style&index=0&lang=sass&
|
|
6141
|
+
var DitoPanelsvue_type_style_index_0_lang_sass_ = __webpack_require__("8153");
|
|
6142
|
+
|
|
6143
|
+
// CONCATENATED MODULE: ./src/components/DitoPanels.vue
|
|
6144
|
+
|
|
6145
|
+
|
|
6054
6146
|
|
|
6055
6147
|
|
|
6056
6148
|
|
|
6057
6149
|
|
|
6058
6150
|
/* normalize component */
|
|
6059
6151
|
|
|
6060
|
-
var
|
|
6061
|
-
|
|
6062
|
-
|
|
6063
|
-
|
|
6152
|
+
var DitoPanels_component = normalizeComponent(
|
|
6153
|
+
components_DitoPanelsvue_type_script_lang_js_,
|
|
6154
|
+
DitoPanelsvue_type_template_id_7ffc591c_lang_pug_render,
|
|
6155
|
+
DitoPanelsvue_type_template_id_7ffc591c_lang_pug_staticRenderFns,
|
|
6064
6156
|
false,
|
|
6065
6157
|
null,
|
|
6066
6158
|
null,
|
|
@@ -6068,89 +6160,64 @@ var DitoButtonContainer_component = normalizeComponent(
|
|
|
6068
6160
|
|
|
6069
6161
|
)
|
|
6070
6162
|
|
|
6071
|
-
/* harmony default export */ var
|
|
6072
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6073
|
-
var
|
|
6074
|
-
var
|
|
6163
|
+
/* harmony default export */ var DitoPanels = (DitoPanels_component.exports);
|
|
6164
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoButtons.vue?vue&type=template&id=f4a25014&lang=pug&
|
|
6165
|
+
var DitoButtonsvue_type_template_id_f4a25014_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.buttonSchemas || _vm.$slots.default)?_c('div',_vm._g({staticClass:"dito-buttons"},_vm.$listeners),[_vm._l((_vm.buttonSchemas),function(buttonSchema,buttonDataPath){return (_vm.shouldRender(buttonSchema))?_c('dito-container',{key:buttonDataPath,attrs:{"schema":buttonSchema,"dataPath":buttonDataPath,"data":_vm.data,"meta":_vm.meta,"store":_vm.getChildStore(buttonSchema.name),"disabled":_vm.disabled,"generateLabels":false}}):_vm._e()}),_vm._l((_vm.$slots.default),function(node){return (node.tag)?_c('div',{staticClass:"dito-container"},[_c('dito-vnode',{attrs:{"node":node}})],1):_vm._e()})],2):_vm._e()}
|
|
6166
|
+
var DitoButtonsvue_type_template_id_f4a25014_lang_pug_staticRenderFns = []
|
|
6075
6167
|
|
|
6076
6168
|
|
|
6077
|
-
// CONCATENATED MODULE: ./src/components/
|
|
6078
|
-
|
|
6079
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--12-0!/Users/lehni/Development/Lineto/dito/node_modules/thread-loader/dist/cjs.js!/Users/lehni/Development/Lineto/dito/node_modules/@vue/cli-service/node_modules/babel-loader/lib!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoCreateButton.vue?vue&type=script&lang=js&
|
|
6169
|
+
// CONCATENATED MODULE: ./src/components/DitoButtons.vue?vue&type=template&id=f4a25014&lang=pug&
|
|
6080
6170
|
|
|
6171
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--12-0!/Users/lehni/Development/Lineto/dito/node_modules/thread-loader/dist/cjs.js!/Users/lehni/Development/Lineto/dito/node_modules/@vue/cli-service/node_modules/babel-loader/lib!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoButtons.vue?vue&type=script&lang=js&
|
|
6081
6172
|
|
|
6082
6173
|
|
|
6083
|
-
/* harmony default export */ var
|
|
6084
|
-
|
|
6174
|
+
/* harmony default export */ var DitoButtonsvue_type_script_lang_js_ = (src_DitoComponent.component('dito-buttons', {
|
|
6175
|
+
provide: {
|
|
6176
|
+
$tabComponent: () => null
|
|
6177
|
+
},
|
|
6085
6178
|
props: {
|
|
6086
|
-
|
|
6179
|
+
buttons: {
|
|
6087
6180
|
type: Object,
|
|
6088
|
-
|
|
6089
|
-
},
|
|
6090
|
-
path: {
|
|
6091
|
-
type: String,
|
|
6092
|
-
required: true
|
|
6181
|
+
default: null
|
|
6093
6182
|
},
|
|
6094
|
-
|
|
6183
|
+
dataPath: {
|
|
6095
6184
|
type: String,
|
|
6096
|
-
|
|
6185
|
+
default: ''
|
|
6097
6186
|
},
|
|
6098
|
-
|
|
6099
|
-
type:
|
|
6187
|
+
data: {
|
|
6188
|
+
type: [Object, Array],
|
|
6100
6189
|
default: null
|
|
6101
|
-
}
|
|
6102
|
-
},
|
|
6103
|
-
computed: {
|
|
6104
|
-
forms() {
|
|
6105
|
-
return getFormSchemas(this.schema, this.context);
|
|
6106
6190
|
},
|
|
6107
|
-
|
|
6108
|
-
|
|
6109
|
-
|
|
6191
|
+
meta: {
|
|
6192
|
+
type: Object,
|
|
6193
|
+
default: () => ({})
|
|
6110
6194
|
},
|
|
6111
|
-
|
|
6112
|
-
|
|
6113
|
-
|
|
6195
|
+
store: {
|
|
6196
|
+
type: Object,
|
|
6197
|
+
default: () => ({})
|
|
6198
|
+
},
|
|
6199
|
+
disabled: {
|
|
6200
|
+
type: Boolean,
|
|
6201
|
+
default: false
|
|
6114
6202
|
}
|
|
6115
|
-
|
|
6116
6203
|
},
|
|
6117
|
-
|
|
6118
|
-
|
|
6119
|
-
|
|
6120
|
-
|
|
6121
|
-
|
|
6122
|
-
|
|
6123
|
-
|
|
6124
|
-
|
|
6125
|
-
|
|
6126
|
-
|
|
6127
|
-
this.$router.push({
|
|
6128
|
-
path: `${this.path}/create`,
|
|
6129
|
-
query: {
|
|
6130
|
-
type
|
|
6131
|
-
},
|
|
6132
|
-
append: true
|
|
6133
|
-
});
|
|
6134
|
-
}
|
|
6135
|
-
} else {
|
|
6136
|
-
throw new Error('Not allowed to create item for given form');
|
|
6137
|
-
}
|
|
6138
|
-
},
|
|
6139
|
-
|
|
6140
|
-
onPulldownSelect(type) {
|
|
6141
|
-
this.createItem(this.forms[type], type);
|
|
6142
|
-
this.setPulldownOpen(false);
|
|
6204
|
+
computed: {
|
|
6205
|
+
buttonSchemas() {
|
|
6206
|
+
const {
|
|
6207
|
+
dataPath,
|
|
6208
|
+
buttons
|
|
6209
|
+
} = this;
|
|
6210
|
+
return buttons ? Object.values(buttons).reduce((schemas, button) => {
|
|
6211
|
+
schemas[appendDataPath(dataPath, button.name)] = button;
|
|
6212
|
+
return schemas;
|
|
6213
|
+
}, {}) : null;
|
|
6143
6214
|
}
|
|
6144
6215
|
|
|
6145
6216
|
}
|
|
6146
6217
|
}));
|
|
6147
|
-
// CONCATENATED MODULE: ./src/components/
|
|
6148
|
-
/* harmony default export */ var
|
|
6149
|
-
//
|
|
6150
|
-
var DitoCreateButtonvue_type_style_index_0_lang_sass_ = __webpack_require__("c592");
|
|
6151
|
-
|
|
6152
|
-
// CONCATENATED MODULE: ./src/components/DitoCreateButton.vue
|
|
6153
|
-
|
|
6218
|
+
// CONCATENATED MODULE: ./src/components/DitoButtons.vue?vue&type=script&lang=js&
|
|
6219
|
+
/* harmony default export */ var components_DitoButtonsvue_type_script_lang_js_ = (DitoButtonsvue_type_script_lang_js_);
|
|
6220
|
+
// CONCATENATED MODULE: ./src/components/DitoButtons.vue
|
|
6154
6221
|
|
|
6155
6222
|
|
|
6156
6223
|
|
|
@@ -6158,10 +6225,10 @@ var DitoCreateButtonvue_type_style_index_0_lang_sass_ = __webpack_require__("c59
|
|
|
6158
6225
|
|
|
6159
6226
|
/* normalize component */
|
|
6160
6227
|
|
|
6161
|
-
var
|
|
6162
|
-
|
|
6163
|
-
|
|
6164
|
-
|
|
6228
|
+
var DitoButtons_component = normalizeComponent(
|
|
6229
|
+
components_DitoButtonsvue_type_script_lang_js_,
|
|
6230
|
+
DitoButtonsvue_type_template_id_f4a25014_lang_pug_render,
|
|
6231
|
+
DitoButtonsvue_type_template_id_f4a25014_lang_pug_staticRenderFns,
|
|
6165
6232
|
false,
|
|
6166
6233
|
null,
|
|
6167
6234
|
null,
|
|
@@ -6169,30 +6236,47 @@ var DitoCreateButton_component = normalizeComponent(
|
|
|
6169
6236
|
|
|
6170
6237
|
)
|
|
6171
6238
|
|
|
6172
|
-
/* harmony default export */ var
|
|
6173
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6174
|
-
var
|
|
6175
|
-
var
|
|
6176
|
-
|
|
6177
|
-
|
|
6178
|
-
// CONCATENATED MODULE: ./src/components/DitoPanel.vue?vue&type=template&id=202c1444&lang=pug&
|
|
6179
|
-
|
|
6180
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--12-0!/Users/lehni/Development/Lineto/dito/node_modules/thread-loader/dist/cjs.js!/Users/lehni/Development/Lineto/dito/node_modules/@vue/cli-service/node_modules/babel-loader/lib!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoPanel.vue?vue&type=script&lang=js&
|
|
6181
|
-
|
|
6182
|
-
|
|
6239
|
+
/* harmony default export */ var DitoButtons = (DitoButtons_component.exports);
|
|
6240
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoEditButtons.vue?vue&type=template&id=0b3ba536&lang=pug&
|
|
6241
|
+
var DitoEditButtonsvue_type_template_id_0b3ba536_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dito-buttons',{staticClass:"dito-edit-buttons dito-buttons-round",attrs:{"buttons":_vm.buttons,"dataPath":_vm.dataPath,"data":_vm.data,"meta":_vm.meta,"store":_vm.store},on:{"click":function($event){$event.stopPropagation();}}},[(_vm.isDraggable)?_c('a',_vm._b({staticClass:"dito-button"},'a',_vm.getButtonAttributes(_vm.verbs.drag),false)):_vm._e(),(_vm.isEditable)?_c('router-link',_vm._b({staticClass:"dito-button",attrs:{"to":{ path: _vm.editPath },"append":""}},'router-link',_vm.getButtonAttributes(_vm.verbs.edit),false)):_vm._e(),(_vm.isCreatable)?_c('dito-create-button',{attrs:{"schema":_vm.schema,"path":_vm.createPath,"verb":_vm.verbs.create,"text":_vm.createButtonText}}):_vm._e(),(_vm.isDeletable)?_c('button',_vm._b({staticClass:"dito-button",attrs:{"type":"button"},on:{"click":function($event){return _vm.$emit('delete')}}},'button',_vm.getButtonAttributes(_vm.verbs.delete),false)):_vm._e()],1)}
|
|
6242
|
+
var DitoEditButtonsvue_type_template_id_0b3ba536_lang_pug_staticRenderFns = []
|
|
6183
6243
|
|
|
6184
6244
|
|
|
6245
|
+
// CONCATENATED MODULE: ./src/components/DitoEditButtons.vue?vue&type=template&id=0b3ba536&lang=pug&
|
|
6185
6246
|
|
|
6186
|
-
|
|
6187
|
-
mixins: [ValidatorMixin],
|
|
6247
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--12-0!/Users/lehni/Development/Lineto/dito/node_modules/thread-loader/dist/cjs.js!/Users/lehni/Development/Lineto/dito/node_modules/@vue/cli-service/node_modules/babel-loader/lib!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoEditButtons.vue?vue&type=script&lang=js&
|
|
6188
6248
|
|
|
6189
|
-
provide() {
|
|
6190
|
-
return {
|
|
6191
|
-
$panelComponent: () => this
|
|
6192
|
-
};
|
|
6193
|
-
},
|
|
6194
6249
|
|
|
6250
|
+
/* harmony default export */ var DitoEditButtonsvue_type_script_lang_js_ = (src_DitoComponent.component('dito-edit-buttons', {
|
|
6195
6251
|
props: {
|
|
6252
|
+
draggable: {
|
|
6253
|
+
type: Boolean,
|
|
6254
|
+
default: false
|
|
6255
|
+
},
|
|
6256
|
+
editable: {
|
|
6257
|
+
type: Boolean,
|
|
6258
|
+
default: false
|
|
6259
|
+
},
|
|
6260
|
+
creatable: {
|
|
6261
|
+
type: Boolean,
|
|
6262
|
+
default: false
|
|
6263
|
+
},
|
|
6264
|
+
deletable: {
|
|
6265
|
+
type: Boolean,
|
|
6266
|
+
default: false
|
|
6267
|
+
},
|
|
6268
|
+
editPath: {
|
|
6269
|
+
type: String,
|
|
6270
|
+
default: null
|
|
6271
|
+
},
|
|
6272
|
+
createPath: {
|
|
6273
|
+
type: String,
|
|
6274
|
+
default: null
|
|
6275
|
+
},
|
|
6276
|
+
buttons: {
|
|
6277
|
+
type: Object,
|
|
6278
|
+
default: null
|
|
6279
|
+
},
|
|
6196
6280
|
schema: {
|
|
6197
6281
|
type: Object,
|
|
6198
6282
|
required: true
|
|
@@ -6202,8 +6286,8 @@ var DitoPanelvue_type_template_id_202c1444_lang_pug_staticRenderFns = []
|
|
|
6202
6286
|
required: true
|
|
6203
6287
|
},
|
|
6204
6288
|
data: {
|
|
6205
|
-
type: Object,
|
|
6206
|
-
|
|
6289
|
+
type: [Object, Array],
|
|
6290
|
+
default: null
|
|
6207
6291
|
},
|
|
6208
6292
|
meta: {
|
|
6209
6293
|
type: Object,
|
|
@@ -6212,99 +6296,49 @@ var DitoPanelvue_type_template_id_202c1444_lang_pug_staticRenderFns = []
|
|
|
6212
6296
|
store: {
|
|
6213
6297
|
type: Object,
|
|
6214
6298
|
required: true
|
|
6215
|
-
},
|
|
6216
|
-
disabled: {
|
|
6217
|
-
type: Boolean,
|
|
6218
|
-
required: true
|
|
6219
|
-
},
|
|
6220
|
-
tabComponent: {
|
|
6221
|
-
type: src_DitoComponent,
|
|
6222
|
-
default: null
|
|
6223
6299
|
}
|
|
6224
6300
|
},
|
|
6225
|
-
|
|
6226
|
-
data() {
|
|
6227
|
-
return {
|
|
6228
|
-
ownData: null
|
|
6229
|
-
};
|
|
6230
|
-
},
|
|
6231
|
-
|
|
6232
6301
|
computed: {
|
|
6233
|
-
|
|
6234
|
-
return this;
|
|
6235
|
-
},
|
|
6236
|
-
|
|
6237
|
-
buttonSchemas() {
|
|
6238
|
-
return getButtonSchemas(this.schema.buttons);
|
|
6239
|
-
},
|
|
6240
|
-
|
|
6241
|
-
target() {
|
|
6242
|
-
return this.schema.target || this.dataPath;
|
|
6243
|
-
},
|
|
6244
|
-
|
|
6245
|
-
hasOwnData() {
|
|
6246
|
-
return !!this.ownData;
|
|
6247
|
-
},
|
|
6248
|
-
|
|
6249
|
-
panelData() {
|
|
6250
|
-
return this.ownData || this.data;
|
|
6251
|
-
},
|
|
6252
|
-
|
|
6253
|
-
panelSchema() {
|
|
6254
|
-
if (this.hasOwnData) {
|
|
6255
|
-
return this.schema;
|
|
6256
|
-
} else {
|
|
6257
|
-
const {
|
|
6258
|
-
data,
|
|
6259
|
-
...schema
|
|
6260
|
-
} = this.schema;
|
|
6261
|
-
return schema;
|
|
6262
|
-
}
|
|
6302
|
+
formLabel() {
|
|
6303
|
+
return this.getLabel(this.schema.form);
|
|
6263
6304
|
},
|
|
6264
6305
|
|
|
6265
|
-
|
|
6266
|
-
return this.
|
|
6306
|
+
isDraggable() {
|
|
6307
|
+
return this.hasOption('draggable');
|
|
6267
6308
|
},
|
|
6268
6309
|
|
|
6269
|
-
|
|
6270
|
-
return this.
|
|
6310
|
+
isEditable() {
|
|
6311
|
+
return this.hasOption('editable') && !!this.editPath;
|
|
6271
6312
|
},
|
|
6272
6313
|
|
|
6273
|
-
|
|
6274
|
-
|
|
6275
|
-
|
|
6276
|
-
})
|
|
6277
|
-
},
|
|
6314
|
+
isCreatable() {
|
|
6315
|
+
return this.hasOption('creatable') && !!this.createPath;
|
|
6316
|
+
},
|
|
6278
6317
|
|
|
6279
|
-
|
|
6280
|
-
|
|
6318
|
+
isDeletable() {
|
|
6319
|
+
return this.hasOption('deletable');
|
|
6320
|
+
},
|
|
6281
6321
|
|
|
6282
|
-
|
|
6283
|
-
|
|
6284
|
-
} = this.schema;
|
|
6322
|
+
createButtonText() {
|
|
6323
|
+
var _this$schema$creatabl;
|
|
6285
6324
|
|
|
6286
|
-
|
|
6287
|
-
this.ownData = Object(utils_["isFunction"])(data) ? data.call(this, this.context) : data;
|
|
6325
|
+
return ((_this$schema$creatabl = this.schema.creatable) == null ? void 0 : _this$schema$creatabl.label) || this.formLabel && `${Object(utils_["capitalize"])(this.verbs.create)} ${this.formLabel}` || null;
|
|
6288
6326
|
}
|
|
6289
|
-
},
|
|
6290
6327
|
|
|
6291
|
-
beforeDestroy() {
|
|
6292
|
-
this._register(false);
|
|
6293
6328
|
},
|
|
6294
|
-
|
|
6295
6329
|
methods: {
|
|
6296
|
-
|
|
6297
|
-
|
|
6330
|
+
hasOption(name) {
|
|
6331
|
+
return !!(this[name] && this.schema[name] !== false);
|
|
6298
6332
|
}
|
|
6299
6333
|
|
|
6300
6334
|
}
|
|
6301
6335
|
}));
|
|
6302
|
-
// CONCATENATED MODULE: ./src/components/
|
|
6303
|
-
/* harmony default export */ var
|
|
6304
|
-
// EXTERNAL MODULE: ./src/components/
|
|
6305
|
-
var
|
|
6336
|
+
// CONCATENATED MODULE: ./src/components/DitoEditButtons.vue?vue&type=script&lang=js&
|
|
6337
|
+
/* harmony default export */ var components_DitoEditButtonsvue_type_script_lang_js_ = (DitoEditButtonsvue_type_script_lang_js_);
|
|
6338
|
+
// EXTERNAL MODULE: ./src/components/DitoEditButtons.vue?vue&type=style&index=0&lang=sass&
|
|
6339
|
+
var DitoEditButtonsvue_type_style_index_0_lang_sass_ = __webpack_require__("7f8e");
|
|
6306
6340
|
|
|
6307
|
-
// CONCATENATED MODULE: ./src/components/
|
|
6341
|
+
// CONCATENATED MODULE: ./src/components/DitoEditButtons.vue
|
|
6308
6342
|
|
|
6309
6343
|
|
|
6310
6344
|
|
|
@@ -6313,10 +6347,10 @@ var DitoPanelvue_type_style_index_0_lang_sass_ = __webpack_require__("e2c2");
|
|
|
6313
6347
|
|
|
6314
6348
|
/* normalize component */
|
|
6315
6349
|
|
|
6316
|
-
var
|
|
6317
|
-
|
|
6318
|
-
|
|
6319
|
-
|
|
6350
|
+
var DitoEditButtons_component = normalizeComponent(
|
|
6351
|
+
components_DitoEditButtonsvue_type_script_lang_js_,
|
|
6352
|
+
DitoEditButtonsvue_type_template_id_0b3ba536_lang_pug_render,
|
|
6353
|
+
DitoEditButtonsvue_type_template_id_0b3ba536_lang_pug_staticRenderFns,
|
|
6320
6354
|
false,
|
|
6321
6355
|
null,
|
|
6322
6356
|
null,
|
|
@@ -6324,103 +6358,88 @@ var DitoPanel_component = normalizeComponent(
|
|
|
6324
6358
|
|
|
6325
6359
|
)
|
|
6326
6360
|
|
|
6327
|
-
/* harmony default export */ var
|
|
6328
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6329
|
-
var
|
|
6330
|
-
var
|
|
6331
|
-
var dataPath = ref.dataPath;
|
|
6332
|
-
var tabComponent = ref.tabComponent;
|
|
6333
|
-
return (_vm.shouldRender(schema))?_c('dito-panel',{key:_vm.getPanelKey(dataPath, tabComponent),attrs:{"schema":schema,"dataPath":dataPath,"data":_vm.data,"meta":_vm.meta,"store":_vm.getChildStore(schema.name),"disabled":schema.disabled != null ? schema.disabled : _vm.disabled,"tabComponent":tabComponent}}):_vm._e()}),1)}
|
|
6334
|
-
var DitoPanelsvue_type_template_id_2e9e33bd_lang_pug_staticRenderFns = []
|
|
6361
|
+
/* harmony default export */ var DitoEditButtons = (DitoEditButtons_component.exports);
|
|
6362
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoCreateButton.vue?vue&type=template&id=1633b1b4&lang=pug&
|
|
6363
|
+
var DitoCreateButtonvue_type_template_id_1633b1b4_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"dito-create-button"},[(_vm.showPulldown)?[_c('button',{staticClass:"dito-button",class:("dito-button-" + _vm.verb),attrs:{"type":"button","title":_vm.labelize(_vm.verb)},on:{"mousedown":function($event){$event.stopPropagation();return _vm.onPulldownMouseDown()}}},[_vm._v(_vm._s(_vm.text))]),_c('ul',{staticClass:"dito-pulldown",class:{ 'dito-open': _vm.pulldown.open }},_vm._l((_vm.forms),function(form,type){return _c('li',[(_vm.isCreatable(form))?_c('a',{class:("dito-type-" + type),on:{"mousedown":function($event){$event.stopPropagation();return _vm.onPulldownMouseDown(type)},"mouseup":function($event){return _vm.onPulldownMouseUp(type)}}},[_vm._v(_vm._s(_vm.getLabel(form)))]):_vm._e()])}),0)]:_c('button',{staticClass:"dito-button",class:("dito-button-" + _vm.verb),attrs:{"type":_vm.isInlined ? 'button' : 'submit',"title":_vm.labelize(_vm.verb)},on:{"click":function($event){return _vm.createItem(_vm.forms.default)}}},[_vm._v(_vm._s(_vm.text))])],2)}
|
|
6364
|
+
var DitoCreateButtonvue_type_template_id_1633b1b4_lang_pug_staticRenderFns = []
|
|
6335
6365
|
|
|
6336
6366
|
|
|
6337
|
-
// CONCATENATED MODULE: ./src/components/
|
|
6367
|
+
// CONCATENATED MODULE: ./src/components/DitoCreateButton.vue?vue&type=template&id=1633b1b4&lang=pug&
|
|
6338
6368
|
|
|
6339
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--12-0!/Users/lehni/Development/Lineto/dito/node_modules/thread-loader/dist/cjs.js!/Users/lehni/Development/Lineto/dito/node_modules/@vue/cli-service/node_modules/babel-loader/lib!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/
|
|
6369
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--12-0!/Users/lehni/Development/Lineto/dito/node_modules/thread-loader/dist/cjs.js!/Users/lehni/Development/Lineto/dito/node_modules/@vue/cli-service/node_modules/babel-loader/lib!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoCreateButton.vue?vue&type=script&lang=js&
|
|
6340
6370
|
|
|
6341
|
-
|
|
6371
|
+
|
|
6372
|
+
|
|
6373
|
+
/* harmony default export */ var DitoCreateButtonvue_type_script_lang_js_ = (src_DitoComponent.component('dito-create-button', {
|
|
6374
|
+
mixins: [PulldownMixin],
|
|
6342
6375
|
props: {
|
|
6343
|
-
|
|
6344
|
-
type: Array,
|
|
6345
|
-
default: null
|
|
6346
|
-
},
|
|
6347
|
-
data: {
|
|
6376
|
+
schema: {
|
|
6348
6377
|
type: Object,
|
|
6349
6378
|
required: true
|
|
6350
6379
|
},
|
|
6351
|
-
|
|
6352
|
-
type:
|
|
6380
|
+
path: {
|
|
6381
|
+
type: String,
|
|
6353
6382
|
required: true
|
|
6354
6383
|
},
|
|
6355
|
-
|
|
6356
|
-
type:
|
|
6384
|
+
verb: {
|
|
6385
|
+
type: String,
|
|
6357
6386
|
required: true
|
|
6358
6387
|
},
|
|
6359
|
-
|
|
6360
|
-
type:
|
|
6361
|
-
|
|
6388
|
+
text: {
|
|
6389
|
+
type: String,
|
|
6390
|
+
default: null
|
|
6362
6391
|
}
|
|
6363
6392
|
},
|
|
6364
|
-
|
|
6365
|
-
|
|
6366
|
-
return
|
|
6367
|
-
}
|
|
6368
|
-
|
|
6369
|
-
}
|
|
6370
|
-
}));
|
|
6371
|
-
// CONCATENATED MODULE: ./src/components/DitoPanels.vue?vue&type=script&lang=js&
|
|
6372
|
-
/* harmony default export */ var components_DitoPanelsvue_type_script_lang_js_ = (DitoPanelsvue_type_script_lang_js_);
|
|
6373
|
-
// EXTERNAL MODULE: ./src/components/DitoPanels.vue?vue&type=style&index=0&lang=sass&
|
|
6374
|
-
var DitoPanelsvue_type_style_index_0_lang_sass_ = __webpack_require__("8153");
|
|
6375
|
-
|
|
6376
|
-
// CONCATENATED MODULE: ./src/components/DitoPanels.vue
|
|
6377
|
-
|
|
6378
|
-
|
|
6379
|
-
|
|
6380
|
-
|
|
6381
|
-
|
|
6382
|
-
|
|
6383
|
-
/* normalize component */
|
|
6384
|
-
|
|
6385
|
-
var DitoPanels_component = normalizeComponent(
|
|
6386
|
-
components_DitoPanelsvue_type_script_lang_js_,
|
|
6387
|
-
DitoPanelsvue_type_template_id_2e9e33bd_lang_pug_render,
|
|
6388
|
-
DitoPanelsvue_type_template_id_2e9e33bd_lang_pug_staticRenderFns,
|
|
6389
|
-
false,
|
|
6390
|
-
null,
|
|
6391
|
-
null,
|
|
6392
|
-
null
|
|
6393
|
-
|
|
6394
|
-
)
|
|
6395
|
-
|
|
6396
|
-
/* harmony default export */ var DitoPanels = (DitoPanels_component.exports);
|
|
6397
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5bafc996-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoTabs.vue?vue&type=template&id=16c31a87&lang=pug&
|
|
6398
|
-
var DitoTabsvue_type_template_id_16c31a87_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"dito-tabs"},_vm._l((_vm.tabs),function(tabSchema,key){return (_vm.shouldRender(tabSchema))?_c('router-link',{key:key,staticClass:"dito-link",attrs:{"to":{ hash: key },"active-class":"dito-active"}},[_vm._v(_vm._s(_vm.getLabel(tabSchema, key)))]):_vm._e()}),1)}
|
|
6399
|
-
var DitoTabsvue_type_template_id_16c31a87_lang_pug_staticRenderFns = []
|
|
6393
|
+
computed: {
|
|
6394
|
+
forms() {
|
|
6395
|
+
return getFormSchemas(this.schema, this.context);
|
|
6396
|
+
},
|
|
6400
6397
|
|
|
6398
|
+
isInlined() {
|
|
6399
|
+
return isInlined(this.schema);
|
|
6400
|
+
},
|
|
6401
6401
|
|
|
6402
|
-
|
|
6402
|
+
showPulldown() {
|
|
6403
|
+
return Object.keys(this.forms).length > 1 || !this.forms.default;
|
|
6404
|
+
}
|
|
6403
6405
|
|
|
6404
|
-
|
|
6406
|
+
},
|
|
6407
|
+
methods: {
|
|
6408
|
+
isCreatable(form) {
|
|
6409
|
+
return form.creatable !== false;
|
|
6410
|
+
},
|
|
6405
6411
|
|
|
6406
|
-
|
|
6407
|
-
|
|
6408
|
-
|
|
6409
|
-
|
|
6410
|
-
|
|
6412
|
+
createItem(form, type = null) {
|
|
6413
|
+
if (this.isCreatable(form)) {
|
|
6414
|
+
if (this.isInlined) {
|
|
6415
|
+
this.sourceComponent.createItem(form, type);
|
|
6416
|
+
} else {
|
|
6417
|
+
this.$router.push({
|
|
6418
|
+
path: `${this.path}/create`,
|
|
6419
|
+
query: {
|
|
6420
|
+
type
|
|
6421
|
+
},
|
|
6422
|
+
append: true
|
|
6423
|
+
});
|
|
6424
|
+
}
|
|
6425
|
+
} else {
|
|
6426
|
+
throw new Error('Not allowed to create item for given form');
|
|
6427
|
+
}
|
|
6411
6428
|
},
|
|
6412
|
-
|
|
6413
|
-
|
|
6414
|
-
|
|
6429
|
+
|
|
6430
|
+
onPulldownSelect(type) {
|
|
6431
|
+
this.createItem(this.forms[type], type);
|
|
6432
|
+
this.setPulldownOpen(false);
|
|
6415
6433
|
}
|
|
6434
|
+
|
|
6416
6435
|
}
|
|
6417
6436
|
}));
|
|
6418
|
-
// CONCATENATED MODULE: ./src/components/
|
|
6419
|
-
/* harmony default export */ var
|
|
6420
|
-
// EXTERNAL MODULE: ./src/components/
|
|
6421
|
-
var
|
|
6437
|
+
// CONCATENATED MODULE: ./src/components/DitoCreateButton.vue?vue&type=script&lang=js&
|
|
6438
|
+
/* harmony default export */ var components_DitoCreateButtonvue_type_script_lang_js_ = (DitoCreateButtonvue_type_script_lang_js_);
|
|
6439
|
+
// EXTERNAL MODULE: ./src/components/DitoCreateButton.vue?vue&type=style&index=0&lang=sass&
|
|
6440
|
+
var DitoCreateButtonvue_type_style_index_0_lang_sass_ = __webpack_require__("c592");
|
|
6422
6441
|
|
|
6423
|
-
// CONCATENATED MODULE: ./src/components/
|
|
6442
|
+
// CONCATENATED MODULE: ./src/components/DitoCreateButton.vue
|
|
6424
6443
|
|
|
6425
6444
|
|
|
6426
6445
|
|
|
@@ -6429,10 +6448,10 @@ var DitoTabsvue_type_style_index_0_lang_sass_ = __webpack_require__("fb0b");
|
|
|
6429
6448
|
|
|
6430
6449
|
/* normalize component */
|
|
6431
6450
|
|
|
6432
|
-
var
|
|
6433
|
-
|
|
6434
|
-
|
|
6435
|
-
|
|
6451
|
+
var DitoCreateButton_component = normalizeComponent(
|
|
6452
|
+
components_DitoCreateButtonvue_type_script_lang_js_,
|
|
6453
|
+
DitoCreateButtonvue_type_template_id_1633b1b4_lang_pug_render,
|
|
6454
|
+
DitoCreateButtonvue_type_template_id_1633b1b4_lang_pug_staticRenderFns,
|
|
6436
6455
|
false,
|
|
6437
6456
|
null,
|
|
6438
6457
|
null,
|
|
@@ -6440,13 +6459,13 @@ var DitoTabs_component = normalizeComponent(
|
|
|
6440
6459
|
|
|
6441
6460
|
)
|
|
6442
6461
|
|
|
6443
|
-
/* harmony default export */ var
|
|
6444
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6445
|
-
var
|
|
6446
|
-
var
|
|
6462
|
+
/* harmony default export */ var DitoCreateButton = (DitoCreateButton_component.exports);
|
|
6463
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoClipboard.vue?vue&type=template&id=42489094&lang=pug&
|
|
6464
|
+
var DitoClipboardvue_type_template_id_42489094_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.clipboard)?_c('div',{staticClass:"dito-clipboard dito-buttons dito-buttons-round"},[_c('button',{ref:"copyData",staticClass:"dito-button dito-button-copy",attrs:{"type":"button","title":"Copy Data","disabled":!_vm.copyEnabled},on:{"click":_vm.onCopy}}),_c('button',{staticClass:"dito-button dito-button-paste",attrs:{"type":"button","title":"Paste Data","disabled":!_vm.pasteEnabled},on:{"click":_vm.onPaste}})]):_vm._e()}
|
|
6465
|
+
var DitoClipboardvue_type_template_id_42489094_lang_pug_staticRenderFns = []
|
|
6447
6466
|
|
|
6448
6467
|
|
|
6449
|
-
// CONCATENATED MODULE: ./src/components/DitoClipboard.vue?vue&type=template&id=
|
|
6468
|
+
// CONCATENATED MODULE: ./src/components/DitoClipboard.vue?vue&type=template&id=42489094&lang=pug&
|
|
6450
6469
|
|
|
6451
6470
|
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--12-0!/Users/lehni/Development/Lineto/dito/node_modules/thread-loader/dist/cjs.js!/Users/lehni/Development/Lineto/dito/node_modules/@vue/cli-service/node_modules/babel-loader/lib!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoClipboard.vue?vue&type=script&lang=js&
|
|
6452
6471
|
|
|
@@ -6473,19 +6492,20 @@ var DitoClipboardvue_type_template_id_275be508_lang_pug_staticRenderFns = []
|
|
|
6473
6492
|
data() {
|
|
6474
6493
|
return {
|
|
6475
6494
|
copyEnabled: false,
|
|
6476
|
-
pasteEnabled: false
|
|
6495
|
+
pasteEnabled: false,
|
|
6496
|
+
fixClipboard: true
|
|
6477
6497
|
};
|
|
6478
6498
|
},
|
|
6479
6499
|
|
|
6480
6500
|
computed: {
|
|
6481
|
-
|
|
6501
|
+
clipboardOptions() {
|
|
6482
6502
|
return Object(utils_["isObject"])(this.clipboard) ? this.clipboard : {};
|
|
6483
6503
|
},
|
|
6484
6504
|
|
|
6485
6505
|
copyData() {
|
|
6486
6506
|
const {
|
|
6487
6507
|
copy
|
|
6488
|
-
} = this.
|
|
6508
|
+
} = this.clipboardOptions;
|
|
6489
6509
|
return copy ? clipboardData => copy.call(this, new DitoContext_DitoContext(this, {
|
|
6490
6510
|
clipboardData
|
|
6491
6511
|
})) : clipboardData => Object(utils_["clone"])(clipboardData);
|
|
@@ -6494,7 +6514,7 @@ var DitoClipboardvue_type_template_id_275be508_lang_pug_staticRenderFns = []
|
|
|
6494
6514
|
pasteData() {
|
|
6495
6515
|
const {
|
|
6496
6516
|
paste
|
|
6497
|
-
} = this.
|
|
6517
|
+
} = this.clipboardOptions;
|
|
6498
6518
|
return paste ? clipboardData => paste.call(this, new DitoContext_DitoContext(this, {
|
|
6499
6519
|
clipboardData
|
|
6500
6520
|
})) : clipboardData => clipboardData;
|
|
@@ -6509,11 +6529,14 @@ var DitoClipboardvue_type_template_id_275be508_lang_pug_staticRenderFns = []
|
|
|
6509
6529
|
this.domOn(window, {
|
|
6510
6530
|
focus: this.checkClipboard
|
|
6511
6531
|
});
|
|
6512
|
-
this.$watch('data',
|
|
6513
|
-
|
|
6514
|
-
|
|
6515
|
-
|
|
6516
|
-
|
|
6532
|
+
this.$watch('data', {
|
|
6533
|
+
immediate: true,
|
|
6534
|
+
handler: (to, from) => {
|
|
6535
|
+
if (to !== from) {
|
|
6536
|
+
this.checkClipboard();
|
|
6537
|
+
}
|
|
6538
|
+
}
|
|
6539
|
+
});
|
|
6517
6540
|
},
|
|
6518
6541
|
|
|
6519
6542
|
methods: {
|
|
@@ -6529,6 +6552,13 @@ var DitoClipboardvue_type_template_id_275be508_lang_pug_staticRenderFns = []
|
|
|
6529
6552
|
|
|
6530
6553
|
const json = await ((_navigator$clipboard = navigator.clipboard) == null ? void 0 : _navigator$clipboard.readText == null ? void 0 : _navigator$clipboard.readText());
|
|
6531
6554
|
|
|
6555
|
+
if (this.fixClipboard && json) {
|
|
6556
|
+
var _navigator$clipboard2;
|
|
6557
|
+
|
|
6558
|
+
await ((_navigator$clipboard2 = navigator.clipboard) == null ? void 0 : _navigator$clipboard2.writeText == null ? void 0 : _navigator$clipboard2.writeText(json));
|
|
6559
|
+
this.fixClipboard = false;
|
|
6560
|
+
}
|
|
6561
|
+
|
|
6532
6562
|
if (json) {
|
|
6533
6563
|
clipboardData = JSON.parse(json);
|
|
6534
6564
|
}
|
|
@@ -6567,10 +6597,10 @@ var DitoClipboardvue_type_template_id_275be508_lang_pug_staticRenderFns = []
|
|
|
6567
6597
|
this.appState.clipboardData = data;
|
|
6568
6598
|
|
|
6569
6599
|
try {
|
|
6570
|
-
var _navigator$
|
|
6600
|
+
var _navigator$clipboard3;
|
|
6571
6601
|
|
|
6572
6602
|
const json = JSON.stringify(data, null, 2);
|
|
6573
|
-
await ((_navigator$
|
|
6603
|
+
await ((_navigator$clipboard3 = navigator.clipboard) == null ? void 0 : _navigator$clipboard3.writeText == null ? void 0 : _navigator$clipboard3.writeText(json));
|
|
6574
6604
|
await this.checkClipboard();
|
|
6575
6605
|
} catch (err) {
|
|
6576
6606
|
console.error(err, err.name, err.message);
|
|
@@ -6610,8 +6640,8 @@ var DitoClipboardvue_type_template_id_275be508_lang_pug_staticRenderFns = []
|
|
|
6610
6640
|
|
|
6611
6641
|
var DitoClipboard_component = normalizeComponent(
|
|
6612
6642
|
components_DitoClipboardvue_type_script_lang_js_,
|
|
6613
|
-
|
|
6614
|
-
|
|
6643
|
+
DitoClipboardvue_type_template_id_42489094_lang_pug_render,
|
|
6644
|
+
DitoClipboardvue_type_template_id_42489094_lang_pug_staticRenderFns,
|
|
6615
6645
|
false,
|
|
6616
6646
|
null,
|
|
6617
6647
|
null,
|
|
@@ -6620,12 +6650,12 @@ var DitoClipboard_component = normalizeComponent(
|
|
|
6620
6650
|
)
|
|
6621
6651
|
|
|
6622
6652
|
/* harmony default export */ var DitoClipboard = (DitoClipboard_component.exports);
|
|
6623
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6624
|
-
var
|
|
6625
|
-
var
|
|
6653
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoForm.vue?vue&type=template&id=1f4bcb52&lang=pug&
|
|
6654
|
+
var DitoFormvue_type_template_id_1f4bcb52_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"dito-form dito-scroll-parent",class:{ 'dito-form-nested': _vm.isNestedRoute }},[(!(_vm.isLastUnnestedRoute || _vm.isNestedRoute))?_c('router-view',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isActive),expression:"!isActive"}]}):_vm._e(),_c(_vm.isNestedRoute ? 'div' : 'form',{directives:[{name:"show",rawName:"v-show",value:(_vm.isActive),expression:"isActive"}],tag:"component",staticClass:"dito-scroll",on:{"submit":function($event){$event.preventDefault();}}},[_c('dito-schema',{attrs:{"schema":_vm.schema,"dataPath":_vm.dataPath,"data":_vm.data,"meta":_vm.meta,"store":_vm.store,"disabled":_vm.isLoading,"menuHeader":true}},[_c('dito-buttons',{staticClass:"dito-buttons-round dito-buttons-main dito-buttons-large",attrs:{"slot":"buttons","buttons":_vm.buttonSchemas,"dataPath":_vm.dataPath,"data":_vm.data,"meta":_vm.meta,"store":_vm.store,"disabled":_vm.isLoading},slot:"buttons"})],1)],1)],1)}
|
|
6655
|
+
var DitoFormvue_type_template_id_1f4bcb52_lang_pug_staticRenderFns = []
|
|
6626
6656
|
|
|
6627
6657
|
|
|
6628
|
-
// CONCATENATED MODULE: ./src/components/DitoForm.vue?vue&type=template&id=
|
|
6658
|
+
// CONCATENATED MODULE: ./src/components/DitoForm.vue?vue&type=template&id=1f4bcb52&lang=pug&
|
|
6629
6659
|
|
|
6630
6660
|
// CONCATENATED MODULE: ./src/mixins/LoadingMixin.js
|
|
6631
6661
|
/* harmony default export */ var LoadingMixin = ({
|
|
@@ -6838,6 +6868,7 @@ var DitoFormvue_type_template_id_74c655a4_lang_pug_staticRenderFns = []
|
|
|
6838
6868
|
}
|
|
6839
6869
|
} else {
|
|
6840
6870
|
this.setData(response.data);
|
|
6871
|
+
this.emitSchemaEvent('load');
|
|
6841
6872
|
}
|
|
6842
6873
|
});
|
|
6843
6874
|
},
|
|
@@ -6920,6 +6951,8 @@ var DitoFormvue_type_template_id_74c655a4_lang_pug_staticRenderFns = []
|
|
|
6920
6951
|
|
|
6921
6952
|
async submitResource(button, resource, method, data, {
|
|
6922
6953
|
setData = false,
|
|
6954
|
+
onSuccess,
|
|
6955
|
+
onError,
|
|
6923
6956
|
notifySuccess = () => this.notify({
|
|
6924
6957
|
type: 'success',
|
|
6925
6958
|
title: 'Request Successful',
|
|
@@ -6943,9 +6976,10 @@ var DitoFormvue_type_template_id_74c655a4_lang_pug_staticRenderFns = []
|
|
|
6943
6976
|
const errors = this.isValidationError(response) && data.errors;
|
|
6944
6977
|
|
|
6945
6978
|
if (errors) {
|
|
6946
|
-
this.showValidationErrors(errors, true);
|
|
6979
|
+
await this.showValidationErrors(errors, true);
|
|
6947
6980
|
} else {
|
|
6948
6981
|
const error = Object(utils_["isObject"])(data) ? data : err;
|
|
6982
|
+
onError == null ? void 0 : onError(error);
|
|
6949
6983
|
await this.emitButtonEvent(button, 'error', {
|
|
6950
6984
|
notify: notifyError,
|
|
6951
6985
|
error
|
|
@@ -6958,6 +6992,7 @@ var DitoFormvue_type_template_id_74c655a4_lang_pug_staticRenderFns = []
|
|
|
6958
6992
|
this.setData(data);
|
|
6959
6993
|
}
|
|
6960
6994
|
|
|
6995
|
+
onSuccess == null ? void 0 : onSuccess();
|
|
6961
6996
|
await this.emitButtonEvent(button, 'success', {
|
|
6962
6997
|
notify: notifySuccess
|
|
6963
6998
|
});
|
|
@@ -7177,6 +7212,10 @@ var DitoFormvue_type_template_id_74c655a4_lang_pug_staticRenderFns = []
|
|
|
7177
7212
|
create: 'setupData'
|
|
7178
7213
|
},
|
|
7179
7214
|
methods: {
|
|
7215
|
+
emitSchemaEvent(event, params) {
|
|
7216
|
+
return this.mainSchemaComponent.emitEvent(event, params);
|
|
7217
|
+
},
|
|
7218
|
+
|
|
7180
7219
|
getDataPathFrom(route) {
|
|
7181
7220
|
return this.api.denormalizePath(this.path.slice((route.isView ? 0 : route.path.length) + 1));
|
|
7182
7221
|
},
|
|
@@ -7209,20 +7248,16 @@ var DitoFormvue_type_template_id_74c655a4_lang_pug_staticRenderFns = []
|
|
|
7209
7248
|
},
|
|
7210
7249
|
|
|
7211
7250
|
clearData() {
|
|
7212
|
-
this.setData(null
|
|
7251
|
+
this.setData(null);
|
|
7213
7252
|
},
|
|
7214
7253
|
|
|
7215
|
-
setData(data
|
|
7254
|
+
setData(data) {
|
|
7216
7255
|
if (this.isTransient) {
|
|
7217
7256
|
this.setSourceData(data);
|
|
7218
7257
|
} else {
|
|
7219
7258
|
this.createdData = null;
|
|
7220
7259
|
this.loadedData = data;
|
|
7221
7260
|
}
|
|
7222
|
-
|
|
7223
|
-
if (!clearing) {
|
|
7224
|
-
this.mainSchemaComponent.onLoad();
|
|
7225
|
-
}
|
|
7226
7261
|
},
|
|
7227
7262
|
|
|
7228
7263
|
clearClonedData(newValue, oldValue) {
|
|
@@ -7239,6 +7274,10 @@ var DitoFormvue_type_template_id_74c655a4_lang_pug_staticRenderFns = []
|
|
|
7239
7274
|
return this.navigate(this.parentRouteComponent.path);
|
|
7240
7275
|
},
|
|
7241
7276
|
|
|
7277
|
+
getSubmitVerb(present = true) {
|
|
7278
|
+
return this.isCreating ? present ? 'create' : 'created' : present ? 'submit' : 'submitted';
|
|
7279
|
+
},
|
|
7280
|
+
|
|
7242
7281
|
async submit(button, {
|
|
7243
7282
|
validate = true,
|
|
7244
7283
|
closeForm = false
|
|
@@ -7247,10 +7286,7 @@ var DitoFormvue_type_template_id_74c655a4_lang_pug_staticRenderFns = []
|
|
|
7247
7286
|
return false;
|
|
7248
7287
|
}
|
|
7249
7288
|
|
|
7250
|
-
const getVerb = present =>
|
|
7251
|
-
const verb = this.isCreating ? present ? 'create' : 'created' : present ? 'submit' : 'submitted';
|
|
7252
|
-
return this.verbs[verb];
|
|
7253
|
-
};
|
|
7289
|
+
const getVerb = present => this.verbs[this.getSubmitVerb(present)];
|
|
7254
7290
|
|
|
7255
7291
|
const butttonResource = getResource(button.schema.resource, {
|
|
7256
7292
|
parent: this.resource
|
|
@@ -7262,6 +7298,12 @@ var DitoFormvue_type_template_id_74c655a4_lang_pug_staticRenderFns = []
|
|
|
7262
7298
|
|
|
7263
7299
|
if (!butttonResource && this.isTransient) {
|
|
7264
7300
|
success = await this.submitTransient(button, resource, method, data, {
|
|
7301
|
+
onSuccess: () => this.emitSchemaEvent(this.getSubmitVerb()),
|
|
7302
|
+
onError: error => this.emitSchemaEvent('error', {
|
|
7303
|
+
context: {
|
|
7304
|
+
error
|
|
7305
|
+
}
|
|
7306
|
+
}),
|
|
7265
7307
|
notifySuccess: () => {
|
|
7266
7308
|
const verb = getVerb(false);
|
|
7267
7309
|
this.notify({
|
|
@@ -7282,6 +7324,12 @@ var DitoFormvue_type_template_id_74c655a4_lang_pug_staticRenderFns = []
|
|
|
7282
7324
|
} else {
|
|
7283
7325
|
success = await this.submitResource(button, resource, method, data, {
|
|
7284
7326
|
setData: true,
|
|
7327
|
+
onSuccess: () => this.emitSchemaEvent(this.getSubmitVerb()),
|
|
7328
|
+
onError: error => this.emitSchemaEvent('error', {
|
|
7329
|
+
context: {
|
|
7330
|
+
error
|
|
7331
|
+
}
|
|
7332
|
+
}),
|
|
7285
7333
|
notifySuccess: () => {
|
|
7286
7334
|
const verb = getVerb(false);
|
|
7287
7335
|
this.notify({
|
|
@@ -7318,20 +7366,25 @@ var DitoFormvue_type_template_id_74c655a4_lang_pug_staticRenderFns = []
|
|
|
7318
7366
|
return success;
|
|
7319
7367
|
},
|
|
7320
7368
|
|
|
7321
|
-
async submitTransient(button,
|
|
7322
|
-
|
|
7323
|
-
|
|
7369
|
+
async submitTransient(button, _resource, _method, data, {
|
|
7370
|
+
onSuccess,
|
|
7371
|
+
onError,
|
|
7372
|
+
notifySuccess,
|
|
7373
|
+
notifyError
|
|
7324
7374
|
}) {
|
|
7325
7375
|
const success = this.isCreating ? this.addSourceData(data) : this.setSourceData(data);
|
|
7326
7376
|
|
|
7327
7377
|
if (success) {
|
|
7378
|
+
onSuccess == null ? void 0 : onSuccess();
|
|
7328
7379
|
await this.emitButtonEvent(button, 'success', {
|
|
7329
7380
|
notify: notifySuccess
|
|
7330
7381
|
});
|
|
7331
7382
|
} else {
|
|
7383
|
+
const error = 'Could not submit transient item';
|
|
7384
|
+
onError == null ? void 0 : onError(error);
|
|
7332
7385
|
await this.emitButtonEvent(button, 'error', {
|
|
7333
7386
|
notify: notifyError,
|
|
7334
|
-
error
|
|
7387
|
+
error
|
|
7335
7388
|
});
|
|
7336
7389
|
}
|
|
7337
7390
|
|
|
@@ -7352,8 +7405,8 @@ var DitoFormvue_type_template_id_74c655a4_lang_pug_staticRenderFns = []
|
|
|
7352
7405
|
|
|
7353
7406
|
var DitoForm_component = normalizeComponent(
|
|
7354
7407
|
components_DitoFormvue_type_script_lang_js_,
|
|
7355
|
-
|
|
7356
|
-
|
|
7408
|
+
DitoFormvue_type_template_id_1f4bcb52_lang_pug_render,
|
|
7409
|
+
DitoFormvue_type_template_id_1f4bcb52_lang_pug_staticRenderFns,
|
|
7357
7410
|
false,
|
|
7358
7411
|
null,
|
|
7359
7412
|
null,
|
|
@@ -7391,7 +7444,7 @@ var DitoFormNested_component = normalizeComponent(
|
|
|
7391
7444
|
)
|
|
7392
7445
|
|
|
7393
7446
|
/* harmony default export */ var DitoFormNested = (DitoFormNested_component.exports);
|
|
7394
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
7447
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoErrors.vue?vue&type=template&id=fb8b7710&lang=pug&
|
|
7395
7448
|
var DitoErrorsvue_type_template_id_fb8b7710_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.errors)?_c('div',{staticClass:"dito-errors"},[_c('ul',_vm._l((_vm.errors),function(error){return _c('li',[_vm._v(_vm._s(error))])}),0)]):_vm._e()}
|
|
7396
7449
|
var DitoErrorsvue_type_template_id_fb8b7710_lang_pug_staticRenderFns = []
|
|
7397
7450
|
|
|
@@ -7434,7 +7487,7 @@ var DitoErrors_component = normalizeComponent(
|
|
|
7434
7487
|
)
|
|
7435
7488
|
|
|
7436
7489
|
/* harmony default export */ var DitoErrors = (DitoErrors_component.exports);
|
|
7437
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
7490
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoScopes.vue?vue&type=template&id=31b6bc0f&lang=pug&
|
|
7438
7491
|
var DitoScopesvue_type_template_id_31b6bc0f_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"dito-scopes"},_vm._l((_vm.scopes),function(scope,key){return _c('router-link',{key:key,attrs:{"to":_vm.getScopeLink(scope),"custom":""},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
7439
7492
|
var navigate = ref.navigate;
|
|
7440
7493
|
return [_c('button',{staticClass:"dito-button",class:{ 'dito-selected': scope.name === _vm.query.scope },attrs:{"type":"button","title":scope.hint || _vm.getLabel(scope)},on:{"click":navigate}},[_vm._v(_vm._s(_vm.getLabel(scope)))])]}}],null,true)})}),1)}
|
|
@@ -7497,7 +7550,7 @@ var DitoScopes_component = normalizeComponent(
|
|
|
7497
7550
|
)
|
|
7498
7551
|
|
|
7499
7552
|
/* harmony default export */ var DitoScopes = (DitoScopes_component.exports);
|
|
7500
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
7553
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoPagination.vue?vue&type=template&id=212ebc1b&lang=pug&
|
|
7501
7554
|
var DitoPaginationvue_type_template_id_212ebc1b_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('pagination',{attrs:{"pageSize":_vm.limit,"total":_vm.total,"page":_vm.page},on:{"update:page":function($event){_vm.page=$event}}})}
|
|
7502
7555
|
var DitoPaginationvue_type_template_id_212ebc1b_lang_pug_staticRenderFns = []
|
|
7503
7556
|
|
|
@@ -7564,7 +7617,7 @@ var DitoPagination_component = normalizeComponent(
|
|
|
7564
7617
|
)
|
|
7565
7618
|
|
|
7566
7619
|
/* harmony default export */ var DitoPagination = (DitoPagination_component.exports);
|
|
7567
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
7620
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoTreeItem.vue?vue&type=template&id=731cb782&lang=pug&
|
|
7568
7621
|
var DitoTreeItemvue_type_template_id_731cb782_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"dito-tree-item",class:{
|
|
7569
7622
|
'dito-dragging': _vm.dragging,
|
|
7570
7623
|
'dito-active': _vm.active
|
|
@@ -7847,7 +7900,7 @@ var DitoTreeItem_component = normalizeComponent(
|
|
|
7847
7900
|
)
|
|
7848
7901
|
|
|
7849
7902
|
/* harmony default export */ var DitoTreeItem = (DitoTreeItem_component.exports);
|
|
7850
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
7903
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoTableHead.vue?vue&type=template&id=601371dc&lang=pug&
|
|
7851
7904
|
var DitoTableHeadvue_type_template_id_601371dc_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',{staticClass:"dito-table-head"},[_c('tr',[_vm._l((_vm.columns),function(column,index){return _c('th',{class:_vm.getColumnClass(column)},[(column.sortable)?_c('router-link',{attrs:{"to":_vm.getSortLink(column),"custom":""},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
7852
7905
|
var navigate = ref.navigate;
|
|
7853
7906
|
return [_c('button',{staticClass:"dito-button",class:_vm.getSortClass(column),attrs:{"type":"button"},on:{"click":navigate}},[_c('div',{staticClass:"dito-order-arrows"}),_c('span',[_vm._v(_vm._s(_vm.getLabel(column)))])])]}}],null,true)}):_c('span',[_vm._v(_vm._s(_vm.getLabel(column)))])],1)}),(_vm.hasEditButtons)?_c('th',[_c('span')]):_vm._e()],2)])}
|
|
@@ -7928,7 +7981,7 @@ var DitoTableHead_component = normalizeComponent(
|
|
|
7928
7981
|
)
|
|
7929
7982
|
|
|
7930
7983
|
/* harmony default export */ var DitoTableHead = (DitoTableHead_component.exports);
|
|
7931
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
7984
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/components/DitoTableCell.vue?vue&type=template&id=37874142&lang=pug&
|
|
7932
7985
|
var DitoTableCellvue_type_template_id_37874142_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('td',{class:_vm.cell.class,style:(_vm.cell.style)},[(_vm.component)?_c(_vm.component,{tag:"component",attrs:{"schema":_vm.schema,"dataPath":_vm.dataPath,"data":_vm.data,"meta":_vm.meta,"store":_vm.store,"nested":_vm.nested,"disabled":_vm.disabled}}):_c('span',{domProps:{"innerHTML":_vm._s(_vm.renderCell(_vm.data))}})],1)}
|
|
7933
7986
|
var DitoTableCellvue_type_template_id_37874142_lang_pug_staticRenderFns = []
|
|
7934
7987
|
|
|
@@ -8077,13 +8130,12 @@ var DitoVNode_component = normalizeComponent(
|
|
|
8077
8130
|
|
|
8078
8131
|
|
|
8079
8132
|
|
|
8080
|
-
|
|
8081
|
-
|
|
8082
|
-
var
|
|
8083
|
-
var TypeButtonvue_type_template_id_0a3e1aad_lang_pug_staticRenderFns = []
|
|
8133
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/types/TypeButton.vue?vue&type=template&id=3c1135a1&lang=pug&
|
|
8134
|
+
var TypeButtonvue_type_template_id_3c1135a1_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',_vm._g(_vm._b({ref:"element",staticClass:"dito-button",class:("dito-button-" + _vm.verb),attrs:{"id":_vm.dataPath,"type":_vm.type,"title":_vm.text}},'button',_vm.attributes,false),_vm.listeners),[_vm._v(_vm._s(_vm.text))])}
|
|
8135
|
+
var TypeButtonvue_type_template_id_3c1135a1_lang_pug_staticRenderFns = []
|
|
8084
8136
|
|
|
8085
8137
|
|
|
8086
|
-
// CONCATENATED MODULE: ./src/types/TypeButton.vue?vue&type=template&id=
|
|
8138
|
+
// CONCATENATED MODULE: ./src/types/TypeButton.vue?vue&type=template&id=3c1135a1&lang=pug&
|
|
8087
8139
|
|
|
8088
8140
|
// CONCATENATED MODULE: ./src/TypeComponent.js
|
|
8089
8141
|
|
|
@@ -8138,8 +8190,13 @@ TypeComponent.get = getTypeComponent;
|
|
|
8138
8190
|
}
|
|
8139
8191
|
|
|
8140
8192
|
}),
|
|
8141
|
-
|
|
8142
|
-
|
|
8193
|
+
closeForm: getSchemaAccessor('closeForm', {
|
|
8194
|
+
type: Boolean,
|
|
8195
|
+
default: false
|
|
8196
|
+
})
|
|
8197
|
+
},
|
|
8198
|
+
methods: {
|
|
8199
|
+
getListeners() {
|
|
8143
8200
|
return {
|
|
8144
8201
|
focus: this.onFocus,
|
|
8145
8202
|
blur: this.onBlur,
|
|
@@ -8147,12 +8204,12 @@ TypeComponent.get = getTypeComponent;
|
|
|
8147
8204
|
};
|
|
8148
8205
|
},
|
|
8149
8206
|
|
|
8150
|
-
|
|
8151
|
-
|
|
8152
|
-
|
|
8153
|
-
|
|
8154
|
-
|
|
8155
|
-
|
|
8207
|
+
async submit(options) {
|
|
8208
|
+
var _this$resourceCompone;
|
|
8209
|
+
|
|
8210
|
+
return (_this$resourceCompone = this.resourceComponent) == null ? void 0 : _this$resourceCompone.submit(this, options);
|
|
8211
|
+
},
|
|
8212
|
+
|
|
8156
8213
|
async onClick() {
|
|
8157
8214
|
const res = await this.emitEvent('click', {
|
|
8158
8215
|
parent: this.schemaComponent
|
|
@@ -8161,12 +8218,6 @@ TypeComponent.get = getTypeComponent;
|
|
|
8161
8218
|
if (res === undefined && hasResource(this.schema)) {
|
|
8162
8219
|
await this.submit();
|
|
8163
8220
|
}
|
|
8164
|
-
},
|
|
8165
|
-
|
|
8166
|
-
async submit(options) {
|
|
8167
|
-
var _this$resourceCompone;
|
|
8168
|
-
|
|
8169
|
-
return (_this$resourceCompone = this.resourceComponent) == null ? void 0 : _this$resourceCompone.submit(this, options);
|
|
8170
8221
|
}
|
|
8171
8222
|
|
|
8172
8223
|
}
|
|
@@ -8183,8 +8234,8 @@ TypeComponent.get = getTypeComponent;
|
|
|
8183
8234
|
|
|
8184
8235
|
var TypeButton_component = normalizeComponent(
|
|
8185
8236
|
types_TypeButtonvue_type_script_lang_js_,
|
|
8186
|
-
|
|
8187
|
-
|
|
8237
|
+
TypeButtonvue_type_template_id_3c1135a1_lang_pug_render,
|
|
8238
|
+
TypeButtonvue_type_template_id_3c1135a1_lang_pug_staticRenderFns,
|
|
8188
8239
|
false,
|
|
8189
8240
|
null,
|
|
8190
8241
|
null,
|
|
@@ -8193,7 +8244,7 @@ var TypeButton_component = normalizeComponent(
|
|
|
8193
8244
|
)
|
|
8194
8245
|
|
|
8195
8246
|
/* harmony default export */ var TypeButton = (TypeButton_component.exports);
|
|
8196
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
8247
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/types/TypeCheckbox.vue?vue&type=template&id=47e47478&lang=pug&
|
|
8197
8248
|
var TypeCheckboxvue_type_template_id_47e47478_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('input',_vm._g(_vm._b({directives:[{name:"model",rawName:"v-model",value:(_vm.value),expression:"value"}],ref:"element",staticClass:"dito-checkbox",attrs:{"id":_vm.dataPath,"type":"checkbox"},domProps:{"checked":Array.isArray(_vm.value)?_vm._i(_vm.value,null)>-1:(_vm.value)},on:{"change":function($event){var $$a=_vm.value,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.value=$$a.concat([$$v]))}else{$$i>-1&&(_vm.value=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.value=$$c}}}},'input',_vm.attributes,false),_vm.listeners))}
|
|
8198
8249
|
var TypeCheckboxvue_type_template_id_47e47478_lang_pug_staticRenderFns = []
|
|
8199
8250
|
|
|
@@ -8231,7 +8282,7 @@ var TypeCheckbox_component = normalizeComponent(
|
|
|
8231
8282
|
)
|
|
8232
8283
|
|
|
8233
8284
|
/* harmony default export */ var TypeCheckbox = (TypeCheckbox_component.exports);
|
|
8234
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
8285
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/types/TypeCheckboxes.vue?vue&type=template&id=339f69a0&lang=pug&
|
|
8235
8286
|
var TypeCheckboxesvue_type_template_id_339f69a0_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticClass:"dito-checkboxes",class:("dito-layout-" + (_vm.schema.layout || 'vertical')),attrs:{"id":_vm.dataPath}},_vm._l((_vm.options),function(option){return _c('li',[_c('label',[_c('input',_vm._g(_vm._b({directives:[{name:"model",rawName:"v-model",value:(_vm.selectedOptions),expression:"selectedOptions"}],ref:"element",refInFor:true,staticClass:"dito-checkbox",attrs:{"type":"checkbox"},domProps:{"value":_vm.getValueForOption(option),"checked":Array.isArray(_vm.selectedOptions)?_vm._i(_vm.selectedOptions,_vm.getValueForOption(option))>-1:(_vm.selectedOptions)},on:{"change":function($event){var $$a=_vm.selectedOptions,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=_vm.getValueForOption(option),$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.selectedOptions=$$a.concat([$$v]))}else{$$i>-1&&(_vm.selectedOptions=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.selectedOptions=$$c}}}},'input',_vm.attributes,false),_vm.listeners)),_vm._v(_vm._s(_vm.getLabelForOption(option)))])])}),0)}
|
|
8236
8287
|
var TypeCheckboxesvue_type_template_id_339f69a0_lang_pug_staticRenderFns = []
|
|
8237
8288
|
|
|
@@ -8598,12 +8649,12 @@ var TypeCheckboxes_component = normalizeComponent(
|
|
|
8598
8649
|
)
|
|
8599
8650
|
|
|
8600
8651
|
/* harmony default export */ var TypeCheckboxes = (TypeCheckboxes_component.exports);
|
|
8601
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
8602
|
-
var
|
|
8603
|
-
var
|
|
8652
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/types/TypeCode.vue?vue&type=template&id=465e8ed0&lang=pug&
|
|
8653
|
+
var TypeCodevue_type_template_id_465e8ed0_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"code",staticClass:"dito-code",style:(_vm.style),attrs:{"id":_vm.dataPath}})}
|
|
8654
|
+
var TypeCodevue_type_template_id_465e8ed0_lang_pug_staticRenderFns = []
|
|
8604
8655
|
|
|
8605
8656
|
|
|
8606
|
-
// CONCATENATED MODULE: ./src/types/TypeCode.vue?vue&type=template&id=
|
|
8657
|
+
// CONCATENATED MODULE: ./src/types/TypeCode.vue?vue&type=template&id=465e8ed0&lang=pug&
|
|
8607
8658
|
|
|
8608
8659
|
// EXTERNAL MODULE: external {"root":"Codeflask","amd":"codeflask","commonjs":"codeflask","commonjs2":"codeflask"}
|
|
8609
8660
|
var external_root_Codeflask_amd_codeflask_commonjs_codeflask_commonjs2_codeflask_ = __webpack_require__("1f57");
|
|
@@ -8689,7 +8740,7 @@ var external_root_Codeflask_amd_codeflask_commonjs_codeflask_commonjs2_codeflask
|
|
|
8689
8740
|
},
|
|
8690
8741
|
|
|
8691
8742
|
methods: {
|
|
8692
|
-
|
|
8743
|
+
focusElement() {
|
|
8693
8744
|
var _this$$el$querySelect;
|
|
8694
8745
|
|
|
8695
8746
|
(_this$$el$querySelect = this.$el.querySelector('textarea')) == null ? void 0 : _this$$el$querySelect.focus();
|
|
@@ -8713,8 +8764,8 @@ var TypeCodevue_type_style_index_0_lang_sass_ = __webpack_require__("184f");
|
|
|
8713
8764
|
|
|
8714
8765
|
var TypeCode_component = normalizeComponent(
|
|
8715
8766
|
types_TypeCodevue_type_script_lang_js_,
|
|
8716
|
-
|
|
8717
|
-
|
|
8767
|
+
TypeCodevue_type_template_id_465e8ed0_lang_pug_render,
|
|
8768
|
+
TypeCodevue_type_template_id_465e8ed0_lang_pug_staticRenderFns,
|
|
8718
8769
|
false,
|
|
8719
8770
|
null,
|
|
8720
8771
|
null,
|
|
@@ -8723,7 +8774,7 @@ var TypeCode_component = normalizeComponent(
|
|
|
8723
8774
|
)
|
|
8724
8775
|
|
|
8725
8776
|
/* harmony default export */ var TypeCode = (TypeCode_component.exports);
|
|
8726
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
8777
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/types/TypeColor.vue?vue&type=template&id=6ba8df5a&lang=pug&
|
|
8727
8778
|
var TypeColorvue_type_template_id_6ba8df5a_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('trigger',{staticClass:"dito-color",attrs:{"trigger":"click","show":_vm.showPopup},on:{"update:show":function($event){_vm.showPopup=$event}}},[_c('div',{staticClass:"dito-input",class:{ 'dito-focus': _vm.showPopup },attrs:{"slot":"trigger"},slot:"trigger"},[_c('input',_vm._g(_vm._b({directives:[{name:"model",rawName:"v-model",value:(_vm.hexValue),expression:"hexValue"}],ref:"element",attrs:{"id":_vm.dataPath,"type":"input","size":"8"},domProps:{"value":(_vm.hexValue)},on:{"input":function($event){if($event.target.composing){ return; }_vm.hexValue=$event.target.value}}},'input',_vm.attributes,false),_vm.listeners)),(_vm.value)?_c('div',{staticClass:"dito-color-preview dito-inherit-focus"},[_c('div',{style:({ background: ("#" + (_vm.hexValue || '00000000')) })})]):_vm._e(),(_vm.showClearButton)?_c('button',{staticClass:"dito-button-clear dito-button-overlay",attrs:{"disabled":_vm.disabled},on:{"click":function($event){$event.stopPropagation();return _vm.clear.apply(null, arguments)}}}):_vm._e()]),_c('sketch-picker',{staticClass:"dito-color-picker",attrs:{"slot":"popup","disable-alpha":!_vm.alpha,"disable-fields":!_vm.inputs,"preset-colors":_vm.presets},slot:"popup",model:{value:(_vm.colorValue),callback:function ($$v) {_vm.colorValue=$$v},expression:"colorValue"}})],1)}
|
|
8728
8779
|
var TypeColorvue_type_template_id_6ba8df5a_lang_pug_staticRenderFns = []
|
|
8729
8780
|
|
|
@@ -8854,7 +8905,7 @@ var TypeColor_component = normalizeComponent(
|
|
|
8854
8905
|
)
|
|
8855
8906
|
|
|
8856
8907
|
/* harmony default export */ var TypeColor = (TypeColor_component.exports);
|
|
8857
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
8908
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/types/TypeComponent.vue?vue&type=template&id=062cfa40&lang=pug&
|
|
8858
8909
|
var TypeComponentvue_type_template_id_062cfa40_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.component,_vm._b({tag:"component"},'component',_vm.$props,false))}
|
|
8859
8910
|
var TypeComponentvue_type_template_id_062cfa40_lang_pug_staticRenderFns = []
|
|
8860
8911
|
|
|
@@ -8889,7 +8940,7 @@ var TypeComponent_component = normalizeComponent(
|
|
|
8889
8940
|
)
|
|
8890
8941
|
|
|
8891
8942
|
/* harmony default export */ var types_TypeComponent = (TypeComponent_component.exports);
|
|
8892
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
8943
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/types/TypeComputed.vue?vue&type=template&id=9135457a&lang=pug&
|
|
8893
8944
|
var TypeComputedvue_type_template_id_9135457a_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('input',{ref:"element",staticClass:"dito-text dito-input",attrs:{"id":_vm.dataPath,"name":_vm.name,"type":"text","disabled":_vm.disabled,"readonly":true},domProps:{"value":_vm.value}})}
|
|
8894
8945
|
var TypeComputedvue_type_template_id_9135457a_lang_pug_staticRenderFns = []
|
|
8895
8946
|
|
|
@@ -8950,7 +9001,7 @@ var TypeComputed_component = normalizeComponent(
|
|
|
8950
9001
|
)
|
|
8951
9002
|
|
|
8952
9003
|
/* harmony default export */ var TypeComputed = (TypeComputed_component.exports);
|
|
8953
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
9004
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/types/TypeDate.vue?vue&type=template&id=04b96437&lang=pug&
|
|
8954
9005
|
var TypeDatevue_type_template_id_04b96437_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"dito-date"},[_c(_vm.getComponent(_vm.type),_vm._g(_vm._b({ref:"element",tag:"component",attrs:{"id":_vm.dataPath,"locale":_vm.locale,"dateFormat":Object.assign({}, _vm.api.formats.date, _vm.dateFormat)},model:{value:(_vm.dateValue),callback:function ($$v) {_vm.dateValue=$$v},expression:"dateValue"}},'component',_vm.attributes,false),_vm.listeners))],1)}
|
|
8955
9006
|
var TypeDatevue_type_template_id_04b96437_lang_pug_staticRenderFns = []
|
|
8956
9007
|
|
|
@@ -9027,7 +9078,7 @@ var TypeDate_component = normalizeComponent(
|
|
|
9027
9078
|
)
|
|
9028
9079
|
|
|
9029
9080
|
/* harmony default export */ var TypeDate = (TypeDate_component.exports);
|
|
9030
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
9081
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/types/TypeList.vue?vue&type=template&id=0e909d0d&lang=pug&
|
|
9031
9082
|
var TypeListvue_type_template_id_0e909d0d_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isReady)?_c('div',{staticClass:"dito-list",class:_vm.schema.class,style:(_vm.schema.style),attrs:{"id":_vm.dataPath}},[_c('div',{staticClass:"dito-navigation"},[(_vm.scopes)?_c('dito-scopes',{attrs:{"query":_vm.query,"scopes":_vm.scopes}}):(_vm.paginate)?_c('div',{staticClass:"dito-spacer"}):_vm._e(),(_vm.paginate)?_c('dito-pagination',{attrs:{"query":_vm.query,"limit":_vm.paginate,"total":_vm.total || 0}}):_vm._e()],1),_c('table',{staticClass:"dito-table",class:{
|
|
9032
9083
|
'dito-table-separators': _vm.isInlined,
|
|
9033
9084
|
'dito-table-larger-padding': _vm.hasEditButtons && !_vm.isInlined,
|
|
@@ -9375,8 +9426,6 @@ var TypeListvue_type_template_id_0e909d0d_lang_pug_staticRenderFns = []
|
|
|
9375
9426
|
} else if (this.unwrapListData(data)) {} else if (Object(utils_["isObject"])(data) && this.isInView) {
|
|
9376
9427
|
this.viewComponent.setData(data);
|
|
9377
9428
|
}
|
|
9378
|
-
|
|
9379
|
-
this.schemaComponent.onLoad();
|
|
9380
9429
|
},
|
|
9381
9430
|
|
|
9382
9431
|
unwrapListData(data) {
|
|
@@ -9456,57 +9505,96 @@ var TypeListvue_type_template_id_0e909d0d_lang_pug_staticRenderFns = []
|
|
|
9456
9505
|
}
|
|
9457
9506
|
}
|
|
9458
9507
|
}
|
|
9459
|
-
},
|
|
9460
|
-
|
|
9461
|
-
|
|
9462
|
-
const {
|
|
9463
|
-
schemaComponents
|
|
9464
|
-
} = this;
|
|
9465
|
-
const {
|
|
9466
|
-
length
|
|
9467
|
-
} = schemaComponents;
|
|
9468
|
-
|
|
9469
|
-
|
|
9508
|
+
},
|
|
9509
|
+
|
|
9510
|
+
getSchemaComponent(index) {
|
|
9511
|
+
const {
|
|
9512
|
+
schemaComponents
|
|
9513
|
+
} = this;
|
|
9514
|
+
const {
|
|
9515
|
+
length
|
|
9516
|
+
} = schemaComponents;
|
|
9517
|
+
return schemaComponents[(index % length + length) % length];
|
|
9518
|
+
},
|
|
9519
|
+
|
|
9520
|
+
openSchemaComponent(index) {
|
|
9521
|
+
const schemaComponent = this.getSchemaComponent(index);
|
|
9522
|
+
|
|
9523
|
+
if (schemaComponent) {
|
|
9524
|
+
schemaComponent.opened = true;
|
|
9525
|
+
}
|
|
9526
|
+
},
|
|
9527
|
+
|
|
9528
|
+
async navigateToComponent(dataPath, onComplete) {
|
|
9529
|
+
if (this.collapsible) {
|
|
9530
|
+
var _parseDataPath$;
|
|
9531
|
+
|
|
9532
|
+
const index = dataPath.startsWith(this.dataPath) ? this.isListSource ? (_parseDataPath$ = Object(utils_["parseDataPath"])(dataPath.slice(this.dataPath.length + 1))[0]) != null ? _parseDataPath$ : null : 0 : null;
|
|
9533
|
+
|
|
9534
|
+
if (index !== null && Object(utils_["isNumber"])(+index)) {
|
|
9535
|
+
const schemaComponent = this.getSchemaComponent(+index);
|
|
9536
|
+
|
|
9537
|
+
if (schemaComponent) {
|
|
9538
|
+
var _onComplete;
|
|
9539
|
+
|
|
9540
|
+
const {
|
|
9541
|
+
opened
|
|
9542
|
+
} = schemaComponent;
|
|
9543
|
+
|
|
9544
|
+
if (!opened) {
|
|
9545
|
+
schemaComponent.opened = true;
|
|
9546
|
+
await this.$nextTick();
|
|
9547
|
+
}
|
|
9548
|
+
|
|
9549
|
+
const components = schemaComponent.getComponentsByDataPath(dataPath);
|
|
9550
|
+
|
|
9551
|
+
if (components.length > 0 && ((_onComplete = onComplete == null ? void 0 : onComplete(components)) != null ? _onComplete : true)) {
|
|
9552
|
+
return true;
|
|
9553
|
+
} else {
|
|
9554
|
+
schemaComponent.opened = opened;
|
|
9555
|
+
}
|
|
9556
|
+
}
|
|
9557
|
+
}
|
|
9558
|
+
}
|
|
9470
9559
|
|
|
9471
|
-
|
|
9472
|
-
schemaComponent.opened = true;
|
|
9473
|
-
}
|
|
9560
|
+
return this.navigateToRouteComponent(dataPath, onComplete);
|
|
9474
9561
|
},
|
|
9475
9562
|
|
|
9476
|
-
|
|
9477
|
-
|
|
9478
|
-
|
|
9563
|
+
navigateToRouteComponent(dataPath, onComplete) {
|
|
9564
|
+
return new Promise((resolve, reject) => {
|
|
9565
|
+
const callOnComplete = () => {
|
|
9566
|
+
var _onComplete2;
|
|
9567
|
+
|
|
9479
9568
|
const {
|
|
9480
9569
|
routeComponents
|
|
9481
9570
|
} = this.appState;
|
|
9482
|
-
|
|
9483
|
-
|
|
9484
|
-
|
|
9571
|
+
const routeComponent = routeComponents[routeComponents.length - 1];
|
|
9572
|
+
resolve((_onComplete2 = onComplete == null ? void 0 : onComplete([routeComponent])) != null ? _onComplete2 : true);
|
|
9573
|
+
};
|
|
9485
9574
|
|
|
9486
|
-
|
|
9575
|
+
const dataPathParts = Object(utils_["parseDataPath"])(dataPath);
|
|
9487
9576
|
|
|
9488
|
-
|
|
9489
|
-
|
|
9490
|
-
|
|
9491
|
-
|
|
9492
|
-
|
|
9577
|
+
while (dataPathParts.length > 0) {
|
|
9578
|
+
const path = this.routeComponent.getChildPath(this.api.normalizePath(Object(utils_["normalizeDataPath"])(dataPathParts)));
|
|
9579
|
+
const {
|
|
9580
|
+
matched
|
|
9581
|
+
} = this.$router.match(path);
|
|
9493
9582
|
|
|
9494
|
-
|
|
9495
|
-
|
|
9496
|
-
|
|
9497
|
-
|
|
9498
|
-
|
|
9499
|
-
|
|
9500
|
-
|
|
9583
|
+
if (matched.length) {
|
|
9584
|
+
if (this.$route.path === path) {
|
|
9585
|
+
callOnComplete();
|
|
9586
|
+
} else {
|
|
9587
|
+
this.$router.push({
|
|
9588
|
+
path
|
|
9589
|
+
}, () => this.$nextTick(callOnComplete), reject);
|
|
9590
|
+
}
|
|
9501
9591
|
}
|
|
9502
9592
|
|
|
9503
|
-
|
|
9593
|
+
dataPathParts.pop();
|
|
9504
9594
|
}
|
|
9505
9595
|
|
|
9506
|
-
|
|
9507
|
-
}
|
|
9508
|
-
|
|
9509
|
-
return false;
|
|
9596
|
+
resolve(false);
|
|
9597
|
+
});
|
|
9510
9598
|
}
|
|
9511
9599
|
|
|
9512
9600
|
},
|
|
@@ -9939,7 +10027,7 @@ var TypeList_component = normalizeComponent(
|
|
|
9939
10027
|
)
|
|
9940
10028
|
|
|
9941
10029
|
/* harmony default export */ var TypeList = (TypeList_component.exports);
|
|
9942
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
10030
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/types/TypeLabel.vue?vue&type=template&id=192dda81&lang=pug&
|
|
9943
10031
|
var TypeLabelvue_type_template_id_192dda81_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dito-label',{staticClass:"dito-label-component",attrs:{"label":_vm.value,"dataPath":_vm.dataPath}})}
|
|
9944
10032
|
var TypeLabelvue_type_template_id_192dda81_lang_pug_staticRenderFns = []
|
|
9945
10033
|
|
|
@@ -9977,17 +10065,17 @@ var TypeLabel_component = normalizeComponent(
|
|
|
9977
10065
|
)
|
|
9978
10066
|
|
|
9979
10067
|
/* harmony default export */ var TypeLabel = (TypeLabel_component.exports);
|
|
9980
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
9981
|
-
var
|
|
10068
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/types/TypeMarkup.vue?vue&type=template&id=6222e768&lang=pug&
|
|
10069
|
+
var TypeMarkupvue_type_template_id_6222e768_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"dito-markup",attrs:{"id":_vm.dataPath}},[_c('editor-menu-bar',{staticClass:"dito-markup-toolbar",attrs:{"editor":_vm.editor}},[(_vm.groupedButtons.length > 0)?_c('div',{staticClass:"dito-buttons dito-buttons-toolbar"},_vm._l((_vm.groupedButtons),function(buttons){return _c('div',{staticClass:"dito-button-group"},_vm._l((buttons),function(ref){
|
|
9982
10070
|
var name = ref.name;
|
|
9983
10071
|
var icon = ref.icon;
|
|
9984
10072
|
var isActive = ref.isActive;
|
|
9985
10073
|
var onClick = ref.onClick;
|
|
9986
10074
|
return _c('button',{staticClass:"dito-button",class:{ 'dito-active': isActive },on:{"click":onClick}},[_c('icon',{attrs:{"name":icon}})],1)}),0)}),0):_vm._e()]),_c('editor-content',{ref:"editor",staticClass:"dito-markup-editor",style:(_vm.styles),attrs:{"editor":_vm.editor}}),(_vm.resizable)?_c('div',{staticClass:"dito-resize",on:{"mousedown":function($event){$event.stopPropagation();$event.preventDefault();return _vm.onDragResize.apply(null, arguments)}}}):_vm._e()],1)}
|
|
9987
|
-
var
|
|
10075
|
+
var TypeMarkupvue_type_template_id_6222e768_lang_pug_staticRenderFns = []
|
|
9988
10076
|
|
|
9989
10077
|
|
|
9990
|
-
// CONCATENATED MODULE: ./src/types/TypeMarkup.vue?vue&type=template&id=
|
|
10078
|
+
// CONCATENATED MODULE: ./src/types/TypeMarkup.vue?vue&type=template&id=6222e768&lang=pug&
|
|
9991
10079
|
|
|
9992
10080
|
// EXTERNAL MODULE: external {"root":"Tiptap","amd":"tiptap","commonjs":"tiptap","commonjs2":"tiptap"}
|
|
9993
10081
|
var external_root_Tiptap_amd_tiptap_commonjs_tiptap_commonjs2_tiptap_ = __webpack_require__("916c");
|
|
@@ -10363,7 +10451,7 @@ var external_root_TiptapExtensions_amd_tiptap_extensions_commonjs_tiptap_extensi
|
|
|
10363
10451
|
return list;
|
|
10364
10452
|
},
|
|
10365
10453
|
|
|
10366
|
-
|
|
10454
|
+
focusElement() {
|
|
10367
10455
|
var _this$$el$scrollIntoV, _this$$el;
|
|
10368
10456
|
|
|
10369
10457
|
(_this$$el$scrollIntoV = (_this$$el = this.$el).scrollIntoView) == null ? void 0 : _this$$el$scrollIntoV.call(_this$$el);
|
|
@@ -10435,8 +10523,8 @@ var TypeMarkupvue_type_style_index_0_lang_sass_ = __webpack_require__("7507");
|
|
|
10435
10523
|
|
|
10436
10524
|
var TypeMarkup_component = normalizeComponent(
|
|
10437
10525
|
types_TypeMarkupvue_type_script_lang_js_,
|
|
10438
|
-
|
|
10439
|
-
|
|
10526
|
+
TypeMarkupvue_type_template_id_6222e768_lang_pug_render,
|
|
10527
|
+
TypeMarkupvue_type_template_id_6222e768_lang_pug_staticRenderFns,
|
|
10440
10528
|
false,
|
|
10441
10529
|
null,
|
|
10442
10530
|
null,
|
|
@@ -10445,15 +10533,15 @@ var TypeMarkup_component = normalizeComponent(
|
|
|
10445
10533
|
)
|
|
10446
10534
|
|
|
10447
10535
|
/* harmony default export */ var TypeMarkup = (TypeMarkup_component.exports);
|
|
10448
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
10449
|
-
var
|
|
10536
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/types/TypeMultiselect.vue?vue&type=template&id=efd4145a&lang=pug&
|
|
10537
|
+
var TypeMultiselectvue_type_template_id_efd4145a_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"dito-multiselect",class:{
|
|
10450
10538
|
'dito-multiselect-single': !_vm.multiple,
|
|
10451
10539
|
'dito-multiselect-multiple': _vm.multiple
|
|
10452
10540
|
}},[_c('vue-multiselect',_vm._g(_vm._b({ref:"element",attrs:{"show-labels":false,"placeholder":_vm.placeholder,"tag-placeholder":"Press enter to add new tag","options":_vm.populate && _vm.activeOptions || [],"custom-label":_vm.getLabelForOption,"track-by":_vm.optionValue,"group-label":_vm.groupByLabel,"group-values":_vm.groupByOptions,"multiple":_vm.multiple,"taggable":_vm.taggable,"searchable":_vm.searchable,"internal-search":!_vm.searchFilter,"preserve-search":!!_vm.searchFilter,"clear-on-select":!_vm.searchFilter,"close-on-select":!_vm.stayOpen,"loading":_vm.isLoading},on:{"open":function($event){_vm.populate = true},"tag":_vm.onAddTag,"search-change":_vm.onSearchChange},model:{value:(_vm.selectedOptions),callback:function ($$v) {_vm.selectedOptions=$$v},expression:"selectedOptions"}},'vue-multiselect',_vm.attributes,false),_vm.listeners)),(_vm.showClearButton)?_c('button',{staticClass:"dito-button-clear dito-button-overlay",attrs:{"disabled":_vm.disabled},on:{"click":_vm.clear}}):_vm._e()],1)}
|
|
10453
|
-
var
|
|
10541
|
+
var TypeMultiselectvue_type_template_id_efd4145a_lang_pug_staticRenderFns = []
|
|
10454
10542
|
|
|
10455
10543
|
|
|
10456
|
-
// CONCATENATED MODULE: ./src/types/TypeMultiselect.vue?vue&type=template&id=
|
|
10544
|
+
// CONCATENATED MODULE: ./src/types/TypeMultiselect.vue?vue&type=template&id=efd4145a&lang=pug&
|
|
10457
10545
|
|
|
10458
10546
|
// EXTERNAL MODULE: external {"root":"VueMultiselect","amd":"vue-multiselect","commonjs":"vue-multiselect","commonjs2":"vue-multiselect"}
|
|
10459
10547
|
var external_root_VueMultiselect_amd_vue_multiselect_commonjs_vue_multiselect_commonjs2_vue_multiselect_ = __webpack_require__("6c45");
|
|
@@ -10515,14 +10603,6 @@ var vue_multiselect_min = __webpack_require__("7a87");
|
|
|
10515
10603
|
default: false
|
|
10516
10604
|
}),
|
|
10517
10605
|
|
|
10518
|
-
listeners() {
|
|
10519
|
-
return {
|
|
10520
|
-
focus: this.onFocus,
|
|
10521
|
-
blur: this.onBlur,
|
|
10522
|
-
input: this.onChange
|
|
10523
|
-
};
|
|
10524
|
-
},
|
|
10525
|
-
|
|
10526
10606
|
placeholder() {
|
|
10527
10607
|
const {
|
|
10528
10608
|
placeholder,
|
|
@@ -10541,6 +10621,14 @@ var vue_multiselect_min = __webpack_require__("7a87");
|
|
|
10541
10621
|
},
|
|
10542
10622
|
|
|
10543
10623
|
methods: {
|
|
10624
|
+
getListeners() {
|
|
10625
|
+
return {
|
|
10626
|
+
focus: this.onFocus,
|
|
10627
|
+
blur: this.onBlur,
|
|
10628
|
+
input: this.onChange
|
|
10629
|
+
};
|
|
10630
|
+
},
|
|
10631
|
+
|
|
10544
10632
|
addTagOption(tag) {
|
|
10545
10633
|
if (this.taggable) {
|
|
10546
10634
|
const {
|
|
@@ -10556,7 +10644,7 @@ var vue_multiselect_min = __webpack_require__("7a87");
|
|
|
10556
10644
|
}
|
|
10557
10645
|
},
|
|
10558
10646
|
|
|
10559
|
-
|
|
10647
|
+
focusElement() {
|
|
10560
10648
|
this.$refs.element.activate();
|
|
10561
10649
|
},
|
|
10562
10650
|
|
|
@@ -10599,8 +10687,8 @@ var TypeMultiselectvue_type_style_index_0_lang_sass_ = __webpack_require__("8386
|
|
|
10599
10687
|
|
|
10600
10688
|
var TypeMultiselect_component = normalizeComponent(
|
|
10601
10689
|
types_TypeMultiselectvue_type_script_lang_js_,
|
|
10602
|
-
|
|
10603
|
-
|
|
10690
|
+
TypeMultiselectvue_type_template_id_efd4145a_lang_pug_render,
|
|
10691
|
+
TypeMultiselectvue_type_template_id_efd4145a_lang_pug_staticRenderFns,
|
|
10604
10692
|
false,
|
|
10605
10693
|
null,
|
|
10606
10694
|
null,
|
|
@@ -10609,7 +10697,7 @@ var TypeMultiselect_component = normalizeComponent(
|
|
|
10609
10697
|
)
|
|
10610
10698
|
|
|
10611
10699
|
/* harmony default export */ var TypeMultiselect = (TypeMultiselect_component.exports);
|
|
10612
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
10700
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/types/TypeNumber.vue?vue&type=template&id=539269e1&lang=pug&
|
|
10613
10701
|
var TypeNumbervue_type_template_id_539269e1_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('input-field',_vm._g(_vm._b({ref:"element",staticClass:"dito-number",attrs:{"id":_vm.dataPath,"type":"number","min":_vm.min,"max":_vm.max,"step":_vm.stepValue},model:{value:(_vm.inputValue),callback:function ($$v) {_vm.inputValue=$$v},expression:"inputValue"}},'input-field',_vm.attributes,false),_vm.listeners))}
|
|
10614
10702
|
var TypeNumbervue_type_template_id_539269e1_lang_pug_staticRenderFns = []
|
|
10615
10703
|
|
|
@@ -10784,7 +10872,7 @@ var TypeNumber_component = normalizeComponent(
|
|
|
10784
10872
|
)
|
|
10785
10873
|
|
|
10786
10874
|
/* harmony default export */ var TypeNumber = (TypeNumber_component.exports);
|
|
10787
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
10875
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/types/TypeObject.vue?vue&type=template&id=37239fa7&lang=pug&
|
|
10788
10876
|
var TypeObjectvue_type_template_id_37239fa7_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isReady)?_c('div',{staticClass:"dito-object",class:_vm.schema.class,style:(_vm.schema.style),attrs:{"id":_vm.dataPath}},[(_vm.objectData)?_c('div',{staticClass:"dito-object-content"},[(_vm.isInlined)?_c('dito-schema-inlined',{attrs:{"schema":_vm.getItemFormSchema(_vm.schema, _vm.objectData, _vm.context),"dataPath":_vm.dataPath,"data":_vm.objectData,"meta":_vm.nestedMeta,"store":_vm.store,"disabled":_vm.disabled || _vm.isLoading,"collapsed":_vm.collapsed,"collapsible":_vm.collapsible}}):(_vm.component)?_c(_vm.component,{tag:"component",attrs:{"dataPath":_vm.dataPath,"data":_vm.objectData,"nested":false}}):(_vm.render)?_c('span',{domProps:{"innerHTML":_vm._s(_vm.render(_vm.getContext()))}}):_c('span',{domProps:{"innerHTML":_vm._s(_vm.getItemLabel(_vm.schema, _vm.objectData))}})],1):_vm._e(),_c('dito-edit-buttons',{attrs:{"creatable":_vm.creatable,"deletable":_vm.objectData && _vm.deletable,"editable":_vm.objectData && _vm.editable,"createPath":_vm.path,"editPath":_vm.path,"buttons":_vm.buttonSchemas,"schema":_vm.schema,"dataPath":_vm.dataPath,"data":_vm.objectData,"path":_vm.path,"meta":_vm.meta,"store":_vm.store},on:{"delete":function($event){return _vm.deleteItem(_vm.objectData)}}})],1):_vm._e()}
|
|
10789
10877
|
var TypeObjectvue_type_template_id_37239fa7_lang_pug_staticRenderFns = []
|
|
10790
10878
|
|
|
@@ -10876,7 +10964,7 @@ var TypePanel_component = normalizeComponent(
|
|
|
10876
10964
|
)
|
|
10877
10965
|
|
|
10878
10966
|
/* harmony default export */ var TypePanel = (TypePanel_component.exports);
|
|
10879
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
10967
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/types/TypeProgress.vue?vue&type=template&id=54b10f8f&lang=pug&
|
|
10880
10968
|
var TypeProgressvue_type_template_id_54b10f8f_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('progress',_vm._g(_vm._b({ref:"element",staticClass:"dito-progress",attrs:{"id":_vm.dataPath,"max":_vm.progressMax},domProps:{"value":_vm.progressValue}},'progress',_vm.attributes,false),_vm.listeners))}
|
|
10881
10969
|
var TypeProgressvue_type_template_id_54b10f8f_lang_pug_staticRenderFns = []
|
|
10882
10970
|
|
|
@@ -10945,7 +11033,7 @@ var TypeProgress_component = normalizeComponent(
|
|
|
10945
11033
|
)
|
|
10946
11034
|
|
|
10947
11035
|
/* harmony default export */ var TypeProgress = (TypeProgress_component.exports);
|
|
10948
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11036
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/types/TypeRadio.vue?vue&type=template&id=dfaaa4e4&lang=pug&
|
|
10949
11037
|
var TypeRadiovue_type_template_id_dfaaa4e4_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticClass:"dito-radio-buttons",class:("dito-layout-" + (_vm.schema.layout || 'vertical')),attrs:{"id":_vm.dataPath}},_vm._l((_vm.options),function(option){return _c('li',[_c('label',[_c('input',_vm._g(_vm._b({directives:[{name:"model",rawName:"v-model",value:(_vm.selectedValue),expression:"selectedValue"}],ref:"element",refInFor:true,staticClass:"dito-radio-button",attrs:{"type":"radio"},domProps:{"value":_vm.getValueForOption(option),"checked":_vm._q(_vm.selectedValue,_vm.getValueForOption(option))},on:{"change":function($event){_vm.selectedValue=_vm.getValueForOption(option)}}},'input',_vm.attributes,false),_vm.listeners)),_vm._v(_vm._s(_vm.getLabelForOption(option)))])])}),0)}
|
|
10950
11038
|
var TypeRadiovue_type_template_id_dfaaa4e4_lang_pug_staticRenderFns = []
|
|
10951
11039
|
|
|
@@ -10985,12 +11073,12 @@ var TypeRadio_component = normalizeComponent(
|
|
|
10985
11073
|
)
|
|
10986
11074
|
|
|
10987
11075
|
/* harmony default export */ var TypeRadio = (TypeRadio_component.exports);
|
|
10988
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
10989
|
-
var
|
|
10990
|
-
var
|
|
11076
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/types/TypeSection.vue?vue&type=template&id=db37b7d4&lang=pug&
|
|
11077
|
+
var TypeSectionvue_type_template_id_db37b7d4_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"dito-section",class:{ 'dito-section-labelled' : !!_vm.schema.label }},[_c('dito-pane',{staticClass:"dito-section-pane",attrs:{"schema":_vm.getItemFormSchema(_vm.schema, _vm.item, _vm.context),"dataPath":_vm.dataPath,"data":_vm.item,"meta":_vm.meta,"store":_vm.store,"disabled":_vm.disabled}})],1)}
|
|
11078
|
+
var TypeSectionvue_type_template_id_db37b7d4_lang_pug_staticRenderFns = []
|
|
10991
11079
|
|
|
10992
11080
|
|
|
10993
|
-
// CONCATENATED MODULE: ./src/types/TypeSection.vue?vue&type=template&id=
|
|
11081
|
+
// CONCATENATED MODULE: ./src/types/TypeSection.vue?vue&type=template&id=db37b7d4&lang=pug&
|
|
10994
11082
|
|
|
10995
11083
|
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--12-0!/Users/lehni/Development/Lineto/dito/node_modules/thread-loader/dist/cjs.js!/Users/lehni/Development/Lineto/dito/node_modules/@vue/cli-service/node_modules/babel-loader/lib!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/types/TypeSection.vue?vue&type=script&lang=js&
|
|
10996
11084
|
|
|
@@ -11027,8 +11115,8 @@ var TypeSectionvue_type_style_index_0_lang_sass_ = __webpack_require__("94f5");
|
|
|
11027
11115
|
|
|
11028
11116
|
var TypeSection_component = normalizeComponent(
|
|
11029
11117
|
types_TypeSectionvue_type_script_lang_js_,
|
|
11030
|
-
|
|
11031
|
-
|
|
11118
|
+
TypeSectionvue_type_template_id_db37b7d4_lang_pug_render,
|
|
11119
|
+
TypeSectionvue_type_template_id_db37b7d4_lang_pug_staticRenderFns,
|
|
11032
11120
|
false,
|
|
11033
11121
|
null,
|
|
11034
11122
|
null,
|
|
@@ -11037,7 +11125,7 @@ var TypeSection_component = normalizeComponent(
|
|
|
11037
11125
|
)
|
|
11038
11126
|
|
|
11039
11127
|
/* harmony default export */ var TypeSection = (TypeSection_component.exports);
|
|
11040
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11128
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/types/TypeSelect.vue?vue&type=template&id=b63f8bde&lang=pug&
|
|
11041
11129
|
var TypeSelectvue_type_template_id_b63f8bde_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"dito-select"},[_c('select',_vm._g(_vm._b({directives:[{name:"model",rawName:"v-model",value:(_vm.selectedValue),expression:"selectedValue"}],ref:"element",attrs:{"id":_vm.dataPath},on:{"mousedown":function($event){_vm.populate = true},"focus":function($event){_vm.populate = true},"change":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return val}); _vm.selectedValue=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},'select',_vm.attributes,false),_vm.listeners),[(_vm.populate)?[_vm._l((_vm.options),function(option){return [(_vm.groupBy)?_c('optgroup',{attrs:{"label":option[_vm.groupByLabel]}},_vm._l((option[_vm.groupByOptions]),function(opt){return _c('option',{domProps:{"value":_vm.getValueForOption(opt)}},[_vm._v(_vm._s(_vm.getLabelForOption(opt)))])}),0):_c('option',{domProps:{"value":_vm.getValueForOption(option)}},[_vm._v(_vm._s(_vm.getLabelForOption(option)))])]})]:(_vm.selectedOption)?[_c('option',{domProps:{"value":_vm.selectedValue}},[_vm._v(_vm._s(_vm.getLabelForOption(_vm.selectedOption)))])]:_vm._e()],2),(_vm.showClearButton)?_c('button',{staticClass:"dito-button-clear dito-button-overlay",attrs:{"disabled":_vm.disabled},on:{"click":_vm.clear}}):_vm._e()])}
|
|
11042
11130
|
var TypeSelectvue_type_template_id_b63f8bde_lang_pug_staticRenderFns = []
|
|
11043
11131
|
|
|
@@ -11084,7 +11172,7 @@ var TypeSelect_component = normalizeComponent(
|
|
|
11084
11172
|
)
|
|
11085
11173
|
|
|
11086
11174
|
/* harmony default export */ var TypeSelect = (TypeSelect_component.exports);
|
|
11087
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11175
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/types/TypeSlider.vue?vue&type=template&id=166cd654&lang=pug&
|
|
11088
11176
|
var TypeSlidervue_type_template_id_166cd654_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"dito-slider"},[_c('input',_vm._g(_vm._b({directives:[{name:"model",rawName:"v-model",value:(_vm.inputValue),expression:"inputValue"}],ref:"element",staticClass:"dito-range",attrs:{"id":_vm.dataPath,"type":"range","min":_vm.min,"max":_vm.max,"step":_vm.stepValue},domProps:{"value":(_vm.inputValue)},on:{"__r":function($event){_vm.inputValue=$event.target.value}}},'input',_vm.attributes,false),_vm.listeners)),(_vm.input)?_c('input-field',_vm._g(_vm._b({staticClass:"dito-number",attrs:{"type":"number","min":_vm.min,"max":_vm.max,"step":_vm.stepValue},model:{value:(_vm.inputValue),callback:function ($$v) {_vm.inputValue=$$v},expression:"inputValue"}},'input-field',_vm.attributes,false),_vm.listeners)):_vm._e()],1)}
|
|
11089
11177
|
var TypeSlidervue_type_template_id_166cd654_lang_pug_staticRenderFns = []
|
|
11090
11178
|
|
|
@@ -11135,7 +11223,7 @@ var TypeSlider_component = normalizeComponent(
|
|
|
11135
11223
|
)
|
|
11136
11224
|
|
|
11137
11225
|
/* harmony default export */ var TypeSlider = (TypeSlider_component.exports);
|
|
11138
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11226
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/types/TypeSwitch.vue?vue&type=template&id=ea67bb8a&lang=pug&
|
|
11139
11227
|
var TypeSwitchvue_type_template_id_ea67bb8a_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('switch-button',_vm._g(_vm._b({ref:"element",staticClass:"dito-switch",attrs:{"id":_vm.dataPath,"sync":true,"labels":_vm.labels},model:{value:(_vm.value),callback:function ($$v) {_vm.value=$$v},expression:"value"}},'switch-button',_vm.attributes,false),_vm.listeners))}
|
|
11140
11228
|
var TypeSwitchvue_type_template_id_ea67bb8a_lang_pug_staticRenderFns = []
|
|
11141
11229
|
|
|
@@ -11184,7 +11272,7 @@ var TypeSwitch_component = normalizeComponent(
|
|
|
11184
11272
|
)
|
|
11185
11273
|
|
|
11186
11274
|
/* harmony default export */ var TypeSwitch = (TypeSwitch_component.exports);
|
|
11187
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11275
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/types/TypeText.vue?vue&type=template&id=6ec29473&lang=pug&
|
|
11188
11276
|
var TypeTextvue_type_template_id_6ec29473_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('input-field',_vm._g(_vm._b({ref:"element",staticClass:"dito-text",attrs:{"id":_vm.dataPath,"type":_vm.inputType},model:{value:(_vm.inputValue),callback:function ($$v) {_vm.inputValue=$$v},expression:"inputValue"}},'input-field',_vm.attributes,false),_vm.listeners))}
|
|
11189
11277
|
var TypeTextvue_type_template_id_6ec29473_lang_pug_staticRenderFns = []
|
|
11190
11278
|
|
|
@@ -11261,7 +11349,7 @@ var TypeText_component = normalizeComponent(
|
|
|
11261
11349
|
)
|
|
11262
11350
|
|
|
11263
11351
|
/* harmony default export */ var TypeText = (TypeText_component.exports);
|
|
11264
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11352
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/types/TypeTextarea.vue?vue&type=template&id=023157c6&lang=pug&
|
|
11265
11353
|
var TypeTextareavue_type_template_id_023157c6_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('textarea',_vm._g(_vm._b({directives:[{name:"model",rawName:"v-model",value:(_vm.value),expression:"value"}],ref:"element",staticClass:"dito-textarea dito-input",class:{ 'dito-resizable': _vm.resizable },attrs:{"id":_vm.dataPath,"rows":_vm.lines},domProps:{"value":(_vm.value)},on:{"input":function($event){if($event.target.composing){ return; }_vm.value=$event.target.value}}},'textarea',_vm.attributes,false),_vm.listeners))}
|
|
11266
11354
|
var TypeTextareavue_type_template_id_023157c6_lang_pug_staticRenderFns = []
|
|
11267
11355
|
|
|
@@ -11311,12 +11399,12 @@ var TypeTextarea_component = normalizeComponent(
|
|
|
11311
11399
|
)
|
|
11312
11400
|
|
|
11313
11401
|
/* harmony default export */ var TypeTextarea = (TypeTextarea_component.exports);
|
|
11314
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11315
|
-
var
|
|
11316
|
-
var
|
|
11402
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/types/TypeTreeList.vue?vue&type=template&id=736bc7d5&lang=pug&
|
|
11403
|
+
var TypeTreeListvue_type_template_id_736bc7d5_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"dito-tree-list"},[(_vm.scopes)?_c('dito-scopes',{attrs:{"query":_vm.query,"scopes":_vm.scopes}}):_vm._e(),_c('div',{staticClass:"dito-tree-panel"},[_c('dito-tree-item',{attrs:{"schema":_vm.treeSchema,"dataPath":_vm.treeDataPath,"data":_vm.treeData,"draggable":_vm.draggable,"open":true}}),(_vm.hasEditableForms)?_c('div',{staticClass:"dito-tree-form-container"},[_c('router-view')],1):_vm._e()],1)],1)}
|
|
11404
|
+
var TypeTreeListvue_type_template_id_736bc7d5_lang_pug_staticRenderFns = []
|
|
11317
11405
|
|
|
11318
11406
|
|
|
11319
|
-
// CONCATENATED MODULE: ./src/types/TypeTreeList.vue?vue&type=template&id=
|
|
11407
|
+
// CONCATENATED MODULE: ./src/types/TypeTreeList.vue?vue&type=template&id=736bc7d5&lang=pug&
|
|
11320
11408
|
|
|
11321
11409
|
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--12-0!/Users/lehni/Development/Lineto/dito/node_modules/thread-loader/dist/cjs.js!/Users/lehni/Development/Lineto/dito/node_modules/@vue/cli-service/node_modules/babel-loader/lib!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/types/TypeTreeList.vue?vue&type=script&lang=js&
|
|
11322
11410
|
|
|
@@ -11422,8 +11510,8 @@ var TypeTreeListvue_type_style_index_0_lang_sass_ = __webpack_require__("7d86");
|
|
|
11422
11510
|
|
|
11423
11511
|
var TypeTreeList_component = normalizeComponent(
|
|
11424
11512
|
types_TypeTreeListvue_type_script_lang_js_,
|
|
11425
|
-
|
|
11426
|
-
|
|
11513
|
+
TypeTreeListvue_type_template_id_736bc7d5_lang_pug_render,
|
|
11514
|
+
TypeTreeListvue_type_template_id_736bc7d5_lang_pug_staticRenderFns,
|
|
11427
11515
|
false,
|
|
11428
11516
|
null,
|
|
11429
11517
|
null,
|
|
@@ -11432,12 +11520,12 @@ var TypeTreeList_component = normalizeComponent(
|
|
|
11432
11520
|
)
|
|
11433
11521
|
|
|
11434
11522
|
/* harmony default export */ var TypeTreeList = (TypeTreeList_component.exports);
|
|
11435
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11436
|
-
var
|
|
11437
|
-
var
|
|
11523
|
+
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1b618c98-vue-loader-template"}!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/lehni/Development/Lineto/dito/node_modules/pug-plain-loader!/Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/lehni/Development/Lineto/dito/node_modules/vue-loader/lib??vue-loader-options!./src/types/TypeUpload.vue?vue&type=template&id=0b2edffa&lang=pug&
|
|
11524
|
+
var TypeUploadvue_type_template_id_0b2edffa_lang_pug_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"dito-upload"},[_c('table',{staticClass:"dito-table dito-table-separators dito-table-background"},[_vm._m(0),_c('vue-draggable',_vm._b({attrs:{"tag":"tbody","list":_vm.files},on:{"start":_vm.onStartDrag,"end":_vm.onEndDrag}},'vue-draggable',_vm.getDragOptions(_vm.draggable),false),_vm._l((_vm.files),function(file,index){return _c('tr',{key:file.key},[_c('td',{domProps:{"innerHTML":_vm._s(_vm.renderFile(file, index))}}),_c('td',[_vm._v(_vm._s(_vm._f("formatFileSize")(file.size)))]),_c('td',[(file.upload)?[(file.upload.error)?[_vm._v("Error: "+_vm._s(file.upload.error))]:(file.upload.active)?[_vm._v("Uploading...")]:(file.upload.success)?[_vm._v("Uploaded")]:_vm._e()]:[_vm._v("Stored")]],2),_c('td',{staticClass:"dito-cell-edit-buttons"},[_c('div',{staticClass:"dito-buttons dito-buttons-round"},[(_vm.draggable)?_c('a',_vm._b({staticClass:"dito-button"},'a',_vm.getButtonAttributes(_vm.verbs.drag),false)):_vm._e(),(_vm.deletable)?_c('button',_vm._b({staticClass:"dito-button",attrs:{"type":"button"},on:{"click":function($event){return _vm.deleteFile(file, index)}}},'button',_vm.getButtonAttributes(_vm.verbs.delete),false)):_vm._e()])])])}),0),_c('tfoot',[_c('tr',[_c('td',{attrs:{"colspan":4}},[_c('div',{staticClass:"dito-upload-footer"},[(_vm.isUploadActive)?_c('progress',{staticClass:"dito-progress",attrs:{"max":"100"},domProps:{"value":_vm.uploadProgress}}):_vm._e(),_c('div',{staticClass:"dito-buttons dito-buttons-round"},[(_vm.isUploadActive)?_c('button',{staticClass:"dito-button",attrs:{"type":"button"},on:{"click":function($event){$event.preventDefault();_vm.upload.active = false}}},[_vm._v("Cancel All")]):(_vm.isUploadReady)?_c('button',{staticClass:"dito-button",attrs:{"type":"button"},on:{"click":function($event){$event.preventDefault();_vm.upload.active = true}}},[_vm._v("Upload All")]):_vm._e(),_c('vue-upload',{ref:"upload",staticClass:"dito-button dito-button-add-upload",attrs:{"input-id":_vm.dataPath,"name":_vm.dataPath,"disabled":_vm.disabled,"post-action":_vm.uploadPath,"extensions":_vm.extensions,"accept":_vm.accept,"multiple":_vm.multiple,"size":_vm.maxSize,"title":"Upload Files"},on:{"input-filter":_vm.inputFilter,"input-file":_vm.inputFile},model:{value:(_vm.uploads),callback:function ($$v) {_vm.uploads=$$v},expression:"uploads"}})],1)])])])])],1)])}
|
|
11525
|
+
var TypeUploadvue_type_template_id_0b2edffa_lang_pug_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',{staticClass:"dito-table-head"},[_c('tr',[_c('th',[_c('span',[_vm._v("Name")])]),_c('th',[_c('span',[_vm._v("Size")])]),_c('th',[_c('span',[_vm._v("Status")])]),_c('th',[_c('span')])])])}]
|
|
11438
11526
|
|
|
11439
11527
|
|
|
11440
|
-
// CONCATENATED MODULE: ./src/types/TypeUpload.vue?vue&type=template&id=
|
|
11528
|
+
// CONCATENATED MODULE: ./src/types/TypeUpload.vue?vue&type=template&id=0b2edffa&lang=pug&
|
|
11441
11529
|
|
|
11442
11530
|
// EXTERNAL MODULE: external {"root":"VueUploadComponent","amd":"vue-upload-component","commonjs":"vue-upload-component","commonjs2":"vue-upload-component"}
|
|
11443
11531
|
var external_root_VueUploadComponent_amd_vue_upload_component_commonjs_vue_upload_component_commonjs2_vue_upload_component_ = __webpack_require__("80d0");
|
|
@@ -11585,7 +11673,7 @@ function formatFileSize(size) {
|
|
|
11585
11673
|
this.notify({
|
|
11586
11674
|
type: 'info',
|
|
11587
11675
|
title: 'Successfully Removed',
|
|
11588
|
-
text: `${name} was ${this.verbs.
|
|
11676
|
+
text: `${name} was ${this.verbs.deleted}.`
|
|
11589
11677
|
});
|
|
11590
11678
|
}
|
|
11591
11679
|
},
|
|
@@ -11717,8 +11805,8 @@ var TypeUploadvue_type_style_index_0_lang_sass_ = __webpack_require__("a6de");
|
|
|
11717
11805
|
|
|
11718
11806
|
var TypeUpload_component = normalizeComponent(
|
|
11719
11807
|
types_TypeUploadvue_type_script_lang_js_,
|
|
11720
|
-
|
|
11721
|
-
|
|
11808
|
+
TypeUploadvue_type_template_id_0b2edffa_lang_pug_render,
|
|
11809
|
+
TypeUploadvue_type_template_id_0b2edffa_lang_pug_staticRenderFns,
|
|
11722
11810
|
false,
|
|
11723
11811
|
null,
|
|
11724
11812
|
null,
|
|
@@ -11874,7 +11962,8 @@ class DitoAdmin_DitoAdmin {
|
|
|
11874
11962
|
$sourceComponent: () => null,
|
|
11875
11963
|
$resourceComponent: () => null,
|
|
11876
11964
|
$dialogComponent: () => null,
|
|
11877
|
-
$panelComponent: () => null
|
|
11965
|
+
$panelComponent: () => null,
|
|
11966
|
+
$tabComponent: () => null
|
|
11878
11967
|
},
|
|
11879
11968
|
render: createElement => createElement(DitoRoot, {
|
|
11880
11969
|
attrs: {
|
|
@@ -11905,8 +11994,10 @@ class DitoAdmin_DitoAdmin {
|
|
|
11905
11994
|
return external_root_Axios_amd_axios_commonjs_axios_commonjs2_axios_default.a.request({
|
|
11906
11995
|
url,
|
|
11907
11996
|
method,
|
|
11908
|
-
data: data !== null ? JSON.stringify(data) : null,
|
|
11909
11997
|
params,
|
|
11998
|
+
...(data && {
|
|
11999
|
+
data
|
|
12000
|
+
}),
|
|
11910
12001
|
baseURL: isApiRequest ? this.api.url : null,
|
|
11911
12002
|
headers: { ...(isApiRequest && this.api.headers),
|
|
11912
12003
|
...headers
|
|
@@ -11990,11 +12081,11 @@ module.exports = {
|
|
|
11990
12081
|
/***/ "2117":
|
|
11991
12082
|
/***/ (function(module, exports, __webpack_require__) {
|
|
11992
12083
|
|
|
11993
|
-
var
|
|
12084
|
+
var aCallable = __webpack_require__("63d3");
|
|
11994
12085
|
|
|
11995
12086
|
// optional / simple context binding
|
|
11996
12087
|
module.exports = function (fn, that, length) {
|
|
11997
|
-
|
|
12088
|
+
aCallable(fn);
|
|
11998
12089
|
if (that === undefined) return fn;
|
|
11999
12090
|
switch (length) {
|
|
12000
12091
|
case 0: return function () {
|
|
@@ -12284,8 +12375,8 @@ module.exports = function (argument) {
|
|
|
12284
12375
|
var $ = __webpack_require__("6b1d");
|
|
12285
12376
|
var IS_PURE = __webpack_require__("0e93");
|
|
12286
12377
|
var getBuiltIn = __webpack_require__("5428");
|
|
12378
|
+
var aCallable = __webpack_require__("63d3");
|
|
12287
12379
|
var anObject = __webpack_require__("157c");
|
|
12288
|
-
var aFunction = __webpack_require__("8697");
|
|
12289
12380
|
var speciesConstructor = __webpack_require__("433a");
|
|
12290
12381
|
var iterate = __webpack_require__("b578");
|
|
12291
12382
|
|
|
@@ -12295,8 +12386,8 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
|
|
|
12295
12386
|
intersection: function intersection(iterable) {
|
|
12296
12387
|
var set = anObject(this);
|
|
12297
12388
|
var newSet = new (speciesConstructor(set, getBuiltIn('Set')))();
|
|
12298
|
-
var hasCheck =
|
|
12299
|
-
var adder =
|
|
12389
|
+
var hasCheck = aCallable(set.has);
|
|
12390
|
+
var adder = aCallable(newSet.add);
|
|
12300
12391
|
iterate(iterable, function (value) {
|
|
12301
12392
|
if (hasCheck.call(set, value)) adder.call(newSet, value);
|
|
12302
12393
|
});
|
|
@@ -12464,6 +12555,18 @@ exports.push([module.i, ".dito-textarea{display:block;resize:none;min-height:cal
|
|
|
12464
12555
|
module.exports = exports;
|
|
12465
12556
|
|
|
12466
12557
|
|
|
12558
|
+
/***/ }),
|
|
12559
|
+
|
|
12560
|
+
/***/ "3ce8":
|
|
12561
|
+
/***/ (function(module, exports) {
|
|
12562
|
+
|
|
12563
|
+
// `isCallable` abstract operation
|
|
12564
|
+
// https://tc39.es/ecma262/#sec-iscallable
|
|
12565
|
+
module.exports = function (argument) {
|
|
12566
|
+
return typeof argument === 'function';
|
|
12567
|
+
};
|
|
12568
|
+
|
|
12569
|
+
|
|
12467
12570
|
/***/ }),
|
|
12468
12571
|
|
|
12469
12572
|
/***/ "3ceb":
|
|
@@ -12558,14 +12661,14 @@ module.exports = exports;
|
|
|
12558
12661
|
/***/ "3f5a":
|
|
12559
12662
|
/***/ (function(module, exports, __webpack_require__) {
|
|
12560
12663
|
|
|
12664
|
+
var aCallable = __webpack_require__("63d3");
|
|
12561
12665
|
var anObject = __webpack_require__("157c");
|
|
12562
12666
|
var getIteratorMethod = __webpack_require__("0446");
|
|
12563
12667
|
|
|
12564
|
-
module.exports = function (
|
|
12565
|
-
var iteratorMethod = arguments.length < 2 ? getIteratorMethod(
|
|
12566
|
-
if (
|
|
12567
|
-
|
|
12568
|
-
} return anObject(iteratorMethod.call(it));
|
|
12668
|
+
module.exports = function (argument, usingIterator) {
|
|
12669
|
+
var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;
|
|
12670
|
+
if (aCallable(iteratorMethod)) return anObject(iteratorMethod.call(argument));
|
|
12671
|
+
throw TypeError(String(argument) + ' is not iterable');
|
|
12569
12672
|
};
|
|
12570
12673
|
|
|
12571
12674
|
|
|
@@ -12611,7 +12714,7 @@ var update = add("f567a61e", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
12611
12714
|
/***/ (function(module, exports, __webpack_require__) {
|
|
12612
12715
|
|
|
12613
12716
|
var anObject = __webpack_require__("157c");
|
|
12614
|
-
var
|
|
12717
|
+
var aConstructor = __webpack_require__("004f");
|
|
12615
12718
|
var wellKnownSymbol = __webpack_require__("7d53");
|
|
12616
12719
|
|
|
12617
12720
|
var SPECIES = wellKnownSymbol('species');
|
|
@@ -12621,7 +12724,7 @@ var SPECIES = wellKnownSymbol('species');
|
|
|
12621
12724
|
module.exports = function (O, defaultConstructor) {
|
|
12622
12725
|
var C = anObject(O).constructor;
|
|
12623
12726
|
var S;
|
|
12624
|
-
return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor :
|
|
12727
|
+
return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aConstructor(S);
|
|
12625
12728
|
};
|
|
12626
12729
|
|
|
12627
12730
|
|
|
@@ -12667,8 +12770,8 @@ var update = add("598333af", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
12667
12770
|
var $ = __webpack_require__("6b1d");
|
|
12668
12771
|
var IS_PURE = __webpack_require__("0e93");
|
|
12669
12772
|
var getBuiltIn = __webpack_require__("5428");
|
|
12773
|
+
var aCallable = __webpack_require__("63d3");
|
|
12670
12774
|
var anObject = __webpack_require__("157c");
|
|
12671
|
-
var aFunction = __webpack_require__("8697");
|
|
12672
12775
|
var bind = __webpack_require__("2117");
|
|
12673
12776
|
var speciesConstructor = __webpack_require__("433a");
|
|
12674
12777
|
var getSetIterator = __webpack_require__("bad4");
|
|
@@ -12682,7 +12785,7 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
|
|
|
12682
12785
|
var iterator = getSetIterator(set);
|
|
12683
12786
|
var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);
|
|
12684
12787
|
var newSet = new (speciesConstructor(set, getBuiltIn('Set')))();
|
|
12685
|
-
var adder =
|
|
12788
|
+
var adder = aCallable(newSet.add);
|
|
12686
12789
|
iterate(iterator, function (value) {
|
|
12687
12790
|
if (boundFunction(value, value, set)) adder.call(newSet, value);
|
|
12688
12791
|
}, { IS_ITERATOR: true });
|
|
@@ -12691,6 +12794,20 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
|
|
|
12691
12794
|
});
|
|
12692
12795
|
|
|
12693
12796
|
|
|
12797
|
+
/***/ }),
|
|
12798
|
+
|
|
12799
|
+
/***/ "4912":
|
|
12800
|
+
/***/ (function(module, exports) {
|
|
12801
|
+
|
|
12802
|
+
module.exports = function (argument) {
|
|
12803
|
+
try {
|
|
12804
|
+
return String(argument);
|
|
12805
|
+
} catch (error) {
|
|
12806
|
+
return 'Object';
|
|
12807
|
+
}
|
|
12808
|
+
};
|
|
12809
|
+
|
|
12810
|
+
|
|
12694
12811
|
/***/ }),
|
|
12695
12812
|
|
|
12696
12813
|
/***/ "491f":
|
|
@@ -12727,7 +12844,7 @@ var store = __webpack_require__("c607");
|
|
|
12727
12844
|
(module.exports = function (key, value) {
|
|
12728
12845
|
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
12729
12846
|
})('versions', []).push({
|
|
12730
|
-
version: '3.
|
|
12847
|
+
version: '3.18.0',
|
|
12731
12848
|
mode: IS_PURE ? 'pure' : 'global',
|
|
12732
12849
|
copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
|
|
12733
12850
|
});
|
|
@@ -12787,9 +12904,10 @@ module.exports = version && +version;
|
|
|
12787
12904
|
/***/ (function(module, exports, __webpack_require__) {
|
|
12788
12905
|
|
|
12789
12906
|
var global = __webpack_require__("f498");
|
|
12907
|
+
var isCallable = __webpack_require__("3ce8");
|
|
12790
12908
|
|
|
12791
|
-
var aFunction = function (
|
|
12792
|
-
return
|
|
12909
|
+
var aFunction = function (argument) {
|
|
12910
|
+
return isCallable(argument) ? argument : undefined;
|
|
12793
12911
|
};
|
|
12794
12912
|
|
|
12795
12913
|
module.exports = function (namespace, method) {
|
|
@@ -12900,13 +13018,17 @@ module.exports = exports;
|
|
|
12900
13018
|
|
|
12901
13019
|
/***/ }),
|
|
12902
13020
|
|
|
12903
|
-
/***/ "
|
|
12904
|
-
/***/ (function(module,
|
|
13021
|
+
/***/ "60de":
|
|
13022
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
12905
13023
|
|
|
12906
|
-
|
|
12907
|
-
|
|
12908
|
-
|
|
12909
|
-
|
|
13024
|
+
var aCallable = __webpack_require__("63d3");
|
|
13025
|
+
|
|
13026
|
+
// `GetMethod` abstract operation
|
|
13027
|
+
// https://tc39.es/ecma262/#sec-getmethod
|
|
13028
|
+
module.exports = function (V, P) {
|
|
13029
|
+
var func = V[P];
|
|
13030
|
+
return func == null ? undefined : aCallable(func);
|
|
13031
|
+
};
|
|
12910
13032
|
|
|
12911
13033
|
|
|
12912
13034
|
/***/ }),
|
|
@@ -12932,6 +13054,21 @@ var update = add("1165da2e", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
12932
13054
|
|
|
12933
13055
|
module.exports = __WEBPACK_EXTERNAL_MODULE__6389__;
|
|
12934
13056
|
|
|
13057
|
+
/***/ }),
|
|
13058
|
+
|
|
13059
|
+
/***/ "63d3":
|
|
13060
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
13061
|
+
|
|
13062
|
+
var isCallable = __webpack_require__("3ce8");
|
|
13063
|
+
var tryToString = __webpack_require__("4912");
|
|
13064
|
+
|
|
13065
|
+
// `Assert: IsCallable(argument) is true`
|
|
13066
|
+
module.exports = function (argument) {
|
|
13067
|
+
if (isCallable(argument)) return argument;
|
|
13068
|
+
throw TypeError(tryToString(argument) + ' is not a function');
|
|
13069
|
+
};
|
|
13070
|
+
|
|
13071
|
+
|
|
12935
13072
|
/***/ }),
|
|
12936
13073
|
|
|
12937
13074
|
/***/ "64e4":
|
|
@@ -13016,6 +13153,7 @@ var isForced = __webpack_require__("ebac");
|
|
|
13016
13153
|
options.sham - add a flag to not completely full polyfills
|
|
13017
13154
|
options.enumerable - export as enumerable property
|
|
13018
13155
|
options.noTargetGet - prevent calling a getter on target
|
|
13156
|
+
options.name - the .name of the function if it does not match the key
|
|
13019
13157
|
*/
|
|
13020
13158
|
module.exports = function (options, source) {
|
|
13021
13159
|
var TARGET = options.target;
|
|
@@ -13090,6 +13228,17 @@ if(content.locals) module.exports = content.locals;
|
|
|
13090
13228
|
var add = __webpack_require__("0ed3").default
|
|
13091
13229
|
var update = add("201f18be", content, true, {"sourceMap":false,"shadowMode":false});
|
|
13092
13230
|
|
|
13231
|
+
/***/ }),
|
|
13232
|
+
|
|
13233
|
+
/***/ "6f72":
|
|
13234
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
13235
|
+
|
|
13236
|
+
"use strict";
|
|
13237
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DitoPane_vue_vue_type_style_index_0_lang_sass___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c6b2");
|
|
13238
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DitoPane_vue_vue_type_style_index_0_lang_sass___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DitoPane_vue_vue_type_style_index_0_lang_sass___WEBPACK_IMPORTED_MODULE_0__);
|
|
13239
|
+
/* unused harmony reexport * */
|
|
13240
|
+
|
|
13241
|
+
|
|
13093
13242
|
/***/ }),
|
|
13094
13243
|
|
|
13095
13244
|
/***/ "710d":
|
|
@@ -13107,11 +13256,12 @@ var update = add("201f18be", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
13107
13256
|
/***/ (function(module, exports, __webpack_require__) {
|
|
13108
13257
|
|
|
13109
13258
|
var global = __webpack_require__("f498");
|
|
13259
|
+
var isCallable = __webpack_require__("3ce8");
|
|
13110
13260
|
var inspectSource = __webpack_require__("df6f");
|
|
13111
13261
|
|
|
13112
13262
|
var WeakMap = global.WeakMap;
|
|
13113
13263
|
|
|
13114
|
-
module.exports =
|
|
13264
|
+
module.exports = isCallable(WeakMap) && /native code/.test(inspectSource(WeakMap));
|
|
13115
13265
|
|
|
13116
13266
|
|
|
13117
13267
|
/***/ }),
|
|
@@ -13185,10 +13335,12 @@ module.exports = exports;
|
|
|
13185
13335
|
/***/ }),
|
|
13186
13336
|
|
|
13187
13337
|
/***/ "7526":
|
|
13188
|
-
/***/ (function(module, exports) {
|
|
13338
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
13339
|
+
|
|
13340
|
+
var isCallable = __webpack_require__("3ce8");
|
|
13189
13341
|
|
|
13190
13342
|
module.exports = function (it) {
|
|
13191
|
-
return typeof it === 'object' ? it !== null :
|
|
13343
|
+
return typeof it === 'object' ? it !== null : isCallable(it);
|
|
13192
13344
|
};
|
|
13193
13345
|
|
|
13194
13346
|
|
|
@@ -13213,8 +13365,8 @@ module.exports = function (it) {
|
|
|
13213
13365
|
var $ = __webpack_require__("6b1d");
|
|
13214
13366
|
var IS_PURE = __webpack_require__("0e93");
|
|
13215
13367
|
var getBuiltIn = __webpack_require__("5428");
|
|
13368
|
+
var aCallable = __webpack_require__("63d3");
|
|
13216
13369
|
var anObject = __webpack_require__("157c");
|
|
13217
|
-
var aFunction = __webpack_require__("8697");
|
|
13218
13370
|
var speciesConstructor = __webpack_require__("433a");
|
|
13219
13371
|
var iterate = __webpack_require__("b578");
|
|
13220
13372
|
|
|
@@ -13224,8 +13376,8 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
|
|
|
13224
13376
|
symmetricDifference: function symmetricDifference(iterable) {
|
|
13225
13377
|
var set = anObject(this);
|
|
13226
13378
|
var newSet = new (speciesConstructor(set, getBuiltIn('Set')))(set);
|
|
13227
|
-
var remover =
|
|
13228
|
-
var adder =
|
|
13379
|
+
var remover = aCallable(newSet['delete']);
|
|
13380
|
+
var adder = aCallable(newSet.add);
|
|
13229
13381
|
iterate(iterable, function (value) {
|
|
13230
13382
|
remover.call(newSet, value) || adder.call(newSet, value);
|
|
13231
13383
|
});
|
|
@@ -13264,6 +13416,20 @@ if(content.locals) module.exports = content.locals;
|
|
|
13264
13416
|
var add = __webpack_require__("0ed3").default
|
|
13265
13417
|
var update = add("882ec1c0", content, true, {"sourceMap":false,"shadowMode":false});
|
|
13266
13418
|
|
|
13419
|
+
/***/ }),
|
|
13420
|
+
|
|
13421
|
+
/***/ "79e6":
|
|
13422
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
13423
|
+
|
|
13424
|
+
// Imports
|
|
13425
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("3c10");
|
|
13426
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
13427
|
+
// Module
|
|
13428
|
+
exports.push([module.i, ".dito-pane{display:-webkit-box;display:flex;position:relative;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-flow:row wrap;align-content:flex-start;-webkit-box-align:baseline;align-items:baseline;margin:-6px -3px;max-width:906px;-webkit-box-flex:0%;flex:0%}.dito-pane.dito-pane-main{-webkit-box-flex:100%;flex:100%}.dito-schema-header:not(.dito-schema-menu-header)+.dito-pane{margin-top:0}.dito-container.dito-omit-padding>.dito-pane{margin:0;max-width:unset}.dito-pane .dito-break{-webkit-box-flex:100%;flex:100%;height:0}", ""]);
|
|
13429
|
+
// Exports
|
|
13430
|
+
module.exports = exports;
|
|
13431
|
+
|
|
13432
|
+
|
|
13267
13433
|
/***/ }),
|
|
13268
13434
|
|
|
13269
13435
|
/***/ "7a87":
|
|
@@ -13426,8 +13592,8 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__80d0__;
|
|
|
13426
13592
|
|
|
13427
13593
|
var $ = __webpack_require__("6b1d");
|
|
13428
13594
|
var IS_PURE = __webpack_require__("0e93");
|
|
13595
|
+
var aCallable = __webpack_require__("63d3");
|
|
13429
13596
|
var anObject = __webpack_require__("157c");
|
|
13430
|
-
var aFunction = __webpack_require__("8697");
|
|
13431
13597
|
var iterate = __webpack_require__("b578");
|
|
13432
13598
|
|
|
13433
13599
|
// `Set.prototype.isDisjointFrom` method
|
|
@@ -13435,7 +13601,7 @@ var iterate = __webpack_require__("b578");
|
|
|
13435
13601
|
$({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
|
|
13436
13602
|
isDisjointFrom: function isDisjointFrom(iterable) {
|
|
13437
13603
|
var set = anObject(this);
|
|
13438
|
-
var hasCheck =
|
|
13604
|
+
var hasCheck = aCallable(set.has);
|
|
13439
13605
|
return !iterate(iterable, function (value, stop) {
|
|
13440
13606
|
if (hasCheck.call(set, value) === true) return stop();
|
|
13441
13607
|
}, { INTERRUPTED: true }).stopped;
|
|
@@ -13452,7 +13618,7 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
|
|
|
13452
13618
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("3c10");
|
|
13453
13619
|
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
13454
13620
|
// Module
|
|
13455
|
-
exports.push([module.i, ".dito-button-overlay.dito-button-clear:before,.dito-buttons-round .dito-button-add-upload:before,.dito-buttons-round .dito-button-copy:empty:before,.dito-buttons-round .dito-button-delete:empty:before,.dito-buttons-round .dito-button-drag:empty:before,.dito-buttons-round .dito-button-edit:empty:before,.dito-buttons-round .dito-button-paste:empty:before,.dito-buttons-round .dito-button-remove:empty:before,.dito-buttons-small .dito-button-add-upload:before,.dito-buttons-small .dito-button-copy:empty:before,.dito-buttons-small .dito-button-delete:empty:before,.dito-buttons-small .dito-button-drag:empty:before,.dito-buttons-small .dito-button-edit:empty:before,.dito-buttons-small .dito-button-paste:empty:before,.dito-buttons-small .dito-button-remove:empty:before{width:1em;position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;content:\"\";background:currentColor;-webkit-mask:none no-repeat center content-box;mask:none no-repeat center content-box}.dito-buttons-round .dito-button-add-upload:before,.dito-buttons-small .dito-button-add-upload:before{-webkit-mask-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' preserveAspectRatio='xMinYMid' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v20M2 12h20'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' preserveAspectRatio='xMinYMid' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v20M2 12h20'/%3E%3C/svg%3E\")}.dito-button-overlay.dito-button-clear:before{-webkit-mask-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' preserveAspectRatio='xMinYMid' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4l16 16M20 4L4 20'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' preserveAspectRatio='xMinYMid' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4l16 16M20 4L4 20'/%3E%3C/svg%3E\")}.dito-buttons-round .dito-button-copy:empty:before,.dito-buttons-small .dito-button-copy:empty:before{-webkit-mask-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' preserveAspectRatio='xMinYMid' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2' ry='2'/%3E%3Cpath d='M5 15H4a2 2 0 01-2-2V4a2 2 0 012-2h9a2 2 0 012 2v1'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' preserveAspectRatio='xMinYMid' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2' ry='2'/%3E%3Cpath d='M5 15H4a2 2 0 01-2-2V4a2 2 0 012-2h9a2 2 0 012 2v1'/%3E%3C/svg%3E\")}.dito-buttons-round .dito-button-drag:empty:before,.dito-buttons-small .dito-button-drag:empty:before{-webkit-mask-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' preserveAspectRatio='xMinYMid' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l7-7 7 7M5 16l7 7 7-7'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' preserveAspectRatio='xMinYMid' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l7-7 7 7M5 16l7 7 7-7'/%3E%3C/svg%3E\")}.dito-buttons-round .dito-button-edit:empty:before,.dito-buttons-small .dito-button-edit:empty:before{-webkit-mask-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' preserveAspectRatio='xMinYMid' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 16L16 2l4 4L6 20M14 4l4 4'/%3E%3Cpath fill='%23000' d='M6 20H2v-4z'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' preserveAspectRatio='xMinYMid' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 16L16 2l4 4L6 20M14 4l4 4'/%3E%3Cpath fill='%23000' d='M6 20H2v-4z'/%3E%3C/svg%3E\")}.dito-buttons-round .dito-button-paste:empty:before,.dito-buttons-small .dito-button-paste:empty:before{-webkit-mask-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' preserveAspectRatio='xMinYMid' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='2' width='8' height='4' rx='1' ry='1'/%3E%3Cpath d='M16 4h2a2 2 0 012 2v14a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2h2'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' preserveAspectRatio='xMinYMid' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='2' width='8' height='4' rx='1' ry='1'/%3E%3Cpath d='M16 4h2a2 2 0 012 2v14a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2h2'/%3E%3C/svg%3E\")}.dito-buttons-round .dito-button-delete:empty:before,.dito-buttons-round .dito-button-remove:empty:before,.dito-buttons-small .dito-button-delete:empty:before,.dito-buttons-small .dito-button-remove:empty:before{-webkit-mask-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' preserveAspectRatio='xMinYMid' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12h20'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' preserveAspectRatio='xMinYMid' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12h20'/%3E%3C/svg%3E\")}button,h1,h2,h3,h4,h5,input,select,textarea{font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0}a{color:inherit;text-decoration:none}a:focus,button:focus,input:focus,select:focus,textarea:focus{outline:none}a::-moz-focus-inner,a::-moz-focus-outer,button::-moz-focus-inner,button::-moz-focus-outer,input::-moz-focus-inner,input::-moz-focus-outer,select::-moz-focus-inner,select::-moz-focus-outer,textarea::-moz-focus-inner,textarea::-moz-focus-outer{border:none}select:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--color-text,#000)}ul{list-style:none;padding:0}ul,ul li{margin:0}table{border-spacing:0}a,button{cursor:pointer}label,label *{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}:root{--font-size:13px;--line-height:1.38462;--color-text:#0a0a0a;font-size:var(--font-size);line-height:var(--line-height);color:var(--color-text);background:#ededed;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,Helvetica,Arial,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;overflow-x:hidden;max-width:100%}.dito-button .dito-order-arrows{display:inline-block;width:6px;padding-left:6px}.dito-button .dito-order-arrows:before{-webkit-transform:rotate(135deg);transform:rotate(135deg);top:0;bottom:0;bottom:3px}.dito-button .dito-order-arrows:after,.dito-button .dito-order-arrows:before{position:absolute;border:1px solid #3898ff;border-right:0;border-top:0;content:\"\";width:4px;height:4px;pointer-events:none;margin:auto}.dito-button .dito-order-arrows:after{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);top:0;bottom:0;top:3px}.dito-button.dito-order-asc .dito-order-arrows:before{bottom:0}.dito-button.dito-order-asc .dito-order-arrows:after,.dito-button.dito-order-desc .dito-order-arrows:before{display:none}.dito-button.dito-order-desc .dito-order-arrows:after{top:0}.dito-button-create:empty:before{content:\"Create\"}.dito-button-add:empty:before{content:\"Add\"}.dito-button-delete:empty:before{content:\"Delete\"}.dito-button-remove:empty:before{content:\"Remove\"}.dito-button-edit:empty:before{content:\"Edit\"}.dito-button-save:empty:before{content:\"Save\"}.dito-button-apply:empty:before{content:\"Apply\"}.dito-button-login:empty:before{content:\"Login\"}.dito-button-ok:empty:before{content:\"OK\"}.dito-button-cancel:empty:before{content:\"Cancel\"}.dito-button-close:empty:before{content:\"Close\"}.dito-button-drag:empty:before{content:\"Drag\"}.dito-button-copy:empty:before{content:\"Copy\"}.dito-button-paste:empty:before{content:\"Paste\"}.dito-button-drag{cursor:-webkit-grab;cursor:grab}.dito-button-drag:active{cursor:-webkit-grabbing;cursor:grabbing}.dito-buttons.dito-buttons-large{--button-margin:3px;font-size:14px;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-flow:row wrap;-webkit-box-pack:center;justify-content:center}.dito-buttons.dito-buttons-large .dito-button-container{margin-top:16px}.dito-buttons.dito-buttons-large .dito-button{border-radius:2em;padding:.3em .9em}.dito-buttons.dito-buttons-main{position:sticky;bottom:0;width:100%;align-self:flex-end;z-index:500;padding-bottom:16px;margin-bottom:-16px;margin-top:32px;-webkit-box-shadow:0 -16px 16px -16px rgba(10,10,10,.25);box-shadow:0 -16px 16px -16px rgba(10,10,10,.25);background:#ededed}.dito-button-overlay{position:absolute;right:1px;top:1px;bottom:1px;border:0;border-radius:4px;cursor:pointer}.dito-button-overlay.dito-button-clear{width:2em;z-index:1;background:#fff;display:none}.dito-component:hover>*>*>.dito-button-overlay.dito-button-clear,.dito-component:hover>*>.dito-button-overlay.dito-button-clear,.dito-component:hover>.dito-button-overlay.dito-button-clear{display:block}.dito-button-overlay.dito-button-clear:before{color:grey}.dito-button-overlay.dito-button-clear:hover:before{color:#0a0a0a}ul.dito-pulldown{display:none;position:absolute;top:0;z-index:1000;border-radius:.5em;-webkit-box-shadow:0 2px 6px 0 rgba(10,10,10,.25);box-shadow:0 2px 6px 0 rgba(10,10,10,.25)}ul.dito-pulldown.dito-open{display:block}ul.dito-pulldown li{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}ul.dito-pulldown li a{display:block;text-align:center;padding:.5em 1em;line-height:1;background:#e0e0e0}ul.dito-pulldown li a:hover{background:#3898ff;color:#fff}ul.dito-pulldown li:first-child a{border-top-left-radius:.5em;border-top-right-radius:.5em}ul.dito-pulldown li:last-child a{border-bottom-left-radius:.5em;border-bottom-right-radius:.5em}.dito-layout-vertical{display:table}.dito-layout-horizontal,.dito-layout-vertical>*{display:table-row}.dito-layout-horizontal>*{display:table-cell}.dito-layout-horizontal>*+*{padding-left:6px}.dito-scroll{-webkit-box-flex:1;flex:1;max-height:100%;overflow-x:hidden;overflow-y:auto}.dito-scroll-parent{-webkit-box-flex:1;flex:1;display:-webkit-box;display:flex;position:relative;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-flow:column;overflow:hidden}.dito-drag-fallback{-webkit-filter:drop-shadow(0 2px 4px rgba(10,10,10,.25));filter:drop-shadow(0 2px 4px rgba(10,10,10,.25))}.dito-drag-fallback,.dito-drag-fallback td{display:-webkit-box;display:flex}.dito-drag-fallback>*,.dito-drag-fallback td>*{-webkit-box-flex:1;flex:1}table.dito-table{--separator-width:1px;width:100%;height:-webkit-min-content;height:-moz-min-content;height:min-content;border-radius:4px}table.dito-table>tbody>tr,table.dito-table>tfoot>tr{vertical-align:baseline}table.dito-table>tbody>tr>td,table.dito-table>tfoot>tr>td{padding:6px 0 6px 6px;background:#ededed}table.dito-table>tbody>tr>td:last-child,table.dito-table>tfoot>tr>td:last-child{padding-right:6px}table.dito-table>tbody>tr>td.dito-cell-edit-buttons,table.dito-table>tfoot>tr>td.dito-cell-edit-buttons{width:1%}table.dito-table>tbody>tr>td.dito-cell-edit-buttons,table.dito-table>tbody>tr>td.dito-cell-edit-buttons .dito-button,table.dito-table>tfoot>tr>td.dito-cell-edit-buttons,table.dito-table>tfoot>tr>td.dito-cell-edit-buttons .dito-button{vertical-align:top}table.dito-table.dito-table-larger-padding td:not(.dito-cell-edit-buttons){padding:9px 0 9px 9px}table.dito-table.dito-table-separators>tbody:not(:empty)+tfoot>tr>td,table.dito-table.dito-table-separators>tbody>tr+tr>td{border-top:var(--separator-width) solid #c7c7c7}table.dito-table.dito-table-alternate-colors.dito-table-even-count>tfoot>tr>td,table.dito-table.dito-table-alternate-colors>tbody>tr:nth-child(odd)>td,table.dito-table.dito-table-background>tbody>tr>td,table.dito-table.dito-table-background>tfoot>tr>td{background:#fff}table.dito-table>thead>tr>th>*{-webkit-box-sizing:content-box;box-sizing:content-box}table.dito-table>thead>tr>th>:not(:focus){border-style:solid;border-color:#c7c7c7}table.dito-table>thead>tr>th>*{border-top-width:1px;border-bottom-width:1px;border-left-width:1px;border-right-width:1px}table.dito-table>thead>tr>th:first-child>*{border-top-width:1px;border-left-width:1px;border-top-left-radius:4px}table.dito-table>thead>tr>th:last-child>*{border-top-width:1px;border-right-width:1px;border-top-right-radius:4px}table.dito-table>thead>tr>th+th>*{margin-left:-1px}table.dito-table>thead>tr>th+th>:focus{z-index:1}table.dito-table>tbody>tr>td{border:0;border-style:solid;border-color:#c7c7c7}table.dito-table>tbody>tr>td:first-child{border-left-width:1px}table.dito-table>tbody>tr>td:last-child{border-right-width:1px}table.dito-table>tbody:first-child:empty+tfoot>tr>td,table.dito-table>tbody:first-child>tr:first-child>td{border-top-width:1px}table.dito-table>tbody:first-child:empty+tfoot>tr>td:first-child,table.dito-table>tbody:first-child>tr:first-child>td:first-child{border-top-width:1px;border-left-width:1px;border-top-left-radius:4px}table.dito-table>tbody:first-child:empty+tfoot>tr>td:last-child,table.dito-table>tbody:first-child>tr:first-child>td:last-child{border-top-width:1px;border-right-width:1px;border-top-right-radius:4px}table.dito-table>tbody:last-child>tr:last-child>td{border-bottom-width:1px}table.dito-table>tbody:last-child>tr:last-child>td:first-child{border-bottom-width:1px;border-left-width:1px;border-bottom-left-radius:4px}table.dito-table>tbody:last-child>tr:last-child>td:last-child{border-bottom-width:1px;border-right-width:1px;border-bottom-right-radius:4px}table.dito-table>tfoot>tr>td{border-width:0;border-style:solid;border-color:#c7c7c7;border-bottom-width:1px}table.dito-table>tfoot>tr>td:first-child{border-bottom-width:1px;border-left-width:1px;border-bottom-left-radius:4px}table.dito-table>tfoot>tr>td:last-child{border-bottom-width:1px;border-right-width:1px;border-bottom-right-radius:4px}.dito-form-nested table.dito-table,table.dito-table table.dito-table{margin:0}.dito-notifications .dito-notification{padding:8px;margin:12px 12px 0;font-size:inherit;color:#fff;border-radius:4px;-webkit-box-shadow:0 2px 6px 0 rgba(10,10,10,.25);box-shadow:0 2px 6px 0 rgba(10,10,10,.25)}.dito-notifications .dito-notification .notification-title{font-weight:700;padding-bottom:8px}.dito-notifications .dito-notification .notification-content p{margin:0}.dito-notifications .dito-notification .notification-content p+p{margin-top:8px}.dito-notifications .dito-notification,.dito-notifications .dito-notification.info{background:#52a5ff;color:#fff;border-left:12px solid #057eff}.dito-notifications .dito-notification.success{background:#32dc6e;color:#fff;border-left:12px solid #1ca64c}.dito-notifications .dito-notification.warning{background:#ffd561;color:#fff;border-left:12px solid #ffc014}.dito-notifications .dito-notification.error{background:#ff5274;color:#fff;border-left:12px solid #ff0537}.dito-notifications .vue-notification-wrapper{overflow:visible}.dito-root{height:100%;display:-webkit-box;display:flex}.dito-root .dito-page{background:#ededed}.dito-root .dito-page>.dito-form,.dito-root .dito-page>.dito-view{margin-top:-42px;padding-top:42px}", ""]);
|
|
13621
|
+
exports.push([module.i, ".dito-button-overlay.dito-button-clear:before,.dito-buttons-round .dito-button-add-upload:before,.dito-buttons-round .dito-button-copy:empty:before,.dito-buttons-round .dito-button-delete:empty:before,.dito-buttons-round .dito-button-drag:empty:before,.dito-buttons-round .dito-button-edit:empty:before,.dito-buttons-round .dito-button-paste:empty:before,.dito-buttons-round .dito-button-remove:empty:before,.dito-buttons-small .dito-button-add-upload:before,.dito-buttons-small .dito-button-copy:empty:before,.dito-buttons-small .dito-button-delete:empty:before,.dito-buttons-small .dito-button-drag:empty:before,.dito-buttons-small .dito-button-edit:empty:before,.dito-buttons-small .dito-button-paste:empty:before,.dito-buttons-small .dito-button-remove:empty:before{width:1em;position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;content:\"\";background:currentColor;-webkit-mask:none no-repeat center content-box;mask:none no-repeat center content-box}.dito-buttons-round .dito-button-add-upload:before,.dito-buttons-small .dito-button-add-upload:before{-webkit-mask-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' preserveAspectRatio='xMinYMid' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v20M2 12h20'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' preserveAspectRatio='xMinYMid' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v20M2 12h20'/%3E%3C/svg%3E\")}.dito-button-overlay.dito-button-clear:before{-webkit-mask-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' preserveAspectRatio='xMinYMid' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4l16 16M20 4L4 20'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' preserveAspectRatio='xMinYMid' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4l16 16M20 4L4 20'/%3E%3C/svg%3E\")}.dito-buttons-round .dito-button-copy:empty:before,.dito-buttons-small .dito-button-copy:empty:before{-webkit-mask-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' preserveAspectRatio='xMinYMid' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2' ry='2'/%3E%3Cpath d='M5 15H4a2 2 0 01-2-2V4a2 2 0 012-2h9a2 2 0 012 2v1'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' preserveAspectRatio='xMinYMid' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2' ry='2'/%3E%3Cpath d='M5 15H4a2 2 0 01-2-2V4a2 2 0 012-2h9a2 2 0 012 2v1'/%3E%3C/svg%3E\")}.dito-buttons-round .dito-button-drag:empty:before,.dito-buttons-small .dito-button-drag:empty:before{-webkit-mask-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' preserveAspectRatio='xMinYMid' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l7-7 7 7M5 16l7 7 7-7'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' preserveAspectRatio='xMinYMid' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l7-7 7 7M5 16l7 7 7-7'/%3E%3C/svg%3E\")}.dito-buttons-round .dito-button-edit:empty:before,.dito-buttons-small .dito-button-edit:empty:before{-webkit-mask-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' preserveAspectRatio='xMinYMid' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 16L16 2l4 4L6 20M14 4l4 4'/%3E%3Cpath fill='%23000' d='M6 20H2v-4z'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' preserveAspectRatio='xMinYMid' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 16L16 2l4 4L6 20M14 4l4 4'/%3E%3Cpath fill='%23000' d='M6 20H2v-4z'/%3E%3C/svg%3E\")}.dito-buttons-round .dito-button-paste:empty:before,.dito-buttons-small .dito-button-paste:empty:before{-webkit-mask-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' preserveAspectRatio='xMinYMid' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='2' width='8' height='4' rx='1' ry='1'/%3E%3Cpath d='M16 4h2a2 2 0 012 2v14a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2h2'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' preserveAspectRatio='xMinYMid' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='2' width='8' height='4' rx='1' ry='1'/%3E%3Cpath d='M16 4h2a2 2 0 012 2v14a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2h2'/%3E%3C/svg%3E\")}.dito-buttons-round .dito-button-delete:empty:before,.dito-buttons-round .dito-button-remove:empty:before,.dito-buttons-small .dito-button-delete:empty:before,.dito-buttons-small .dito-button-remove:empty:before{-webkit-mask-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' preserveAspectRatio='xMinYMid' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12h20'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' preserveAspectRatio='xMinYMid' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12h20'/%3E%3C/svg%3E\")}button,h1,h2,h3,h4,h5,input,select,textarea{font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0}a{color:inherit;text-decoration:none}a:focus,button:focus,input:focus,select:focus,textarea:focus{outline:none}a::-moz-focus-inner,a::-moz-focus-outer,button::-moz-focus-inner,button::-moz-focus-outer,input::-moz-focus-inner,input::-moz-focus-outer,select::-moz-focus-inner,select::-moz-focus-outer,textarea::-moz-focus-inner,textarea::-moz-focus-outer{border:none}select:-moz-focusring{color:transparent;text-shadow:0 0 0 var(--color-text,#000)}ul{list-style:none;padding:0}ul,ul li{margin:0}table{border-spacing:0}a,button{cursor:pointer}label,label *{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}:root{--font-size:13px;--line-height:1.38462;--color-text:#0a0a0a;font-size:var(--font-size);line-height:var(--line-height);color:var(--color-text);background:#ededed;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,Helvetica,Arial,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;overflow-x:hidden;max-width:100%}.dito-button .dito-order-arrows{display:inline-block;width:6px;padding-left:6px}.dito-button .dito-order-arrows:before{-webkit-transform:rotate(135deg);transform:rotate(135deg);top:0;bottom:0;bottom:3px}.dito-button .dito-order-arrows:after,.dito-button .dito-order-arrows:before{position:absolute;border:1px solid #3898ff;border-right:0;border-top:0;content:\"\";width:4px;height:4px;pointer-events:none;margin:auto}.dito-button .dito-order-arrows:after{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);top:0;bottom:0;top:3px}.dito-button.dito-order-asc .dito-order-arrows:before{bottom:0}.dito-button.dito-order-asc .dito-order-arrows:after,.dito-button.dito-order-desc .dito-order-arrows:before{display:none}.dito-button.dito-order-desc .dito-order-arrows:after{top:0}.dito-button-create:empty:before{content:\"Create\"}.dito-button-add:empty:before{content:\"Add\"}.dito-button-delete:empty:before{content:\"Delete\"}.dito-button-remove:empty:before{content:\"Remove\"}.dito-button-edit:empty:before{content:\"Edit\"}.dito-button-save:empty:before{content:\"Save\"}.dito-button-apply:empty:before{content:\"Apply\"}.dito-button-login:empty:before{content:\"Login\"}.dito-button-ok:empty:before{content:\"OK\"}.dito-button-cancel:empty:before{content:\"Cancel\"}.dito-button-close:empty:before{content:\"Close\"}.dito-button-drag:empty:before{content:\"Drag\"}.dito-button-copy:empty:before{content:\"Copy\"}.dito-button-paste:empty:before{content:\"Paste\"}.dito-button-drag{cursor:-webkit-grab;cursor:grab}.dito-button-drag:active{cursor:-webkit-grabbing;cursor:grabbing}.dito-buttons.dito-buttons-large{--button-margin:3px;font-size:14px;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-flow:row wrap;-webkit-box-pack:center;justify-content:center}.dito-buttons.dito-buttons-large .dito-container{margin-top:16px}.dito-buttons.dito-buttons-large .dito-button{border-radius:2em;padding:.3em .9em}.dito-buttons.dito-buttons-main{position:sticky;bottom:0;width:100%;align-self:flex-end;z-index:500;padding-bottom:16px;margin-bottom:-16px;margin-top:32px;-webkit-box-shadow:0 -16px 16px -16px rgba(10,10,10,.25);box-shadow:0 -16px 16px -16px rgba(10,10,10,.25);background:#ededed}.dito-button-overlay{position:absolute;right:1px;top:1px;bottom:1px;border:0;border-radius:4px;cursor:pointer}.dito-button-overlay.dito-button-clear{width:2em;z-index:1;background:#fff;display:none}.dito-component:hover>*>*>.dito-button-overlay.dito-button-clear,.dito-component:hover>*>.dito-button-overlay.dito-button-clear,.dito-component:hover>.dito-button-overlay.dito-button-clear{display:block}.dito-button-overlay.dito-button-clear:before{color:grey}.dito-button-overlay.dito-button-clear:hover:before{color:#0a0a0a}ul.dito-pulldown{display:none;position:absolute;top:0;z-index:1000;border-radius:.5em;-webkit-box-shadow:0 2px 6px 0 rgba(10,10,10,.25);box-shadow:0 2px 6px 0 rgba(10,10,10,.25)}ul.dito-pulldown.dito-open{display:block}ul.dito-pulldown li{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}ul.dito-pulldown li a{display:block;text-align:center;padding:.5em 1em;line-height:1;background:#e0e0e0}ul.dito-pulldown li a:hover{background:#3898ff;color:#fff}ul.dito-pulldown li:first-child a{border-top-left-radius:.5em;border-top-right-radius:.5em}ul.dito-pulldown li:last-child a{border-bottom-left-radius:.5em;border-bottom-right-radius:.5em}.dito-layout-vertical{display:table}.dito-layout-horizontal,.dito-layout-vertical>*{display:table-row}.dito-layout-horizontal>*{display:table-cell}.dito-layout-horizontal>*+*{padding-left:6px}.dito-scroll{-webkit-box-flex:1;flex:1;max-height:100%;overflow-x:hidden;overflow-y:auto}.dito-scroll-parent{-webkit-box-flex:1;flex:1;display:-webkit-box;display:flex;position:relative;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-flow:column;overflow:hidden}.dito-drag-fallback{-webkit-filter:drop-shadow(0 2px 4px rgba(10,10,10,.25));filter:drop-shadow(0 2px 4px rgba(10,10,10,.25))}.dito-drag-fallback,.dito-drag-fallback td{display:-webkit-box;display:flex}.dito-drag-fallback>*,.dito-drag-fallback td>*{-webkit-box-flex:1;flex:1}table.dito-table{--separator-width:1px;width:100%;height:-webkit-min-content;height:-moz-min-content;height:min-content;border-radius:4px}table.dito-table>tbody>tr,table.dito-table>tfoot>tr{vertical-align:baseline}table.dito-table>tbody>tr>td,table.dito-table>tfoot>tr>td{padding:6px 0 6px 6px;background:#ededed}table.dito-table>tbody>tr>td:last-child,table.dito-table>tfoot>tr>td:last-child{padding-right:6px}table.dito-table>tbody>tr>td.dito-cell-edit-buttons,table.dito-table>tfoot>tr>td.dito-cell-edit-buttons{width:1%}table.dito-table>tbody>tr>td.dito-cell-edit-buttons,table.dito-table>tbody>tr>td.dito-cell-edit-buttons .dito-button,table.dito-table>tfoot>tr>td.dito-cell-edit-buttons,table.dito-table>tfoot>tr>td.dito-cell-edit-buttons .dito-button{vertical-align:top}table.dito-table.dito-table-larger-padding td:not(.dito-cell-edit-buttons){padding:9px 0 9px 9px}table.dito-table.dito-table-separators>tbody:not(:empty)+tfoot>tr>td,table.dito-table.dito-table-separators>tbody>tr+tr>td{border-top:var(--separator-width) solid #c7c7c7}table.dito-table.dito-table-alternate-colors.dito-table-even-count>tfoot>tr>td,table.dito-table.dito-table-alternate-colors>tbody>tr:nth-child(odd)>td,table.dito-table.dito-table-background>tbody>tr>td,table.dito-table.dito-table-background>tfoot>tr>td{background:#fff}table.dito-table>thead>tr>th>*{-webkit-box-sizing:content-box;box-sizing:content-box}table.dito-table>thead>tr>th>:not(:focus){border-style:solid;border-color:#c7c7c7}table.dito-table>thead>tr>th>*{border-top-width:1px;border-bottom-width:1px;border-left-width:1px;border-right-width:1px}table.dito-table>thead>tr>th:first-child>*{border-top-width:1px;border-left-width:1px;border-top-left-radius:4px}table.dito-table>thead>tr>th:last-child>*{border-top-width:1px;border-right-width:1px;border-top-right-radius:4px}table.dito-table>thead>tr>th+th>*{margin-left:-1px}table.dito-table>thead>tr>th+th>:focus{z-index:1}table.dito-table>tbody>tr>td{border:0;border-style:solid;border-color:#c7c7c7}table.dito-table>tbody>tr>td:first-child{border-left-width:1px}table.dito-table>tbody>tr>td:last-child{border-right-width:1px}table.dito-table>tbody:first-child:empty+tfoot>tr>td,table.dito-table>tbody:first-child>tr:first-child>td{border-top-width:1px}table.dito-table>tbody:first-child:empty+tfoot>tr>td:first-child,table.dito-table>tbody:first-child>tr:first-child>td:first-child{border-top-width:1px;border-left-width:1px;border-top-left-radius:4px}table.dito-table>tbody:first-child:empty+tfoot>tr>td:last-child,table.dito-table>tbody:first-child>tr:first-child>td:last-child{border-top-width:1px;border-right-width:1px;border-top-right-radius:4px}table.dito-table>tbody:last-child>tr:last-child>td{border-bottom-width:1px}table.dito-table>tbody:last-child>tr:last-child>td:first-child{border-bottom-width:1px;border-left-width:1px;border-bottom-left-radius:4px}table.dito-table>tbody:last-child>tr:last-child>td:last-child{border-bottom-width:1px;border-right-width:1px;border-bottom-right-radius:4px}table.dito-table>tfoot>tr>td{border-width:0;border-style:solid;border-color:#c7c7c7;border-bottom-width:1px}table.dito-table>tfoot>tr>td:first-child{border-bottom-width:1px;border-left-width:1px;border-bottom-left-radius:4px}table.dito-table>tfoot>tr>td:last-child{border-bottom-width:1px;border-right-width:1px;border-bottom-right-radius:4px}.dito-form-nested table.dito-table,table.dito-table table.dito-table{margin:0}.dito-notifications .dito-notification{padding:8px;margin:12px 12px 0;font-size:inherit;color:#fff;border-radius:4px;-webkit-box-shadow:0 2px 6px 0 rgba(10,10,10,.25);box-shadow:0 2px 6px 0 rgba(10,10,10,.25)}.dito-notifications .dito-notification .notification-title{font-weight:700;padding-bottom:8px}.dito-notifications .dito-notification .notification-content p{margin:0}.dito-notifications .dito-notification .notification-content p+p{margin-top:8px}.dito-notifications .dito-notification,.dito-notifications .dito-notification.info{background:#52a5ff;color:#fff;border-left:12px solid #057eff}.dito-notifications .dito-notification.success{background:#32dc6e;color:#fff;border-left:12px solid #1ca64c}.dito-notifications .dito-notification.warning{background:#ffd561;color:#fff;border-left:12px solid #ffc014}.dito-notifications .dito-notification.error{background:#ff5274;color:#fff;border-left:12px solid #ff0537}.dito-notifications .vue-notification-wrapper{overflow:visible}.dito-root{height:100%;display:-webkit-box;display:flex}.dito-root .dito-page{background:#ededed}.dito-root .dito-page>.dito-form,.dito-root .dito-page>.dito-view{margin-top:-42px;padding-top:42px}", ""]);
|
|
13456
13622
|
// Exports
|
|
13457
13623
|
module.exports = exports;
|
|
13458
13624
|
|
|
@@ -13525,13 +13691,13 @@ module.exports = fails(function () {
|
|
|
13525
13691
|
|
|
13526
13692
|
"use strict";
|
|
13527
13693
|
|
|
13694
|
+
var aCallable = __webpack_require__("63d3");
|
|
13528
13695
|
var anObject = __webpack_require__("157c");
|
|
13529
|
-
var aFunction = __webpack_require__("8697");
|
|
13530
13696
|
|
|
13531
13697
|
// https://github.com/tc39/collection-methods
|
|
13532
13698
|
module.exports = function (/* ...elements */) {
|
|
13533
13699
|
var set = anObject(this);
|
|
13534
|
-
var adder =
|
|
13700
|
+
var adder = aCallable(set.add);
|
|
13535
13701
|
for (var k = 0, len = arguments.length; k < len; k++) {
|
|
13536
13702
|
adder.call(set, arguments[k]);
|
|
13537
13703
|
}
|
|
@@ -13539,18 +13705,6 @@ module.exports = function (/* ...elements */) {
|
|
|
13539
13705
|
};
|
|
13540
13706
|
|
|
13541
13707
|
|
|
13542
|
-
/***/ }),
|
|
13543
|
-
|
|
13544
|
-
/***/ "8697":
|
|
13545
|
-
/***/ (function(module, exports) {
|
|
13546
|
-
|
|
13547
|
-
module.exports = function (it) {
|
|
13548
|
-
if (typeof it != 'function') {
|
|
13549
|
-
throw TypeError(String(it) + ' is not a function');
|
|
13550
|
-
} return it;
|
|
13551
|
-
};
|
|
13552
|
-
|
|
13553
|
-
|
|
13554
13708
|
/***/ }),
|
|
13555
13709
|
|
|
13556
13710
|
/***/ "8b0f":
|
|
@@ -13596,7 +13750,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__8bbf__;
|
|
|
13596
13750
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("3c10");
|
|
13597
13751
|
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
13598
13752
|
// Module
|
|
13599
|
-
exports.push([module.i, ".dito-schema{-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:flex;min-height:100%}.dito-schema>.dito-schema-content{-webkit-box-flex:1;flex:1 1 100%;display:grid;grid-template-rows:-webkit-min-content;grid-template-rows:min-content;max-width:900px;padding:16px}.dito-schema>.dito-schema-content>:only-child{grid-row-end:none}.dito-schema>.dito-buttons,.dito-schema>.dito-panels{-webkit-box-flex:1;flex:1 1 0%}.dito-schema>.dito-buttons{margin-left:6px}.dito-schema>.dito-panels{padding:16px 16px 16px 0}.dito-schema .dito-
|
|
13753
|
+
exports.push([module.i, ".dito-schema{-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:flex;min-height:100%}.dito-schema>.dito-schema-content{-webkit-box-flex:1;flex:1 1 100%;display:grid;grid-template-rows:-webkit-min-content;grid-template-rows:min-content;max-width:900px;padding:16px}.dito-schema>.dito-schema-content>:only-child{grid-row-end:none}.dito-schema>.dito-buttons,.dito-schema>.dito-panels{-webkit-box-flex:1;flex:1 1 0%}.dito-schema>.dito-buttons{margin-left:6px}.dito-schema>.dito-panels{padding:16px 16px 16px 0}.dito-schema .dito-pane-tab+.dito-pane-main:before{display:block;content:\"\";width:100%;border-bottom:1px solid #c7c7c7;margin:16px 3px 3px}.dito-schema-header{display:-webkit-box;display:flex;-webkit-box-pack:justify;justify-content:space-between}.dito-schema-header .dito-clipboard,.dito-schema-header .dito-tabs{display:-webkit-box;display:flex;align-self:flex-end}.dito-schema-header .dito-clipboard:only-child{margin-left:auto}.dito-schema-header .dito-clipboard .dito-button{margin:0 0 6px 6px}.dito-schema-header.dito-schema-menu-header{position:absolute;height:42px;padding:0 16px;max-width:900px;top:0;left:0;right:0;z-index:1000;pointer-events:none}.dito-schema-header.dito-schema-menu-header .dito-buttons,.dito-schema-header.dito-schema-menu-header .dito-tabs{pointer-events:auto;line-height:1;font-size:14px}.dito-schema-header button.dito-label{width:100%;z-index:1}", ""]);
|
|
13600
13754
|
// Exports
|
|
13601
13755
|
module.exports = exports;
|
|
13602
13756
|
|
|
@@ -13610,8 +13764,8 @@ module.exports = exports;
|
|
|
13610
13764
|
|
|
13611
13765
|
var $ = __webpack_require__("6b1d");
|
|
13612
13766
|
var IS_PURE = __webpack_require__("0e93");
|
|
13767
|
+
var aCallable = __webpack_require__("63d3");
|
|
13613
13768
|
var anObject = __webpack_require__("157c");
|
|
13614
|
-
var aFunction = __webpack_require__("8697");
|
|
13615
13769
|
var getSetIterator = __webpack_require__("bad4");
|
|
13616
13770
|
var iterate = __webpack_require__("b578");
|
|
13617
13771
|
|
|
@@ -13623,7 +13777,7 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
|
|
|
13623
13777
|
var iterator = getSetIterator(set);
|
|
13624
13778
|
var noInitial = arguments.length < 2;
|
|
13625
13779
|
var accumulator = noInitial ? undefined : arguments[1];
|
|
13626
|
-
|
|
13780
|
+
aCallable(callbackfn);
|
|
13627
13781
|
iterate(iterator, function (value) {
|
|
13628
13782
|
if (noInitial) {
|
|
13629
13783
|
noInitial = false;
|
|
@@ -13652,13 +13806,13 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__916c__;
|
|
|
13652
13806
|
|
|
13653
13807
|
"use strict";
|
|
13654
13808
|
|
|
13809
|
+
var aCallable = __webpack_require__("63d3");
|
|
13655
13810
|
var anObject = __webpack_require__("157c");
|
|
13656
|
-
var aFunction = __webpack_require__("8697");
|
|
13657
13811
|
|
|
13658
13812
|
// https://github.com/tc39/collection-methods
|
|
13659
13813
|
module.exports = function (/* ...elements */) {
|
|
13660
13814
|
var collection = anObject(this);
|
|
13661
|
-
var remover =
|
|
13815
|
+
var remover = aCallable(collection['delete']);
|
|
13662
13816
|
var allDeleted = true;
|
|
13663
13817
|
var wasDeleted;
|
|
13664
13818
|
for (var k = 0, len = arguments.length; k < len; k++) {
|
|
@@ -13711,6 +13865,20 @@ if(content.locals) module.exports = content.locals;
|
|
|
13711
13865
|
var add = __webpack_require__("0ed3").default
|
|
13712
13866
|
var update = add("6b539d46", content, true, {"sourceMap":false,"shadowMode":false});
|
|
13713
13867
|
|
|
13868
|
+
/***/ }),
|
|
13869
|
+
|
|
13870
|
+
/***/ "96c9":
|
|
13871
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
13872
|
+
|
|
13873
|
+
// Imports
|
|
13874
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("3c10");
|
|
13875
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
13876
|
+
// Module
|
|
13877
|
+
exports.push([module.i, ".dito-container{align-self:stretch;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100%;padding:6px 3px}.dito-container.dito-omit-padding,.dito-container:empty{padding:0}.dito-container.dito-omit-padding>.dito-label{margin:6px 3px 0}.dito-container.dito-single{height:100%}.dito-component.dito-width-fill{width:100%}.dito-component.dito-width-fill.dito-checkbox,.dito-component.dito-width-fill.dito-radio-button{display:inline-block;width:auto}", ""]);
|
|
13878
|
+
// Exports
|
|
13879
|
+
module.exports = exports;
|
|
13880
|
+
|
|
13881
|
+
|
|
13714
13882
|
/***/ }),
|
|
13715
13883
|
|
|
13716
13884
|
/***/ "9a0f":
|
|
@@ -13739,7 +13907,7 @@ module.exports = function (index, length) {
|
|
|
13739
13907
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("3c10");
|
|
13740
13908
|
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
13741
13909
|
// Module
|
|
13742
|
-
exports.push([module.i, ".dito-label{--label-padding:0;display:-webkit-box;display:flex;position:relative;-webkit-box-align:center;align-items:center;padding:var(--label-padding);margin:0 0 3px 0}.dito-label label{display:inline;cursor:inherit;font-weight:700;white-space:nowrap}.dito-label .dito-label-prefix:nth-last-child(2),.dito-label .dito-label-suffix:nth-last-child(2),.dito-label label:nth-last-child(2){-webkit-box-flex:1;flex:1 1 auto}.dito-label .dito-label-prefix:after,.dito-label .dito-label-suffix:after,.dito-label label:after{content:\" \"}.dito-label .dito-label-prefix,.dito-label .dito-label-suffix{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dito-label .dito-buttons{margin:calc(var(--label-padding)*-1);margin-left:0;padding:var(--label-padding)}.dito-label.dito-width-fill{width:100%}.dito-label.dito-width-fill label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;position:absolute;max-width:100%}.dito-label.dito-width-fill:after{content:\" \"}a.dito-label:hover .dito-chevron{color:#2e2e2e}a.dito-label:focus:not(:active):not(.dito-active) .dito-chevron{-webkit-text-stroke:1px #3898ff}.dito-schema-compact>.dito-schema-content>.dito-
|
|
13910
|
+
exports.push([module.i, ".dito-label{--label-padding:0;display:-webkit-box;display:flex;position:relative;-webkit-box-align:center;align-items:center;padding:var(--label-padding);margin:0 0 3px 0}.dito-label label{display:inline;cursor:inherit;font-weight:700;white-space:nowrap}.dito-label .dito-label-prefix:nth-last-child(2),.dito-label .dito-label-suffix:nth-last-child(2),.dito-label label:nth-last-child(2){-webkit-box-flex:1;flex:1 1 auto}.dito-label .dito-label-prefix:after,.dito-label .dito-label-suffix:after,.dito-label label:after{content:\" \"}.dito-label .dito-label-prefix,.dito-label .dito-label-suffix{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dito-label .dito-buttons{margin:calc(var(--label-padding)*-1);margin-left:0;padding:var(--label-padding)}.dito-label.dito-width-fill{width:100%}.dito-label.dito-width-fill label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;position:absolute;max-width:100%}.dito-label.dito-width-fill:after{content:\" \"}a.dito-label:hover .dito-chevron{color:#2e2e2e}a.dito-label:focus:not(:active):not(.dito-active) .dito-chevron{-webkit-text-stroke:1px #3898ff}.dito-schema-compact>.dito-schema-content>.dito-pane>.dito-container>.dito-label:not(.dito-label-component){display:inline-block}", ""]);
|
|
13743
13911
|
// Exports
|
|
13744
13912
|
module.exports = exports;
|
|
13745
13913
|
|
|
@@ -13753,8 +13921,8 @@ module.exports = exports;
|
|
|
13753
13921
|
|
|
13754
13922
|
var $ = __webpack_require__("6b1d");
|
|
13755
13923
|
var IS_PURE = __webpack_require__("0e93");
|
|
13924
|
+
var aCallable = __webpack_require__("63d3");
|
|
13756
13925
|
var anObject = __webpack_require__("157c");
|
|
13757
|
-
var aFunction = __webpack_require__("8697");
|
|
13758
13926
|
var iterate = __webpack_require__("b578");
|
|
13759
13927
|
|
|
13760
13928
|
// `Set.prototype.isSupersetOf` method
|
|
@@ -13762,7 +13930,7 @@ var iterate = __webpack_require__("b578");
|
|
|
13762
13930
|
$({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
|
|
13763
13931
|
isSupersetOf: function isSupersetOf(iterable) {
|
|
13764
13932
|
var set = anObject(this);
|
|
13765
|
-
var hasCheck =
|
|
13933
|
+
var hasCheck = aCallable(set.has);
|
|
13766
13934
|
return !iterate(iterable, function (value, stop) {
|
|
13767
13935
|
if (hasCheck.call(set, value) === false) return stop();
|
|
13768
13936
|
}, { INTERRUPTED: true }).stopped;
|
|
@@ -13907,7 +14075,7 @@ module.exports = exports;
|
|
|
13907
14075
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("3c10");
|
|
13908
14076
|
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
13909
14077
|
// Module
|
|
13910
|
-
exports.push([module.i, ".dito-schema-inlined>.dito-schema-content{padding:0}.dito-schema-inlined>.dito-schema-content>.dito-schema-header{margin:-6px}.dito-schema-inlined>.dito-schema-content>.dito-schema-header .dito-label{--label-padding:6px;margin:0;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:900px}.dito-schema-inlined>.dito-schema-content>.dito-schema-header+.dito-
|
|
14078
|
+
exports.push([module.i, ".dito-schema-inlined>.dito-schema-content{padding:0}.dito-schema-inlined>.dito-schema-content>.dito-schema-header{margin:-6px}.dito-schema-inlined>.dito-schema-content>.dito-schema-header .dito-label{--label-padding:6px;margin:0;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:900px}.dito-schema-inlined>.dito-schema-content>.dito-schema-header+.dito-pane{min-height:6px}", ""]);
|
|
13911
14079
|
// Exports
|
|
13912
14080
|
module.exports = exports;
|
|
13913
14081
|
|
|
@@ -13979,13 +14147,14 @@ module.exports = exports;
|
|
|
13979
14147
|
/***/ (function(module, exports, __webpack_require__) {
|
|
13980
14148
|
|
|
13981
14149
|
var anObject = __webpack_require__("157c");
|
|
14150
|
+
var getMethod = __webpack_require__("60de");
|
|
13982
14151
|
|
|
13983
14152
|
module.exports = function (iterator, kind, value) {
|
|
13984
14153
|
var innerResult, innerError;
|
|
13985
14154
|
anObject(iterator);
|
|
13986
14155
|
try {
|
|
13987
|
-
innerResult = iterator
|
|
13988
|
-
if (innerResult
|
|
14156
|
+
innerResult = getMethod(iterator, 'return');
|
|
14157
|
+
if (!innerResult) {
|
|
13989
14158
|
if (kind === 'throw') throw value;
|
|
13990
14159
|
return value;
|
|
13991
14160
|
}
|
|
@@ -14075,6 +14244,17 @@ if(content.locals) module.exports = content.locals;
|
|
|
14075
14244
|
var add = __webpack_require__("0ed3").default
|
|
14076
14245
|
var update = add("8165a1ee", content, true, {"sourceMap":false,"shadowMode":false});
|
|
14077
14246
|
|
|
14247
|
+
/***/ }),
|
|
14248
|
+
|
|
14249
|
+
/***/ "af1e":
|
|
14250
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
14251
|
+
|
|
14252
|
+
"use strict";
|
|
14253
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DitoContainer_vue_vue_type_style_index_0_lang_sass___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("b86b");
|
|
14254
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DitoContainer_vue_vue_type_style_index_0_lang_sass___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DitoContainer_vue_vue_type_style_index_0_lang_sass___WEBPACK_IMPORTED_MODULE_0__);
|
|
14255
|
+
/* unused harmony reexport * */
|
|
14256
|
+
|
|
14257
|
+
|
|
14078
14258
|
/***/ }),
|
|
14079
14259
|
|
|
14080
14260
|
/***/ "af74":
|
|
@@ -14180,7 +14360,7 @@ module.exports = function (iterable, unboundFunction, options) {
|
|
|
14180
14360
|
var iterator, iterFn, index, length, result, next, step;
|
|
14181
14361
|
|
|
14182
14362
|
var stop = function (condition) {
|
|
14183
|
-
if (iterator) iteratorClose(iterator, '
|
|
14363
|
+
if (iterator) iteratorClose(iterator, 'normal', condition);
|
|
14184
14364
|
return new Result(true, condition);
|
|
14185
14365
|
};
|
|
14186
14366
|
|
|
@@ -14195,7 +14375,7 @@ module.exports = function (iterable, unboundFunction, options) {
|
|
|
14195
14375
|
iterator = iterable;
|
|
14196
14376
|
} else {
|
|
14197
14377
|
iterFn = getIteratorMethod(iterable);
|
|
14198
|
-
if (
|
|
14378
|
+
if (!iterFn) throw TypeError(String(iterable) + ' is not iterable');
|
|
14199
14379
|
// optimisation for array iterators
|
|
14200
14380
|
if (isArrayIteratorMethod(iterFn)) {
|
|
14201
14381
|
for (index = 0, length = toLength(iterable.length); length > index; index++) {
|
|
@@ -14218,22 +14398,6 @@ module.exports = function (iterable, unboundFunction, options) {
|
|
|
14218
14398
|
};
|
|
14219
14399
|
|
|
14220
14400
|
|
|
14221
|
-
/***/ }),
|
|
14222
|
-
|
|
14223
|
-
/***/ "b5a7":
|
|
14224
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
14225
|
-
|
|
14226
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
14227
|
-
|
|
14228
|
-
// load the styles
|
|
14229
|
-
var content = __webpack_require__("caca");
|
|
14230
|
-
if(content.__esModule) content = content.default;
|
|
14231
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
14232
|
-
if(content.locals) module.exports = content.locals;
|
|
14233
|
-
// add the styles to the DOM
|
|
14234
|
-
var add = __webpack_require__("0ed3").default
|
|
14235
|
-
var update = add("04d07bde", content, true, {"sourceMap":false,"shadowMode":false});
|
|
14236
|
-
|
|
14237
14401
|
/***/ }),
|
|
14238
14402
|
|
|
14239
14403
|
/***/ "b5c9":
|
|
@@ -14244,8 +14408,9 @@ var update = add("04d07bde", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
14244
14408
|
var $ = __webpack_require__("6b1d");
|
|
14245
14409
|
var IS_PURE = __webpack_require__("0e93");
|
|
14246
14410
|
var getBuiltIn = __webpack_require__("5428");
|
|
14411
|
+
var aCallable = __webpack_require__("63d3");
|
|
14412
|
+
var isCallable = __webpack_require__("3ce8");
|
|
14247
14413
|
var anObject = __webpack_require__("157c");
|
|
14248
|
-
var aFunction = __webpack_require__("8697");
|
|
14249
14414
|
var getIterator = __webpack_require__("3f5a");
|
|
14250
14415
|
var iterate = __webpack_require__("b578");
|
|
14251
14416
|
|
|
@@ -14256,9 +14421,9 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
|
|
|
14256
14421
|
var iterator = getIterator(this);
|
|
14257
14422
|
var otherSet = anObject(iterable);
|
|
14258
14423
|
var hasCheck = otherSet.has;
|
|
14259
|
-
if (
|
|
14424
|
+
if (!isCallable(hasCheck)) {
|
|
14260
14425
|
otherSet = new (getBuiltIn('Set'))(iterable);
|
|
14261
|
-
hasCheck =
|
|
14426
|
+
hasCheck = aCallable(otherSet.has);
|
|
14262
14427
|
}
|
|
14263
14428
|
return !iterate(iterator, function (value, stop) {
|
|
14264
14429
|
if (hasCheck.call(otherSet, value) === false) return stop();
|
|
@@ -14288,17 +14453,35 @@ module.exports = function (target, source) {
|
|
|
14288
14453
|
};
|
|
14289
14454
|
|
|
14290
14455
|
|
|
14456
|
+
/***/ }),
|
|
14457
|
+
|
|
14458
|
+
/***/ "b86b":
|
|
14459
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
14460
|
+
|
|
14461
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
14462
|
+
|
|
14463
|
+
// load the styles
|
|
14464
|
+
var content = __webpack_require__("96c9");
|
|
14465
|
+
if(content.__esModule) content = content.default;
|
|
14466
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
14467
|
+
if(content.locals) module.exports = content.locals;
|
|
14468
|
+
// add the styles to the DOM
|
|
14469
|
+
var add = __webpack_require__("0ed3").default
|
|
14470
|
+
var update = add("394516cc", content, true, {"sourceMap":false,"shadowMode":false});
|
|
14471
|
+
|
|
14291
14472
|
/***/ }),
|
|
14292
14473
|
|
|
14293
14474
|
/***/ "b8ba":
|
|
14294
14475
|
/***/ (function(module, exports, __webpack_require__) {
|
|
14295
14476
|
|
|
14296
14477
|
var global = __webpack_require__("f498");
|
|
14297
|
-
var
|
|
14478
|
+
var isCallable = __webpack_require__("3ce8");
|
|
14298
14479
|
var has = __webpack_require__("f1a7");
|
|
14480
|
+
var createNonEnumerableProperty = __webpack_require__("5b12");
|
|
14299
14481
|
var setGlobal = __webpack_require__("3e34");
|
|
14300
14482
|
var inspectSource = __webpack_require__("df6f");
|
|
14301
14483
|
var InternalStateModule = __webpack_require__("cdcd");
|
|
14484
|
+
var CONFIGURABLE_FUNCTION_NAME = __webpack_require__("d331").CONFIGURABLE;
|
|
14302
14485
|
|
|
14303
14486
|
var getInternalState = InternalStateModule.get;
|
|
14304
14487
|
var enforceInternalState = InternalStateModule.enforce;
|
|
@@ -14308,14 +14491,18 @@ var TEMPLATE = String(String).split('String');
|
|
|
14308
14491
|
var unsafe = options ? !!options.unsafe : false;
|
|
14309
14492
|
var simple = options ? !!options.enumerable : false;
|
|
14310
14493
|
var noTargetGet = options ? !!options.noTargetGet : false;
|
|
14494
|
+
var name = options && options.name !== undefined ? options.name : key;
|
|
14311
14495
|
var state;
|
|
14312
|
-
if (
|
|
14313
|
-
if (
|
|
14314
|
-
|
|
14496
|
+
if (isCallable(value)) {
|
|
14497
|
+
if (String(name).slice(0, 7) === 'Symbol(') {
|
|
14498
|
+
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
14499
|
+
}
|
|
14500
|
+
if (!has(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
14501
|
+
createNonEnumerableProperty(value, 'name', name);
|
|
14315
14502
|
}
|
|
14316
14503
|
state = enforceInternalState(value);
|
|
14317
14504
|
if (!state.source) {
|
|
14318
|
-
state.source = TEMPLATE.join(typeof
|
|
14505
|
+
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
14319
14506
|
}
|
|
14320
14507
|
}
|
|
14321
14508
|
if (O === global) {
|
|
@@ -14331,7 +14518,7 @@ var TEMPLATE = String(String).split('String');
|
|
|
14331
14518
|
else createNonEnumerableProperty(O, key, value);
|
|
14332
14519
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
14333
14520
|
})(Function.prototype, 'toString', function toString() {
|
|
14334
|
-
return
|
|
14521
|
+
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
|
14335
14522
|
});
|
|
14336
14523
|
|
|
14337
14524
|
|
|
@@ -14345,8 +14532,8 @@ var TEMPLATE = String(String).split('String');
|
|
|
14345
14532
|
var $ = __webpack_require__("6b1d");
|
|
14346
14533
|
var IS_PURE = __webpack_require__("0e93");
|
|
14347
14534
|
var getBuiltIn = __webpack_require__("5428");
|
|
14535
|
+
var aCallable = __webpack_require__("63d3");
|
|
14348
14536
|
var anObject = __webpack_require__("157c");
|
|
14349
|
-
var aFunction = __webpack_require__("8697");
|
|
14350
14537
|
var speciesConstructor = __webpack_require__("433a");
|
|
14351
14538
|
var iterate = __webpack_require__("b578");
|
|
14352
14539
|
|
|
@@ -14356,7 +14543,7 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
|
|
|
14356
14543
|
union: function union(iterable) {
|
|
14357
14544
|
var set = anObject(this);
|
|
14358
14545
|
var newSet = new (speciesConstructor(set, getBuiltIn('Set')))(set);
|
|
14359
|
-
iterate(iterable,
|
|
14546
|
+
iterate(iterable, aCallable(newSet.add), { that: newSet });
|
|
14360
14547
|
return newSet;
|
|
14361
14548
|
}
|
|
14362
14549
|
});
|
|
@@ -14409,6 +14596,54 @@ module.exports = function (it) {
|
|
|
14409
14596
|
};
|
|
14410
14597
|
|
|
14411
14598
|
|
|
14599
|
+
/***/ }),
|
|
14600
|
+
|
|
14601
|
+
/***/ "c42f":
|
|
14602
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
14603
|
+
|
|
14604
|
+
var fails = __webpack_require__("72df");
|
|
14605
|
+
var isCallable = __webpack_require__("3ce8");
|
|
14606
|
+
var classof = __webpack_require__("da06");
|
|
14607
|
+
var getBuiltIn = __webpack_require__("5428");
|
|
14608
|
+
var inspectSource = __webpack_require__("df6f");
|
|
14609
|
+
|
|
14610
|
+
var empty = [];
|
|
14611
|
+
var construct = getBuiltIn('Reflect', 'construct');
|
|
14612
|
+
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
14613
|
+
var exec = constructorRegExp.exec;
|
|
14614
|
+
var INCORRECT_TO_STRING = !constructorRegExp.exec(function () { /* empty */ });
|
|
14615
|
+
|
|
14616
|
+
var isConstructorModern = function (argument) {
|
|
14617
|
+
if (!isCallable(argument)) return false;
|
|
14618
|
+
try {
|
|
14619
|
+
construct(Object, empty, argument);
|
|
14620
|
+
return true;
|
|
14621
|
+
} catch (error) {
|
|
14622
|
+
return false;
|
|
14623
|
+
}
|
|
14624
|
+
};
|
|
14625
|
+
|
|
14626
|
+
var isConstructorLegacy = function (argument) {
|
|
14627
|
+
if (!isCallable(argument)) return false;
|
|
14628
|
+
switch (classof(argument)) {
|
|
14629
|
+
case 'AsyncFunction':
|
|
14630
|
+
case 'GeneratorFunction':
|
|
14631
|
+
case 'AsyncGeneratorFunction': return false;
|
|
14632
|
+
// we can't check .prototype since constructors produced by .bind haven't it
|
|
14633
|
+
} return INCORRECT_TO_STRING || !!exec.call(constructorRegExp, inspectSource(argument));
|
|
14634
|
+
};
|
|
14635
|
+
|
|
14636
|
+
// `IsConstructor` abstract operation
|
|
14637
|
+
// https://tc39.es/ecma262/#sec-isconstructor
|
|
14638
|
+
module.exports = !construct || fails(function () {
|
|
14639
|
+
var called;
|
|
14640
|
+
return isConstructorModern(isConstructorModern.call)
|
|
14641
|
+
|| !isConstructorModern(Object)
|
|
14642
|
+
|| !isConstructorModern(function () { called = true; })
|
|
14643
|
+
|| called;
|
|
14644
|
+
}) ? isConstructorLegacy : isConstructorModern;
|
|
14645
|
+
|
|
14646
|
+
|
|
14412
14647
|
/***/ }),
|
|
14413
14648
|
|
|
14414
14649
|
/***/ "c4c0":
|
|
@@ -14445,6 +14680,22 @@ var store = global[SHARED] || setGlobal(SHARED, {});
|
|
|
14445
14680
|
module.exports = store;
|
|
14446
14681
|
|
|
14447
14682
|
|
|
14683
|
+
/***/ }),
|
|
14684
|
+
|
|
14685
|
+
/***/ "c6b2":
|
|
14686
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
14687
|
+
|
|
14688
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
14689
|
+
|
|
14690
|
+
// load the styles
|
|
14691
|
+
var content = __webpack_require__("79e6");
|
|
14692
|
+
if(content.__esModule) content = content.default;
|
|
14693
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
14694
|
+
if(content.locals) module.exports = content.locals;
|
|
14695
|
+
// add the styles to the DOM
|
|
14696
|
+
var add = __webpack_require__("0ed3").default
|
|
14697
|
+
var update = add("28556a1e", content, true, {"sourceMap":false,"shadowMode":false});
|
|
14698
|
+
|
|
14448
14699
|
/***/ }),
|
|
14449
14700
|
|
|
14450
14701
|
/***/ "c8e8":
|
|
@@ -14493,20 +14744,6 @@ module.exports = function (it) {
|
|
|
14493
14744
|
};
|
|
14494
14745
|
|
|
14495
14746
|
|
|
14496
|
-
/***/ }),
|
|
14497
|
-
|
|
14498
|
-
/***/ "caca":
|
|
14499
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
14500
|
-
|
|
14501
|
-
// Imports
|
|
14502
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("3c10");
|
|
14503
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
14504
|
-
// Module
|
|
14505
|
-
exports.push([module.i, ".dito-component-container{align-self:stretch;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100%;padding:6px 3px}.dito-component-container.dito-omit-padding,.dito-component-container:empty{padding:0}.dito-component-container.dito-omit-padding>.dito-label{margin:6px 3px 0}.dito-component-container.dito-single{height:100%}.dito-component.dito-width-fill{width:100%}.dito-component.dito-width-fill.dito-checkbox,.dito-component.dito-width-fill.dito-radio-button{display:inline-block;width:auto}", ""]);
|
|
14506
|
-
// Exports
|
|
14507
|
-
module.exports = exports;
|
|
14508
|
-
|
|
14509
|
-
|
|
14510
14747
|
/***/ }),
|
|
14511
14748
|
|
|
14512
14749
|
/***/ "cd5a":
|
|
@@ -14623,6 +14860,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_cebe__;
|
|
|
14623
14860
|
/***/ "cfd1":
|
|
14624
14861
|
/***/ (function(module, exports, __webpack_require__) {
|
|
14625
14862
|
|
|
14863
|
+
var isCallable = __webpack_require__("3ce8");
|
|
14626
14864
|
var getBuiltIn = __webpack_require__("5428");
|
|
14627
14865
|
var USE_SYMBOL_AS_UID = __webpack_require__("4db4");
|
|
14628
14866
|
|
|
@@ -14630,7 +14868,7 @@ module.exports = USE_SYMBOL_AS_UID ? function (it) {
|
|
|
14630
14868
|
return typeof it == 'symbol';
|
|
14631
14869
|
} : function (it) {
|
|
14632
14870
|
var $Symbol = getBuiltIn('Symbol');
|
|
14633
|
-
return
|
|
14871
|
+
return isCallable($Symbol) && Object(it) instanceof $Symbol;
|
|
14634
14872
|
};
|
|
14635
14873
|
|
|
14636
14874
|
|
|
@@ -14688,6 +14926,30 @@ if(content.locals) module.exports = content.locals;
|
|
|
14688
14926
|
var add = __webpack_require__("0ed3").default
|
|
14689
14927
|
var update = add("785eaf5b", content, true, {"sourceMap":false,"shadowMode":false});
|
|
14690
14928
|
|
|
14929
|
+
/***/ }),
|
|
14930
|
+
|
|
14931
|
+
/***/ "d331":
|
|
14932
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
14933
|
+
|
|
14934
|
+
var DESCRIPTORS = __webpack_require__("d4cb");
|
|
14935
|
+
var has = __webpack_require__("f1a7");
|
|
14936
|
+
|
|
14937
|
+
var FunctionPrototype = Function.prototype;
|
|
14938
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
14939
|
+
var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
|
|
14940
|
+
|
|
14941
|
+
var EXISTS = has(FunctionPrototype, 'name');
|
|
14942
|
+
// additional protection from minified / mangled / dropped function names
|
|
14943
|
+
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
14944
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
14945
|
+
|
|
14946
|
+
module.exports = {
|
|
14947
|
+
EXISTS: EXISTS,
|
|
14948
|
+
PROPER: PROPER,
|
|
14949
|
+
CONFIGURABLE: CONFIGURABLE
|
|
14950
|
+
};
|
|
14951
|
+
|
|
14952
|
+
|
|
14691
14953
|
/***/ }),
|
|
14692
14954
|
|
|
14693
14955
|
/***/ "d4b0":
|
|
@@ -14746,6 +15008,7 @@ module.exports = {};
|
|
|
14746
15008
|
/***/ (function(module, exports, __webpack_require__) {
|
|
14747
15009
|
|
|
14748
15010
|
var TO_STRING_TAG_SUPPORT = __webpack_require__("3cec");
|
|
15011
|
+
var isCallable = __webpack_require__("3ce8");
|
|
14749
15012
|
var classofRaw = __webpack_require__("6a61");
|
|
14750
15013
|
var wellKnownSymbol = __webpack_require__("7d53");
|
|
14751
15014
|
|
|
@@ -14769,7 +15032,7 @@ module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
|
14769
15032
|
// builtinTag case
|
|
14770
15033
|
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
14771
15034
|
// ES3 arguments fallback
|
|
14772
|
-
: (result = classofRaw(O)) == 'Object' &&
|
|
15035
|
+
: (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
|
|
14773
15036
|
};
|
|
14774
15037
|
|
|
14775
15038
|
|
|
@@ -14814,17 +15077,6 @@ module.exports = exports;
|
|
|
14814
15077
|
/* unused harmony reexport * */
|
|
14815
15078
|
|
|
14816
15079
|
|
|
14817
|
-
/***/ }),
|
|
14818
|
-
|
|
14819
|
-
/***/ "dda4":
|
|
14820
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
14821
|
-
|
|
14822
|
-
"use strict";
|
|
14823
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DitoComponents_vue_vue_type_style_index_0_lang_sass___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("de0d");
|
|
14824
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DitoComponents_vue_vue_type_style_index_0_lang_sass___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_vue_cli_service_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DitoComponents_vue_vue_type_style_index_0_lang_sass___WEBPACK_IMPORTED_MODULE_0__);
|
|
14825
|
-
/* unused harmony reexport * */
|
|
14826
|
-
|
|
14827
|
-
|
|
14828
15080
|
/***/ }),
|
|
14829
15081
|
|
|
14830
15082
|
/***/ "ddef":
|
|
@@ -14835,8 +15087,8 @@ module.exports = exports;
|
|
|
14835
15087
|
var $ = __webpack_require__("6b1d");
|
|
14836
15088
|
var IS_PURE = __webpack_require__("0e93");
|
|
14837
15089
|
var getBuiltIn = __webpack_require__("5428");
|
|
15090
|
+
var aCallable = __webpack_require__("63d3");
|
|
14838
15091
|
var anObject = __webpack_require__("157c");
|
|
14839
|
-
var aFunction = __webpack_require__("8697");
|
|
14840
15092
|
var bind = __webpack_require__("2117");
|
|
14841
15093
|
var speciesConstructor = __webpack_require__("433a");
|
|
14842
15094
|
var getSetIterator = __webpack_require__("bad4");
|
|
@@ -14850,7 +15102,7 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
|
|
|
14850
15102
|
var iterator = getSetIterator(set);
|
|
14851
15103
|
var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);
|
|
14852
15104
|
var newSet = new (speciesConstructor(set, getBuiltIn('Set')))();
|
|
14853
|
-
var adder =
|
|
15105
|
+
var adder = aCallable(newSet.add);
|
|
14854
15106
|
iterate(iterator, function (value) {
|
|
14855
15107
|
adder.call(newSet, boundFunction(value, value, set));
|
|
14856
15108
|
}, { IS_ITERATOR: true });
|
|
@@ -14859,33 +15111,18 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
|
|
|
14859
15111
|
});
|
|
14860
15112
|
|
|
14861
15113
|
|
|
14862
|
-
/***/ }),
|
|
14863
|
-
|
|
14864
|
-
/***/ "de0d":
|
|
14865
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
14866
|
-
|
|
14867
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
14868
|
-
|
|
14869
|
-
// load the styles
|
|
14870
|
-
var content = __webpack_require__("e13f");
|
|
14871
|
-
if(content.__esModule) content = content.default;
|
|
14872
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
14873
|
-
if(content.locals) module.exports = content.locals;
|
|
14874
|
-
// add the styles to the DOM
|
|
14875
|
-
var add = __webpack_require__("0ed3").default
|
|
14876
|
-
var update = add("3787e91e", content, true, {"sourceMap":false,"shadowMode":false});
|
|
14877
|
-
|
|
14878
15114
|
/***/ }),
|
|
14879
15115
|
|
|
14880
15116
|
/***/ "df6f":
|
|
14881
15117
|
/***/ (function(module, exports, __webpack_require__) {
|
|
14882
15118
|
|
|
15119
|
+
var isCallable = __webpack_require__("3ce8");
|
|
14883
15120
|
var store = __webpack_require__("c607");
|
|
14884
15121
|
|
|
14885
15122
|
var functionToString = Function.toString;
|
|
14886
15123
|
|
|
14887
15124
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
14888
|
-
if (
|
|
15125
|
+
if (!isCallable(store.inspectSource)) {
|
|
14889
15126
|
store.inspectSource = function (it) {
|
|
14890
15127
|
return functionToString.call(it);
|
|
14891
15128
|
};
|
|
@@ -14944,20 +15181,6 @@ exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
|
14944
15181
|
} : $propertyIsEnumerable;
|
|
14945
15182
|
|
|
14946
15183
|
|
|
14947
|
-
/***/ }),
|
|
14948
|
-
|
|
14949
|
-
/***/ "e13f":
|
|
14950
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
14951
|
-
|
|
14952
|
-
// Imports
|
|
14953
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("3c10");
|
|
14954
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
14955
|
-
// Module
|
|
14956
|
-
exports.push([module.i, ".dito-components{display:-webkit-box;display:flex;position:relative;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-flow:row wrap;align-content:flex-start;-webkit-box-align:baseline;align-items:baseline;margin:-6px -3px;max-width:906px;-webkit-box-flex:0%;flex:0%}.dito-components.dito-components-main{-webkit-box-flex:100%;flex:100%}.dito-schema-header:not(.dito-schema-menu-header)+.dito-components{margin-top:0}.dito-component-container.dito-omit-padding>.dito-components{margin:0;max-width:unset}.dito-components .dito-break{-webkit-box-flex:100%;flex:100%;height:0}", ""]);
|
|
14957
|
-
// Exports
|
|
14958
|
-
module.exports = exports;
|
|
14959
|
-
|
|
14960
|
-
|
|
14961
15184
|
/***/ }),
|
|
14962
15185
|
|
|
14963
15186
|
/***/ "e18a":
|
|
@@ -15073,15 +15296,16 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
|
|
|
15073
15296
|
/***/ "eba0":
|
|
15074
15297
|
/***/ (function(module, exports, __webpack_require__) {
|
|
15075
15298
|
|
|
15299
|
+
var isCallable = __webpack_require__("3ce8");
|
|
15076
15300
|
var isObject = __webpack_require__("7526");
|
|
15077
15301
|
|
|
15078
15302
|
// `OrdinaryToPrimitive` abstract operation
|
|
15079
15303
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
15080
15304
|
module.exports = function (input, pref) {
|
|
15081
15305
|
var fn, val;
|
|
15082
|
-
if (pref === 'string' &&
|
|
15083
|
-
if (
|
|
15084
|
-
if (pref !== 'string' &&
|
|
15306
|
+
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = fn.call(input))) return val;
|
|
15307
|
+
if (isCallable(fn = input.valueOf) && !isObject(val = fn.call(input))) return val;
|
|
15308
|
+
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = fn.call(input))) return val;
|
|
15085
15309
|
throw TypeError("Can't convert object to primitive value");
|
|
15086
15310
|
};
|
|
15087
15311
|
|
|
@@ -15092,6 +15316,7 @@ module.exports = function (input, pref) {
|
|
|
15092
15316
|
/***/ (function(module, exports, __webpack_require__) {
|
|
15093
15317
|
|
|
15094
15318
|
var fails = __webpack_require__("72df");
|
|
15319
|
+
var isCallable = __webpack_require__("3ce8");
|
|
15095
15320
|
|
|
15096
15321
|
var replacement = /#|\.prototype\./;
|
|
15097
15322
|
|
|
@@ -15099,7 +15324,7 @@ var isForced = function (feature, detection) {
|
|
|
15099
15324
|
var value = data[normalize(feature)];
|
|
15100
15325
|
return value == POLYFILL ? true
|
|
15101
15326
|
: value == NATIVE ? false
|
|
15102
|
-
:
|
|
15327
|
+
: isCallable(detection) ? fails(detection)
|
|
15103
15328
|
: !!detection;
|
|
15104
15329
|
};
|
|
15105
15330
|
|
|
@@ -15253,7 +15478,7 @@ module.exports =
|
|
|
15253
15478
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("3c10");
|
|
15254
15479
|
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
15255
15480
|
// Module
|
|
15256
|
-
exports.push([module.i, ".dito-panel{margin-bottom:16px}.dito-panel .dito-panel-title{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;padding:3px 6px;background:#e0e0e0;border:1px solid #c7c7c7;border-top-left-radius:4px;border-top-right-radius:4px}.dito-panel .dito-panel-schema{font-size:11px;background:#ededed;border:1px solid #c7c7c7;border-top:0;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.dito-panel .dito-panel-schema>.dito-schema-content{padding:3px 6px}.dito-panel .dito-panel-schema>.dito-schema-content>.dito-buttons{--button-margin:6px;padding:3px 0}.dito-panel .dito-panel-schema .dito-object{border:0;padding:0}.dito-panel .dito-panel-schema .dito-label{margin:0}.dito-panel .dito-panel-schema .dito-label label{font-weight:400}.dito-panel .dito-panel-schema .dito-
|
|
15481
|
+
exports.push([module.i, ".dito-panel{margin-bottom:16px}.dito-panel .dito-panel-title{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;padding:3px 6px;background:#e0e0e0;border:1px solid #c7c7c7;border-top-left-radius:4px;border-top-right-radius:4px}.dito-panel .dito-panel-schema{font-size:11px;background:#ededed;border:1px solid #c7c7c7;border-top:0;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.dito-panel .dito-panel-schema>.dito-schema-content{padding:3px 6px}.dito-panel .dito-panel-schema>.dito-schema-content>.dito-buttons{--button-margin:6px;padding:3px 0}.dito-panel .dito-panel-schema .dito-object{border:0;padding:0}.dito-panel .dito-panel-schema .dito-label{margin:0}.dito-panel .dito-panel-schema .dito-label label{font-weight:400}.dito-panel .dito-panel-schema .dito-pane{margin:0 -3px}.dito-panel .dito-panel-schema .dito-container{padding:3px}", ""]);
|
|
15257
15482
|
// Exports
|
|
15258
15483
|
module.exports = exports;
|
|
15259
15484
|
|