@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
|
@@ -87,6 +87,21 @@ module.exports =
|
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
+
/***/ "004f":
|
|
91
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
92
|
+
|
|
93
|
+
var isConstructor = __webpack_require__("c42f");
|
|
94
|
+
var tryToString = __webpack_require__("4912");
|
|
95
|
+
|
|
96
|
+
// `Assert: IsConstructor(argument) is true`
|
|
97
|
+
module.exports = function (argument) {
|
|
98
|
+
if (isConstructor(argument)) return argument;
|
|
99
|
+
throw TypeError(tryToString(argument) + ' is not a constructor');
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
/***/ }),
|
|
104
|
+
|
|
90
105
|
/***/ "03e2":
|
|
91
106
|
/***/ (function(module, exports, __webpack_require__) {
|
|
92
107
|
|
|
@@ -107,14 +122,15 @@ var update = add("41e3412c", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
107
122
|
/***/ (function(module, exports, __webpack_require__) {
|
|
108
123
|
|
|
109
124
|
var classof = __webpack_require__("da06");
|
|
125
|
+
var getMethod = __webpack_require__("60de");
|
|
110
126
|
var Iterators = __webpack_require__("5bb7");
|
|
111
127
|
var wellKnownSymbol = __webpack_require__("7d53");
|
|
112
128
|
|
|
113
129
|
var ITERATOR = wellKnownSymbol('iterator');
|
|
114
130
|
|
|
115
131
|
module.exports = function (it) {
|
|
116
|
-
if (it != undefined) return it
|
|
117
|
-
|| it
|
|
132
|
+
if (it != undefined) return getMethod(it, ITERATOR)
|
|
133
|
+
|| getMethod(it, '@@iterator')
|
|
118
134
|
|| Iterators[classof(it)];
|
|
119
135
|
};
|
|
120
136
|
|
|
@@ -140,6 +156,7 @@ module.exports = exports;
|
|
|
140
156
|
|
|
141
157
|
var isObject = __webpack_require__("7526");
|
|
142
158
|
var isSymbol = __webpack_require__("cfd1");
|
|
159
|
+
var getMethod = __webpack_require__("60de");
|
|
143
160
|
var ordinaryToPrimitive = __webpack_require__("eba0");
|
|
144
161
|
var wellKnownSymbol = __webpack_require__("7d53");
|
|
145
162
|
|
|
@@ -149,9 +166,9 @@ var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
|
|
149
166
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
150
167
|
module.exports = function (input, pref) {
|
|
151
168
|
if (!isObject(input) || isSymbol(input)) return input;
|
|
152
|
-
var exoticToPrim = input
|
|
169
|
+
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
|
153
170
|
var result;
|
|
154
|
-
if (exoticToPrim
|
|
171
|
+
if (exoticToPrim) {
|
|
155
172
|
if (pref === undefined) pref = 'default';
|
|
156
173
|
result = exoticToPrim.call(input, pref);
|
|
157
174
|
if (!isObject(result) || isSymbol(result)) return result;
|
|
@@ -507,10 +524,10 @@ module.exports = exports;
|
|
|
507
524
|
|
|
508
525
|
var isObject = __webpack_require__("7526");
|
|
509
526
|
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
527
|
+
// `Assert: Type(argument) is Object`
|
|
528
|
+
module.exports = function (argument) {
|
|
529
|
+
if (isObject(argument)) return argument;
|
|
530
|
+
throw TypeError(String(argument) + ' is not an object');
|
|
514
531
|
};
|
|
515
532
|
|
|
516
533
|
|
|
@@ -617,8 +634,8 @@ var update = add("2f466bb2", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
617
634
|
var $ = __webpack_require__("6b1d");
|
|
618
635
|
var IS_PURE = __webpack_require__("0e93");
|
|
619
636
|
var getBuiltIn = __webpack_require__("5428");
|
|
637
|
+
var aCallable = __webpack_require__("63d3");
|
|
620
638
|
var anObject = __webpack_require__("157c");
|
|
621
|
-
var aFunction = __webpack_require__("8697");
|
|
622
639
|
var speciesConstructor = __webpack_require__("433a");
|
|
623
640
|
var iterate = __webpack_require__("b578");
|
|
624
641
|
|
|
@@ -628,7 +645,7 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
|
|
|
628
645
|
difference: function difference(iterable) {
|
|
629
646
|
var set = anObject(this);
|
|
630
647
|
var newSet = new (speciesConstructor(set, getBuiltIn('Set')))(set);
|
|
631
|
-
var remover =
|
|
648
|
+
var remover = aCallable(newSet['delete']);
|
|
632
649
|
iterate(iterable, function (value) {
|
|
633
650
|
remover.call(newSet, value);
|
|
634
651
|
});
|
|
@@ -698,7 +715,7 @@ var external_root_VueNotification_amd_vue_notification_commonjs_vue_notification
|
|
|
698
715
|
var external_root_Axios_amd_axios_commonjs_axios_commonjs2_axios_ = __webpack_require__("cebe");
|
|
699
716
|
var external_root_Axios_amd_axios_commonjs_axios_commonjs2_axios_default = /*#__PURE__*/__webpack_require__.n(external_root_Axios_amd_axios_commonjs_axios_commonjs2_axios_);
|
|
700
717
|
|
|
701
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
718
|
+
// 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&
|
|
702
719
|
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)}
|
|
703
720
|
var staticRenderFns = []
|
|
704
721
|
|
|
@@ -1309,7 +1326,7 @@ function deprecate(message) {
|
|
|
1309
1326
|
|
|
1310
1327
|
/* harmony default export */ var DitoMixin = ({
|
|
1311
1328
|
mixins: [EmitterMixin],
|
|
1312
|
-
inject: ['api', '$verbs', '$views', '$isPopulated', '$schemaComponent', '$routeComponent', '$dataComponent', '$sourceComponent', '$resourceComponent', '$dialogComponent', '$panelComponent'],
|
|
1329
|
+
inject: ['api', '$verbs', '$views', '$isPopulated', '$schemaComponent', '$routeComponent', '$dataComponent', '$sourceComponent', '$resourceComponent', '$dialogComponent', '$panelComponent', '$tabComponent'],
|
|
1313
1330
|
|
|
1314
1331
|
provide() {
|
|
1315
1332
|
return this.providesData ? {
|
|
@@ -1399,6 +1416,10 @@ function deprecate(message) {
|
|
|
1399
1416
|
return this.$panelComponent();
|
|
1400
1417
|
},
|
|
1401
1418
|
|
|
1419
|
+
tabComponent() {
|
|
1420
|
+
return this.$tabComponent();
|
|
1421
|
+
},
|
|
1422
|
+
|
|
1402
1423
|
parentSchemaComponent() {
|
|
1403
1424
|
var _this$schemaComponent;
|
|
1404
1425
|
|
|
@@ -1746,7 +1767,7 @@ function deprecate(message) {
|
|
|
1746
1767
|
|
|
1747
1768
|
const addEvent = (key, event, callback) => {
|
|
1748
1769
|
if (Object(utils_["isFunction"])(callback)) {
|
|
1749
|
-
this.on(event, callback);
|
|
1770
|
+
this.on(Object(utils_["hyphenate"])(event), callback);
|
|
1750
1771
|
} else {
|
|
1751
1772
|
console.error(`Invalid event definition: ${key}: ${callback}`);
|
|
1752
1773
|
}
|
|
@@ -1760,7 +1781,7 @@ function deprecate(message) {
|
|
|
1760
1781
|
|
|
1761
1782
|
for (const [key, value] of Object.entries(this.schema)) {
|
|
1762
1783
|
if (/^on[A-Z]/.test(key)) {
|
|
1763
|
-
addEvent(key,
|
|
1784
|
+
addEvent(key, key.slice(2), value);
|
|
1764
1785
|
}
|
|
1765
1786
|
}
|
|
1766
1787
|
},
|
|
@@ -1787,6 +1808,10 @@ function deprecate(message) {
|
|
|
1787
1808
|
|
|
1788
1809
|
return res;
|
|
1789
1810
|
}
|
|
1811
|
+
},
|
|
1812
|
+
|
|
1813
|
+
emitSchemaEvent(event, params) {
|
|
1814
|
+
return this.schemaComponent.emitEvent(event, params);
|
|
1790
1815
|
}
|
|
1791
1816
|
|
|
1792
1817
|
}
|
|
@@ -2066,6 +2091,7 @@ function getStoreAccessor(name, {
|
|
|
2066
2091
|
if (value === undefined && def !== undefined) {
|
|
2067
2092
|
value = Object(utils_["isFunction"])(def) ? def.call(this, this.context) : def;
|
|
2068
2093
|
this[name] = value;
|
|
2094
|
+
this.getStore(name);
|
|
2069
2095
|
}
|
|
2070
2096
|
|
|
2071
2097
|
return get ? get.call(this, value) : value;
|
|
@@ -2775,16 +2801,17 @@ function getSourceType(schemaOrType) {
|
|
|
2775
2801
|
|
|
2776
2802
|
return (_getTypeOptions$getSo = (_getTypeOptions6 = getTypeOptions(schemaOrType)) == null ? void 0 : _getTypeOptions6.getSourceType == null ? void 0 : _getTypeOptions6.getSourceType(getType(schemaOrType))) != null ? _getTypeOptions$getSo : null;
|
|
2777
2803
|
}
|
|
2778
|
-
function getPanelSchema(schema, dataPath) {
|
|
2804
|
+
function getPanelSchema(schema, dataPath, tabComponent) {
|
|
2779
2805
|
return schema ? {
|
|
2780
2806
|
schema,
|
|
2781
|
-
dataPath: schema.name ? appendDataPath(dataPath, schema.name) : dataPath
|
|
2807
|
+
dataPath: schema.name ? appendDataPath(dataPath, schema.name) : dataPath,
|
|
2808
|
+
tabComponent
|
|
2782
2809
|
} : null;
|
|
2783
2810
|
}
|
|
2784
|
-
function getPanelSchemas(schemas, dataPath, panels = []) {
|
|
2811
|
+
function getPanelSchemas(schemas, dataPath, tabComponent, panels = []) {
|
|
2785
2812
|
if (schemas) {
|
|
2786
2813
|
for (const [key, schema] of Object.entries(schemas)) {
|
|
2787
|
-
const panel = getPanelSchema(schema, appendDataPath(dataPath, key));
|
|
2814
|
+
const panel = getPanelSchema(schema, appendDataPath(dataPath, key), tabComponent);
|
|
2788
2815
|
|
|
2789
2816
|
if (panel) {
|
|
2790
2817
|
panels.push(panel);
|
|
@@ -2794,12 +2821,12 @@ function getPanelSchemas(schemas, dataPath, panels = []) {
|
|
|
2794
2821
|
|
|
2795
2822
|
return panels;
|
|
2796
2823
|
}
|
|
2797
|
-
function getAllPanelSchemas(schema, dataPath, schemaComponent = null) {
|
|
2824
|
+
function getAllPanelSchemas(schema, dataPath, schemaComponent = null, tabComponent = null) {
|
|
2798
2825
|
var _getTypeOptions7;
|
|
2799
2826
|
|
|
2800
2827
|
const panel = (_getTypeOptions7 = getTypeOptions(schema)) == null ? void 0 : _getTypeOptions7.getPanelSchema == null ? void 0 : _getTypeOptions7.getPanelSchema(schema, dataPath, schemaComponent);
|
|
2801
|
-
const panels = panel ? [getPanelSchema(panel, dataPath)] : [];
|
|
2802
|
-
getPanelSchemas(schema.panels, dataPath, panels);
|
|
2828
|
+
const panels = panel ? [getPanelSchema(panel, dataPath, tabComponent)] : [];
|
|
2829
|
+
getPanelSchemas(schema.panels, dataPath, tabComponent, panels);
|
|
2803
2830
|
return panels;
|
|
2804
2831
|
}
|
|
2805
2832
|
function isObjectSource(schemaOrType) {
|
|
@@ -2824,7 +2851,6 @@ function getItemUid(sourceSchema, item) {
|
|
|
2824
2851
|
|
|
2825
2852
|
/* harmony default export */ var TypeMixin = ({
|
|
2826
2853
|
mixins: [ValidationMixin],
|
|
2827
|
-
inject: ['tabComponent'],
|
|
2828
2854
|
props: {
|
|
2829
2855
|
schema: {
|
|
2830
2856
|
type: Object,
|
|
@@ -3005,12 +3031,18 @@ function getItemUid(sourceSchema, item) {
|
|
|
3005
3031
|
},
|
|
3006
3032
|
|
|
3007
3033
|
listeners() {
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3034
|
+
const listeners = this.getListeners();
|
|
3035
|
+
const {
|
|
3036
|
+
events = {}
|
|
3037
|
+
} = this.schema;
|
|
3038
|
+
|
|
3039
|
+
if (events) {
|
|
3040
|
+
for (const event of Object.keys(events)) {
|
|
3041
|
+
listeners[event] || (listeners[event] = () => this.emitEvent(event));
|
|
3042
|
+
}
|
|
3043
|
+
}
|
|
3044
|
+
|
|
3045
|
+
return listeners;
|
|
3014
3046
|
},
|
|
3015
3047
|
|
|
3016
3048
|
validations() {
|
|
@@ -3061,30 +3093,43 @@ function getItemUid(sourceSchema, item) {
|
|
|
3061
3093
|
}
|
|
3062
3094
|
},
|
|
3063
3095
|
|
|
3096
|
+
getListeners() {
|
|
3097
|
+
return {
|
|
3098
|
+
focus: this.onFocus,
|
|
3099
|
+
blur: this.onBlur,
|
|
3100
|
+
input: this.onInput,
|
|
3101
|
+
change: this.onChange
|
|
3102
|
+
};
|
|
3103
|
+
},
|
|
3104
|
+
|
|
3064
3105
|
getValidations() {
|
|
3065
3106
|
return null;
|
|
3066
3107
|
},
|
|
3067
3108
|
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
this.schemaComponent.focus();
|
|
3072
|
-
(_this$tabComponent = this.tabComponent) == null ? void 0 : _this$tabComponent.focus();
|
|
3073
|
-
const [focus] = Object(utils_["asArray"])(this.$refs.element);
|
|
3109
|
+
focusElement() {
|
|
3110
|
+
const [element] = Object(utils_["asArray"])(this.$refs.element);
|
|
3074
3111
|
|
|
3075
|
-
if (
|
|
3112
|
+
if (element) {
|
|
3076
3113
|
this.$nextTick(() => {
|
|
3077
|
-
|
|
3114
|
+
element.focus();
|
|
3078
3115
|
|
|
3079
3116
|
if (this.disabled) {
|
|
3080
3117
|
var _scrollIntoView, _ref;
|
|
3081
3118
|
|
|
3082
|
-
(_scrollIntoView = (_ref =
|
|
3119
|
+
(_scrollIntoView = (_ref = element.$el || element).scrollIntoView) == null ? void 0 : _scrollIntoView.call(_ref);
|
|
3083
3120
|
}
|
|
3084
3121
|
});
|
|
3085
3122
|
}
|
|
3086
3123
|
},
|
|
3087
3124
|
|
|
3125
|
+
focus() {
|
|
3126
|
+
var _this$tabComponent;
|
|
3127
|
+
|
|
3128
|
+
this.schemaComponent.focus();
|
|
3129
|
+
(_this$tabComponent = this.tabComponent) == null ? void 0 : _this$tabComponent.focus();
|
|
3130
|
+
this.focusElement();
|
|
3131
|
+
},
|
|
3132
|
+
|
|
3088
3133
|
clear() {
|
|
3089
3134
|
this.value = null;
|
|
3090
3135
|
this.onChange();
|
|
@@ -3181,7 +3226,7 @@ class DitoUser {
|
|
|
3181
3226
|
}
|
|
3182
3227
|
|
|
3183
3228
|
}
|
|
3184
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3229
|
+
// 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&
|
|
3185
3230
|
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()}
|
|
3186
3231
|
var DitoViewvue_type_template_id_3a484d3a_lang_pug_staticRenderFns = []
|
|
3187
3232
|
|
|
@@ -3202,6 +3247,12 @@ var DitoViewvue_type_template_id_3a484d3a_lang_pug_staticRenderFns = []
|
|
|
3202
3247
|
};
|
|
3203
3248
|
},
|
|
3204
3249
|
|
|
3250
|
+
computed: {
|
|
3251
|
+
mainSchemaComponent() {
|
|
3252
|
+
return this.schemaComponents[0];
|
|
3253
|
+
}
|
|
3254
|
+
|
|
3255
|
+
},
|
|
3205
3256
|
methods: {
|
|
3206
3257
|
_registerSchemaComponent(schemaComponent, add) {
|
|
3207
3258
|
const {
|
|
@@ -3222,10 +3273,6 @@ var DitoViewvue_type_template_id_3a484d3a_lang_pug_staticRenderFns = []
|
|
|
3222
3273
|
/* harmony default export */ var ValidatorMixin = ({
|
|
3223
3274
|
mixins: [SchemaParentMixin],
|
|
3224
3275
|
computed: {
|
|
3225
|
-
mainSchemaComponent() {
|
|
3226
|
-
return this.schemaComponents[0];
|
|
3227
|
-
},
|
|
3228
|
-
|
|
3229
3276
|
errors() {
|
|
3230
3277
|
return this.schemaComponents.reduce((result, {
|
|
3231
3278
|
errors
|
|
@@ -3947,7 +3994,7 @@ var DitoRoot_component = normalizeComponent(
|
|
|
3947
3994
|
)
|
|
3948
3995
|
|
|
3949
3996
|
/* harmony default export */ var DitoRoot = (DitoRoot_component.exports);
|
|
3950
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3997
|
+
// 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&
|
|
3951
3998
|
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)])}
|
|
3952
3999
|
var DitoMenuvue_type_template_id_5514b8a4_lang_pug_staticRenderFns = []
|
|
3953
4000
|
|
|
@@ -3983,14 +4030,14 @@ var DitoMenu_component = normalizeComponent(
|
|
|
3983
4030
|
)
|
|
3984
4031
|
|
|
3985
4032
|
/* harmony default export */ var DitoMenu = (DitoMenu_component.exports);
|
|
3986
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4033
|
+
// 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&
|
|
3987
4034
|
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)}
|
|
3988
4035
|
var DitoHeadervue_type_template_id_575544cb_lang_pug_staticRenderFns = []
|
|
3989
4036
|
|
|
3990
4037
|
|
|
3991
4038
|
// CONCATENATED MODULE: ./src/components/DitoHeader.vue?vue&type=template&id=575544cb&lang=pug&
|
|
3992
4039
|
|
|
3993
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4040
|
+
// 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&
|
|
3994
4041
|
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])})])}
|
|
3995
4042
|
var PulseLoadervue_type_template_id_7dc0198c_staticRenderFns = []
|
|
3996
4043
|
|
|
@@ -4155,12 +4202,12 @@ var DitoHeader_component = normalizeComponent(
|
|
|
4155
4202
|
)
|
|
4156
4203
|
|
|
4157
4204
|
/* harmony default export */ var DitoHeader = (DitoHeader_component.exports);
|
|
4158
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4159
|
-
var
|
|
4160
|
-
var
|
|
4205
|
+
// 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&
|
|
4206
|
+
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)])}
|
|
4207
|
+
var DitoAccountvue_type_template_id_65587a0e_lang_pug_staticRenderFns = []
|
|
4161
4208
|
|
|
4162
4209
|
|
|
4163
|
-
// CONCATENATED MODULE: ./src/components/DitoAccount.vue?vue&type=template&id=
|
|
4210
|
+
// CONCATENATED MODULE: ./src/components/DitoAccount.vue?vue&type=template&id=65587a0e&lang=pug&
|
|
4164
4211
|
|
|
4165
4212
|
// CONCATENATED MODULE: ./src/mixins/PulldownMixin.js
|
|
4166
4213
|
|
|
@@ -4274,8 +4321,8 @@ var DitoAccountvue_type_style_index_0_lang_sass_ = __webpack_require__("c4c0");
|
|
|
4274
4321
|
|
|
4275
4322
|
var DitoAccount_component = normalizeComponent(
|
|
4276
4323
|
components_DitoAccountvue_type_script_lang_js_,
|
|
4277
|
-
|
|
4278
|
-
|
|
4324
|
+
DitoAccountvue_type_template_id_65587a0e_lang_pug_render,
|
|
4325
|
+
DitoAccountvue_type_template_id_65587a0e_lang_pug_staticRenderFns,
|
|
4279
4326
|
false,
|
|
4280
4327
|
null,
|
|
4281
4328
|
null,
|
|
@@ -4284,7 +4331,7 @@ var DitoAccount_component = normalizeComponent(
|
|
|
4284
4331
|
)
|
|
4285
4332
|
|
|
4286
4333
|
/* harmony default export */ var DitoAccount = (DitoAccount_component.exports);
|
|
4287
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4334
|
+
// 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&
|
|
4288
4335
|
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)}
|
|
4289
4336
|
var DitoDialogvue_type_template_id_fd5319de_lang_pug_staticRenderFns = []
|
|
4290
4337
|
|
|
@@ -4449,7 +4496,7 @@ var DitoDialog_component = normalizeComponent(
|
|
|
4449
4496
|
)
|
|
4450
4497
|
|
|
4451
4498
|
/* harmony default export */ var DitoDialog = (DitoDialog_component.exports);
|
|
4452
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4499
|
+
// 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&
|
|
4453
4500
|
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()}
|
|
4454
4501
|
var DitoElementvue_type_template_id_515c42dd_lang_pug_staticRenderFns = []
|
|
4455
4502
|
|
|
@@ -4527,12 +4574,12 @@ var DitoElement_component = normalizeComponent(
|
|
|
4527
4574
|
)
|
|
4528
4575
|
|
|
4529
4576
|
/* harmony default export */ var DitoElement = (DitoElement_component.exports);
|
|
4530
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4531
|
-
var
|
|
4532
|
-
var
|
|
4577
|
+
// 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&
|
|
4578
|
+
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()}
|
|
4579
|
+
var DitoLabelvue_type_template_id_b4d751a0_lang_pug_staticRenderFns = []
|
|
4533
4580
|
|
|
4534
4581
|
|
|
4535
|
-
// CONCATENATED MODULE: ./src/components/DitoLabel.vue?vue&type=template&id=
|
|
4582
|
+
// CONCATENATED MODULE: ./src/components/DitoLabel.vue?vue&type=template&id=b4d751a0&lang=pug&
|
|
4536
4583
|
|
|
4537
4584
|
// 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&
|
|
4538
4585
|
|
|
@@ -4616,8 +4663,8 @@ var DitoLabelvue_type_style_index_0_lang_sass_ = __webpack_require__("75ca");
|
|
|
4616
4663
|
|
|
4617
4664
|
var DitoLabel_component = normalizeComponent(
|
|
4618
4665
|
components_DitoLabelvue_type_script_lang_js_,
|
|
4619
|
-
|
|
4620
|
-
|
|
4666
|
+
DitoLabelvue_type_template_id_b4d751a0_lang_pug_render,
|
|
4667
|
+
DitoLabelvue_type_template_id_b4d751a0_lang_pug_staticRenderFns,
|
|
4621
4668
|
false,
|
|
4622
4669
|
null,
|
|
4623
4670
|
null,
|
|
@@ -4626,12 +4673,12 @@ var DitoLabel_component = normalizeComponent(
|
|
|
4626
4673
|
)
|
|
4627
4674
|
|
|
4628
4675
|
/* harmony default export */ var DitoLabel = (DitoLabel_component.exports);
|
|
4629
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4630
|
-
var
|
|
4631
|
-
var
|
|
4676
|
+
// 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&
|
|
4677
|
+
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)}
|
|
4678
|
+
var DitoSchemavue_type_template_id_4d545d2c_lang_pug_staticRenderFns = []
|
|
4632
4679
|
|
|
4633
4680
|
|
|
4634
|
-
// CONCATENATED MODULE: ./src/components/DitoSchema.vue?vue&type=template&id=
|
|
4681
|
+
// CONCATENATED MODULE: ./src/components/DitoSchema.vue?vue&type=template&id=4d545d2c&lang=pug&
|
|
4635
4682
|
|
|
4636
4683
|
// CONCATENATED MODULE: ./src/mixins/ItemMixin.js
|
|
4637
4684
|
|
|
@@ -4838,8 +4885,8 @@ var DitoSchemavue_type_template_id_063e4ec7_lang_pug_staticRenderFns = []
|
|
|
4838
4885
|
data
|
|
4839
4886
|
} = this.schema;
|
|
4840
4887
|
return { ...(data && Object(utils_["isFunction"])(data) ? data.call(this, this.context) : data),
|
|
4841
|
-
containersRegistry: {},
|
|
4842
4888
|
componentsRegistry: {},
|
|
4889
|
+
panesRegistry: {},
|
|
4843
4890
|
panelsRegistry: {}
|
|
4844
4891
|
};
|
|
4845
4892
|
},
|
|
@@ -4856,8 +4903,8 @@ var DitoSchemavue_type_template_id_063e4ec7_lang_pug_staticRenderFns = []
|
|
|
4856
4903
|
panelSchemas() {
|
|
4857
4904
|
const panels = getPanelSchemas(this.schema.panels, '');
|
|
4858
4905
|
|
|
4859
|
-
for (const
|
|
4860
|
-
panels.push(...
|
|
4906
|
+
for (const pane of this.panes) {
|
|
4907
|
+
panels.push(...pane.panelSchemas);
|
|
4861
4908
|
}
|
|
4862
4909
|
|
|
4863
4910
|
return panels;
|
|
@@ -4979,7 +5026,7 @@ var DitoSchemavue_type_template_id_063e4ec7_lang_pug_staticRenderFns = []
|
|
|
4979
5026
|
return !this.inlined && !!this.tabs;
|
|
4980
5027
|
},
|
|
4981
5028
|
|
|
4982
|
-
|
|
5029
|
+
hasMainPane() {
|
|
4983
5030
|
const {
|
|
4984
5031
|
components
|
|
4985
5032
|
} = this.schema;
|
|
@@ -4993,14 +5040,26 @@ var DitoSchemavue_type_template_id_063e4ec7_lang_pug_staticRenderFns = []
|
|
|
4993
5040
|
|
|
4994
5041
|
}),
|
|
4995
5042
|
|
|
4996
|
-
|
|
4997
|
-
return
|
|
5043
|
+
components() {
|
|
5044
|
+
return Object.values(this.componentsRegistry);
|
|
5045
|
+
},
|
|
5046
|
+
|
|
5047
|
+
panes() {
|
|
5048
|
+
return Object.values(this.panesRegistry);
|
|
5049
|
+
},
|
|
5050
|
+
|
|
5051
|
+
panels() {
|
|
5052
|
+
return Object.values(this.panelsRegistry);
|
|
4998
5053
|
},
|
|
4999
5054
|
|
|
5000
5055
|
componentsByDataPath() {
|
|
5001
5056
|
return this._listEntriesByDataPath(this.componentsRegistry);
|
|
5002
5057
|
},
|
|
5003
5058
|
|
|
5059
|
+
panesByDataPath() {
|
|
5060
|
+
return this._listEntriesByDataPath(this.panesRegistry);
|
|
5061
|
+
},
|
|
5062
|
+
|
|
5004
5063
|
panelsByDataPath() {
|
|
5005
5064
|
return this._listEntriesByDataPath(this.panelsRegistry);
|
|
5006
5065
|
}
|
|
@@ -5012,7 +5071,7 @@ var DitoSchemavue_type_template_id_063e4ec7_lang_pug_staticRenderFns = []
|
|
|
5012
5071
|
|
|
5013
5072
|
this.setupSchemaFields();
|
|
5014
5073
|
this.delegate('change', this.parentSchemaComponent);
|
|
5015
|
-
this.emitEvent('
|
|
5074
|
+
this.emitEvent('initialize');
|
|
5016
5075
|
},
|
|
5017
5076
|
|
|
5018
5077
|
beforeDestroy() {
|
|
@@ -5063,11 +5122,11 @@ var DitoSchemavue_type_template_id_063e4ec7_lang_pug_staticRenderFns = []
|
|
|
5063
5122
|
},
|
|
5064
5123
|
|
|
5065
5124
|
someComponent(callback) {
|
|
5066
|
-
return this.isPopulated &&
|
|
5125
|
+
return this.isPopulated && this.components.some(callback);
|
|
5067
5126
|
},
|
|
5068
5127
|
|
|
5069
5128
|
everyComponent(callback) {
|
|
5070
|
-
return this.isPopulated &&
|
|
5129
|
+
return this.isPopulated && this.components.every(callback);
|
|
5071
5130
|
},
|
|
5072
5131
|
|
|
5073
5132
|
onExpand(expand) {
|
|
@@ -5076,11 +5135,10 @@ var DitoSchemavue_type_template_id_063e4ec7_lang_pug_staticRenderFns = []
|
|
|
5076
5135
|
expand
|
|
5077
5136
|
}
|
|
5078
5137
|
});
|
|
5079
|
-
this.opened = expand;
|
|
5080
|
-
},
|
|
5081
5138
|
|
|
5082
|
-
|
|
5083
|
-
|
|
5139
|
+
if (!this.opened || expand || this.validateAll()) {
|
|
5140
|
+
this.opened = expand;
|
|
5141
|
+
}
|
|
5084
5142
|
},
|
|
5085
5143
|
|
|
5086
5144
|
onChange() {
|
|
@@ -5088,13 +5146,13 @@ var DitoSchemavue_type_template_id_063e4ec7_lang_pug_staticRenderFns = []
|
|
|
5088
5146
|
},
|
|
5089
5147
|
|
|
5090
5148
|
resetValidation() {
|
|
5091
|
-
for (const component of
|
|
5149
|
+
for (const component of this.components) {
|
|
5092
5150
|
component.resetValidation();
|
|
5093
5151
|
}
|
|
5094
5152
|
},
|
|
5095
5153
|
|
|
5096
5154
|
clearErrors() {
|
|
5097
|
-
for (const component of
|
|
5155
|
+
for (const component of this.components) {
|
|
5098
5156
|
component.clearErrors();
|
|
5099
5157
|
}
|
|
5100
5158
|
},
|
|
@@ -5151,7 +5209,7 @@ var DitoSchemavue_type_template_id_063e4ec7_lang_pug_staticRenderFns = []
|
|
|
5151
5209
|
return this.validateAll(match, false);
|
|
5152
5210
|
},
|
|
5153
5211
|
|
|
5154
|
-
showValidationErrors(errors, focus) {
|
|
5212
|
+
async showValidationErrors(errors, focus) {
|
|
5155
5213
|
this.clearErrors();
|
|
5156
5214
|
let first = true;
|
|
5157
5215
|
const unmatched = [];
|
|
@@ -5165,7 +5223,7 @@ var DitoSchemavue_type_template_id_063e4ec7_lang_pug_staticRenderFns = []
|
|
|
5165
5223
|
for (const component of components) {
|
|
5166
5224
|
if (component.showValidationErrors(errs, first && focus)) {
|
|
5167
5225
|
found = true;
|
|
5168
|
-
|
|
5226
|
+
first = false;
|
|
5169
5227
|
}
|
|
5170
5228
|
}
|
|
5171
5229
|
|
|
@@ -5176,17 +5234,20 @@ var DitoSchemavue_type_template_id_063e4ec7_lang_pug_staticRenderFns = []
|
|
|
5176
5234
|
const components = this.getComponentsByDataPath(dataPathParts);
|
|
5177
5235
|
|
|
5178
5236
|
for (const component of components) {
|
|
5179
|
-
if (component.navigateToComponent
|
|
5180
|
-
|
|
5181
|
-
|
|
5182
|
-
|
|
5183
|
-
|
|
5237
|
+
if (await (component.navigateToComponent == null ? void 0 : component.navigateToComponent(fullDataPath, subComponents => {
|
|
5238
|
+
let found = false;
|
|
5239
|
+
|
|
5240
|
+
for (const component of subComponents) {
|
|
5241
|
+
const errs = errors[component.dataPath];
|
|
5242
|
+
|
|
5243
|
+
if (errs && component.showValidationErrors(errs, first && focus)) {
|
|
5244
|
+
found = true;
|
|
5245
|
+
first = false;
|
|
5184
5246
|
}
|
|
5247
|
+
}
|
|
5185
5248
|
|
|
5186
|
-
|
|
5187
|
-
|
|
5188
|
-
subComponent.showValidationErrors(filteredErrors, true);
|
|
5189
|
-
})) {
|
|
5249
|
+
return found;
|
|
5250
|
+
}))) {
|
|
5190
5251
|
return;
|
|
5191
5252
|
}
|
|
5192
5253
|
}
|
|
@@ -5270,10 +5331,6 @@ var DitoSchemavue_type_template_id_063e4ec7_lang_pug_staticRenderFns = []
|
|
|
5270
5331
|
(_this$$schemaParentCo = this.$schemaParentComponent()) == null ? void 0 : _this$$schemaParentCo._registerSchemaComponent(this, add);
|
|
5271
5332
|
},
|
|
5272
5333
|
|
|
5273
|
-
_registerContainer(container, add) {
|
|
5274
|
-
this._registerEntry(this.containersRegistry, container, add);
|
|
5275
|
-
},
|
|
5276
|
-
|
|
5277
5334
|
_registerComponent(component, add) {
|
|
5278
5335
|
var _this$parentSchemaCom2;
|
|
5279
5336
|
|
|
@@ -5282,6 +5339,10 @@ var DitoSchemavue_type_template_id_063e4ec7_lang_pug_staticRenderFns = []
|
|
|
5282
5339
|
(_this$parentSchemaCom2 = this.parentSchemaComponent) == null ? void 0 : _this$parentSchemaCom2._registerComponent(component, add);
|
|
5283
5340
|
},
|
|
5284
5341
|
|
|
5342
|
+
_registerPane(pane, add) {
|
|
5343
|
+
this._registerEntry(this.panesRegistry, pane, add);
|
|
5344
|
+
},
|
|
5345
|
+
|
|
5285
5346
|
_registerPanel(panel, add) {
|
|
5286
5347
|
this._registerEntry(this.panelsRegistry, panel, add);
|
|
5287
5348
|
},
|
|
@@ -5341,8 +5402,8 @@ var DitoSchemavue_type_style_index_0_lang_sass_ = __webpack_require__("dd36");
|
|
|
5341
5402
|
|
|
5342
5403
|
var DitoSchema_component = normalizeComponent(
|
|
5343
5404
|
components_DitoSchemavue_type_script_lang_js_,
|
|
5344
|
-
|
|
5345
|
-
|
|
5405
|
+
DitoSchemavue_type_template_id_4d545d2c_lang_pug_render,
|
|
5406
|
+
DitoSchemavue_type_template_id_4d545d2c_lang_pug_staticRenderFns,
|
|
5346
5407
|
false,
|
|
5347
5408
|
null,
|
|
5348
5409
|
null,
|
|
@@ -5351,12 +5412,12 @@ var DitoSchema_component = normalizeComponent(
|
|
|
5351
5412
|
)
|
|
5352
5413
|
|
|
5353
5414
|
/* harmony default export */ var DitoSchema = (DitoSchema_component.exports);
|
|
5354
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5355
|
-
var
|
|
5356
|
-
var
|
|
5415
|
+
// 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&
|
|
5416
|
+
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}])})}
|
|
5417
|
+
var DitoSchemaInlinedvue_type_template_id_71e529ef_lang_pug_staticRenderFns = []
|
|
5357
5418
|
|
|
5358
5419
|
|
|
5359
|
-
// CONCATENATED MODULE: ./src/components/DitoSchemaInlined.vue?vue&type=template&id=
|
|
5420
|
+
// CONCATENATED MODULE: ./src/components/DitoSchemaInlined.vue?vue&type=template&id=71e529ef&lang=pug&
|
|
5360
5421
|
|
|
5361
5422
|
// 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&
|
|
5362
5423
|
|
|
@@ -5443,8 +5504,8 @@ var DitoSchemaInlinedvue_type_style_index_0_lang_sass_ = __webpack_require__("3c
|
|
|
5443
5504
|
|
|
5444
5505
|
var DitoSchemaInlined_component = normalizeComponent(
|
|
5445
5506
|
components_DitoSchemaInlinedvue_type_script_lang_js_,
|
|
5446
|
-
|
|
5447
|
-
|
|
5507
|
+
DitoSchemaInlinedvue_type_template_id_71e529ef_lang_pug_render,
|
|
5508
|
+
DitoSchemaInlinedvue_type_template_id_71e529ef_lang_pug_staticRenderFns,
|
|
5448
5509
|
false,
|
|
5449
5510
|
null,
|
|
5450
5511
|
null,
|
|
@@ -5453,27 +5514,27 @@ var DitoSchemaInlined_component = normalizeComponent(
|
|
|
5453
5514
|
)
|
|
5454
5515
|
|
|
5455
5516
|
/* harmony default export */ var DitoSchemaInlined = (DitoSchemaInlined_component.exports);
|
|
5456
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5457
|
-
var
|
|
5517
|
+
// 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&
|
|
5518
|
+
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){
|
|
5458
5519
|
var schema = ref.schema;
|
|
5459
5520
|
var dataPath = ref.dataPath;
|
|
5460
5521
|
var nestedDataPath = ref.nestedDataPath;
|
|
5461
5522
|
var nested = ref.nested;
|
|
5462
5523
|
var store = ref.store;
|
|
5463
|
-
return [(schema.break === 'before')?_c('div',{staticClass:"dito-break"}):_vm._e(),(_vm.shouldRender(schema))?_c('dito-
|
|
5464
|
-
var
|
|
5524
|
+
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()}
|
|
5525
|
+
var DitoPanevue_type_template_id_c1bdbb52_lang_pug_staticRenderFns = []
|
|
5465
5526
|
|
|
5466
5527
|
|
|
5467
|
-
// CONCATENATED MODULE: ./src/components/
|
|
5528
|
+
// CONCATENATED MODULE: ./src/components/DitoPane.vue?vue&type=template&id=c1bdbb52&lang=pug&
|
|
5468
5529
|
|
|
5469
|
-
// 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/
|
|
5530
|
+
// 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&
|
|
5470
5531
|
|
|
5471
5532
|
|
|
5472
5533
|
|
|
5473
|
-
/* harmony default export */ var
|
|
5534
|
+
/* harmony default export */ var DitoPanevue_type_script_lang_js_ = (src_DitoComponent.component('dito-pane', {
|
|
5474
5535
|
provide() {
|
|
5475
5536
|
return {
|
|
5476
|
-
tabComponent: this.tabComponent
|
|
5537
|
+
$tabComponent: () => this.tabComponent
|
|
5477
5538
|
};
|
|
5478
5539
|
},
|
|
5479
5540
|
|
|
@@ -5521,7 +5582,7 @@ var DitoComponentsvue_type_template_id_6278c7d8_lang_pug_staticRenderFns = []
|
|
|
5521
5582
|
},
|
|
5522
5583
|
computed: {
|
|
5523
5584
|
tabComponent() {
|
|
5524
|
-
return this.tab ? this :
|
|
5585
|
+
return this.tab ? this : this.$tabComponent();
|
|
5525
5586
|
},
|
|
5526
5587
|
|
|
5527
5588
|
componentSchemas() {
|
|
@@ -5543,18 +5604,10 @@ var DitoComponentsvue_type_template_id_6278c7d8_lang_pug_staticRenderFns = []
|
|
|
5543
5604
|
},
|
|
5544
5605
|
|
|
5545
5606
|
panelSchemas() {
|
|
5546
|
-
return this.componentSchemas.
|
|
5607
|
+
return this.componentSchemas.flatMap(({
|
|
5547
5608
|
schema,
|
|
5548
5609
|
nestedDataPath: dataPath
|
|
5549
|
-
}) =>
|
|
5550
|
-
for (const panel of getAllPanelSchemas(schema, dataPath, this.schemaComponent)) {
|
|
5551
|
-
schemas.push({ ...panel,
|
|
5552
|
-
tabComponent: this.tabComponent
|
|
5553
|
-
});
|
|
5554
|
-
}
|
|
5555
|
-
|
|
5556
|
-
return schemas;
|
|
5557
|
-
}, []);
|
|
5610
|
+
}) => getAllPanelSchemas(schema, dataPath, this.schemaComponent, this.tabComponent));
|
|
5558
5611
|
},
|
|
5559
5612
|
|
|
5560
5613
|
isSingleComponent() {
|
|
@@ -5573,7 +5626,7 @@ var DitoComponentsvue_type_template_id_6278c7d8_lang_pug_staticRenderFns = []
|
|
|
5573
5626
|
|
|
5574
5627
|
methods: {
|
|
5575
5628
|
_register(add) {
|
|
5576
|
-
this.schemaComponent.
|
|
5629
|
+
this.schemaComponent._registerPane(this, add);
|
|
5577
5630
|
},
|
|
5578
5631
|
|
|
5579
5632
|
focus() {
|
|
@@ -5586,12 +5639,12 @@ var DitoComponentsvue_type_template_id_6278c7d8_lang_pug_staticRenderFns = []
|
|
|
5586
5639
|
|
|
5587
5640
|
}
|
|
5588
5641
|
}));
|
|
5589
|
-
// CONCATENATED MODULE: ./src/components/
|
|
5590
|
-
/* harmony default export */ var
|
|
5591
|
-
// EXTERNAL MODULE: ./src/components/
|
|
5592
|
-
var
|
|
5642
|
+
// CONCATENATED MODULE: ./src/components/DitoPane.vue?vue&type=script&lang=js&
|
|
5643
|
+
/* harmony default export */ var components_DitoPanevue_type_script_lang_js_ = (DitoPanevue_type_script_lang_js_);
|
|
5644
|
+
// EXTERNAL MODULE: ./src/components/DitoPane.vue?vue&type=style&index=0&lang=sass&
|
|
5645
|
+
var DitoPanevue_type_style_index_0_lang_sass_ = __webpack_require__("6f72");
|
|
5593
5646
|
|
|
5594
|
-
// CONCATENATED MODULE: ./src/components/
|
|
5647
|
+
// CONCATENATED MODULE: ./src/components/DitoPane.vue
|
|
5595
5648
|
|
|
5596
5649
|
|
|
5597
5650
|
|
|
@@ -5600,10 +5653,10 @@ var DitoComponentsvue_type_style_index_0_lang_sass_ = __webpack_require__("dda4"
|
|
|
5600
5653
|
|
|
5601
5654
|
/* normalize component */
|
|
5602
5655
|
|
|
5603
|
-
var
|
|
5604
|
-
|
|
5605
|
-
|
|
5606
|
-
|
|
5656
|
+
var DitoPane_component = normalizeComponent(
|
|
5657
|
+
components_DitoPanevue_type_script_lang_js_,
|
|
5658
|
+
DitoPanevue_type_template_id_c1bdbb52_lang_pug_render,
|
|
5659
|
+
DitoPanevue_type_template_id_c1bdbb52_lang_pug_staticRenderFns,
|
|
5607
5660
|
false,
|
|
5608
5661
|
null,
|
|
5609
5662
|
null,
|
|
@@ -5611,25 +5664,38 @@ var DitoComponents_component = normalizeComponent(
|
|
|
5611
5664
|
|
|
5612
5665
|
)
|
|
5613
5666
|
|
|
5614
|
-
/* harmony default export */ var
|
|
5615
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5616
|
-
var
|
|
5617
|
-
var
|
|
5667
|
+
/* harmony default export */ var DitoPane = (DitoPane_component.exports);
|
|
5668
|
+
// 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&
|
|
5669
|
+
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)}
|
|
5670
|
+
var DitoContainervue_type_template_id_543910cb_lang_pug_staticRenderFns = []
|
|
5618
5671
|
|
|
5619
5672
|
|
|
5620
|
-
// CONCATENATED MODULE: ./src/components/
|
|
5673
|
+
// CONCATENATED MODULE: ./src/components/DitoContainer.vue?vue&type=template&id=543910cb&lang=pug&
|
|
5621
5674
|
|
|
5622
|
-
// CONCATENATED MODULE:
|
|
5675
|
+
// CONCATENATED MODULE: ./src/utils/math.js
|
|
5623
5676
|
|
|
5677
|
+
function parseFraction(value) {
|
|
5678
|
+
const match = Object(utils_["isString"])(value) && value.match(/^\s*([+-]?\d+)\s*\/\s*([+-]?\d+)\s*$/);
|
|
5624
5679
|
|
|
5625
|
-
|
|
5626
|
-
|
|
5627
|
-
|
|
5628
|
-
}
|
|
5680
|
+
if (match) {
|
|
5681
|
+
const [, dividend, divisor] = match;
|
|
5682
|
+
return parseFloat(dividend) / parseFloat(divisor);
|
|
5683
|
+
} else {
|
|
5684
|
+
return parseFloat(value);
|
|
5685
|
+
}
|
|
5686
|
+
}
|
|
5687
|
+
// 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&
|
|
5688
|
+
|
|
5689
|
+
|
|
5690
|
+
|
|
5691
|
+
|
|
5692
|
+
|
|
5693
|
+
|
|
5694
|
+
/* harmony default export */ var DitoContainervue_type_script_lang_js_ = (src_DitoComponent.component('dito-container', {
|
|
5629
5695
|
props: {
|
|
5630
|
-
|
|
5696
|
+
schema: {
|
|
5631
5697
|
type: Object,
|
|
5632
|
-
|
|
5698
|
+
required: true
|
|
5633
5699
|
},
|
|
5634
5700
|
dataPath: {
|
|
5635
5701
|
type: String,
|
|
@@ -5637,38 +5703,160 @@ var DitoButtonsvue_type_template_id_d62fc2d8_lang_pug_staticRenderFns = []
|
|
|
5637
5703
|
},
|
|
5638
5704
|
data: {
|
|
5639
5705
|
type: [Object, Array],
|
|
5640
|
-
|
|
5706
|
+
required: true
|
|
5641
5707
|
},
|
|
5642
5708
|
meta: {
|
|
5643
5709
|
type: Object,
|
|
5644
|
-
|
|
5710
|
+
required: true
|
|
5645
5711
|
},
|
|
5646
5712
|
store: {
|
|
5647
5713
|
type: Object,
|
|
5648
|
-
|
|
5714
|
+
required: true
|
|
5649
5715
|
},
|
|
5650
|
-
|
|
5716
|
+
single: {
|
|
5651
5717
|
type: Boolean,
|
|
5652
5718
|
default: false
|
|
5719
|
+
},
|
|
5720
|
+
nested: {
|
|
5721
|
+
type: Boolean,
|
|
5722
|
+
default: true
|
|
5723
|
+
},
|
|
5724
|
+
disabled: {
|
|
5725
|
+
type: Boolean,
|
|
5726
|
+
required: true
|
|
5727
|
+
},
|
|
5728
|
+
generateLabels: {
|
|
5729
|
+
type: Boolean,
|
|
5730
|
+
default: true
|
|
5653
5731
|
}
|
|
5654
5732
|
},
|
|
5733
|
+
|
|
5734
|
+
data() {
|
|
5735
|
+
return {
|
|
5736
|
+
errors: null
|
|
5737
|
+
};
|
|
5738
|
+
},
|
|
5739
|
+
|
|
5655
5740
|
computed: {
|
|
5656
|
-
|
|
5741
|
+
context() {
|
|
5742
|
+
return new DitoContext_DitoContext(this, {
|
|
5743
|
+
nested: this.nested
|
|
5744
|
+
});
|
|
5745
|
+
},
|
|
5746
|
+
|
|
5747
|
+
typeOptions() {
|
|
5748
|
+
return getTypeOptions(this.schema) || {};
|
|
5749
|
+
},
|
|
5750
|
+
|
|
5751
|
+
hasLabel() {
|
|
5657
5752
|
const {
|
|
5658
|
-
|
|
5659
|
-
buttons
|
|
5753
|
+
schema
|
|
5660
5754
|
} = this;
|
|
5661
|
-
|
|
5662
|
-
|
|
5663
|
-
|
|
5664
|
-
|
|
5755
|
+
const {
|
|
5756
|
+
label
|
|
5757
|
+
} = schema;
|
|
5758
|
+
return label !== false && (!!label || this.typeOptions.generateLabel && this.generateLabels);
|
|
5759
|
+
},
|
|
5760
|
+
|
|
5761
|
+
label() {
|
|
5762
|
+
return this.hasLabel ? this.getLabel(this.schema) : null;
|
|
5763
|
+
},
|
|
5764
|
+
|
|
5765
|
+
labelDataPath() {
|
|
5766
|
+
return this.nested ? this.dataPath : null;
|
|
5767
|
+
},
|
|
5768
|
+
|
|
5769
|
+
componentWidth: getSchemaAccessor('width', {
|
|
5770
|
+
type: [String, Number],
|
|
5771
|
+
|
|
5772
|
+
default() {
|
|
5773
|
+
return this.typeOptions.defaultWidth;
|
|
5774
|
+
},
|
|
5775
|
+
|
|
5776
|
+
get(width) {
|
|
5777
|
+
return width === undefined ? 1.0 : Object(utils_["isString"])(width) ? width.match(/^\s*[<>]?\s*(.*)$/)[1] : width;
|
|
5778
|
+
}
|
|
5779
|
+
|
|
5780
|
+
}),
|
|
5781
|
+
componentWidthOperator: getSchemaAccessor('width', {
|
|
5782
|
+
type: String,
|
|
5783
|
+
|
|
5784
|
+
get(width) {
|
|
5785
|
+
return Object(utils_["isString"])(width) ? width.match(/^\s*([<>]?)/)[1] || null : null;
|
|
5786
|
+
}
|
|
5787
|
+
|
|
5788
|
+
}),
|
|
5789
|
+
componentVisible: getSchemaAccessor('visible', {
|
|
5790
|
+
type: Boolean,
|
|
5791
|
+
|
|
5792
|
+
default() {
|
|
5793
|
+
return this.typeOptions.defaultVisible;
|
|
5794
|
+
}
|
|
5795
|
+
|
|
5796
|
+
}),
|
|
5797
|
+
componentDisabled: getSchemaAccessor('disabled', {
|
|
5798
|
+
type: Boolean,
|
|
5799
|
+
default: false,
|
|
5800
|
+
|
|
5801
|
+
get(disabled) {
|
|
5802
|
+
return disabled || this.disabled;
|
|
5803
|
+
}
|
|
5804
|
+
|
|
5805
|
+
}),
|
|
5806
|
+
|
|
5807
|
+
containerClass() {
|
|
5808
|
+
const {
|
|
5809
|
+
class: containerClass
|
|
5810
|
+
} = this.schema;
|
|
5811
|
+
return {
|
|
5812
|
+
'dito-single': this.single,
|
|
5813
|
+
'dito-omit-padding': shouldOmitPadding(this.schema),
|
|
5814
|
+
...(Object(utils_["isString"])(containerClass) ? {
|
|
5815
|
+
[containerClass]: true
|
|
5816
|
+
} : containerClass)
|
|
5817
|
+
};
|
|
5818
|
+
},
|
|
5819
|
+
|
|
5820
|
+
componentBasis() {
|
|
5821
|
+
const width = this.componentWidth;
|
|
5822
|
+
const basis = [null, 'auto', 'fill'].includes(width) ? 'auto' : /%$/.test(width) ? parseFloat(width) : /[a-z]/.test(width) ? width : parseFraction(width) * 100;
|
|
5823
|
+
return Object(utils_["isNumber"])(basis) ? `${basis}%` : basis;
|
|
5824
|
+
},
|
|
5825
|
+
|
|
5826
|
+
containerStyle() {
|
|
5827
|
+
const grow = this.componentWidthOperator === '>' || this.componentWidth === 'fill';
|
|
5828
|
+
const shrink = this.componentWidthOperator === '<';
|
|
5829
|
+
return {
|
|
5830
|
+
flex: `${grow ? 1 : 0} ${shrink ? 1 : 0} ${this.componentBasis}`
|
|
5831
|
+
};
|
|
5832
|
+
},
|
|
5833
|
+
|
|
5834
|
+
componentClass() {
|
|
5835
|
+
const basisIsAuto = this.componentBasis === 'auto';
|
|
5836
|
+
return {
|
|
5837
|
+
'dito-single': this.single,
|
|
5838
|
+
'dito-disabled': this.componentDisabled,
|
|
5839
|
+
'dito-width-fill': !basisIsAuto || this.componentWidth === 'fill',
|
|
5840
|
+
'dito-width-auto': basisIsAuto,
|
|
5841
|
+
'dito-has-errors': !!this.errors
|
|
5842
|
+
};
|
|
5843
|
+
}
|
|
5844
|
+
|
|
5845
|
+
},
|
|
5846
|
+
methods: {
|
|
5847
|
+
onErrors(errors) {
|
|
5848
|
+
this.errors = errors;
|
|
5665
5849
|
}
|
|
5666
5850
|
|
|
5667
5851
|
}
|
|
5668
5852
|
}));
|
|
5669
|
-
// CONCATENATED MODULE: ./src/components/
|
|
5670
|
-
/* harmony default export */ var
|
|
5671
|
-
//
|
|
5853
|
+
// CONCATENATED MODULE: ./src/components/DitoContainer.vue?vue&type=script&lang=js&
|
|
5854
|
+
/* harmony default export */ var components_DitoContainervue_type_script_lang_js_ = (DitoContainervue_type_script_lang_js_);
|
|
5855
|
+
// EXTERNAL MODULE: ./src/components/DitoContainer.vue?vue&type=style&index=0&lang=sass&
|
|
5856
|
+
var DitoContainervue_type_style_index_0_lang_sass_ = __webpack_require__("af1e");
|
|
5857
|
+
|
|
5858
|
+
// CONCATENATED MODULE: ./src/components/DitoContainer.vue
|
|
5859
|
+
|
|
5672
5860
|
|
|
5673
5861
|
|
|
5674
5862
|
|
|
@@ -5676,10 +5864,10 @@ var DitoButtonsvue_type_template_id_d62fc2d8_lang_pug_staticRenderFns = []
|
|
|
5676
5864
|
|
|
5677
5865
|
/* normalize component */
|
|
5678
5866
|
|
|
5679
|
-
var
|
|
5680
|
-
|
|
5681
|
-
|
|
5682
|
-
|
|
5867
|
+
var DitoContainer_component = normalizeComponent(
|
|
5868
|
+
components_DitoContainervue_type_script_lang_js_,
|
|
5869
|
+
DitoContainervue_type_template_id_543910cb_lang_pug_render,
|
|
5870
|
+
DitoContainervue_type_template_id_543910cb_lang_pug_staticRenderFns,
|
|
5683
5871
|
false,
|
|
5684
5872
|
null,
|
|
5685
5873
|
null,
|
|
@@ -5687,109 +5875,34 @@ var DitoButtons_component = normalizeComponent(
|
|
|
5687
5875
|
|
|
5688
5876
|
)
|
|
5689
5877
|
|
|
5690
|
-
/* harmony default export */ var
|
|
5691
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5692
|
-
var
|
|
5693
|
-
var
|
|
5694
|
-
|
|
5878
|
+
/* harmony default export */ var DitoContainer = (DitoContainer_component.exports);
|
|
5879
|
+
// 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&
|
|
5880
|
+
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)}
|
|
5881
|
+
var DitoTabsvue_type_template_id_16c31a87_lang_pug_staticRenderFns = []
|
|
5695
5882
|
|
|
5696
|
-
// CONCATENATED MODULE: ./src/components/DitoEditButtons.vue?vue&type=template&id=0b3ba536&lang=pug&
|
|
5697
5883
|
|
|
5698
|
-
// CONCATENATED MODULE:
|
|
5884
|
+
// CONCATENATED MODULE: ./src/components/DitoTabs.vue?vue&type=template&id=16c31a87&lang=pug&
|
|
5699
5885
|
|
|
5886
|
+
// 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&
|
|
5700
5887
|
|
|
5701
|
-
/* harmony default export */ var
|
|
5888
|
+
/* harmony default export */ var DitoTabsvue_type_script_lang_js_ = (src_DitoComponent.component('dito-tabs', {
|
|
5702
5889
|
props: {
|
|
5703
|
-
|
|
5704
|
-
type: Boolean,
|
|
5705
|
-
default: false
|
|
5706
|
-
},
|
|
5707
|
-
editable: {
|
|
5708
|
-
type: Boolean,
|
|
5709
|
-
default: false
|
|
5710
|
-
},
|
|
5711
|
-
creatable: {
|
|
5712
|
-
type: Boolean,
|
|
5713
|
-
default: false
|
|
5714
|
-
},
|
|
5715
|
-
deletable: {
|
|
5716
|
-
type: Boolean,
|
|
5717
|
-
default: false
|
|
5718
|
-
},
|
|
5719
|
-
editPath: {
|
|
5720
|
-
type: String,
|
|
5721
|
-
default: null
|
|
5722
|
-
},
|
|
5723
|
-
createPath: {
|
|
5724
|
-
type: String,
|
|
5725
|
-
default: null
|
|
5726
|
-
},
|
|
5727
|
-
buttons: {
|
|
5890
|
+
tabs: {
|
|
5728
5891
|
type: Object,
|
|
5729
5892
|
default: null
|
|
5730
5893
|
},
|
|
5731
|
-
|
|
5732
|
-
type: Object,
|
|
5733
|
-
required: true
|
|
5734
|
-
},
|
|
5735
|
-
dataPath: {
|
|
5894
|
+
selectedTab: {
|
|
5736
5895
|
type: String,
|
|
5737
|
-
required: true
|
|
5738
|
-
},
|
|
5739
|
-
data: {
|
|
5740
|
-
type: [Object, Array],
|
|
5741
5896
|
default: null
|
|
5742
|
-
},
|
|
5743
|
-
meta: {
|
|
5744
|
-
type: Object,
|
|
5745
|
-
required: true
|
|
5746
|
-
},
|
|
5747
|
-
store: {
|
|
5748
|
-
type: Object,
|
|
5749
|
-
required: true
|
|
5750
|
-
}
|
|
5751
|
-
},
|
|
5752
|
-
computed: {
|
|
5753
|
-
formLabel() {
|
|
5754
|
-
return this.getLabel(this.schema.form);
|
|
5755
|
-
},
|
|
5756
|
-
|
|
5757
|
-
isDraggable() {
|
|
5758
|
-
return this.hasOption('draggable');
|
|
5759
|
-
},
|
|
5760
|
-
|
|
5761
|
-
isEditable() {
|
|
5762
|
-
return this.hasOption('editable') && !!this.editPath;
|
|
5763
|
-
},
|
|
5764
|
-
|
|
5765
|
-
isCreatable() {
|
|
5766
|
-
return this.hasOption('creatable') && !!this.createPath;
|
|
5767
|
-
},
|
|
5768
|
-
|
|
5769
|
-
isDeletable() {
|
|
5770
|
-
return this.hasOption('deletable');
|
|
5771
|
-
},
|
|
5772
|
-
|
|
5773
|
-
createButtonText() {
|
|
5774
|
-
var _this$schema$creatabl;
|
|
5775
|
-
|
|
5776
|
-
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;
|
|
5777
5897
|
}
|
|
5778
|
-
|
|
5779
|
-
},
|
|
5780
|
-
methods: {
|
|
5781
|
-
hasOption(name) {
|
|
5782
|
-
return !!(this[name] && this.schema[name] !== false);
|
|
5783
|
-
}
|
|
5784
|
-
|
|
5785
5898
|
}
|
|
5786
5899
|
}));
|
|
5787
|
-
// CONCATENATED MODULE: ./src/components/
|
|
5788
|
-
/* harmony default export */ var
|
|
5789
|
-
// EXTERNAL MODULE: ./src/components/
|
|
5790
|
-
var
|
|
5900
|
+
// CONCATENATED MODULE: ./src/components/DitoTabs.vue?vue&type=script&lang=js&
|
|
5901
|
+
/* harmony default export */ var components_DitoTabsvue_type_script_lang_js_ = (DitoTabsvue_type_script_lang_js_);
|
|
5902
|
+
// EXTERNAL MODULE: ./src/components/DitoTabs.vue?vue&type=style&index=0&lang=sass&
|
|
5903
|
+
var DitoTabsvue_type_style_index_0_lang_sass_ = __webpack_require__("fb0b");
|
|
5791
5904
|
|
|
5792
|
-
// CONCATENATED MODULE: ./src/components/
|
|
5905
|
+
// CONCATENATED MODULE: ./src/components/DitoTabs.vue
|
|
5793
5906
|
|
|
5794
5907
|
|
|
5795
5908
|
|
|
@@ -5798,10 +5911,10 @@ var DitoEditButtonsvue_type_style_index_0_lang_sass_ = __webpack_require__("7f8e
|
|
|
5798
5911
|
|
|
5799
5912
|
/* normalize component */
|
|
5800
5913
|
|
|
5801
|
-
var
|
|
5802
|
-
|
|
5803
|
-
|
|
5804
|
-
|
|
5914
|
+
var DitoTabs_component = normalizeComponent(
|
|
5915
|
+
components_DitoTabsvue_type_script_lang_js_,
|
|
5916
|
+
DitoTabsvue_type_template_id_16c31a87_lang_pug_render,
|
|
5917
|
+
DitoTabsvue_type_template_id_16c31a87_lang_pug_staticRenderFns,
|
|
5805
5918
|
false,
|
|
5806
5919
|
null,
|
|
5807
5920
|
null,
|
|
@@ -5809,34 +5922,30 @@ var DitoEditButtons_component = normalizeComponent(
|
|
|
5809
5922
|
|
|
5810
5923
|
)
|
|
5811
5924
|
|
|
5812
|
-
/* harmony default export */ var
|
|
5813
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5814
|
-
var
|
|
5815
|
-
var
|
|
5816
|
-
|
|
5925
|
+
/* harmony default export */ var DitoTabs = (DitoTabs_component.exports);
|
|
5926
|
+
// 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&
|
|
5927
|
+
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)}
|
|
5928
|
+
var DitoPanelvue_type_template_id_40feea3b_lang_pug_staticRenderFns = []
|
|
5817
5929
|
|
|
5818
|
-
// CONCATENATED MODULE: ./src/components/DitoComponentContainer.vue?vue&type=template&id=406c48bc&lang=pug&
|
|
5819
5930
|
|
|
5820
|
-
// CONCATENATED MODULE: ./src/
|
|
5931
|
+
// CONCATENATED MODULE: ./src/components/DitoPanel.vue?vue&type=template&id=40feea3b&lang=pug&
|
|
5821
5932
|
|
|
5822
|
-
|
|
5823
|
-
const match = Object(utils_["isString"])(value) && value.match(/^\s*([+-]?\d+)\s*\/\s*([+-]?\d+)\s*$/);
|
|
5933
|
+
// 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&
|
|
5824
5934
|
|
|
5825
|
-
if (match) {
|
|
5826
|
-
const [, dividend, divisor] = match;
|
|
5827
|
-
return parseFloat(dividend) / parseFloat(divisor);
|
|
5828
|
-
} else {
|
|
5829
|
-
return parseFloat(value);
|
|
5830
|
-
}
|
|
5831
|
-
}
|
|
5832
|
-
// 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&
|
|
5833
5935
|
|
|
5834
5936
|
|
|
5835
5937
|
|
|
5836
5938
|
|
|
5939
|
+
/* harmony default export */ var DitoPanelvue_type_script_lang_js_ = (src_DitoComponent.component('dito-panel', {
|
|
5940
|
+
mixins: [ValidatorMixin],
|
|
5837
5941
|
|
|
5942
|
+
provide() {
|
|
5943
|
+
return {
|
|
5944
|
+
$panelComponent: () => this,
|
|
5945
|
+
$tabComponent: () => this.panelTabComponent
|
|
5946
|
+
};
|
|
5947
|
+
},
|
|
5838
5948
|
|
|
5839
|
-
/* harmony default export */ var DitoComponentContainervue_type_script_lang_js_ = (src_DitoComponent.component('dito-component-container', {
|
|
5840
5949
|
props: {
|
|
5841
5950
|
schema: {
|
|
5842
5951
|
type: Object,
|
|
@@ -5844,10 +5953,10 @@ function parseFraction(value) {
|
|
|
5844
5953
|
},
|
|
5845
5954
|
dataPath: {
|
|
5846
5955
|
type: String,
|
|
5847
|
-
|
|
5956
|
+
required: true
|
|
5848
5957
|
},
|
|
5849
5958
|
data: {
|
|
5850
|
-
type:
|
|
5959
|
+
type: Object,
|
|
5851
5960
|
required: true
|
|
5852
5961
|
},
|
|
5853
5962
|
meta: {
|
|
@@ -5858,150 +5967,102 @@ function parseFraction(value) {
|
|
|
5858
5967
|
type: Object,
|
|
5859
5968
|
required: true
|
|
5860
5969
|
},
|
|
5861
|
-
single: {
|
|
5862
|
-
type: Boolean,
|
|
5863
|
-
default: false
|
|
5864
|
-
},
|
|
5865
|
-
nested: {
|
|
5866
|
-
type: Boolean,
|
|
5867
|
-
default: true
|
|
5868
|
-
},
|
|
5869
5970
|
disabled: {
|
|
5870
5971
|
type: Boolean,
|
|
5871
5972
|
required: true
|
|
5872
5973
|
},
|
|
5873
|
-
|
|
5874
|
-
type:
|
|
5875
|
-
default:
|
|
5974
|
+
panelTabComponent: {
|
|
5975
|
+
type: src_DitoComponent,
|
|
5976
|
+
default: null
|
|
5876
5977
|
}
|
|
5877
5978
|
},
|
|
5878
5979
|
|
|
5879
5980
|
data() {
|
|
5880
5981
|
return {
|
|
5881
|
-
|
|
5982
|
+
ownData: null
|
|
5882
5983
|
};
|
|
5883
5984
|
},
|
|
5884
5985
|
|
|
5885
5986
|
computed: {
|
|
5886
|
-
|
|
5887
|
-
return
|
|
5888
|
-
nested: this.nested
|
|
5889
|
-
});
|
|
5987
|
+
panelComponent() {
|
|
5988
|
+
return this;
|
|
5890
5989
|
},
|
|
5891
5990
|
|
|
5892
|
-
|
|
5893
|
-
return
|
|
5991
|
+
tabComponent() {
|
|
5992
|
+
return this.panelTabComponent;
|
|
5894
5993
|
},
|
|
5895
5994
|
|
|
5896
|
-
|
|
5897
|
-
|
|
5898
|
-
schema
|
|
5899
|
-
} = this;
|
|
5900
|
-
const {
|
|
5901
|
-
label
|
|
5902
|
-
} = schema;
|
|
5903
|
-
return label !== false && (!!label || this.typeOptions.generateLabel && this.generateLabels);
|
|
5995
|
+
buttonSchemas() {
|
|
5996
|
+
return getButtonSchemas(this.schema.buttons);
|
|
5904
5997
|
},
|
|
5905
5998
|
|
|
5906
|
-
|
|
5907
|
-
return this.
|
|
5999
|
+
target() {
|
|
6000
|
+
return this.schema.target || this.dataPath;
|
|
5908
6001
|
},
|
|
5909
6002
|
|
|
5910
|
-
|
|
5911
|
-
return this.
|
|
6003
|
+
hasOwnData() {
|
|
6004
|
+
return !!this.ownData;
|
|
5912
6005
|
},
|
|
5913
6006
|
|
|
5914
|
-
|
|
5915
|
-
|
|
5916
|
-
|
|
5917
|
-
default() {
|
|
5918
|
-
return this.typeOptions.defaultWidth;
|
|
5919
|
-
},
|
|
6007
|
+
panelData() {
|
|
6008
|
+
return this.ownData || this.data;
|
|
6009
|
+
},
|
|
5920
6010
|
|
|
5921
|
-
|
|
5922
|
-
|
|
6011
|
+
panelSchema() {
|
|
6012
|
+
if (this.hasOwnData) {
|
|
6013
|
+
return this.schema;
|
|
6014
|
+
} else {
|
|
6015
|
+
const {
|
|
6016
|
+
data,
|
|
6017
|
+
...schema
|
|
6018
|
+
} = this.schema;
|
|
6019
|
+
return schema;
|
|
5923
6020
|
}
|
|
6021
|
+
},
|
|
5924
6022
|
|
|
5925
|
-
|
|
5926
|
-
|
|
5927
|
-
|
|
6023
|
+
panelTag() {
|
|
6024
|
+
return this.hasOwnData ? 'form' : 'div';
|
|
6025
|
+
},
|
|
5928
6026
|
|
|
5929
|
-
|
|
5930
|
-
|
|
5931
|
-
|
|
6027
|
+
panelDataPath() {
|
|
6028
|
+
return this.hasOwnData ? this.dataPath : this.schemaComponent.dataPath;
|
|
6029
|
+
},
|
|
5932
6030
|
|
|
5933
|
-
|
|
5934
|
-
componentVisible: getSchemaAccessor('visible', {
|
|
6031
|
+
visible: getSchemaAccessor('visible', {
|
|
5935
6032
|
type: Boolean,
|
|
6033
|
+
default: true
|
|
6034
|
+
})
|
|
6035
|
+
},
|
|
5936
6036
|
|
|
5937
|
-
|
|
5938
|
-
|
|
5939
|
-
}
|
|
5940
|
-
|
|
5941
|
-
}),
|
|
5942
|
-
componentDisabled: getSchemaAccessor('disabled', {
|
|
5943
|
-
type: Boolean,
|
|
5944
|
-
default: false,
|
|
6037
|
+
created() {
|
|
6038
|
+
this._register(true);
|
|
5945
6039
|
|
|
5946
|
-
|
|
5947
|
-
|
|
5948
|
-
|
|
6040
|
+
const {
|
|
6041
|
+
data
|
|
6042
|
+
} = this.schema;
|
|
5949
6043
|
|
|
5950
|
-
|
|
6044
|
+
if (data) {
|
|
6045
|
+
this.ownData = Object(utils_["isFunction"])(data) ? data.call(this, this.context) : data;
|
|
6046
|
+
}
|
|
6047
|
+
},
|
|
5951
6048
|
|
|
5952
|
-
|
|
5953
|
-
|
|
5954
|
-
|
|
5955
|
-
} = this.schema;
|
|
5956
|
-
return {
|
|
5957
|
-
[this.$options.name]: true,
|
|
5958
|
-
'dito-single': this.single,
|
|
5959
|
-
'dito-omit-padding': shouldOmitPadding(this.schema),
|
|
5960
|
-
...(Object(utils_["isString"])(containerClass) ? {
|
|
5961
|
-
[containerClass]: true
|
|
5962
|
-
} : containerClass)
|
|
5963
|
-
};
|
|
5964
|
-
},
|
|
6049
|
+
beforeDestroy() {
|
|
6050
|
+
this._register(false);
|
|
6051
|
+
},
|
|
5965
6052
|
|
|
5966
|
-
|
|
5967
|
-
|
|
5968
|
-
|
|
5969
|
-
|
|
5970
|
-
},
|
|
5971
|
-
|
|
5972
|
-
containerStyle() {
|
|
5973
|
-
const grow = this.componentWidthOperator === '>' || this.componentWidth === 'fill';
|
|
5974
|
-
const shrink = this.componentWidthOperator === '<';
|
|
5975
|
-
return {
|
|
5976
|
-
flex: `${grow ? 1 : 0} ${shrink ? 1 : 0} ${this.componentBasis}`
|
|
5977
|
-
};
|
|
5978
|
-
},
|
|
5979
|
-
|
|
5980
|
-
componentClass() {
|
|
5981
|
-
const basisIsAuto = this.componentBasis === 'auto';
|
|
5982
|
-
return {
|
|
5983
|
-
'dito-single': this.single,
|
|
5984
|
-
'dito-disabled': this.componentDisabled,
|
|
5985
|
-
'dito-width-fill': !basisIsAuto || this.componentWidth === 'fill',
|
|
5986
|
-
'dito-width-auto': basisIsAuto,
|
|
5987
|
-
'dito-has-errors': !!this.errors
|
|
5988
|
-
};
|
|
5989
|
-
}
|
|
5990
|
-
|
|
5991
|
-
},
|
|
5992
|
-
methods: {
|
|
5993
|
-
onErrors(errors) {
|
|
5994
|
-
this.errors = errors;
|
|
5995
|
-
}
|
|
6053
|
+
methods: {
|
|
6054
|
+
_register(add) {
|
|
6055
|
+
this.schemaComponent._registerPanel(this, add);
|
|
6056
|
+
}
|
|
5996
6057
|
|
|
5997
6058
|
}
|
|
5998
6059
|
}));
|
|
5999
|
-
// CONCATENATED MODULE: ./src/components/
|
|
6000
|
-
/* harmony default export */ var
|
|
6001
|
-
// EXTERNAL MODULE: ./src/components/
|
|
6002
|
-
var
|
|
6060
|
+
// CONCATENATED MODULE: ./src/components/DitoPanel.vue?vue&type=script&lang=js&
|
|
6061
|
+
/* harmony default export */ var components_DitoPanelvue_type_script_lang_js_ = (DitoPanelvue_type_script_lang_js_);
|
|
6062
|
+
// EXTERNAL MODULE: ./src/components/DitoPanel.vue?vue&type=style&index=0&lang=sass&
|
|
6063
|
+
var DitoPanelvue_type_style_index_0_lang_sass_ = __webpack_require__("e2c2");
|
|
6003
6064
|
|
|
6004
|
-
// CONCATENATED MODULE: ./src/components/
|
|
6065
|
+
// CONCATENATED MODULE: ./src/components/DitoPanel.vue
|
|
6005
6066
|
|
|
6006
6067
|
|
|
6007
6068
|
|
|
@@ -6010,10 +6071,10 @@ var DitoComponentContainervue_type_style_index_0_lang_sass_ = __webpack_require_
|
|
|
6010
6071
|
|
|
6011
6072
|
/* normalize component */
|
|
6012
6073
|
|
|
6013
|
-
var
|
|
6014
|
-
|
|
6015
|
-
|
|
6016
|
-
|
|
6074
|
+
var DitoPanel_component = normalizeComponent(
|
|
6075
|
+
components_DitoPanelvue_type_script_lang_js_,
|
|
6076
|
+
DitoPanelvue_type_template_id_40feea3b_lang_pug_render,
|
|
6077
|
+
DitoPanelvue_type_template_id_40feea3b_lang_pug_staticRenderFns,
|
|
6017
6078
|
false,
|
|
6018
6079
|
null,
|
|
6019
6080
|
null,
|
|
@@ -6021,37 +6082,68 @@ var DitoComponentContainer_component = normalizeComponent(
|
|
|
6021
6082
|
|
|
6022
6083
|
)
|
|
6023
6084
|
|
|
6024
|
-
/* harmony default export */ var
|
|
6025
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js
|
|
6085
|
+
/* harmony default export */ var DitoPanel = (DitoPanel_component.exports);
|
|
6086
|
+
// 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&
|
|
6087
|
+
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){
|
|
6088
|
+
var schema = ref.schema;
|
|
6089
|
+
var dataPath = ref.dataPath;
|
|
6090
|
+
var tabComponent = ref.tabComponent;
|
|
6091
|
+
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()}
|
|
6092
|
+
var DitoPanelsvue_type_template_id_7ffc591c_lang_pug_staticRenderFns = []
|
|
6026
6093
|
|
|
6027
|
-
/* harmony default export */ var DitoButtonContainervue_type_script_lang_js_ = (DitoComponentContainer.component('dito-button-container', {
|
|
6028
|
-
computed: {
|
|
6029
|
-
width() {
|
|
6030
|
-
return this.schema.width;
|
|
6031
|
-
},
|
|
6032
6094
|
|
|
6033
|
-
|
|
6034
|
-
|
|
6035
|
-
|
|
6036
|
-
|
|
6095
|
+
// CONCATENATED MODULE: ./src/components/DitoPanels.vue?vue&type=template&id=7ffc591c&lang=pug&
|
|
6096
|
+
|
|
6097
|
+
// 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&
|
|
6098
|
+
|
|
6099
|
+
/* harmony default export */ var DitoPanelsvue_type_script_lang_js_ = (src_DitoComponent.component('dito-panels', {
|
|
6100
|
+
props: {
|
|
6101
|
+
panels: {
|
|
6102
|
+
type: Array,
|
|
6103
|
+
default: null
|
|
6104
|
+
},
|
|
6105
|
+
data: {
|
|
6106
|
+
type: Object,
|
|
6107
|
+
required: true
|
|
6108
|
+
},
|
|
6109
|
+
meta: {
|
|
6110
|
+
type: Object,
|
|
6111
|
+
required: true
|
|
6112
|
+
},
|
|
6113
|
+
store: {
|
|
6114
|
+
type: Object,
|
|
6115
|
+
required: true
|
|
6116
|
+
},
|
|
6117
|
+
disabled: {
|
|
6118
|
+
type: Boolean,
|
|
6119
|
+
required: true
|
|
6120
|
+
}
|
|
6121
|
+
},
|
|
6122
|
+
methods: {
|
|
6123
|
+
getPanelKey(dataPath, tabComponent) {
|
|
6124
|
+
return tabComponent ? `${tabComponent.tab}_${dataPath}` : dataPath;
|
|
6037
6125
|
}
|
|
6038
6126
|
|
|
6039
6127
|
}
|
|
6040
6128
|
}));
|
|
6041
|
-
// CONCATENATED MODULE: ./src/components/
|
|
6042
|
-
/* harmony default export */ var
|
|
6043
|
-
//
|
|
6044
|
-
var
|
|
6129
|
+
// CONCATENATED MODULE: ./src/components/DitoPanels.vue?vue&type=script&lang=js&
|
|
6130
|
+
/* harmony default export */ var components_DitoPanelsvue_type_script_lang_js_ = (DitoPanelsvue_type_script_lang_js_);
|
|
6131
|
+
// EXTERNAL MODULE: ./src/components/DitoPanels.vue?vue&type=style&index=0&lang=sass&
|
|
6132
|
+
var DitoPanelsvue_type_style_index_0_lang_sass_ = __webpack_require__("8153");
|
|
6133
|
+
|
|
6134
|
+
// CONCATENATED MODULE: ./src/components/DitoPanels.vue
|
|
6135
|
+
|
|
6136
|
+
|
|
6045
6137
|
|
|
6046
6138
|
|
|
6047
6139
|
|
|
6048
6140
|
|
|
6049
6141
|
/* normalize component */
|
|
6050
6142
|
|
|
6051
|
-
var
|
|
6052
|
-
|
|
6053
|
-
|
|
6054
|
-
|
|
6143
|
+
var DitoPanels_component = normalizeComponent(
|
|
6144
|
+
components_DitoPanelsvue_type_script_lang_js_,
|
|
6145
|
+
DitoPanelsvue_type_template_id_7ffc591c_lang_pug_render,
|
|
6146
|
+
DitoPanelsvue_type_template_id_7ffc591c_lang_pug_staticRenderFns,
|
|
6055
6147
|
false,
|
|
6056
6148
|
null,
|
|
6057
6149
|
null,
|
|
@@ -6059,89 +6151,64 @@ var DitoButtonContainer_component = normalizeComponent(
|
|
|
6059
6151
|
|
|
6060
6152
|
)
|
|
6061
6153
|
|
|
6062
|
-
/* harmony default export */ var
|
|
6063
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6064
|
-
var
|
|
6065
|
-
var
|
|
6154
|
+
/* harmony default export */ var DitoPanels = (DitoPanels_component.exports);
|
|
6155
|
+
// 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&
|
|
6156
|
+
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()}
|
|
6157
|
+
var DitoButtonsvue_type_template_id_f4a25014_lang_pug_staticRenderFns = []
|
|
6066
6158
|
|
|
6067
6159
|
|
|
6068
|
-
// CONCATENATED MODULE: ./src/components/
|
|
6069
|
-
|
|
6070
|
-
// 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&
|
|
6160
|
+
// CONCATENATED MODULE: ./src/components/DitoButtons.vue?vue&type=template&id=f4a25014&lang=pug&
|
|
6071
6161
|
|
|
6162
|
+
// 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&
|
|
6072
6163
|
|
|
6073
6164
|
|
|
6074
|
-
/* harmony default export */ var
|
|
6075
|
-
|
|
6165
|
+
/* harmony default export */ var DitoButtonsvue_type_script_lang_js_ = (src_DitoComponent.component('dito-buttons', {
|
|
6166
|
+
provide: {
|
|
6167
|
+
$tabComponent: () => null
|
|
6168
|
+
},
|
|
6076
6169
|
props: {
|
|
6077
|
-
|
|
6170
|
+
buttons: {
|
|
6078
6171
|
type: Object,
|
|
6079
|
-
|
|
6080
|
-
},
|
|
6081
|
-
path: {
|
|
6082
|
-
type: String,
|
|
6083
|
-
required: true
|
|
6172
|
+
default: null
|
|
6084
6173
|
},
|
|
6085
|
-
|
|
6174
|
+
dataPath: {
|
|
6086
6175
|
type: String,
|
|
6087
|
-
|
|
6176
|
+
default: ''
|
|
6088
6177
|
},
|
|
6089
|
-
|
|
6090
|
-
type:
|
|
6178
|
+
data: {
|
|
6179
|
+
type: [Object, Array],
|
|
6091
6180
|
default: null
|
|
6092
|
-
}
|
|
6093
|
-
},
|
|
6094
|
-
computed: {
|
|
6095
|
-
forms() {
|
|
6096
|
-
return getFormSchemas(this.schema, this.context);
|
|
6097
6181
|
},
|
|
6098
|
-
|
|
6099
|
-
|
|
6100
|
-
|
|
6182
|
+
meta: {
|
|
6183
|
+
type: Object,
|
|
6184
|
+
default: () => ({})
|
|
6101
6185
|
},
|
|
6102
|
-
|
|
6103
|
-
|
|
6104
|
-
|
|
6186
|
+
store: {
|
|
6187
|
+
type: Object,
|
|
6188
|
+
default: () => ({})
|
|
6189
|
+
},
|
|
6190
|
+
disabled: {
|
|
6191
|
+
type: Boolean,
|
|
6192
|
+
default: false
|
|
6105
6193
|
}
|
|
6106
|
-
|
|
6107
6194
|
},
|
|
6108
|
-
|
|
6109
|
-
|
|
6110
|
-
|
|
6111
|
-
|
|
6112
|
-
|
|
6113
|
-
|
|
6114
|
-
|
|
6115
|
-
|
|
6116
|
-
|
|
6117
|
-
|
|
6118
|
-
this.$router.push({
|
|
6119
|
-
path: `${this.path}/create`,
|
|
6120
|
-
query: {
|
|
6121
|
-
type
|
|
6122
|
-
},
|
|
6123
|
-
append: true
|
|
6124
|
-
});
|
|
6125
|
-
}
|
|
6126
|
-
} else {
|
|
6127
|
-
throw new Error('Not allowed to create item for given form');
|
|
6128
|
-
}
|
|
6129
|
-
},
|
|
6130
|
-
|
|
6131
|
-
onPulldownSelect(type) {
|
|
6132
|
-
this.createItem(this.forms[type], type);
|
|
6133
|
-
this.setPulldownOpen(false);
|
|
6195
|
+
computed: {
|
|
6196
|
+
buttonSchemas() {
|
|
6197
|
+
const {
|
|
6198
|
+
dataPath,
|
|
6199
|
+
buttons
|
|
6200
|
+
} = this;
|
|
6201
|
+
return buttons ? Object.values(buttons).reduce((schemas, button) => {
|
|
6202
|
+
schemas[appendDataPath(dataPath, button.name)] = button;
|
|
6203
|
+
return schemas;
|
|
6204
|
+
}, {}) : null;
|
|
6134
6205
|
}
|
|
6135
6206
|
|
|
6136
6207
|
}
|
|
6137
6208
|
}));
|
|
6138
|
-
// CONCATENATED MODULE: ./src/components/
|
|
6139
|
-
/* harmony default export */ var
|
|
6140
|
-
//
|
|
6141
|
-
var DitoCreateButtonvue_type_style_index_0_lang_sass_ = __webpack_require__("c592");
|
|
6142
|
-
|
|
6143
|
-
// CONCATENATED MODULE: ./src/components/DitoCreateButton.vue
|
|
6144
|
-
|
|
6209
|
+
// CONCATENATED MODULE: ./src/components/DitoButtons.vue?vue&type=script&lang=js&
|
|
6210
|
+
/* harmony default export */ var components_DitoButtonsvue_type_script_lang_js_ = (DitoButtonsvue_type_script_lang_js_);
|
|
6211
|
+
// CONCATENATED MODULE: ./src/components/DitoButtons.vue
|
|
6145
6212
|
|
|
6146
6213
|
|
|
6147
6214
|
|
|
@@ -6149,10 +6216,10 @@ var DitoCreateButtonvue_type_style_index_0_lang_sass_ = __webpack_require__("c59
|
|
|
6149
6216
|
|
|
6150
6217
|
/* normalize component */
|
|
6151
6218
|
|
|
6152
|
-
var
|
|
6153
|
-
|
|
6154
|
-
|
|
6155
|
-
|
|
6219
|
+
var DitoButtons_component = normalizeComponent(
|
|
6220
|
+
components_DitoButtonsvue_type_script_lang_js_,
|
|
6221
|
+
DitoButtonsvue_type_template_id_f4a25014_lang_pug_render,
|
|
6222
|
+
DitoButtonsvue_type_template_id_f4a25014_lang_pug_staticRenderFns,
|
|
6156
6223
|
false,
|
|
6157
6224
|
null,
|
|
6158
6225
|
null,
|
|
@@ -6160,30 +6227,47 @@ var DitoCreateButton_component = normalizeComponent(
|
|
|
6160
6227
|
|
|
6161
6228
|
)
|
|
6162
6229
|
|
|
6163
|
-
/* harmony default export */ var
|
|
6164
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6165
|
-
var
|
|
6166
|
-
var
|
|
6167
|
-
|
|
6168
|
-
|
|
6169
|
-
// CONCATENATED MODULE: ./src/components/DitoPanel.vue?vue&type=template&id=202c1444&lang=pug&
|
|
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/DitoPanel.vue?vue&type=script&lang=js&
|
|
6172
|
-
|
|
6173
|
-
|
|
6230
|
+
/* harmony default export */ var DitoButtons = (DitoButtons_component.exports);
|
|
6231
|
+
// 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&
|
|
6232
|
+
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)}
|
|
6233
|
+
var DitoEditButtonsvue_type_template_id_0b3ba536_lang_pug_staticRenderFns = []
|
|
6174
6234
|
|
|
6175
6235
|
|
|
6236
|
+
// CONCATENATED MODULE: ./src/components/DitoEditButtons.vue?vue&type=template&id=0b3ba536&lang=pug&
|
|
6176
6237
|
|
|
6177
|
-
|
|
6178
|
-
mixins: [ValidatorMixin],
|
|
6238
|
+
// 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&
|
|
6179
6239
|
|
|
6180
|
-
provide() {
|
|
6181
|
-
return {
|
|
6182
|
-
$panelComponent: () => this
|
|
6183
|
-
};
|
|
6184
|
-
},
|
|
6185
6240
|
|
|
6241
|
+
/* harmony default export */ var DitoEditButtonsvue_type_script_lang_js_ = (src_DitoComponent.component('dito-edit-buttons', {
|
|
6186
6242
|
props: {
|
|
6243
|
+
draggable: {
|
|
6244
|
+
type: Boolean,
|
|
6245
|
+
default: false
|
|
6246
|
+
},
|
|
6247
|
+
editable: {
|
|
6248
|
+
type: Boolean,
|
|
6249
|
+
default: false
|
|
6250
|
+
},
|
|
6251
|
+
creatable: {
|
|
6252
|
+
type: Boolean,
|
|
6253
|
+
default: false
|
|
6254
|
+
},
|
|
6255
|
+
deletable: {
|
|
6256
|
+
type: Boolean,
|
|
6257
|
+
default: false
|
|
6258
|
+
},
|
|
6259
|
+
editPath: {
|
|
6260
|
+
type: String,
|
|
6261
|
+
default: null
|
|
6262
|
+
},
|
|
6263
|
+
createPath: {
|
|
6264
|
+
type: String,
|
|
6265
|
+
default: null
|
|
6266
|
+
},
|
|
6267
|
+
buttons: {
|
|
6268
|
+
type: Object,
|
|
6269
|
+
default: null
|
|
6270
|
+
},
|
|
6187
6271
|
schema: {
|
|
6188
6272
|
type: Object,
|
|
6189
6273
|
required: true
|
|
@@ -6193,8 +6277,8 @@ var DitoPanelvue_type_template_id_202c1444_lang_pug_staticRenderFns = []
|
|
|
6193
6277
|
required: true
|
|
6194
6278
|
},
|
|
6195
6279
|
data: {
|
|
6196
|
-
type: Object,
|
|
6197
|
-
|
|
6280
|
+
type: [Object, Array],
|
|
6281
|
+
default: null
|
|
6198
6282
|
},
|
|
6199
6283
|
meta: {
|
|
6200
6284
|
type: Object,
|
|
@@ -6203,99 +6287,49 @@ var DitoPanelvue_type_template_id_202c1444_lang_pug_staticRenderFns = []
|
|
|
6203
6287
|
store: {
|
|
6204
6288
|
type: Object,
|
|
6205
6289
|
required: true
|
|
6206
|
-
},
|
|
6207
|
-
disabled: {
|
|
6208
|
-
type: Boolean,
|
|
6209
|
-
required: true
|
|
6210
|
-
},
|
|
6211
|
-
tabComponent: {
|
|
6212
|
-
type: src_DitoComponent,
|
|
6213
|
-
default: null
|
|
6214
6290
|
}
|
|
6215
6291
|
},
|
|
6216
|
-
|
|
6217
|
-
data() {
|
|
6218
|
-
return {
|
|
6219
|
-
ownData: null
|
|
6220
|
-
};
|
|
6221
|
-
},
|
|
6222
|
-
|
|
6223
6292
|
computed: {
|
|
6224
|
-
|
|
6225
|
-
return this;
|
|
6226
|
-
},
|
|
6227
|
-
|
|
6228
|
-
buttonSchemas() {
|
|
6229
|
-
return getButtonSchemas(this.schema.buttons);
|
|
6230
|
-
},
|
|
6231
|
-
|
|
6232
|
-
target() {
|
|
6233
|
-
return this.schema.target || this.dataPath;
|
|
6234
|
-
},
|
|
6235
|
-
|
|
6236
|
-
hasOwnData() {
|
|
6237
|
-
return !!this.ownData;
|
|
6238
|
-
},
|
|
6239
|
-
|
|
6240
|
-
panelData() {
|
|
6241
|
-
return this.ownData || this.data;
|
|
6242
|
-
},
|
|
6243
|
-
|
|
6244
|
-
panelSchema() {
|
|
6245
|
-
if (this.hasOwnData) {
|
|
6246
|
-
return this.schema;
|
|
6247
|
-
} else {
|
|
6248
|
-
const {
|
|
6249
|
-
data,
|
|
6250
|
-
...schema
|
|
6251
|
-
} = this.schema;
|
|
6252
|
-
return schema;
|
|
6253
|
-
}
|
|
6293
|
+
formLabel() {
|
|
6294
|
+
return this.getLabel(this.schema.form);
|
|
6254
6295
|
},
|
|
6255
6296
|
|
|
6256
|
-
|
|
6257
|
-
return this.
|
|
6297
|
+
isDraggable() {
|
|
6298
|
+
return this.hasOption('draggable');
|
|
6258
6299
|
},
|
|
6259
6300
|
|
|
6260
|
-
|
|
6261
|
-
return this.
|
|
6301
|
+
isEditable() {
|
|
6302
|
+
return this.hasOption('editable') && !!this.editPath;
|
|
6262
6303
|
},
|
|
6263
6304
|
|
|
6264
|
-
|
|
6265
|
-
|
|
6266
|
-
|
|
6267
|
-
})
|
|
6268
|
-
},
|
|
6305
|
+
isCreatable() {
|
|
6306
|
+
return this.hasOption('creatable') && !!this.createPath;
|
|
6307
|
+
},
|
|
6269
6308
|
|
|
6270
|
-
|
|
6271
|
-
|
|
6309
|
+
isDeletable() {
|
|
6310
|
+
return this.hasOption('deletable');
|
|
6311
|
+
},
|
|
6272
6312
|
|
|
6273
|
-
|
|
6274
|
-
|
|
6275
|
-
} = this.schema;
|
|
6313
|
+
createButtonText() {
|
|
6314
|
+
var _this$schema$creatabl;
|
|
6276
6315
|
|
|
6277
|
-
|
|
6278
|
-
this.ownData = Object(utils_["isFunction"])(data) ? data.call(this, this.context) : data;
|
|
6316
|
+
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;
|
|
6279
6317
|
}
|
|
6280
|
-
},
|
|
6281
6318
|
|
|
6282
|
-
beforeDestroy() {
|
|
6283
|
-
this._register(false);
|
|
6284
6319
|
},
|
|
6285
|
-
|
|
6286
6320
|
methods: {
|
|
6287
|
-
|
|
6288
|
-
|
|
6321
|
+
hasOption(name) {
|
|
6322
|
+
return !!(this[name] && this.schema[name] !== false);
|
|
6289
6323
|
}
|
|
6290
6324
|
|
|
6291
6325
|
}
|
|
6292
6326
|
}));
|
|
6293
|
-
// CONCATENATED MODULE: ./src/components/
|
|
6294
|
-
/* harmony default export */ var
|
|
6295
|
-
// EXTERNAL MODULE: ./src/components/
|
|
6296
|
-
var
|
|
6327
|
+
// CONCATENATED MODULE: ./src/components/DitoEditButtons.vue?vue&type=script&lang=js&
|
|
6328
|
+
/* harmony default export */ var components_DitoEditButtonsvue_type_script_lang_js_ = (DitoEditButtonsvue_type_script_lang_js_);
|
|
6329
|
+
// EXTERNAL MODULE: ./src/components/DitoEditButtons.vue?vue&type=style&index=0&lang=sass&
|
|
6330
|
+
var DitoEditButtonsvue_type_style_index_0_lang_sass_ = __webpack_require__("7f8e");
|
|
6297
6331
|
|
|
6298
|
-
// CONCATENATED MODULE: ./src/components/
|
|
6332
|
+
// CONCATENATED MODULE: ./src/components/DitoEditButtons.vue
|
|
6299
6333
|
|
|
6300
6334
|
|
|
6301
6335
|
|
|
@@ -6304,10 +6338,10 @@ var DitoPanelvue_type_style_index_0_lang_sass_ = __webpack_require__("e2c2");
|
|
|
6304
6338
|
|
|
6305
6339
|
/* normalize component */
|
|
6306
6340
|
|
|
6307
|
-
var
|
|
6308
|
-
|
|
6309
|
-
|
|
6310
|
-
|
|
6341
|
+
var DitoEditButtons_component = normalizeComponent(
|
|
6342
|
+
components_DitoEditButtonsvue_type_script_lang_js_,
|
|
6343
|
+
DitoEditButtonsvue_type_template_id_0b3ba536_lang_pug_render,
|
|
6344
|
+
DitoEditButtonsvue_type_template_id_0b3ba536_lang_pug_staticRenderFns,
|
|
6311
6345
|
false,
|
|
6312
6346
|
null,
|
|
6313
6347
|
null,
|
|
@@ -6315,103 +6349,88 @@ var DitoPanel_component = normalizeComponent(
|
|
|
6315
6349
|
|
|
6316
6350
|
)
|
|
6317
6351
|
|
|
6318
|
-
/* harmony default export */ var
|
|
6319
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6320
|
-
var
|
|
6321
|
-
var
|
|
6322
|
-
var dataPath = ref.dataPath;
|
|
6323
|
-
var tabComponent = ref.tabComponent;
|
|
6324
|
-
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)}
|
|
6325
|
-
var DitoPanelsvue_type_template_id_2e9e33bd_lang_pug_staticRenderFns = []
|
|
6352
|
+
/* harmony default export */ var DitoEditButtons = (DitoEditButtons_component.exports);
|
|
6353
|
+
// 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&
|
|
6354
|
+
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)}
|
|
6355
|
+
var DitoCreateButtonvue_type_template_id_1633b1b4_lang_pug_staticRenderFns = []
|
|
6326
6356
|
|
|
6327
6357
|
|
|
6328
|
-
// CONCATENATED MODULE: ./src/components/
|
|
6358
|
+
// CONCATENATED MODULE: ./src/components/DitoCreateButton.vue?vue&type=template&id=1633b1b4&lang=pug&
|
|
6329
6359
|
|
|
6330
|
-
// 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/
|
|
6360
|
+
// 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&
|
|
6331
6361
|
|
|
6332
|
-
|
|
6362
|
+
|
|
6363
|
+
|
|
6364
|
+
/* harmony default export */ var DitoCreateButtonvue_type_script_lang_js_ = (src_DitoComponent.component('dito-create-button', {
|
|
6365
|
+
mixins: [PulldownMixin],
|
|
6333
6366
|
props: {
|
|
6334
|
-
|
|
6335
|
-
type: Array,
|
|
6336
|
-
default: null
|
|
6337
|
-
},
|
|
6338
|
-
data: {
|
|
6367
|
+
schema: {
|
|
6339
6368
|
type: Object,
|
|
6340
6369
|
required: true
|
|
6341
6370
|
},
|
|
6342
|
-
|
|
6343
|
-
type:
|
|
6371
|
+
path: {
|
|
6372
|
+
type: String,
|
|
6344
6373
|
required: true
|
|
6345
6374
|
},
|
|
6346
|
-
|
|
6347
|
-
type:
|
|
6375
|
+
verb: {
|
|
6376
|
+
type: String,
|
|
6348
6377
|
required: true
|
|
6349
6378
|
},
|
|
6350
|
-
|
|
6351
|
-
type:
|
|
6352
|
-
|
|
6379
|
+
text: {
|
|
6380
|
+
type: String,
|
|
6381
|
+
default: null
|
|
6353
6382
|
}
|
|
6354
6383
|
},
|
|
6355
|
-
|
|
6356
|
-
|
|
6357
|
-
return
|
|
6358
|
-
}
|
|
6359
|
-
|
|
6360
|
-
}
|
|
6361
|
-
}));
|
|
6362
|
-
// CONCATENATED MODULE: ./src/components/DitoPanels.vue?vue&type=script&lang=js&
|
|
6363
|
-
/* harmony default export */ var components_DitoPanelsvue_type_script_lang_js_ = (DitoPanelsvue_type_script_lang_js_);
|
|
6364
|
-
// EXTERNAL MODULE: ./src/components/DitoPanels.vue?vue&type=style&index=0&lang=sass&
|
|
6365
|
-
var DitoPanelsvue_type_style_index_0_lang_sass_ = __webpack_require__("8153");
|
|
6366
|
-
|
|
6367
|
-
// CONCATENATED MODULE: ./src/components/DitoPanels.vue
|
|
6368
|
-
|
|
6369
|
-
|
|
6370
|
-
|
|
6371
|
-
|
|
6372
|
-
|
|
6373
|
-
|
|
6374
|
-
/* normalize component */
|
|
6375
|
-
|
|
6376
|
-
var DitoPanels_component = normalizeComponent(
|
|
6377
|
-
components_DitoPanelsvue_type_script_lang_js_,
|
|
6378
|
-
DitoPanelsvue_type_template_id_2e9e33bd_lang_pug_render,
|
|
6379
|
-
DitoPanelsvue_type_template_id_2e9e33bd_lang_pug_staticRenderFns,
|
|
6380
|
-
false,
|
|
6381
|
-
null,
|
|
6382
|
-
null,
|
|
6383
|
-
null
|
|
6384
|
-
|
|
6385
|
-
)
|
|
6386
|
-
|
|
6387
|
-
/* harmony default export */ var DitoPanels = (DitoPanels_component.exports);
|
|
6388
|
-
// 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&
|
|
6389
|
-
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)}
|
|
6390
|
-
var DitoTabsvue_type_template_id_16c31a87_lang_pug_staticRenderFns = []
|
|
6384
|
+
computed: {
|
|
6385
|
+
forms() {
|
|
6386
|
+
return getFormSchemas(this.schema, this.context);
|
|
6387
|
+
},
|
|
6391
6388
|
|
|
6389
|
+
isInlined() {
|
|
6390
|
+
return isInlined(this.schema);
|
|
6391
|
+
},
|
|
6392
6392
|
|
|
6393
|
-
|
|
6393
|
+
showPulldown() {
|
|
6394
|
+
return Object.keys(this.forms).length > 1 || !this.forms.default;
|
|
6395
|
+
}
|
|
6394
6396
|
|
|
6395
|
-
|
|
6397
|
+
},
|
|
6398
|
+
methods: {
|
|
6399
|
+
isCreatable(form) {
|
|
6400
|
+
return form.creatable !== false;
|
|
6401
|
+
},
|
|
6396
6402
|
|
|
6397
|
-
|
|
6398
|
-
|
|
6399
|
-
|
|
6400
|
-
|
|
6401
|
-
|
|
6403
|
+
createItem(form, type = null) {
|
|
6404
|
+
if (this.isCreatable(form)) {
|
|
6405
|
+
if (this.isInlined) {
|
|
6406
|
+
this.sourceComponent.createItem(form, type);
|
|
6407
|
+
} else {
|
|
6408
|
+
this.$router.push({
|
|
6409
|
+
path: `${this.path}/create`,
|
|
6410
|
+
query: {
|
|
6411
|
+
type
|
|
6412
|
+
},
|
|
6413
|
+
append: true
|
|
6414
|
+
});
|
|
6415
|
+
}
|
|
6416
|
+
} else {
|
|
6417
|
+
throw new Error('Not allowed to create item for given form');
|
|
6418
|
+
}
|
|
6402
6419
|
},
|
|
6403
|
-
|
|
6404
|
-
|
|
6405
|
-
|
|
6420
|
+
|
|
6421
|
+
onPulldownSelect(type) {
|
|
6422
|
+
this.createItem(this.forms[type], type);
|
|
6423
|
+
this.setPulldownOpen(false);
|
|
6406
6424
|
}
|
|
6425
|
+
|
|
6407
6426
|
}
|
|
6408
6427
|
}));
|
|
6409
|
-
// CONCATENATED MODULE: ./src/components/
|
|
6410
|
-
/* harmony default export */ var
|
|
6411
|
-
// EXTERNAL MODULE: ./src/components/
|
|
6412
|
-
var
|
|
6428
|
+
// CONCATENATED MODULE: ./src/components/DitoCreateButton.vue?vue&type=script&lang=js&
|
|
6429
|
+
/* harmony default export */ var components_DitoCreateButtonvue_type_script_lang_js_ = (DitoCreateButtonvue_type_script_lang_js_);
|
|
6430
|
+
// EXTERNAL MODULE: ./src/components/DitoCreateButton.vue?vue&type=style&index=0&lang=sass&
|
|
6431
|
+
var DitoCreateButtonvue_type_style_index_0_lang_sass_ = __webpack_require__("c592");
|
|
6413
6432
|
|
|
6414
|
-
// CONCATENATED MODULE: ./src/components/
|
|
6433
|
+
// CONCATENATED MODULE: ./src/components/DitoCreateButton.vue
|
|
6415
6434
|
|
|
6416
6435
|
|
|
6417
6436
|
|
|
@@ -6420,10 +6439,10 @@ var DitoTabsvue_type_style_index_0_lang_sass_ = __webpack_require__("fb0b");
|
|
|
6420
6439
|
|
|
6421
6440
|
/* normalize component */
|
|
6422
6441
|
|
|
6423
|
-
var
|
|
6424
|
-
|
|
6425
|
-
|
|
6426
|
-
|
|
6442
|
+
var DitoCreateButton_component = normalizeComponent(
|
|
6443
|
+
components_DitoCreateButtonvue_type_script_lang_js_,
|
|
6444
|
+
DitoCreateButtonvue_type_template_id_1633b1b4_lang_pug_render,
|
|
6445
|
+
DitoCreateButtonvue_type_template_id_1633b1b4_lang_pug_staticRenderFns,
|
|
6427
6446
|
false,
|
|
6428
6447
|
null,
|
|
6429
6448
|
null,
|
|
@@ -6431,13 +6450,13 @@ var DitoTabs_component = normalizeComponent(
|
|
|
6431
6450
|
|
|
6432
6451
|
)
|
|
6433
6452
|
|
|
6434
|
-
/* harmony default export */ var
|
|
6435
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6436
|
-
var
|
|
6437
|
-
var
|
|
6453
|
+
/* harmony default export */ var DitoCreateButton = (DitoCreateButton_component.exports);
|
|
6454
|
+
// 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&
|
|
6455
|
+
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()}
|
|
6456
|
+
var DitoClipboardvue_type_template_id_42489094_lang_pug_staticRenderFns = []
|
|
6438
6457
|
|
|
6439
6458
|
|
|
6440
|
-
// CONCATENATED MODULE: ./src/components/DitoClipboard.vue?vue&type=template&id=
|
|
6459
|
+
// CONCATENATED MODULE: ./src/components/DitoClipboard.vue?vue&type=template&id=42489094&lang=pug&
|
|
6441
6460
|
|
|
6442
6461
|
// 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&
|
|
6443
6462
|
|
|
@@ -6464,19 +6483,20 @@ var DitoClipboardvue_type_template_id_275be508_lang_pug_staticRenderFns = []
|
|
|
6464
6483
|
data() {
|
|
6465
6484
|
return {
|
|
6466
6485
|
copyEnabled: false,
|
|
6467
|
-
pasteEnabled: false
|
|
6486
|
+
pasteEnabled: false,
|
|
6487
|
+
fixClipboard: true
|
|
6468
6488
|
};
|
|
6469
6489
|
},
|
|
6470
6490
|
|
|
6471
6491
|
computed: {
|
|
6472
|
-
|
|
6492
|
+
clipboardOptions() {
|
|
6473
6493
|
return Object(utils_["isObject"])(this.clipboard) ? this.clipboard : {};
|
|
6474
6494
|
},
|
|
6475
6495
|
|
|
6476
6496
|
copyData() {
|
|
6477
6497
|
const {
|
|
6478
6498
|
copy
|
|
6479
|
-
} = this.
|
|
6499
|
+
} = this.clipboardOptions;
|
|
6480
6500
|
return copy ? clipboardData => copy.call(this, new DitoContext_DitoContext(this, {
|
|
6481
6501
|
clipboardData
|
|
6482
6502
|
})) : clipboardData => Object(utils_["clone"])(clipboardData);
|
|
@@ -6485,7 +6505,7 @@ var DitoClipboardvue_type_template_id_275be508_lang_pug_staticRenderFns = []
|
|
|
6485
6505
|
pasteData() {
|
|
6486
6506
|
const {
|
|
6487
6507
|
paste
|
|
6488
|
-
} = this.
|
|
6508
|
+
} = this.clipboardOptions;
|
|
6489
6509
|
return paste ? clipboardData => paste.call(this, new DitoContext_DitoContext(this, {
|
|
6490
6510
|
clipboardData
|
|
6491
6511
|
})) : clipboardData => clipboardData;
|
|
@@ -6500,11 +6520,14 @@ var DitoClipboardvue_type_template_id_275be508_lang_pug_staticRenderFns = []
|
|
|
6500
6520
|
this.domOn(window, {
|
|
6501
6521
|
focus: this.checkClipboard
|
|
6502
6522
|
});
|
|
6503
|
-
this.$watch('data',
|
|
6504
|
-
|
|
6505
|
-
|
|
6506
|
-
|
|
6507
|
-
|
|
6523
|
+
this.$watch('data', {
|
|
6524
|
+
immediate: true,
|
|
6525
|
+
handler: (to, from) => {
|
|
6526
|
+
if (to !== from) {
|
|
6527
|
+
this.checkClipboard();
|
|
6528
|
+
}
|
|
6529
|
+
}
|
|
6530
|
+
});
|
|
6508
6531
|
},
|
|
6509
6532
|
|
|
6510
6533
|
methods: {
|
|
@@ -6520,6 +6543,13 @@ var DitoClipboardvue_type_template_id_275be508_lang_pug_staticRenderFns = []
|
|
|
6520
6543
|
|
|
6521
6544
|
const json = await ((_navigator$clipboard = navigator.clipboard) == null ? void 0 : _navigator$clipboard.readText == null ? void 0 : _navigator$clipboard.readText());
|
|
6522
6545
|
|
|
6546
|
+
if (this.fixClipboard && json) {
|
|
6547
|
+
var _navigator$clipboard2;
|
|
6548
|
+
|
|
6549
|
+
await ((_navigator$clipboard2 = navigator.clipboard) == null ? void 0 : _navigator$clipboard2.writeText == null ? void 0 : _navigator$clipboard2.writeText(json));
|
|
6550
|
+
this.fixClipboard = false;
|
|
6551
|
+
}
|
|
6552
|
+
|
|
6523
6553
|
if (json) {
|
|
6524
6554
|
clipboardData = JSON.parse(json);
|
|
6525
6555
|
}
|
|
@@ -6558,10 +6588,10 @@ var DitoClipboardvue_type_template_id_275be508_lang_pug_staticRenderFns = []
|
|
|
6558
6588
|
this.appState.clipboardData = data;
|
|
6559
6589
|
|
|
6560
6590
|
try {
|
|
6561
|
-
var _navigator$
|
|
6591
|
+
var _navigator$clipboard3;
|
|
6562
6592
|
|
|
6563
6593
|
const json = JSON.stringify(data, null, 2);
|
|
6564
|
-
await ((_navigator$
|
|
6594
|
+
await ((_navigator$clipboard3 = navigator.clipboard) == null ? void 0 : _navigator$clipboard3.writeText == null ? void 0 : _navigator$clipboard3.writeText(json));
|
|
6565
6595
|
await this.checkClipboard();
|
|
6566
6596
|
} catch (err) {
|
|
6567
6597
|
console.error(err, err.name, err.message);
|
|
@@ -6601,8 +6631,8 @@ var DitoClipboardvue_type_template_id_275be508_lang_pug_staticRenderFns = []
|
|
|
6601
6631
|
|
|
6602
6632
|
var DitoClipboard_component = normalizeComponent(
|
|
6603
6633
|
components_DitoClipboardvue_type_script_lang_js_,
|
|
6604
|
-
|
|
6605
|
-
|
|
6634
|
+
DitoClipboardvue_type_template_id_42489094_lang_pug_render,
|
|
6635
|
+
DitoClipboardvue_type_template_id_42489094_lang_pug_staticRenderFns,
|
|
6606
6636
|
false,
|
|
6607
6637
|
null,
|
|
6608
6638
|
null,
|
|
@@ -6611,12 +6641,12 @@ var DitoClipboard_component = normalizeComponent(
|
|
|
6611
6641
|
)
|
|
6612
6642
|
|
|
6613
6643
|
/* harmony default export */ var DitoClipboard = (DitoClipboard_component.exports);
|
|
6614
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6615
|
-
var
|
|
6616
|
-
var
|
|
6644
|
+
// 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&
|
|
6645
|
+
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)}
|
|
6646
|
+
var DitoFormvue_type_template_id_1f4bcb52_lang_pug_staticRenderFns = []
|
|
6617
6647
|
|
|
6618
6648
|
|
|
6619
|
-
// CONCATENATED MODULE: ./src/components/DitoForm.vue?vue&type=template&id=
|
|
6649
|
+
// CONCATENATED MODULE: ./src/components/DitoForm.vue?vue&type=template&id=1f4bcb52&lang=pug&
|
|
6620
6650
|
|
|
6621
6651
|
// CONCATENATED MODULE: ./src/mixins/LoadingMixin.js
|
|
6622
6652
|
/* harmony default export */ var LoadingMixin = ({
|
|
@@ -6829,6 +6859,7 @@ var DitoFormvue_type_template_id_74c655a4_lang_pug_staticRenderFns = []
|
|
|
6829
6859
|
}
|
|
6830
6860
|
} else {
|
|
6831
6861
|
this.setData(response.data);
|
|
6862
|
+
this.emitSchemaEvent('load');
|
|
6832
6863
|
}
|
|
6833
6864
|
});
|
|
6834
6865
|
},
|
|
@@ -6911,6 +6942,8 @@ var DitoFormvue_type_template_id_74c655a4_lang_pug_staticRenderFns = []
|
|
|
6911
6942
|
|
|
6912
6943
|
async submitResource(button, resource, method, data, {
|
|
6913
6944
|
setData = false,
|
|
6945
|
+
onSuccess,
|
|
6946
|
+
onError,
|
|
6914
6947
|
notifySuccess = () => this.notify({
|
|
6915
6948
|
type: 'success',
|
|
6916
6949
|
title: 'Request Successful',
|
|
@@ -6934,9 +6967,10 @@ var DitoFormvue_type_template_id_74c655a4_lang_pug_staticRenderFns = []
|
|
|
6934
6967
|
const errors = this.isValidationError(response) && data.errors;
|
|
6935
6968
|
|
|
6936
6969
|
if (errors) {
|
|
6937
|
-
this.showValidationErrors(errors, true);
|
|
6970
|
+
await this.showValidationErrors(errors, true);
|
|
6938
6971
|
} else {
|
|
6939
6972
|
const error = Object(utils_["isObject"])(data) ? data : err;
|
|
6973
|
+
onError == null ? void 0 : onError(error);
|
|
6940
6974
|
await this.emitButtonEvent(button, 'error', {
|
|
6941
6975
|
notify: notifyError,
|
|
6942
6976
|
error
|
|
@@ -6949,6 +6983,7 @@ var DitoFormvue_type_template_id_74c655a4_lang_pug_staticRenderFns = []
|
|
|
6949
6983
|
this.setData(data);
|
|
6950
6984
|
}
|
|
6951
6985
|
|
|
6986
|
+
onSuccess == null ? void 0 : onSuccess();
|
|
6952
6987
|
await this.emitButtonEvent(button, 'success', {
|
|
6953
6988
|
notify: notifySuccess
|
|
6954
6989
|
});
|
|
@@ -7168,6 +7203,10 @@ var DitoFormvue_type_template_id_74c655a4_lang_pug_staticRenderFns = []
|
|
|
7168
7203
|
create: 'setupData'
|
|
7169
7204
|
},
|
|
7170
7205
|
methods: {
|
|
7206
|
+
emitSchemaEvent(event, params) {
|
|
7207
|
+
return this.mainSchemaComponent.emitEvent(event, params);
|
|
7208
|
+
},
|
|
7209
|
+
|
|
7171
7210
|
getDataPathFrom(route) {
|
|
7172
7211
|
return this.api.denormalizePath(this.path.slice((route.isView ? 0 : route.path.length) + 1));
|
|
7173
7212
|
},
|
|
@@ -7200,20 +7239,16 @@ var DitoFormvue_type_template_id_74c655a4_lang_pug_staticRenderFns = []
|
|
|
7200
7239
|
},
|
|
7201
7240
|
|
|
7202
7241
|
clearData() {
|
|
7203
|
-
this.setData(null
|
|
7242
|
+
this.setData(null);
|
|
7204
7243
|
},
|
|
7205
7244
|
|
|
7206
|
-
setData(data
|
|
7245
|
+
setData(data) {
|
|
7207
7246
|
if (this.isTransient) {
|
|
7208
7247
|
this.setSourceData(data);
|
|
7209
7248
|
} else {
|
|
7210
7249
|
this.createdData = null;
|
|
7211
7250
|
this.loadedData = data;
|
|
7212
7251
|
}
|
|
7213
|
-
|
|
7214
|
-
if (!clearing) {
|
|
7215
|
-
this.mainSchemaComponent.onLoad();
|
|
7216
|
-
}
|
|
7217
7252
|
},
|
|
7218
7253
|
|
|
7219
7254
|
clearClonedData(newValue, oldValue) {
|
|
@@ -7230,6 +7265,10 @@ var DitoFormvue_type_template_id_74c655a4_lang_pug_staticRenderFns = []
|
|
|
7230
7265
|
return this.navigate(this.parentRouteComponent.path);
|
|
7231
7266
|
},
|
|
7232
7267
|
|
|
7268
|
+
getSubmitVerb(present = true) {
|
|
7269
|
+
return this.isCreating ? present ? 'create' : 'created' : present ? 'submit' : 'submitted';
|
|
7270
|
+
},
|
|
7271
|
+
|
|
7233
7272
|
async submit(button, {
|
|
7234
7273
|
validate = true,
|
|
7235
7274
|
closeForm = false
|
|
@@ -7238,10 +7277,7 @@ var DitoFormvue_type_template_id_74c655a4_lang_pug_staticRenderFns = []
|
|
|
7238
7277
|
return false;
|
|
7239
7278
|
}
|
|
7240
7279
|
|
|
7241
|
-
const getVerb = present =>
|
|
7242
|
-
const verb = this.isCreating ? present ? 'create' : 'created' : present ? 'submit' : 'submitted';
|
|
7243
|
-
return this.verbs[verb];
|
|
7244
|
-
};
|
|
7280
|
+
const getVerb = present => this.verbs[this.getSubmitVerb(present)];
|
|
7245
7281
|
|
|
7246
7282
|
const butttonResource = getResource(button.schema.resource, {
|
|
7247
7283
|
parent: this.resource
|
|
@@ -7253,6 +7289,12 @@ var DitoFormvue_type_template_id_74c655a4_lang_pug_staticRenderFns = []
|
|
|
7253
7289
|
|
|
7254
7290
|
if (!butttonResource && this.isTransient) {
|
|
7255
7291
|
success = await this.submitTransient(button, resource, method, data, {
|
|
7292
|
+
onSuccess: () => this.emitSchemaEvent(this.getSubmitVerb()),
|
|
7293
|
+
onError: error => this.emitSchemaEvent('error', {
|
|
7294
|
+
context: {
|
|
7295
|
+
error
|
|
7296
|
+
}
|
|
7297
|
+
}),
|
|
7256
7298
|
notifySuccess: () => {
|
|
7257
7299
|
const verb = getVerb(false);
|
|
7258
7300
|
this.notify({
|
|
@@ -7273,6 +7315,12 @@ var DitoFormvue_type_template_id_74c655a4_lang_pug_staticRenderFns = []
|
|
|
7273
7315
|
} else {
|
|
7274
7316
|
success = await this.submitResource(button, resource, method, data, {
|
|
7275
7317
|
setData: true,
|
|
7318
|
+
onSuccess: () => this.emitSchemaEvent(this.getSubmitVerb()),
|
|
7319
|
+
onError: error => this.emitSchemaEvent('error', {
|
|
7320
|
+
context: {
|
|
7321
|
+
error
|
|
7322
|
+
}
|
|
7323
|
+
}),
|
|
7276
7324
|
notifySuccess: () => {
|
|
7277
7325
|
const verb = getVerb(false);
|
|
7278
7326
|
this.notify({
|
|
@@ -7309,20 +7357,25 @@ var DitoFormvue_type_template_id_74c655a4_lang_pug_staticRenderFns = []
|
|
|
7309
7357
|
return success;
|
|
7310
7358
|
},
|
|
7311
7359
|
|
|
7312
|
-
async submitTransient(button,
|
|
7313
|
-
|
|
7314
|
-
|
|
7360
|
+
async submitTransient(button, _resource, _method, data, {
|
|
7361
|
+
onSuccess,
|
|
7362
|
+
onError,
|
|
7363
|
+
notifySuccess,
|
|
7364
|
+
notifyError
|
|
7315
7365
|
}) {
|
|
7316
7366
|
const success = this.isCreating ? this.addSourceData(data) : this.setSourceData(data);
|
|
7317
7367
|
|
|
7318
7368
|
if (success) {
|
|
7369
|
+
onSuccess == null ? void 0 : onSuccess();
|
|
7319
7370
|
await this.emitButtonEvent(button, 'success', {
|
|
7320
7371
|
notify: notifySuccess
|
|
7321
7372
|
});
|
|
7322
7373
|
} else {
|
|
7374
|
+
const error = 'Could not submit transient item';
|
|
7375
|
+
onError == null ? void 0 : onError(error);
|
|
7323
7376
|
await this.emitButtonEvent(button, 'error', {
|
|
7324
7377
|
notify: notifyError,
|
|
7325
|
-
error
|
|
7378
|
+
error
|
|
7326
7379
|
});
|
|
7327
7380
|
}
|
|
7328
7381
|
|
|
@@ -7343,8 +7396,8 @@ var DitoFormvue_type_template_id_74c655a4_lang_pug_staticRenderFns = []
|
|
|
7343
7396
|
|
|
7344
7397
|
var DitoForm_component = normalizeComponent(
|
|
7345
7398
|
components_DitoFormvue_type_script_lang_js_,
|
|
7346
|
-
|
|
7347
|
-
|
|
7399
|
+
DitoFormvue_type_template_id_1f4bcb52_lang_pug_render,
|
|
7400
|
+
DitoFormvue_type_template_id_1f4bcb52_lang_pug_staticRenderFns,
|
|
7348
7401
|
false,
|
|
7349
7402
|
null,
|
|
7350
7403
|
null,
|
|
@@ -7382,7 +7435,7 @@ var DitoFormNested_component = normalizeComponent(
|
|
|
7382
7435
|
)
|
|
7383
7436
|
|
|
7384
7437
|
/* harmony default export */ var DitoFormNested = (DitoFormNested_component.exports);
|
|
7385
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
7438
|
+
// 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&
|
|
7386
7439
|
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()}
|
|
7387
7440
|
var DitoErrorsvue_type_template_id_fb8b7710_lang_pug_staticRenderFns = []
|
|
7388
7441
|
|
|
@@ -7425,7 +7478,7 @@ var DitoErrors_component = normalizeComponent(
|
|
|
7425
7478
|
)
|
|
7426
7479
|
|
|
7427
7480
|
/* harmony default export */ var DitoErrors = (DitoErrors_component.exports);
|
|
7428
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
7481
|
+
// 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&
|
|
7429
7482
|
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){
|
|
7430
7483
|
var navigate = ref.navigate;
|
|
7431
7484
|
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)}
|
|
@@ -7488,7 +7541,7 @@ var DitoScopes_component = normalizeComponent(
|
|
|
7488
7541
|
)
|
|
7489
7542
|
|
|
7490
7543
|
/* harmony default export */ var DitoScopes = (DitoScopes_component.exports);
|
|
7491
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
7544
|
+
// 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&
|
|
7492
7545
|
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}}})}
|
|
7493
7546
|
var DitoPaginationvue_type_template_id_212ebc1b_lang_pug_staticRenderFns = []
|
|
7494
7547
|
|
|
@@ -7555,7 +7608,7 @@ var DitoPagination_component = normalizeComponent(
|
|
|
7555
7608
|
)
|
|
7556
7609
|
|
|
7557
7610
|
/* harmony default export */ var DitoPagination = (DitoPagination_component.exports);
|
|
7558
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
7611
|
+
// 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&
|
|
7559
7612
|
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:{
|
|
7560
7613
|
'dito-dragging': _vm.dragging,
|
|
7561
7614
|
'dito-active': _vm.active
|
|
@@ -7838,7 +7891,7 @@ var DitoTreeItem_component = normalizeComponent(
|
|
|
7838
7891
|
)
|
|
7839
7892
|
|
|
7840
7893
|
/* harmony default export */ var DitoTreeItem = (DitoTreeItem_component.exports);
|
|
7841
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
7894
|
+
// 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&
|
|
7842
7895
|
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){
|
|
7843
7896
|
var navigate = ref.navigate;
|
|
7844
7897
|
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)])}
|
|
@@ -7919,7 +7972,7 @@ var DitoTableHead_component = normalizeComponent(
|
|
|
7919
7972
|
)
|
|
7920
7973
|
|
|
7921
7974
|
/* harmony default export */ var DitoTableHead = (DitoTableHead_component.exports);
|
|
7922
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
7975
|
+
// 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&
|
|
7923
7976
|
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)}
|
|
7924
7977
|
var DitoTableCellvue_type_template_id_37874142_lang_pug_staticRenderFns = []
|
|
7925
7978
|
|
|
@@ -8068,13 +8121,12 @@ var DitoVNode_component = normalizeComponent(
|
|
|
8068
8121
|
|
|
8069
8122
|
|
|
8070
8123
|
|
|
8071
|
-
|
|
8072
|
-
|
|
8073
|
-
var
|
|
8074
|
-
var TypeButtonvue_type_template_id_0a3e1aad_lang_pug_staticRenderFns = []
|
|
8124
|
+
// 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&
|
|
8125
|
+
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))])}
|
|
8126
|
+
var TypeButtonvue_type_template_id_3c1135a1_lang_pug_staticRenderFns = []
|
|
8075
8127
|
|
|
8076
8128
|
|
|
8077
|
-
// CONCATENATED MODULE: ./src/types/TypeButton.vue?vue&type=template&id=
|
|
8129
|
+
// CONCATENATED MODULE: ./src/types/TypeButton.vue?vue&type=template&id=3c1135a1&lang=pug&
|
|
8078
8130
|
|
|
8079
8131
|
// CONCATENATED MODULE: ./src/TypeComponent.js
|
|
8080
8132
|
|
|
@@ -8129,8 +8181,13 @@ TypeComponent.get = getTypeComponent;
|
|
|
8129
8181
|
}
|
|
8130
8182
|
|
|
8131
8183
|
}),
|
|
8132
|
-
|
|
8133
|
-
|
|
8184
|
+
closeForm: getSchemaAccessor('closeForm', {
|
|
8185
|
+
type: Boolean,
|
|
8186
|
+
default: false
|
|
8187
|
+
})
|
|
8188
|
+
},
|
|
8189
|
+
methods: {
|
|
8190
|
+
getListeners() {
|
|
8134
8191
|
return {
|
|
8135
8192
|
focus: this.onFocus,
|
|
8136
8193
|
blur: this.onBlur,
|
|
@@ -8138,12 +8195,12 @@ TypeComponent.get = getTypeComponent;
|
|
|
8138
8195
|
};
|
|
8139
8196
|
},
|
|
8140
8197
|
|
|
8141
|
-
|
|
8142
|
-
|
|
8143
|
-
|
|
8144
|
-
|
|
8145
|
-
|
|
8146
|
-
|
|
8198
|
+
async submit(options) {
|
|
8199
|
+
var _this$resourceCompone;
|
|
8200
|
+
|
|
8201
|
+
return (_this$resourceCompone = this.resourceComponent) == null ? void 0 : _this$resourceCompone.submit(this, options);
|
|
8202
|
+
},
|
|
8203
|
+
|
|
8147
8204
|
async onClick() {
|
|
8148
8205
|
const res = await this.emitEvent('click', {
|
|
8149
8206
|
parent: this.schemaComponent
|
|
@@ -8152,12 +8209,6 @@ TypeComponent.get = getTypeComponent;
|
|
|
8152
8209
|
if (res === undefined && hasResource(this.schema)) {
|
|
8153
8210
|
await this.submit();
|
|
8154
8211
|
}
|
|
8155
|
-
},
|
|
8156
|
-
|
|
8157
|
-
async submit(options) {
|
|
8158
|
-
var _this$resourceCompone;
|
|
8159
|
-
|
|
8160
|
-
return (_this$resourceCompone = this.resourceComponent) == null ? void 0 : _this$resourceCompone.submit(this, options);
|
|
8161
8212
|
}
|
|
8162
8213
|
|
|
8163
8214
|
}
|
|
@@ -8174,8 +8225,8 @@ TypeComponent.get = getTypeComponent;
|
|
|
8174
8225
|
|
|
8175
8226
|
var TypeButton_component = normalizeComponent(
|
|
8176
8227
|
types_TypeButtonvue_type_script_lang_js_,
|
|
8177
|
-
|
|
8178
|
-
|
|
8228
|
+
TypeButtonvue_type_template_id_3c1135a1_lang_pug_render,
|
|
8229
|
+
TypeButtonvue_type_template_id_3c1135a1_lang_pug_staticRenderFns,
|
|
8179
8230
|
false,
|
|
8180
8231
|
null,
|
|
8181
8232
|
null,
|
|
@@ -8184,7 +8235,7 @@ var TypeButton_component = normalizeComponent(
|
|
|
8184
8235
|
)
|
|
8185
8236
|
|
|
8186
8237
|
/* harmony default export */ var TypeButton = (TypeButton_component.exports);
|
|
8187
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
8238
|
+
// 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&
|
|
8188
8239
|
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))}
|
|
8189
8240
|
var TypeCheckboxvue_type_template_id_47e47478_lang_pug_staticRenderFns = []
|
|
8190
8241
|
|
|
@@ -8222,7 +8273,7 @@ var TypeCheckbox_component = normalizeComponent(
|
|
|
8222
8273
|
)
|
|
8223
8274
|
|
|
8224
8275
|
/* harmony default export */ var TypeCheckbox = (TypeCheckbox_component.exports);
|
|
8225
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
8276
|
+
// 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&
|
|
8226
8277
|
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)}
|
|
8227
8278
|
var TypeCheckboxesvue_type_template_id_339f69a0_lang_pug_staticRenderFns = []
|
|
8228
8279
|
|
|
@@ -8589,12 +8640,12 @@ var TypeCheckboxes_component = normalizeComponent(
|
|
|
8589
8640
|
)
|
|
8590
8641
|
|
|
8591
8642
|
/* harmony default export */ var TypeCheckboxes = (TypeCheckboxes_component.exports);
|
|
8592
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
8593
|
-
var
|
|
8594
|
-
var
|
|
8643
|
+
// 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&
|
|
8644
|
+
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}})}
|
|
8645
|
+
var TypeCodevue_type_template_id_465e8ed0_lang_pug_staticRenderFns = []
|
|
8595
8646
|
|
|
8596
8647
|
|
|
8597
|
-
// CONCATENATED MODULE: ./src/types/TypeCode.vue?vue&type=template&id=
|
|
8648
|
+
// CONCATENATED MODULE: ./src/types/TypeCode.vue?vue&type=template&id=465e8ed0&lang=pug&
|
|
8598
8649
|
|
|
8599
8650
|
// EXTERNAL MODULE: external {"root":"Codeflask","amd":"codeflask","commonjs":"codeflask","commonjs2":"codeflask"}
|
|
8600
8651
|
var external_root_Codeflask_amd_codeflask_commonjs_codeflask_commonjs2_codeflask_ = __webpack_require__("1f57");
|
|
@@ -8680,7 +8731,7 @@ var external_root_Codeflask_amd_codeflask_commonjs_codeflask_commonjs2_codeflask
|
|
|
8680
8731
|
},
|
|
8681
8732
|
|
|
8682
8733
|
methods: {
|
|
8683
|
-
|
|
8734
|
+
focusElement() {
|
|
8684
8735
|
var _this$$el$querySelect;
|
|
8685
8736
|
|
|
8686
8737
|
(_this$$el$querySelect = this.$el.querySelector('textarea')) == null ? void 0 : _this$$el$querySelect.focus();
|
|
@@ -8704,8 +8755,8 @@ var TypeCodevue_type_style_index_0_lang_sass_ = __webpack_require__("184f");
|
|
|
8704
8755
|
|
|
8705
8756
|
var TypeCode_component = normalizeComponent(
|
|
8706
8757
|
types_TypeCodevue_type_script_lang_js_,
|
|
8707
|
-
|
|
8708
|
-
|
|
8758
|
+
TypeCodevue_type_template_id_465e8ed0_lang_pug_render,
|
|
8759
|
+
TypeCodevue_type_template_id_465e8ed0_lang_pug_staticRenderFns,
|
|
8709
8760
|
false,
|
|
8710
8761
|
null,
|
|
8711
8762
|
null,
|
|
@@ -8714,7 +8765,7 @@ var TypeCode_component = normalizeComponent(
|
|
|
8714
8765
|
)
|
|
8715
8766
|
|
|
8716
8767
|
/* harmony default export */ var TypeCode = (TypeCode_component.exports);
|
|
8717
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
8768
|
+
// 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&
|
|
8718
8769
|
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)}
|
|
8719
8770
|
var TypeColorvue_type_template_id_6ba8df5a_lang_pug_staticRenderFns = []
|
|
8720
8771
|
|
|
@@ -8845,7 +8896,7 @@ var TypeColor_component = normalizeComponent(
|
|
|
8845
8896
|
)
|
|
8846
8897
|
|
|
8847
8898
|
/* harmony default export */ var TypeColor = (TypeColor_component.exports);
|
|
8848
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
8899
|
+
// 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&
|
|
8849
8900
|
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))}
|
|
8850
8901
|
var TypeComponentvue_type_template_id_062cfa40_lang_pug_staticRenderFns = []
|
|
8851
8902
|
|
|
@@ -8880,7 +8931,7 @@ var TypeComponent_component = normalizeComponent(
|
|
|
8880
8931
|
)
|
|
8881
8932
|
|
|
8882
8933
|
/* harmony default export */ var types_TypeComponent = (TypeComponent_component.exports);
|
|
8883
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
8934
|
+
// 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&
|
|
8884
8935
|
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}})}
|
|
8885
8936
|
var TypeComputedvue_type_template_id_9135457a_lang_pug_staticRenderFns = []
|
|
8886
8937
|
|
|
@@ -8941,7 +8992,7 @@ var TypeComputed_component = normalizeComponent(
|
|
|
8941
8992
|
)
|
|
8942
8993
|
|
|
8943
8994
|
/* harmony default export */ var TypeComputed = (TypeComputed_component.exports);
|
|
8944
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
8995
|
+
// 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&
|
|
8945
8996
|
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)}
|
|
8946
8997
|
var TypeDatevue_type_template_id_04b96437_lang_pug_staticRenderFns = []
|
|
8947
8998
|
|
|
@@ -9018,7 +9069,7 @@ var TypeDate_component = normalizeComponent(
|
|
|
9018
9069
|
)
|
|
9019
9070
|
|
|
9020
9071
|
/* harmony default export */ var TypeDate = (TypeDate_component.exports);
|
|
9021
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
9072
|
+
// 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&
|
|
9022
9073
|
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:{
|
|
9023
9074
|
'dito-table-separators': _vm.isInlined,
|
|
9024
9075
|
'dito-table-larger-padding': _vm.hasEditButtons && !_vm.isInlined,
|
|
@@ -9366,8 +9417,6 @@ var TypeListvue_type_template_id_0e909d0d_lang_pug_staticRenderFns = []
|
|
|
9366
9417
|
} else if (this.unwrapListData(data)) {} else if (Object(utils_["isObject"])(data) && this.isInView) {
|
|
9367
9418
|
this.viewComponent.setData(data);
|
|
9368
9419
|
}
|
|
9369
|
-
|
|
9370
|
-
this.schemaComponent.onLoad();
|
|
9371
9420
|
},
|
|
9372
9421
|
|
|
9373
9422
|
unwrapListData(data) {
|
|
@@ -9447,57 +9496,96 @@ var TypeListvue_type_template_id_0e909d0d_lang_pug_staticRenderFns = []
|
|
|
9447
9496
|
}
|
|
9448
9497
|
}
|
|
9449
9498
|
}
|
|
9450
|
-
},
|
|
9451
|
-
|
|
9452
|
-
|
|
9453
|
-
const {
|
|
9454
|
-
schemaComponents
|
|
9455
|
-
} = this;
|
|
9456
|
-
const {
|
|
9457
|
-
length
|
|
9458
|
-
} = schemaComponents;
|
|
9459
|
-
|
|
9460
|
-
|
|
9499
|
+
},
|
|
9500
|
+
|
|
9501
|
+
getSchemaComponent(index) {
|
|
9502
|
+
const {
|
|
9503
|
+
schemaComponents
|
|
9504
|
+
} = this;
|
|
9505
|
+
const {
|
|
9506
|
+
length
|
|
9507
|
+
} = schemaComponents;
|
|
9508
|
+
return schemaComponents[(index % length + length) % length];
|
|
9509
|
+
},
|
|
9510
|
+
|
|
9511
|
+
openSchemaComponent(index) {
|
|
9512
|
+
const schemaComponent = this.getSchemaComponent(index);
|
|
9513
|
+
|
|
9514
|
+
if (schemaComponent) {
|
|
9515
|
+
schemaComponent.opened = true;
|
|
9516
|
+
}
|
|
9517
|
+
},
|
|
9518
|
+
|
|
9519
|
+
async navigateToComponent(dataPath, onComplete) {
|
|
9520
|
+
if (this.collapsible) {
|
|
9521
|
+
var _parseDataPath$;
|
|
9522
|
+
|
|
9523
|
+
const index = dataPath.startsWith(this.dataPath) ? this.isListSource ? (_parseDataPath$ = Object(utils_["parseDataPath"])(dataPath.slice(this.dataPath.length + 1))[0]) != null ? _parseDataPath$ : null : 0 : null;
|
|
9524
|
+
|
|
9525
|
+
if (index !== null && Object(utils_["isNumber"])(+index)) {
|
|
9526
|
+
const schemaComponent = this.getSchemaComponent(+index);
|
|
9527
|
+
|
|
9528
|
+
if (schemaComponent) {
|
|
9529
|
+
var _onComplete;
|
|
9530
|
+
|
|
9531
|
+
const {
|
|
9532
|
+
opened
|
|
9533
|
+
} = schemaComponent;
|
|
9534
|
+
|
|
9535
|
+
if (!opened) {
|
|
9536
|
+
schemaComponent.opened = true;
|
|
9537
|
+
await this.$nextTick();
|
|
9538
|
+
}
|
|
9539
|
+
|
|
9540
|
+
const components = schemaComponent.getComponentsByDataPath(dataPath);
|
|
9541
|
+
|
|
9542
|
+
if (components.length > 0 && ((_onComplete = onComplete == null ? void 0 : onComplete(components)) != null ? _onComplete : true)) {
|
|
9543
|
+
return true;
|
|
9544
|
+
} else {
|
|
9545
|
+
schemaComponent.opened = opened;
|
|
9546
|
+
}
|
|
9547
|
+
}
|
|
9548
|
+
}
|
|
9549
|
+
}
|
|
9461
9550
|
|
|
9462
|
-
|
|
9463
|
-
schemaComponent.opened = true;
|
|
9464
|
-
}
|
|
9551
|
+
return this.navigateToRouteComponent(dataPath, onComplete);
|
|
9465
9552
|
},
|
|
9466
9553
|
|
|
9467
|
-
|
|
9468
|
-
|
|
9469
|
-
|
|
9554
|
+
navigateToRouteComponent(dataPath, onComplete) {
|
|
9555
|
+
return new Promise((resolve, reject) => {
|
|
9556
|
+
const callOnComplete = () => {
|
|
9557
|
+
var _onComplete2;
|
|
9558
|
+
|
|
9470
9559
|
const {
|
|
9471
9560
|
routeComponents
|
|
9472
9561
|
} = this.appState;
|
|
9473
|
-
|
|
9474
|
-
|
|
9475
|
-
|
|
9562
|
+
const routeComponent = routeComponents[routeComponents.length - 1];
|
|
9563
|
+
resolve((_onComplete2 = onComplete == null ? void 0 : onComplete([routeComponent])) != null ? _onComplete2 : true);
|
|
9564
|
+
};
|
|
9476
9565
|
|
|
9477
|
-
|
|
9566
|
+
const dataPathParts = Object(utils_["parseDataPath"])(dataPath);
|
|
9478
9567
|
|
|
9479
|
-
|
|
9480
|
-
|
|
9481
|
-
|
|
9482
|
-
|
|
9483
|
-
|
|
9568
|
+
while (dataPathParts.length > 0) {
|
|
9569
|
+
const path = this.routeComponent.getChildPath(this.api.normalizePath(Object(utils_["normalizeDataPath"])(dataPathParts)));
|
|
9570
|
+
const {
|
|
9571
|
+
matched
|
|
9572
|
+
} = this.$router.match(path);
|
|
9484
9573
|
|
|
9485
|
-
|
|
9486
|
-
|
|
9487
|
-
|
|
9488
|
-
|
|
9489
|
-
|
|
9490
|
-
|
|
9491
|
-
|
|
9574
|
+
if (matched.length) {
|
|
9575
|
+
if (this.$route.path === path) {
|
|
9576
|
+
callOnComplete();
|
|
9577
|
+
} else {
|
|
9578
|
+
this.$router.push({
|
|
9579
|
+
path
|
|
9580
|
+
}, () => this.$nextTick(callOnComplete), reject);
|
|
9581
|
+
}
|
|
9492
9582
|
}
|
|
9493
9583
|
|
|
9494
|
-
|
|
9584
|
+
dataPathParts.pop();
|
|
9495
9585
|
}
|
|
9496
9586
|
|
|
9497
|
-
|
|
9498
|
-
}
|
|
9499
|
-
|
|
9500
|
-
return false;
|
|
9587
|
+
resolve(false);
|
|
9588
|
+
});
|
|
9501
9589
|
}
|
|
9502
9590
|
|
|
9503
9591
|
},
|
|
@@ -9930,7 +10018,7 @@ var TypeList_component = normalizeComponent(
|
|
|
9930
10018
|
)
|
|
9931
10019
|
|
|
9932
10020
|
/* harmony default export */ var TypeList = (TypeList_component.exports);
|
|
9933
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
10021
|
+
// 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&
|
|
9934
10022
|
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}})}
|
|
9935
10023
|
var TypeLabelvue_type_template_id_192dda81_lang_pug_staticRenderFns = []
|
|
9936
10024
|
|
|
@@ -9968,17 +10056,17 @@ var TypeLabel_component = normalizeComponent(
|
|
|
9968
10056
|
)
|
|
9969
10057
|
|
|
9970
10058
|
/* harmony default export */ var TypeLabel = (TypeLabel_component.exports);
|
|
9971
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
9972
|
-
var
|
|
10059
|
+
// 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&
|
|
10060
|
+
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){
|
|
9973
10061
|
var name = ref.name;
|
|
9974
10062
|
var icon = ref.icon;
|
|
9975
10063
|
var isActive = ref.isActive;
|
|
9976
10064
|
var onClick = ref.onClick;
|
|
9977
10065
|
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)}
|
|
9978
|
-
var
|
|
10066
|
+
var TypeMarkupvue_type_template_id_6222e768_lang_pug_staticRenderFns = []
|
|
9979
10067
|
|
|
9980
10068
|
|
|
9981
|
-
// CONCATENATED MODULE: ./src/types/TypeMarkup.vue?vue&type=template&id=
|
|
10069
|
+
// CONCATENATED MODULE: ./src/types/TypeMarkup.vue?vue&type=template&id=6222e768&lang=pug&
|
|
9982
10070
|
|
|
9983
10071
|
// EXTERNAL MODULE: external {"root":"Tiptap","amd":"tiptap","commonjs":"tiptap","commonjs2":"tiptap"}
|
|
9984
10072
|
var external_root_Tiptap_amd_tiptap_commonjs_tiptap_commonjs2_tiptap_ = __webpack_require__("916c");
|
|
@@ -10354,7 +10442,7 @@ var external_root_TiptapExtensions_amd_tiptap_extensions_commonjs_tiptap_extensi
|
|
|
10354
10442
|
return list;
|
|
10355
10443
|
},
|
|
10356
10444
|
|
|
10357
|
-
|
|
10445
|
+
focusElement() {
|
|
10358
10446
|
var _this$$el$scrollIntoV, _this$$el;
|
|
10359
10447
|
|
|
10360
10448
|
(_this$$el$scrollIntoV = (_this$$el = this.$el).scrollIntoView) == null ? void 0 : _this$$el$scrollIntoV.call(_this$$el);
|
|
@@ -10426,8 +10514,8 @@ var TypeMarkupvue_type_style_index_0_lang_sass_ = __webpack_require__("7507");
|
|
|
10426
10514
|
|
|
10427
10515
|
var TypeMarkup_component = normalizeComponent(
|
|
10428
10516
|
types_TypeMarkupvue_type_script_lang_js_,
|
|
10429
|
-
|
|
10430
|
-
|
|
10517
|
+
TypeMarkupvue_type_template_id_6222e768_lang_pug_render,
|
|
10518
|
+
TypeMarkupvue_type_template_id_6222e768_lang_pug_staticRenderFns,
|
|
10431
10519
|
false,
|
|
10432
10520
|
null,
|
|
10433
10521
|
null,
|
|
@@ -10436,15 +10524,15 @@ var TypeMarkup_component = normalizeComponent(
|
|
|
10436
10524
|
)
|
|
10437
10525
|
|
|
10438
10526
|
/* harmony default export */ var TypeMarkup = (TypeMarkup_component.exports);
|
|
10439
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
10440
|
-
var
|
|
10527
|
+
// 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&
|
|
10528
|
+
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:{
|
|
10441
10529
|
'dito-multiselect-single': !_vm.multiple,
|
|
10442
10530
|
'dito-multiselect-multiple': _vm.multiple
|
|
10443
10531
|
}},[_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)}
|
|
10444
|
-
var
|
|
10532
|
+
var TypeMultiselectvue_type_template_id_efd4145a_lang_pug_staticRenderFns = []
|
|
10445
10533
|
|
|
10446
10534
|
|
|
10447
|
-
// CONCATENATED MODULE: ./src/types/TypeMultiselect.vue?vue&type=template&id=
|
|
10535
|
+
// CONCATENATED MODULE: ./src/types/TypeMultiselect.vue?vue&type=template&id=efd4145a&lang=pug&
|
|
10448
10536
|
|
|
10449
10537
|
// EXTERNAL MODULE: external {"root":"VueMultiselect","amd":"vue-multiselect","commonjs":"vue-multiselect","commonjs2":"vue-multiselect"}
|
|
10450
10538
|
var external_root_VueMultiselect_amd_vue_multiselect_commonjs_vue_multiselect_commonjs2_vue_multiselect_ = __webpack_require__("6c45");
|
|
@@ -10506,14 +10594,6 @@ var vue_multiselect_min = __webpack_require__("7a87");
|
|
|
10506
10594
|
default: false
|
|
10507
10595
|
}),
|
|
10508
10596
|
|
|
10509
|
-
listeners() {
|
|
10510
|
-
return {
|
|
10511
|
-
focus: this.onFocus,
|
|
10512
|
-
blur: this.onBlur,
|
|
10513
|
-
input: this.onChange
|
|
10514
|
-
};
|
|
10515
|
-
},
|
|
10516
|
-
|
|
10517
10597
|
placeholder() {
|
|
10518
10598
|
const {
|
|
10519
10599
|
placeholder,
|
|
@@ -10532,6 +10612,14 @@ var vue_multiselect_min = __webpack_require__("7a87");
|
|
|
10532
10612
|
},
|
|
10533
10613
|
|
|
10534
10614
|
methods: {
|
|
10615
|
+
getListeners() {
|
|
10616
|
+
return {
|
|
10617
|
+
focus: this.onFocus,
|
|
10618
|
+
blur: this.onBlur,
|
|
10619
|
+
input: this.onChange
|
|
10620
|
+
};
|
|
10621
|
+
},
|
|
10622
|
+
|
|
10535
10623
|
addTagOption(tag) {
|
|
10536
10624
|
if (this.taggable) {
|
|
10537
10625
|
const {
|
|
@@ -10547,7 +10635,7 @@ var vue_multiselect_min = __webpack_require__("7a87");
|
|
|
10547
10635
|
}
|
|
10548
10636
|
},
|
|
10549
10637
|
|
|
10550
|
-
|
|
10638
|
+
focusElement() {
|
|
10551
10639
|
this.$refs.element.activate();
|
|
10552
10640
|
},
|
|
10553
10641
|
|
|
@@ -10590,8 +10678,8 @@ var TypeMultiselectvue_type_style_index_0_lang_sass_ = __webpack_require__("8386
|
|
|
10590
10678
|
|
|
10591
10679
|
var TypeMultiselect_component = normalizeComponent(
|
|
10592
10680
|
types_TypeMultiselectvue_type_script_lang_js_,
|
|
10593
|
-
|
|
10594
|
-
|
|
10681
|
+
TypeMultiselectvue_type_template_id_efd4145a_lang_pug_render,
|
|
10682
|
+
TypeMultiselectvue_type_template_id_efd4145a_lang_pug_staticRenderFns,
|
|
10595
10683
|
false,
|
|
10596
10684
|
null,
|
|
10597
10685
|
null,
|
|
@@ -10600,7 +10688,7 @@ var TypeMultiselect_component = normalizeComponent(
|
|
|
10600
10688
|
)
|
|
10601
10689
|
|
|
10602
10690
|
/* harmony default export */ var TypeMultiselect = (TypeMultiselect_component.exports);
|
|
10603
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
10691
|
+
// 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&
|
|
10604
10692
|
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))}
|
|
10605
10693
|
var TypeNumbervue_type_template_id_539269e1_lang_pug_staticRenderFns = []
|
|
10606
10694
|
|
|
@@ -10775,7 +10863,7 @@ var TypeNumber_component = normalizeComponent(
|
|
|
10775
10863
|
)
|
|
10776
10864
|
|
|
10777
10865
|
/* harmony default export */ var TypeNumber = (TypeNumber_component.exports);
|
|
10778
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
10866
|
+
// 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&
|
|
10779
10867
|
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()}
|
|
10780
10868
|
var TypeObjectvue_type_template_id_37239fa7_lang_pug_staticRenderFns = []
|
|
10781
10869
|
|
|
@@ -10867,7 +10955,7 @@ var TypePanel_component = normalizeComponent(
|
|
|
10867
10955
|
)
|
|
10868
10956
|
|
|
10869
10957
|
/* harmony default export */ var TypePanel = (TypePanel_component.exports);
|
|
10870
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
10958
|
+
// 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&
|
|
10871
10959
|
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))}
|
|
10872
10960
|
var TypeProgressvue_type_template_id_54b10f8f_lang_pug_staticRenderFns = []
|
|
10873
10961
|
|
|
@@ -10936,7 +11024,7 @@ var TypeProgress_component = normalizeComponent(
|
|
|
10936
11024
|
)
|
|
10937
11025
|
|
|
10938
11026
|
/* harmony default export */ var TypeProgress = (TypeProgress_component.exports);
|
|
10939
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11027
|
+
// 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&
|
|
10940
11028
|
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)}
|
|
10941
11029
|
var TypeRadiovue_type_template_id_dfaaa4e4_lang_pug_staticRenderFns = []
|
|
10942
11030
|
|
|
@@ -10976,12 +11064,12 @@ var TypeRadio_component = normalizeComponent(
|
|
|
10976
11064
|
)
|
|
10977
11065
|
|
|
10978
11066
|
/* harmony default export */ var TypeRadio = (TypeRadio_component.exports);
|
|
10979
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
10980
|
-
var
|
|
10981
|
-
var
|
|
11067
|
+
// 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&
|
|
11068
|
+
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)}
|
|
11069
|
+
var TypeSectionvue_type_template_id_db37b7d4_lang_pug_staticRenderFns = []
|
|
10982
11070
|
|
|
10983
11071
|
|
|
10984
|
-
// CONCATENATED MODULE: ./src/types/TypeSection.vue?vue&type=template&id=
|
|
11072
|
+
// CONCATENATED MODULE: ./src/types/TypeSection.vue?vue&type=template&id=db37b7d4&lang=pug&
|
|
10985
11073
|
|
|
10986
11074
|
// 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&
|
|
10987
11075
|
|
|
@@ -11018,8 +11106,8 @@ var TypeSectionvue_type_style_index_0_lang_sass_ = __webpack_require__("94f5");
|
|
|
11018
11106
|
|
|
11019
11107
|
var TypeSection_component = normalizeComponent(
|
|
11020
11108
|
types_TypeSectionvue_type_script_lang_js_,
|
|
11021
|
-
|
|
11022
|
-
|
|
11109
|
+
TypeSectionvue_type_template_id_db37b7d4_lang_pug_render,
|
|
11110
|
+
TypeSectionvue_type_template_id_db37b7d4_lang_pug_staticRenderFns,
|
|
11023
11111
|
false,
|
|
11024
11112
|
null,
|
|
11025
11113
|
null,
|
|
@@ -11028,7 +11116,7 @@ var TypeSection_component = normalizeComponent(
|
|
|
11028
11116
|
)
|
|
11029
11117
|
|
|
11030
11118
|
/* harmony default export */ var TypeSection = (TypeSection_component.exports);
|
|
11031
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11119
|
+
// 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&
|
|
11032
11120
|
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()])}
|
|
11033
11121
|
var TypeSelectvue_type_template_id_b63f8bde_lang_pug_staticRenderFns = []
|
|
11034
11122
|
|
|
@@ -11075,7 +11163,7 @@ var TypeSelect_component = normalizeComponent(
|
|
|
11075
11163
|
)
|
|
11076
11164
|
|
|
11077
11165
|
/* harmony default export */ var TypeSelect = (TypeSelect_component.exports);
|
|
11078
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11166
|
+
// 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&
|
|
11079
11167
|
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)}
|
|
11080
11168
|
var TypeSlidervue_type_template_id_166cd654_lang_pug_staticRenderFns = []
|
|
11081
11169
|
|
|
@@ -11126,7 +11214,7 @@ var TypeSlider_component = normalizeComponent(
|
|
|
11126
11214
|
)
|
|
11127
11215
|
|
|
11128
11216
|
/* harmony default export */ var TypeSlider = (TypeSlider_component.exports);
|
|
11129
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11217
|
+
// 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&
|
|
11130
11218
|
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))}
|
|
11131
11219
|
var TypeSwitchvue_type_template_id_ea67bb8a_lang_pug_staticRenderFns = []
|
|
11132
11220
|
|
|
@@ -11175,7 +11263,7 @@ var TypeSwitch_component = normalizeComponent(
|
|
|
11175
11263
|
)
|
|
11176
11264
|
|
|
11177
11265
|
/* harmony default export */ var TypeSwitch = (TypeSwitch_component.exports);
|
|
11178
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11266
|
+
// 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&
|
|
11179
11267
|
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))}
|
|
11180
11268
|
var TypeTextvue_type_template_id_6ec29473_lang_pug_staticRenderFns = []
|
|
11181
11269
|
|
|
@@ -11252,7 +11340,7 @@ var TypeText_component = normalizeComponent(
|
|
|
11252
11340
|
)
|
|
11253
11341
|
|
|
11254
11342
|
/* harmony default export */ var TypeText = (TypeText_component.exports);
|
|
11255
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11343
|
+
// 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&
|
|
11256
11344
|
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))}
|
|
11257
11345
|
var TypeTextareavue_type_template_id_023157c6_lang_pug_staticRenderFns = []
|
|
11258
11346
|
|
|
@@ -11302,12 +11390,12 @@ var TypeTextarea_component = normalizeComponent(
|
|
|
11302
11390
|
)
|
|
11303
11391
|
|
|
11304
11392
|
/* harmony default export */ var TypeTextarea = (TypeTextarea_component.exports);
|
|
11305
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11306
|
-
var
|
|
11307
|
-
var
|
|
11393
|
+
// 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&
|
|
11394
|
+
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)}
|
|
11395
|
+
var TypeTreeListvue_type_template_id_736bc7d5_lang_pug_staticRenderFns = []
|
|
11308
11396
|
|
|
11309
11397
|
|
|
11310
|
-
// CONCATENATED MODULE: ./src/types/TypeTreeList.vue?vue&type=template&id=
|
|
11398
|
+
// CONCATENATED MODULE: ./src/types/TypeTreeList.vue?vue&type=template&id=736bc7d5&lang=pug&
|
|
11311
11399
|
|
|
11312
11400
|
// 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&
|
|
11313
11401
|
|
|
@@ -11413,8 +11501,8 @@ var TypeTreeListvue_type_style_index_0_lang_sass_ = __webpack_require__("7d86");
|
|
|
11413
11501
|
|
|
11414
11502
|
var TypeTreeList_component = normalizeComponent(
|
|
11415
11503
|
types_TypeTreeListvue_type_script_lang_js_,
|
|
11416
|
-
|
|
11417
|
-
|
|
11504
|
+
TypeTreeListvue_type_template_id_736bc7d5_lang_pug_render,
|
|
11505
|
+
TypeTreeListvue_type_template_id_736bc7d5_lang_pug_staticRenderFns,
|
|
11418
11506
|
false,
|
|
11419
11507
|
null,
|
|
11420
11508
|
null,
|
|
@@ -11423,12 +11511,12 @@ var TypeTreeList_component = normalizeComponent(
|
|
|
11423
11511
|
)
|
|
11424
11512
|
|
|
11425
11513
|
/* harmony default export */ var TypeTreeList = (TypeTreeList_component.exports);
|
|
11426
|
-
// CONCATENATED MODULE: /Users/lehni/Development/Lineto/dito/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
11427
|
-
var
|
|
11428
|
-
var
|
|
11514
|
+
// 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&
|
|
11515
|
+
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)])}
|
|
11516
|
+
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')])])])}]
|
|
11429
11517
|
|
|
11430
11518
|
|
|
11431
|
-
// CONCATENATED MODULE: ./src/types/TypeUpload.vue?vue&type=template&id=
|
|
11519
|
+
// CONCATENATED MODULE: ./src/types/TypeUpload.vue?vue&type=template&id=0b2edffa&lang=pug&
|
|
11432
11520
|
|
|
11433
11521
|
// EXTERNAL MODULE: external {"root":"VueUploadComponent","amd":"vue-upload-component","commonjs":"vue-upload-component","commonjs2":"vue-upload-component"}
|
|
11434
11522
|
var external_root_VueUploadComponent_amd_vue_upload_component_commonjs_vue_upload_component_commonjs2_vue_upload_component_ = __webpack_require__("80d0");
|
|
@@ -11576,7 +11664,7 @@ function formatFileSize(size) {
|
|
|
11576
11664
|
this.notify({
|
|
11577
11665
|
type: 'info',
|
|
11578
11666
|
title: 'Successfully Removed',
|
|
11579
|
-
text: `${name} was ${this.verbs.
|
|
11667
|
+
text: `${name} was ${this.verbs.deleted}.`
|
|
11580
11668
|
});
|
|
11581
11669
|
}
|
|
11582
11670
|
},
|
|
@@ -11708,8 +11796,8 @@ var TypeUploadvue_type_style_index_0_lang_sass_ = __webpack_require__("a6de");
|
|
|
11708
11796
|
|
|
11709
11797
|
var TypeUpload_component = normalizeComponent(
|
|
11710
11798
|
types_TypeUploadvue_type_script_lang_js_,
|
|
11711
|
-
|
|
11712
|
-
|
|
11799
|
+
TypeUploadvue_type_template_id_0b2edffa_lang_pug_render,
|
|
11800
|
+
TypeUploadvue_type_template_id_0b2edffa_lang_pug_staticRenderFns,
|
|
11713
11801
|
false,
|
|
11714
11802
|
null,
|
|
11715
11803
|
null,
|
|
@@ -11865,7 +11953,8 @@ class DitoAdmin_DitoAdmin {
|
|
|
11865
11953
|
$sourceComponent: () => null,
|
|
11866
11954
|
$resourceComponent: () => null,
|
|
11867
11955
|
$dialogComponent: () => null,
|
|
11868
|
-
$panelComponent: () => null
|
|
11956
|
+
$panelComponent: () => null,
|
|
11957
|
+
$tabComponent: () => null
|
|
11869
11958
|
},
|
|
11870
11959
|
render: createElement => createElement(DitoRoot, {
|
|
11871
11960
|
attrs: {
|
|
@@ -11896,8 +11985,10 @@ class DitoAdmin_DitoAdmin {
|
|
|
11896
11985
|
return external_root_Axios_amd_axios_commonjs_axios_commonjs2_axios_default.a.request({
|
|
11897
11986
|
url,
|
|
11898
11987
|
method,
|
|
11899
|
-
data: data !== null ? JSON.stringify(data) : null,
|
|
11900
11988
|
params,
|
|
11989
|
+
...(data && {
|
|
11990
|
+
data
|
|
11991
|
+
}),
|
|
11901
11992
|
baseURL: isApiRequest ? this.api.url : null,
|
|
11902
11993
|
headers: { ...(isApiRequest && this.api.headers),
|
|
11903
11994
|
...headers
|
|
@@ -11981,11 +12072,11 @@ module.exports = {
|
|
|
11981
12072
|
/***/ "2117":
|
|
11982
12073
|
/***/ (function(module, exports, __webpack_require__) {
|
|
11983
12074
|
|
|
11984
|
-
var
|
|
12075
|
+
var aCallable = __webpack_require__("63d3");
|
|
11985
12076
|
|
|
11986
12077
|
// optional / simple context binding
|
|
11987
12078
|
module.exports = function (fn, that, length) {
|
|
11988
|
-
|
|
12079
|
+
aCallable(fn);
|
|
11989
12080
|
if (that === undefined) return fn;
|
|
11990
12081
|
switch (length) {
|
|
11991
12082
|
case 0: return function () {
|
|
@@ -12275,8 +12366,8 @@ module.exports = function (argument) {
|
|
|
12275
12366
|
var $ = __webpack_require__("6b1d");
|
|
12276
12367
|
var IS_PURE = __webpack_require__("0e93");
|
|
12277
12368
|
var getBuiltIn = __webpack_require__("5428");
|
|
12369
|
+
var aCallable = __webpack_require__("63d3");
|
|
12278
12370
|
var anObject = __webpack_require__("157c");
|
|
12279
|
-
var aFunction = __webpack_require__("8697");
|
|
12280
12371
|
var speciesConstructor = __webpack_require__("433a");
|
|
12281
12372
|
var iterate = __webpack_require__("b578");
|
|
12282
12373
|
|
|
@@ -12286,8 +12377,8 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
|
|
|
12286
12377
|
intersection: function intersection(iterable) {
|
|
12287
12378
|
var set = anObject(this);
|
|
12288
12379
|
var newSet = new (speciesConstructor(set, getBuiltIn('Set')))();
|
|
12289
|
-
var hasCheck =
|
|
12290
|
-
var adder =
|
|
12380
|
+
var hasCheck = aCallable(set.has);
|
|
12381
|
+
var adder = aCallable(newSet.add);
|
|
12291
12382
|
iterate(iterable, function (value) {
|
|
12292
12383
|
if (hasCheck.call(set, value)) adder.call(newSet, value);
|
|
12293
12384
|
});
|
|
@@ -12455,6 +12546,18 @@ exports.push([module.i, ".dito-textarea{display:block;resize:none;min-height:cal
|
|
|
12455
12546
|
module.exports = exports;
|
|
12456
12547
|
|
|
12457
12548
|
|
|
12549
|
+
/***/ }),
|
|
12550
|
+
|
|
12551
|
+
/***/ "3ce8":
|
|
12552
|
+
/***/ (function(module, exports) {
|
|
12553
|
+
|
|
12554
|
+
// `isCallable` abstract operation
|
|
12555
|
+
// https://tc39.es/ecma262/#sec-iscallable
|
|
12556
|
+
module.exports = function (argument) {
|
|
12557
|
+
return typeof argument === 'function';
|
|
12558
|
+
};
|
|
12559
|
+
|
|
12560
|
+
|
|
12458
12561
|
/***/ }),
|
|
12459
12562
|
|
|
12460
12563
|
/***/ "3ceb":
|
|
@@ -12549,14 +12652,14 @@ module.exports = exports;
|
|
|
12549
12652
|
/***/ "3f5a":
|
|
12550
12653
|
/***/ (function(module, exports, __webpack_require__) {
|
|
12551
12654
|
|
|
12655
|
+
var aCallable = __webpack_require__("63d3");
|
|
12552
12656
|
var anObject = __webpack_require__("157c");
|
|
12553
12657
|
var getIteratorMethod = __webpack_require__("0446");
|
|
12554
12658
|
|
|
12555
|
-
module.exports = function (
|
|
12556
|
-
var iteratorMethod = arguments.length < 2 ? getIteratorMethod(
|
|
12557
|
-
if (
|
|
12558
|
-
|
|
12559
|
-
} return anObject(iteratorMethod.call(it));
|
|
12659
|
+
module.exports = function (argument, usingIterator) {
|
|
12660
|
+
var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;
|
|
12661
|
+
if (aCallable(iteratorMethod)) return anObject(iteratorMethod.call(argument));
|
|
12662
|
+
throw TypeError(String(argument) + ' is not iterable');
|
|
12560
12663
|
};
|
|
12561
12664
|
|
|
12562
12665
|
|
|
@@ -12602,7 +12705,7 @@ var update = add("f567a61e", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
12602
12705
|
/***/ (function(module, exports, __webpack_require__) {
|
|
12603
12706
|
|
|
12604
12707
|
var anObject = __webpack_require__("157c");
|
|
12605
|
-
var
|
|
12708
|
+
var aConstructor = __webpack_require__("004f");
|
|
12606
12709
|
var wellKnownSymbol = __webpack_require__("7d53");
|
|
12607
12710
|
|
|
12608
12711
|
var SPECIES = wellKnownSymbol('species');
|
|
@@ -12612,7 +12715,7 @@ var SPECIES = wellKnownSymbol('species');
|
|
|
12612
12715
|
module.exports = function (O, defaultConstructor) {
|
|
12613
12716
|
var C = anObject(O).constructor;
|
|
12614
12717
|
var S;
|
|
12615
|
-
return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor :
|
|
12718
|
+
return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aConstructor(S);
|
|
12616
12719
|
};
|
|
12617
12720
|
|
|
12618
12721
|
|
|
@@ -12658,8 +12761,8 @@ var update = add("598333af", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
12658
12761
|
var $ = __webpack_require__("6b1d");
|
|
12659
12762
|
var IS_PURE = __webpack_require__("0e93");
|
|
12660
12763
|
var getBuiltIn = __webpack_require__("5428");
|
|
12764
|
+
var aCallable = __webpack_require__("63d3");
|
|
12661
12765
|
var anObject = __webpack_require__("157c");
|
|
12662
|
-
var aFunction = __webpack_require__("8697");
|
|
12663
12766
|
var bind = __webpack_require__("2117");
|
|
12664
12767
|
var speciesConstructor = __webpack_require__("433a");
|
|
12665
12768
|
var getSetIterator = __webpack_require__("bad4");
|
|
@@ -12673,7 +12776,7 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
|
|
|
12673
12776
|
var iterator = getSetIterator(set);
|
|
12674
12777
|
var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);
|
|
12675
12778
|
var newSet = new (speciesConstructor(set, getBuiltIn('Set')))();
|
|
12676
|
-
var adder =
|
|
12779
|
+
var adder = aCallable(newSet.add);
|
|
12677
12780
|
iterate(iterator, function (value) {
|
|
12678
12781
|
if (boundFunction(value, value, set)) adder.call(newSet, value);
|
|
12679
12782
|
}, { IS_ITERATOR: true });
|
|
@@ -12682,6 +12785,20 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
|
|
|
12682
12785
|
});
|
|
12683
12786
|
|
|
12684
12787
|
|
|
12788
|
+
/***/ }),
|
|
12789
|
+
|
|
12790
|
+
/***/ "4912":
|
|
12791
|
+
/***/ (function(module, exports) {
|
|
12792
|
+
|
|
12793
|
+
module.exports = function (argument) {
|
|
12794
|
+
try {
|
|
12795
|
+
return String(argument);
|
|
12796
|
+
} catch (error) {
|
|
12797
|
+
return 'Object';
|
|
12798
|
+
}
|
|
12799
|
+
};
|
|
12800
|
+
|
|
12801
|
+
|
|
12685
12802
|
/***/ }),
|
|
12686
12803
|
|
|
12687
12804
|
/***/ "491f":
|
|
@@ -12718,7 +12835,7 @@ var store = __webpack_require__("c607");
|
|
|
12718
12835
|
(module.exports = function (key, value) {
|
|
12719
12836
|
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
12720
12837
|
})('versions', []).push({
|
|
12721
|
-
version: '3.
|
|
12838
|
+
version: '3.18.0',
|
|
12722
12839
|
mode: IS_PURE ? 'pure' : 'global',
|
|
12723
12840
|
copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
|
|
12724
12841
|
});
|
|
@@ -12778,9 +12895,10 @@ module.exports = version && +version;
|
|
|
12778
12895
|
/***/ (function(module, exports, __webpack_require__) {
|
|
12779
12896
|
|
|
12780
12897
|
var global = __webpack_require__("f498");
|
|
12898
|
+
var isCallable = __webpack_require__("3ce8");
|
|
12781
12899
|
|
|
12782
|
-
var aFunction = function (
|
|
12783
|
-
return
|
|
12900
|
+
var aFunction = function (argument) {
|
|
12901
|
+
return isCallable(argument) ? argument : undefined;
|
|
12784
12902
|
};
|
|
12785
12903
|
|
|
12786
12904
|
module.exports = function (namespace, method) {
|
|
@@ -12891,13 +13009,17 @@ module.exports = exports;
|
|
|
12891
13009
|
|
|
12892
13010
|
/***/ }),
|
|
12893
13011
|
|
|
12894
|
-
/***/ "
|
|
12895
|
-
/***/ (function(module,
|
|
13012
|
+
/***/ "60de":
|
|
13013
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
12896
13014
|
|
|
12897
|
-
|
|
12898
|
-
|
|
12899
|
-
|
|
12900
|
-
|
|
13015
|
+
var aCallable = __webpack_require__("63d3");
|
|
13016
|
+
|
|
13017
|
+
// `GetMethod` abstract operation
|
|
13018
|
+
// https://tc39.es/ecma262/#sec-getmethod
|
|
13019
|
+
module.exports = function (V, P) {
|
|
13020
|
+
var func = V[P];
|
|
13021
|
+
return func == null ? undefined : aCallable(func);
|
|
13022
|
+
};
|
|
12901
13023
|
|
|
12902
13024
|
|
|
12903
13025
|
/***/ }),
|
|
@@ -12923,6 +13045,21 @@ var update = add("1165da2e", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
12923
13045
|
|
|
12924
13046
|
module.exports = require("vue-router");
|
|
12925
13047
|
|
|
13048
|
+
/***/ }),
|
|
13049
|
+
|
|
13050
|
+
/***/ "63d3":
|
|
13051
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
13052
|
+
|
|
13053
|
+
var isCallable = __webpack_require__("3ce8");
|
|
13054
|
+
var tryToString = __webpack_require__("4912");
|
|
13055
|
+
|
|
13056
|
+
// `Assert: IsCallable(argument) is true`
|
|
13057
|
+
module.exports = function (argument) {
|
|
13058
|
+
if (isCallable(argument)) return argument;
|
|
13059
|
+
throw TypeError(tryToString(argument) + ' is not a function');
|
|
13060
|
+
};
|
|
13061
|
+
|
|
13062
|
+
|
|
12926
13063
|
/***/ }),
|
|
12927
13064
|
|
|
12928
13065
|
/***/ "64e4":
|
|
@@ -13007,6 +13144,7 @@ var isForced = __webpack_require__("ebac");
|
|
|
13007
13144
|
options.sham - add a flag to not completely full polyfills
|
|
13008
13145
|
options.enumerable - export as enumerable property
|
|
13009
13146
|
options.noTargetGet - prevent calling a getter on target
|
|
13147
|
+
options.name - the .name of the function if it does not match the key
|
|
13010
13148
|
*/
|
|
13011
13149
|
module.exports = function (options, source) {
|
|
13012
13150
|
var TARGET = options.target;
|
|
@@ -13081,6 +13219,17 @@ if(content.locals) module.exports = content.locals;
|
|
|
13081
13219
|
var add = __webpack_require__("0ed3").default
|
|
13082
13220
|
var update = add("201f18be", content, true, {"sourceMap":false,"shadowMode":false});
|
|
13083
13221
|
|
|
13222
|
+
/***/ }),
|
|
13223
|
+
|
|
13224
|
+
/***/ "6f72":
|
|
13225
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
13226
|
+
|
|
13227
|
+
"use strict";
|
|
13228
|
+
/* 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");
|
|
13229
|
+
/* 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__);
|
|
13230
|
+
/* unused harmony reexport * */
|
|
13231
|
+
|
|
13232
|
+
|
|
13084
13233
|
/***/ }),
|
|
13085
13234
|
|
|
13086
13235
|
/***/ "710d":
|
|
@@ -13098,11 +13247,12 @@ var update = add("201f18be", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
13098
13247
|
/***/ (function(module, exports, __webpack_require__) {
|
|
13099
13248
|
|
|
13100
13249
|
var global = __webpack_require__("f498");
|
|
13250
|
+
var isCallable = __webpack_require__("3ce8");
|
|
13101
13251
|
var inspectSource = __webpack_require__("df6f");
|
|
13102
13252
|
|
|
13103
13253
|
var WeakMap = global.WeakMap;
|
|
13104
13254
|
|
|
13105
|
-
module.exports =
|
|
13255
|
+
module.exports = isCallable(WeakMap) && /native code/.test(inspectSource(WeakMap));
|
|
13106
13256
|
|
|
13107
13257
|
|
|
13108
13258
|
/***/ }),
|
|
@@ -13176,10 +13326,12 @@ module.exports = exports;
|
|
|
13176
13326
|
/***/ }),
|
|
13177
13327
|
|
|
13178
13328
|
/***/ "7526":
|
|
13179
|
-
/***/ (function(module, exports) {
|
|
13329
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
13330
|
+
|
|
13331
|
+
var isCallable = __webpack_require__("3ce8");
|
|
13180
13332
|
|
|
13181
13333
|
module.exports = function (it) {
|
|
13182
|
-
return typeof it === 'object' ? it !== null :
|
|
13334
|
+
return typeof it === 'object' ? it !== null : isCallable(it);
|
|
13183
13335
|
};
|
|
13184
13336
|
|
|
13185
13337
|
|
|
@@ -13204,8 +13356,8 @@ module.exports = function (it) {
|
|
|
13204
13356
|
var $ = __webpack_require__("6b1d");
|
|
13205
13357
|
var IS_PURE = __webpack_require__("0e93");
|
|
13206
13358
|
var getBuiltIn = __webpack_require__("5428");
|
|
13359
|
+
var aCallable = __webpack_require__("63d3");
|
|
13207
13360
|
var anObject = __webpack_require__("157c");
|
|
13208
|
-
var aFunction = __webpack_require__("8697");
|
|
13209
13361
|
var speciesConstructor = __webpack_require__("433a");
|
|
13210
13362
|
var iterate = __webpack_require__("b578");
|
|
13211
13363
|
|
|
@@ -13215,8 +13367,8 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
|
|
|
13215
13367
|
symmetricDifference: function symmetricDifference(iterable) {
|
|
13216
13368
|
var set = anObject(this);
|
|
13217
13369
|
var newSet = new (speciesConstructor(set, getBuiltIn('Set')))(set);
|
|
13218
|
-
var remover =
|
|
13219
|
-
var adder =
|
|
13370
|
+
var remover = aCallable(newSet['delete']);
|
|
13371
|
+
var adder = aCallable(newSet.add);
|
|
13220
13372
|
iterate(iterable, function (value) {
|
|
13221
13373
|
remover.call(newSet, value) || adder.call(newSet, value);
|
|
13222
13374
|
});
|
|
@@ -13255,6 +13407,20 @@ if(content.locals) module.exports = content.locals;
|
|
|
13255
13407
|
var add = __webpack_require__("0ed3").default
|
|
13256
13408
|
var update = add("882ec1c0", content, true, {"sourceMap":false,"shadowMode":false});
|
|
13257
13409
|
|
|
13410
|
+
/***/ }),
|
|
13411
|
+
|
|
13412
|
+
/***/ "79e6":
|
|
13413
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
13414
|
+
|
|
13415
|
+
// Imports
|
|
13416
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("3c10");
|
|
13417
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
13418
|
+
// Module
|
|
13419
|
+
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}", ""]);
|
|
13420
|
+
// Exports
|
|
13421
|
+
module.exports = exports;
|
|
13422
|
+
|
|
13423
|
+
|
|
13258
13424
|
/***/ }),
|
|
13259
13425
|
|
|
13260
13426
|
/***/ "7a87":
|
|
@@ -13417,8 +13583,8 @@ module.exports = require("vue-upload-component");
|
|
|
13417
13583
|
|
|
13418
13584
|
var $ = __webpack_require__("6b1d");
|
|
13419
13585
|
var IS_PURE = __webpack_require__("0e93");
|
|
13586
|
+
var aCallable = __webpack_require__("63d3");
|
|
13420
13587
|
var anObject = __webpack_require__("157c");
|
|
13421
|
-
var aFunction = __webpack_require__("8697");
|
|
13422
13588
|
var iterate = __webpack_require__("b578");
|
|
13423
13589
|
|
|
13424
13590
|
// `Set.prototype.isDisjointFrom` method
|
|
@@ -13426,7 +13592,7 @@ var iterate = __webpack_require__("b578");
|
|
|
13426
13592
|
$({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
|
|
13427
13593
|
isDisjointFrom: function isDisjointFrom(iterable) {
|
|
13428
13594
|
var set = anObject(this);
|
|
13429
|
-
var hasCheck =
|
|
13595
|
+
var hasCheck = aCallable(set.has);
|
|
13430
13596
|
return !iterate(iterable, function (value, stop) {
|
|
13431
13597
|
if (hasCheck.call(set, value) === true) return stop();
|
|
13432
13598
|
}, { INTERRUPTED: true }).stopped;
|
|
@@ -13443,7 +13609,7 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
|
|
|
13443
13609
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("3c10");
|
|
13444
13610
|
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
13445
13611
|
// Module
|
|
13446
|
-
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}", ""]);
|
|
13612
|
+
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}", ""]);
|
|
13447
13613
|
// Exports
|
|
13448
13614
|
module.exports = exports;
|
|
13449
13615
|
|
|
@@ -13516,13 +13682,13 @@ module.exports = fails(function () {
|
|
|
13516
13682
|
|
|
13517
13683
|
"use strict";
|
|
13518
13684
|
|
|
13685
|
+
var aCallable = __webpack_require__("63d3");
|
|
13519
13686
|
var anObject = __webpack_require__("157c");
|
|
13520
|
-
var aFunction = __webpack_require__("8697");
|
|
13521
13687
|
|
|
13522
13688
|
// https://github.com/tc39/collection-methods
|
|
13523
13689
|
module.exports = function (/* ...elements */) {
|
|
13524
13690
|
var set = anObject(this);
|
|
13525
|
-
var adder =
|
|
13691
|
+
var adder = aCallable(set.add);
|
|
13526
13692
|
for (var k = 0, len = arguments.length; k < len; k++) {
|
|
13527
13693
|
adder.call(set, arguments[k]);
|
|
13528
13694
|
}
|
|
@@ -13530,18 +13696,6 @@ module.exports = function (/* ...elements */) {
|
|
|
13530
13696
|
};
|
|
13531
13697
|
|
|
13532
13698
|
|
|
13533
|
-
/***/ }),
|
|
13534
|
-
|
|
13535
|
-
/***/ "8697":
|
|
13536
|
-
/***/ (function(module, exports) {
|
|
13537
|
-
|
|
13538
|
-
module.exports = function (it) {
|
|
13539
|
-
if (typeof it != 'function') {
|
|
13540
|
-
throw TypeError(String(it) + ' is not a function');
|
|
13541
|
-
} return it;
|
|
13542
|
-
};
|
|
13543
|
-
|
|
13544
|
-
|
|
13545
13699
|
/***/ }),
|
|
13546
13700
|
|
|
13547
13701
|
/***/ "8b0f":
|
|
@@ -13587,7 +13741,7 @@ module.exports = require("vue");
|
|
|
13587
13741
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("3c10");
|
|
13588
13742
|
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
13589
13743
|
// Module
|
|
13590
|
-
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-
|
|
13744
|
+
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}", ""]);
|
|
13591
13745
|
// Exports
|
|
13592
13746
|
module.exports = exports;
|
|
13593
13747
|
|
|
@@ -13601,8 +13755,8 @@ module.exports = exports;
|
|
|
13601
13755
|
|
|
13602
13756
|
var $ = __webpack_require__("6b1d");
|
|
13603
13757
|
var IS_PURE = __webpack_require__("0e93");
|
|
13758
|
+
var aCallable = __webpack_require__("63d3");
|
|
13604
13759
|
var anObject = __webpack_require__("157c");
|
|
13605
|
-
var aFunction = __webpack_require__("8697");
|
|
13606
13760
|
var getSetIterator = __webpack_require__("bad4");
|
|
13607
13761
|
var iterate = __webpack_require__("b578");
|
|
13608
13762
|
|
|
@@ -13614,7 +13768,7 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
|
|
|
13614
13768
|
var iterator = getSetIterator(set);
|
|
13615
13769
|
var noInitial = arguments.length < 2;
|
|
13616
13770
|
var accumulator = noInitial ? undefined : arguments[1];
|
|
13617
|
-
|
|
13771
|
+
aCallable(callbackfn);
|
|
13618
13772
|
iterate(iterator, function (value) {
|
|
13619
13773
|
if (noInitial) {
|
|
13620
13774
|
noInitial = false;
|
|
@@ -13643,13 +13797,13 @@ module.exports = require("tiptap");
|
|
|
13643
13797
|
|
|
13644
13798
|
"use strict";
|
|
13645
13799
|
|
|
13800
|
+
var aCallable = __webpack_require__("63d3");
|
|
13646
13801
|
var anObject = __webpack_require__("157c");
|
|
13647
|
-
var aFunction = __webpack_require__("8697");
|
|
13648
13802
|
|
|
13649
13803
|
// https://github.com/tc39/collection-methods
|
|
13650
13804
|
module.exports = function (/* ...elements */) {
|
|
13651
13805
|
var collection = anObject(this);
|
|
13652
|
-
var remover =
|
|
13806
|
+
var remover = aCallable(collection['delete']);
|
|
13653
13807
|
var allDeleted = true;
|
|
13654
13808
|
var wasDeleted;
|
|
13655
13809
|
for (var k = 0, len = arguments.length; k < len; k++) {
|
|
@@ -13702,6 +13856,20 @@ if(content.locals) module.exports = content.locals;
|
|
|
13702
13856
|
var add = __webpack_require__("0ed3").default
|
|
13703
13857
|
var update = add("6b539d46", content, true, {"sourceMap":false,"shadowMode":false});
|
|
13704
13858
|
|
|
13859
|
+
/***/ }),
|
|
13860
|
+
|
|
13861
|
+
/***/ "96c9":
|
|
13862
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
13863
|
+
|
|
13864
|
+
// Imports
|
|
13865
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("3c10");
|
|
13866
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
13867
|
+
// Module
|
|
13868
|
+
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}", ""]);
|
|
13869
|
+
// Exports
|
|
13870
|
+
module.exports = exports;
|
|
13871
|
+
|
|
13872
|
+
|
|
13705
13873
|
/***/ }),
|
|
13706
13874
|
|
|
13707
13875
|
/***/ "9a0f":
|
|
@@ -13730,7 +13898,7 @@ module.exports = function (index, length) {
|
|
|
13730
13898
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("3c10");
|
|
13731
13899
|
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
13732
13900
|
// Module
|
|
13733
|
-
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-
|
|
13901
|
+
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}", ""]);
|
|
13734
13902
|
// Exports
|
|
13735
13903
|
module.exports = exports;
|
|
13736
13904
|
|
|
@@ -13744,8 +13912,8 @@ module.exports = exports;
|
|
|
13744
13912
|
|
|
13745
13913
|
var $ = __webpack_require__("6b1d");
|
|
13746
13914
|
var IS_PURE = __webpack_require__("0e93");
|
|
13915
|
+
var aCallable = __webpack_require__("63d3");
|
|
13747
13916
|
var anObject = __webpack_require__("157c");
|
|
13748
|
-
var aFunction = __webpack_require__("8697");
|
|
13749
13917
|
var iterate = __webpack_require__("b578");
|
|
13750
13918
|
|
|
13751
13919
|
// `Set.prototype.isSupersetOf` method
|
|
@@ -13753,7 +13921,7 @@ var iterate = __webpack_require__("b578");
|
|
|
13753
13921
|
$({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
|
|
13754
13922
|
isSupersetOf: function isSupersetOf(iterable) {
|
|
13755
13923
|
var set = anObject(this);
|
|
13756
|
-
var hasCheck =
|
|
13924
|
+
var hasCheck = aCallable(set.has);
|
|
13757
13925
|
return !iterate(iterable, function (value, stop) {
|
|
13758
13926
|
if (hasCheck.call(set, value) === false) return stop();
|
|
13759
13927
|
}, { INTERRUPTED: true }).stopped;
|
|
@@ -13898,7 +14066,7 @@ module.exports = exports;
|
|
|
13898
14066
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("3c10");
|
|
13899
14067
|
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
13900
14068
|
// Module
|
|
13901
|
-
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-
|
|
14069
|
+
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}", ""]);
|
|
13902
14070
|
// Exports
|
|
13903
14071
|
module.exports = exports;
|
|
13904
14072
|
|
|
@@ -13970,13 +14138,14 @@ module.exports = exports;
|
|
|
13970
14138
|
/***/ (function(module, exports, __webpack_require__) {
|
|
13971
14139
|
|
|
13972
14140
|
var anObject = __webpack_require__("157c");
|
|
14141
|
+
var getMethod = __webpack_require__("60de");
|
|
13973
14142
|
|
|
13974
14143
|
module.exports = function (iterator, kind, value) {
|
|
13975
14144
|
var innerResult, innerError;
|
|
13976
14145
|
anObject(iterator);
|
|
13977
14146
|
try {
|
|
13978
|
-
innerResult = iterator
|
|
13979
|
-
if (innerResult
|
|
14147
|
+
innerResult = getMethod(iterator, 'return');
|
|
14148
|
+
if (!innerResult) {
|
|
13980
14149
|
if (kind === 'throw') throw value;
|
|
13981
14150
|
return value;
|
|
13982
14151
|
}
|
|
@@ -14066,6 +14235,17 @@ if(content.locals) module.exports = content.locals;
|
|
|
14066
14235
|
var add = __webpack_require__("0ed3").default
|
|
14067
14236
|
var update = add("8165a1ee", content, true, {"sourceMap":false,"shadowMode":false});
|
|
14068
14237
|
|
|
14238
|
+
/***/ }),
|
|
14239
|
+
|
|
14240
|
+
/***/ "af1e":
|
|
14241
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
14242
|
+
|
|
14243
|
+
"use strict";
|
|
14244
|
+
/* 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");
|
|
14245
|
+
/* 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__);
|
|
14246
|
+
/* unused harmony reexport * */
|
|
14247
|
+
|
|
14248
|
+
|
|
14069
14249
|
/***/ }),
|
|
14070
14250
|
|
|
14071
14251
|
/***/ "af74":
|
|
@@ -14171,7 +14351,7 @@ module.exports = function (iterable, unboundFunction, options) {
|
|
|
14171
14351
|
var iterator, iterFn, index, length, result, next, step;
|
|
14172
14352
|
|
|
14173
14353
|
var stop = function (condition) {
|
|
14174
|
-
if (iterator) iteratorClose(iterator, '
|
|
14354
|
+
if (iterator) iteratorClose(iterator, 'normal', condition);
|
|
14175
14355
|
return new Result(true, condition);
|
|
14176
14356
|
};
|
|
14177
14357
|
|
|
@@ -14186,7 +14366,7 @@ module.exports = function (iterable, unboundFunction, options) {
|
|
|
14186
14366
|
iterator = iterable;
|
|
14187
14367
|
} else {
|
|
14188
14368
|
iterFn = getIteratorMethod(iterable);
|
|
14189
|
-
if (
|
|
14369
|
+
if (!iterFn) throw TypeError(String(iterable) + ' is not iterable');
|
|
14190
14370
|
// optimisation for array iterators
|
|
14191
14371
|
if (isArrayIteratorMethod(iterFn)) {
|
|
14192
14372
|
for (index = 0, length = toLength(iterable.length); length > index; index++) {
|
|
@@ -14209,22 +14389,6 @@ module.exports = function (iterable, unboundFunction, options) {
|
|
|
14209
14389
|
};
|
|
14210
14390
|
|
|
14211
14391
|
|
|
14212
|
-
/***/ }),
|
|
14213
|
-
|
|
14214
|
-
/***/ "b5a7":
|
|
14215
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
14216
|
-
|
|
14217
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
14218
|
-
|
|
14219
|
-
// load the styles
|
|
14220
|
-
var content = __webpack_require__("caca");
|
|
14221
|
-
if(content.__esModule) content = content.default;
|
|
14222
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
14223
|
-
if(content.locals) module.exports = content.locals;
|
|
14224
|
-
// add the styles to the DOM
|
|
14225
|
-
var add = __webpack_require__("0ed3").default
|
|
14226
|
-
var update = add("04d07bde", content, true, {"sourceMap":false,"shadowMode":false});
|
|
14227
|
-
|
|
14228
14392
|
/***/ }),
|
|
14229
14393
|
|
|
14230
14394
|
/***/ "b5c9":
|
|
@@ -14235,8 +14399,9 @@ var update = add("04d07bde", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
14235
14399
|
var $ = __webpack_require__("6b1d");
|
|
14236
14400
|
var IS_PURE = __webpack_require__("0e93");
|
|
14237
14401
|
var getBuiltIn = __webpack_require__("5428");
|
|
14402
|
+
var aCallable = __webpack_require__("63d3");
|
|
14403
|
+
var isCallable = __webpack_require__("3ce8");
|
|
14238
14404
|
var anObject = __webpack_require__("157c");
|
|
14239
|
-
var aFunction = __webpack_require__("8697");
|
|
14240
14405
|
var getIterator = __webpack_require__("3f5a");
|
|
14241
14406
|
var iterate = __webpack_require__("b578");
|
|
14242
14407
|
|
|
@@ -14247,9 +14412,9 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
|
|
|
14247
14412
|
var iterator = getIterator(this);
|
|
14248
14413
|
var otherSet = anObject(iterable);
|
|
14249
14414
|
var hasCheck = otherSet.has;
|
|
14250
|
-
if (
|
|
14415
|
+
if (!isCallable(hasCheck)) {
|
|
14251
14416
|
otherSet = new (getBuiltIn('Set'))(iterable);
|
|
14252
|
-
hasCheck =
|
|
14417
|
+
hasCheck = aCallable(otherSet.has);
|
|
14253
14418
|
}
|
|
14254
14419
|
return !iterate(iterator, function (value, stop) {
|
|
14255
14420
|
if (hasCheck.call(otherSet, value) === false) return stop();
|
|
@@ -14279,17 +14444,35 @@ module.exports = function (target, source) {
|
|
|
14279
14444
|
};
|
|
14280
14445
|
|
|
14281
14446
|
|
|
14447
|
+
/***/ }),
|
|
14448
|
+
|
|
14449
|
+
/***/ "b86b":
|
|
14450
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
14451
|
+
|
|
14452
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
14453
|
+
|
|
14454
|
+
// load the styles
|
|
14455
|
+
var content = __webpack_require__("96c9");
|
|
14456
|
+
if(content.__esModule) content = content.default;
|
|
14457
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
14458
|
+
if(content.locals) module.exports = content.locals;
|
|
14459
|
+
// add the styles to the DOM
|
|
14460
|
+
var add = __webpack_require__("0ed3").default
|
|
14461
|
+
var update = add("394516cc", content, true, {"sourceMap":false,"shadowMode":false});
|
|
14462
|
+
|
|
14282
14463
|
/***/ }),
|
|
14283
14464
|
|
|
14284
14465
|
/***/ "b8ba":
|
|
14285
14466
|
/***/ (function(module, exports, __webpack_require__) {
|
|
14286
14467
|
|
|
14287
14468
|
var global = __webpack_require__("f498");
|
|
14288
|
-
var
|
|
14469
|
+
var isCallable = __webpack_require__("3ce8");
|
|
14289
14470
|
var has = __webpack_require__("f1a7");
|
|
14471
|
+
var createNonEnumerableProperty = __webpack_require__("5b12");
|
|
14290
14472
|
var setGlobal = __webpack_require__("3e34");
|
|
14291
14473
|
var inspectSource = __webpack_require__("df6f");
|
|
14292
14474
|
var InternalStateModule = __webpack_require__("cdcd");
|
|
14475
|
+
var CONFIGURABLE_FUNCTION_NAME = __webpack_require__("d331").CONFIGURABLE;
|
|
14293
14476
|
|
|
14294
14477
|
var getInternalState = InternalStateModule.get;
|
|
14295
14478
|
var enforceInternalState = InternalStateModule.enforce;
|
|
@@ -14299,14 +14482,18 @@ var TEMPLATE = String(String).split('String');
|
|
|
14299
14482
|
var unsafe = options ? !!options.unsafe : false;
|
|
14300
14483
|
var simple = options ? !!options.enumerable : false;
|
|
14301
14484
|
var noTargetGet = options ? !!options.noTargetGet : false;
|
|
14485
|
+
var name = options && options.name !== undefined ? options.name : key;
|
|
14302
14486
|
var state;
|
|
14303
|
-
if (
|
|
14304
|
-
if (
|
|
14305
|
-
|
|
14487
|
+
if (isCallable(value)) {
|
|
14488
|
+
if (String(name).slice(0, 7) === 'Symbol(') {
|
|
14489
|
+
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
14490
|
+
}
|
|
14491
|
+
if (!has(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
14492
|
+
createNonEnumerableProperty(value, 'name', name);
|
|
14306
14493
|
}
|
|
14307
14494
|
state = enforceInternalState(value);
|
|
14308
14495
|
if (!state.source) {
|
|
14309
|
-
state.source = TEMPLATE.join(typeof
|
|
14496
|
+
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
14310
14497
|
}
|
|
14311
14498
|
}
|
|
14312
14499
|
if (O === global) {
|
|
@@ -14322,7 +14509,7 @@ var TEMPLATE = String(String).split('String');
|
|
|
14322
14509
|
else createNonEnumerableProperty(O, key, value);
|
|
14323
14510
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
14324
14511
|
})(Function.prototype, 'toString', function toString() {
|
|
14325
|
-
return
|
|
14512
|
+
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
|
14326
14513
|
});
|
|
14327
14514
|
|
|
14328
14515
|
|
|
@@ -14336,8 +14523,8 @@ var TEMPLATE = String(String).split('String');
|
|
|
14336
14523
|
var $ = __webpack_require__("6b1d");
|
|
14337
14524
|
var IS_PURE = __webpack_require__("0e93");
|
|
14338
14525
|
var getBuiltIn = __webpack_require__("5428");
|
|
14526
|
+
var aCallable = __webpack_require__("63d3");
|
|
14339
14527
|
var anObject = __webpack_require__("157c");
|
|
14340
|
-
var aFunction = __webpack_require__("8697");
|
|
14341
14528
|
var speciesConstructor = __webpack_require__("433a");
|
|
14342
14529
|
var iterate = __webpack_require__("b578");
|
|
14343
14530
|
|
|
@@ -14347,7 +14534,7 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
|
|
|
14347
14534
|
union: function union(iterable) {
|
|
14348
14535
|
var set = anObject(this);
|
|
14349
14536
|
var newSet = new (speciesConstructor(set, getBuiltIn('Set')))(set);
|
|
14350
|
-
iterate(iterable,
|
|
14537
|
+
iterate(iterable, aCallable(newSet.add), { that: newSet });
|
|
14351
14538
|
return newSet;
|
|
14352
14539
|
}
|
|
14353
14540
|
});
|
|
@@ -14400,6 +14587,54 @@ module.exports = function (it) {
|
|
|
14400
14587
|
};
|
|
14401
14588
|
|
|
14402
14589
|
|
|
14590
|
+
/***/ }),
|
|
14591
|
+
|
|
14592
|
+
/***/ "c42f":
|
|
14593
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
14594
|
+
|
|
14595
|
+
var fails = __webpack_require__("72df");
|
|
14596
|
+
var isCallable = __webpack_require__("3ce8");
|
|
14597
|
+
var classof = __webpack_require__("da06");
|
|
14598
|
+
var getBuiltIn = __webpack_require__("5428");
|
|
14599
|
+
var inspectSource = __webpack_require__("df6f");
|
|
14600
|
+
|
|
14601
|
+
var empty = [];
|
|
14602
|
+
var construct = getBuiltIn('Reflect', 'construct');
|
|
14603
|
+
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
14604
|
+
var exec = constructorRegExp.exec;
|
|
14605
|
+
var INCORRECT_TO_STRING = !constructorRegExp.exec(function () { /* empty */ });
|
|
14606
|
+
|
|
14607
|
+
var isConstructorModern = function (argument) {
|
|
14608
|
+
if (!isCallable(argument)) return false;
|
|
14609
|
+
try {
|
|
14610
|
+
construct(Object, empty, argument);
|
|
14611
|
+
return true;
|
|
14612
|
+
} catch (error) {
|
|
14613
|
+
return false;
|
|
14614
|
+
}
|
|
14615
|
+
};
|
|
14616
|
+
|
|
14617
|
+
var isConstructorLegacy = function (argument) {
|
|
14618
|
+
if (!isCallable(argument)) return false;
|
|
14619
|
+
switch (classof(argument)) {
|
|
14620
|
+
case 'AsyncFunction':
|
|
14621
|
+
case 'GeneratorFunction':
|
|
14622
|
+
case 'AsyncGeneratorFunction': return false;
|
|
14623
|
+
// we can't check .prototype since constructors produced by .bind haven't it
|
|
14624
|
+
} return INCORRECT_TO_STRING || !!exec.call(constructorRegExp, inspectSource(argument));
|
|
14625
|
+
};
|
|
14626
|
+
|
|
14627
|
+
// `IsConstructor` abstract operation
|
|
14628
|
+
// https://tc39.es/ecma262/#sec-isconstructor
|
|
14629
|
+
module.exports = !construct || fails(function () {
|
|
14630
|
+
var called;
|
|
14631
|
+
return isConstructorModern(isConstructorModern.call)
|
|
14632
|
+
|| !isConstructorModern(Object)
|
|
14633
|
+
|| !isConstructorModern(function () { called = true; })
|
|
14634
|
+
|| called;
|
|
14635
|
+
}) ? isConstructorLegacy : isConstructorModern;
|
|
14636
|
+
|
|
14637
|
+
|
|
14403
14638
|
/***/ }),
|
|
14404
14639
|
|
|
14405
14640
|
/***/ "c4c0":
|
|
@@ -14436,6 +14671,22 @@ var store = global[SHARED] || setGlobal(SHARED, {});
|
|
|
14436
14671
|
module.exports = store;
|
|
14437
14672
|
|
|
14438
14673
|
|
|
14674
|
+
/***/ }),
|
|
14675
|
+
|
|
14676
|
+
/***/ "c6b2":
|
|
14677
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
14678
|
+
|
|
14679
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
14680
|
+
|
|
14681
|
+
// load the styles
|
|
14682
|
+
var content = __webpack_require__("79e6");
|
|
14683
|
+
if(content.__esModule) content = content.default;
|
|
14684
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
14685
|
+
if(content.locals) module.exports = content.locals;
|
|
14686
|
+
// add the styles to the DOM
|
|
14687
|
+
var add = __webpack_require__("0ed3").default
|
|
14688
|
+
var update = add("28556a1e", content, true, {"sourceMap":false,"shadowMode":false});
|
|
14689
|
+
|
|
14439
14690
|
/***/ }),
|
|
14440
14691
|
|
|
14441
14692
|
/***/ "c8e8":
|
|
@@ -14484,20 +14735,6 @@ module.exports = function (it) {
|
|
|
14484
14735
|
};
|
|
14485
14736
|
|
|
14486
14737
|
|
|
14487
|
-
/***/ }),
|
|
14488
|
-
|
|
14489
|
-
/***/ "caca":
|
|
14490
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
14491
|
-
|
|
14492
|
-
// Imports
|
|
14493
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("3c10");
|
|
14494
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
14495
|
-
// Module
|
|
14496
|
-
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}", ""]);
|
|
14497
|
-
// Exports
|
|
14498
|
-
module.exports = exports;
|
|
14499
|
-
|
|
14500
|
-
|
|
14501
14738
|
/***/ }),
|
|
14502
14739
|
|
|
14503
14740
|
/***/ "cd5a":
|
|
@@ -14614,6 +14851,7 @@ module.exports = require("axios");
|
|
|
14614
14851
|
/***/ "cfd1":
|
|
14615
14852
|
/***/ (function(module, exports, __webpack_require__) {
|
|
14616
14853
|
|
|
14854
|
+
var isCallable = __webpack_require__("3ce8");
|
|
14617
14855
|
var getBuiltIn = __webpack_require__("5428");
|
|
14618
14856
|
var USE_SYMBOL_AS_UID = __webpack_require__("4db4");
|
|
14619
14857
|
|
|
@@ -14621,7 +14859,7 @@ module.exports = USE_SYMBOL_AS_UID ? function (it) {
|
|
|
14621
14859
|
return typeof it == 'symbol';
|
|
14622
14860
|
} : function (it) {
|
|
14623
14861
|
var $Symbol = getBuiltIn('Symbol');
|
|
14624
|
-
return
|
|
14862
|
+
return isCallable($Symbol) && Object(it) instanceof $Symbol;
|
|
14625
14863
|
};
|
|
14626
14864
|
|
|
14627
14865
|
|
|
@@ -14679,6 +14917,30 @@ if(content.locals) module.exports = content.locals;
|
|
|
14679
14917
|
var add = __webpack_require__("0ed3").default
|
|
14680
14918
|
var update = add("785eaf5b", content, true, {"sourceMap":false,"shadowMode":false});
|
|
14681
14919
|
|
|
14920
|
+
/***/ }),
|
|
14921
|
+
|
|
14922
|
+
/***/ "d331":
|
|
14923
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
14924
|
+
|
|
14925
|
+
var DESCRIPTORS = __webpack_require__("d4cb");
|
|
14926
|
+
var has = __webpack_require__("f1a7");
|
|
14927
|
+
|
|
14928
|
+
var FunctionPrototype = Function.prototype;
|
|
14929
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
14930
|
+
var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
|
|
14931
|
+
|
|
14932
|
+
var EXISTS = has(FunctionPrototype, 'name');
|
|
14933
|
+
// additional protection from minified / mangled / dropped function names
|
|
14934
|
+
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
14935
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
14936
|
+
|
|
14937
|
+
module.exports = {
|
|
14938
|
+
EXISTS: EXISTS,
|
|
14939
|
+
PROPER: PROPER,
|
|
14940
|
+
CONFIGURABLE: CONFIGURABLE
|
|
14941
|
+
};
|
|
14942
|
+
|
|
14943
|
+
|
|
14682
14944
|
/***/ }),
|
|
14683
14945
|
|
|
14684
14946
|
/***/ "d4b0":
|
|
@@ -14737,6 +14999,7 @@ module.exports = {};
|
|
|
14737
14999
|
/***/ (function(module, exports, __webpack_require__) {
|
|
14738
15000
|
|
|
14739
15001
|
var TO_STRING_TAG_SUPPORT = __webpack_require__("3cec");
|
|
15002
|
+
var isCallable = __webpack_require__("3ce8");
|
|
14740
15003
|
var classofRaw = __webpack_require__("6a61");
|
|
14741
15004
|
var wellKnownSymbol = __webpack_require__("7d53");
|
|
14742
15005
|
|
|
@@ -14760,7 +15023,7 @@ module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
|
14760
15023
|
// builtinTag case
|
|
14761
15024
|
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
14762
15025
|
// ES3 arguments fallback
|
|
14763
|
-
: (result = classofRaw(O)) == 'Object' &&
|
|
15026
|
+
: (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
|
|
14764
15027
|
};
|
|
14765
15028
|
|
|
14766
15029
|
|
|
@@ -14805,17 +15068,6 @@ module.exports = exports;
|
|
|
14805
15068
|
/* unused harmony reexport * */
|
|
14806
15069
|
|
|
14807
15070
|
|
|
14808
|
-
/***/ }),
|
|
14809
|
-
|
|
14810
|
-
/***/ "dda4":
|
|
14811
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
14812
|
-
|
|
14813
|
-
"use strict";
|
|
14814
|
-
/* 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");
|
|
14815
|
-
/* 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__);
|
|
14816
|
-
/* unused harmony reexport * */
|
|
14817
|
-
|
|
14818
|
-
|
|
14819
15071
|
/***/ }),
|
|
14820
15072
|
|
|
14821
15073
|
/***/ "ddef":
|
|
@@ -14826,8 +15078,8 @@ module.exports = exports;
|
|
|
14826
15078
|
var $ = __webpack_require__("6b1d");
|
|
14827
15079
|
var IS_PURE = __webpack_require__("0e93");
|
|
14828
15080
|
var getBuiltIn = __webpack_require__("5428");
|
|
15081
|
+
var aCallable = __webpack_require__("63d3");
|
|
14829
15082
|
var anObject = __webpack_require__("157c");
|
|
14830
|
-
var aFunction = __webpack_require__("8697");
|
|
14831
15083
|
var bind = __webpack_require__("2117");
|
|
14832
15084
|
var speciesConstructor = __webpack_require__("433a");
|
|
14833
15085
|
var getSetIterator = __webpack_require__("bad4");
|
|
@@ -14841,7 +15093,7 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
|
|
|
14841
15093
|
var iterator = getSetIterator(set);
|
|
14842
15094
|
var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);
|
|
14843
15095
|
var newSet = new (speciesConstructor(set, getBuiltIn('Set')))();
|
|
14844
|
-
var adder =
|
|
15096
|
+
var adder = aCallable(newSet.add);
|
|
14845
15097
|
iterate(iterator, function (value) {
|
|
14846
15098
|
adder.call(newSet, boundFunction(value, value, set));
|
|
14847
15099
|
}, { IS_ITERATOR: true });
|
|
@@ -14850,33 +15102,18 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
|
|
|
14850
15102
|
});
|
|
14851
15103
|
|
|
14852
15104
|
|
|
14853
|
-
/***/ }),
|
|
14854
|
-
|
|
14855
|
-
/***/ "de0d":
|
|
14856
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
14857
|
-
|
|
14858
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
14859
|
-
|
|
14860
|
-
// load the styles
|
|
14861
|
-
var content = __webpack_require__("e13f");
|
|
14862
|
-
if(content.__esModule) content = content.default;
|
|
14863
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
14864
|
-
if(content.locals) module.exports = content.locals;
|
|
14865
|
-
// add the styles to the DOM
|
|
14866
|
-
var add = __webpack_require__("0ed3").default
|
|
14867
|
-
var update = add("3787e91e", content, true, {"sourceMap":false,"shadowMode":false});
|
|
14868
|
-
|
|
14869
15105
|
/***/ }),
|
|
14870
15106
|
|
|
14871
15107
|
/***/ "df6f":
|
|
14872
15108
|
/***/ (function(module, exports, __webpack_require__) {
|
|
14873
15109
|
|
|
15110
|
+
var isCallable = __webpack_require__("3ce8");
|
|
14874
15111
|
var store = __webpack_require__("c607");
|
|
14875
15112
|
|
|
14876
15113
|
var functionToString = Function.toString;
|
|
14877
15114
|
|
|
14878
15115
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
14879
|
-
if (
|
|
15116
|
+
if (!isCallable(store.inspectSource)) {
|
|
14880
15117
|
store.inspectSource = function (it) {
|
|
14881
15118
|
return functionToString.call(it);
|
|
14882
15119
|
};
|
|
@@ -14935,20 +15172,6 @@ exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
|
14935
15172
|
} : $propertyIsEnumerable;
|
|
14936
15173
|
|
|
14937
15174
|
|
|
14938
|
-
/***/ }),
|
|
14939
|
-
|
|
14940
|
-
/***/ "e13f":
|
|
14941
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
14942
|
-
|
|
14943
|
-
// Imports
|
|
14944
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("3c10");
|
|
14945
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
14946
|
-
// Module
|
|
14947
|
-
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}", ""]);
|
|
14948
|
-
// Exports
|
|
14949
|
-
module.exports = exports;
|
|
14950
|
-
|
|
14951
|
-
|
|
14952
15175
|
/***/ }),
|
|
14953
15176
|
|
|
14954
15177
|
/***/ "e18a":
|
|
@@ -15064,15 +15287,16 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, {
|
|
|
15064
15287
|
/***/ "eba0":
|
|
15065
15288
|
/***/ (function(module, exports, __webpack_require__) {
|
|
15066
15289
|
|
|
15290
|
+
var isCallable = __webpack_require__("3ce8");
|
|
15067
15291
|
var isObject = __webpack_require__("7526");
|
|
15068
15292
|
|
|
15069
15293
|
// `OrdinaryToPrimitive` abstract operation
|
|
15070
15294
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
15071
15295
|
module.exports = function (input, pref) {
|
|
15072
15296
|
var fn, val;
|
|
15073
|
-
if (pref === 'string' &&
|
|
15074
|
-
if (
|
|
15075
|
-
if (pref !== 'string' &&
|
|
15297
|
+
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = fn.call(input))) return val;
|
|
15298
|
+
if (isCallable(fn = input.valueOf) && !isObject(val = fn.call(input))) return val;
|
|
15299
|
+
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = fn.call(input))) return val;
|
|
15076
15300
|
throw TypeError("Can't convert object to primitive value");
|
|
15077
15301
|
};
|
|
15078
15302
|
|
|
@@ -15083,6 +15307,7 @@ module.exports = function (input, pref) {
|
|
|
15083
15307
|
/***/ (function(module, exports, __webpack_require__) {
|
|
15084
15308
|
|
|
15085
15309
|
var fails = __webpack_require__("72df");
|
|
15310
|
+
var isCallable = __webpack_require__("3ce8");
|
|
15086
15311
|
|
|
15087
15312
|
var replacement = /#|\.prototype\./;
|
|
15088
15313
|
|
|
@@ -15090,7 +15315,7 @@ var isForced = function (feature, detection) {
|
|
|
15090
15315
|
var value = data[normalize(feature)];
|
|
15091
15316
|
return value == POLYFILL ? true
|
|
15092
15317
|
: value == NATIVE ? false
|
|
15093
|
-
:
|
|
15318
|
+
: isCallable(detection) ? fails(detection)
|
|
15094
15319
|
: !!detection;
|
|
15095
15320
|
};
|
|
15096
15321
|
|
|
@@ -15244,7 +15469,7 @@ module.exports =
|
|
|
15244
15469
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("3c10");
|
|
15245
15470
|
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
15246
15471
|
// Module
|
|
15247
|
-
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-
|
|
15472
|
+
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}", ""]);
|
|
15248
15473
|
// Exports
|
|
15249
15474
|
module.exports = exports;
|
|
15250
15475
|
|