@farm-investimentos/front-mfe-components 1.4.5 → 1.5.3
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/dist/front-mfe-components.common.js +798 -35
- package/dist/front-mfe-components.common.js.map +1 -1
- package/dist/front-mfe-components.css +1 -1
- package/dist/front-mfe-components.umd.js +798 -35
- package/dist/front-mfe-components.umd.js.map +1 -1
- package/dist/front-mfe-components.umd.min.js +1 -1
- package/dist/front-mfe-components.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/DatePicker/DatePicker.vue +15 -3
- package/src/components/DialogFooter/DialogFooter.stories.js +15 -6
- package/src/components/DialogFooter/DialogFooter.vue +13 -3
- package/src/components/ModalPromptUser/ModalPromptUser.stories.js +14 -0
- package/src/components/ModalPromptUser/ModalPromptUser.vue +105 -0
- package/src/components/ModalPromptUser/index.js +3 -0
- package/src/main.js +2 -0
|
@@ -694,6 +694,13 @@ var getBuiltIn = __webpack_require__("d066");
|
|
|
694
694
|
module.exports = getBuiltIn('navigator', 'userAgent') || '';
|
|
695
695
|
|
|
696
696
|
|
|
697
|
+
/***/ }),
|
|
698
|
+
|
|
699
|
+
/***/ "368e":
|
|
700
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
701
|
+
|
|
702
|
+
// extracted by mini-css-extract-plugin
|
|
703
|
+
|
|
697
704
|
/***/ }),
|
|
698
705
|
|
|
699
706
|
/***/ "37e8":
|
|
@@ -2309,6 +2316,13 @@ module.exports = {
|
|
|
2309
2316
|
};
|
|
2310
2317
|
|
|
2311
2318
|
|
|
2319
|
+
/***/ }),
|
|
2320
|
+
|
|
2321
|
+
/***/ "bd0c":
|
|
2322
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2323
|
+
|
|
2324
|
+
// extracted by mini-css-extract-plugin
|
|
2325
|
+
|
|
2312
2326
|
/***/ }),
|
|
2313
2327
|
|
|
2314
2328
|
/***/ "c04e":
|
|
@@ -2889,6 +2903,7 @@ __webpack_require__.d(__webpack_exports__, "DatePicker", function() { return /*
|
|
|
2889
2903
|
__webpack_require__.d(__webpack_exports__, "ManagersList", function() { return /* reexport */ components_ManagersList; });
|
|
2890
2904
|
__webpack_require__.d(__webpack_exports__, "PromptUserToConfirm", function() { return /* reexport */ components_PromptUserToConfirm; });
|
|
2891
2905
|
__webpack_require__.d(__webpack_exports__, "TableContextMenu", function() { return /* reexport */ components_TableContextMenu; });
|
|
2906
|
+
__webpack_require__.d(__webpack_exports__, "ModalPromptUser", function() { return /* reexport */ components_ModalPromptUser; });
|
|
2892
2907
|
|
|
2893
2908
|
// NAMESPACE OBJECT: ./node_modules/vuetify/lib/services/goto/easing-patterns.js
|
|
2894
2909
|
var easing_patterns_namespaceObject = {};
|
|
@@ -2931,7 +2946,7 @@ if (typeof window !== 'undefined') {
|
|
|
2931
2946
|
// Indicate to webpack that this file can be concatenated
|
|
2932
2947
|
/* harmony default export */ var setPublicPath = (null);
|
|
2933
2948
|
|
|
2934
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2949
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2b9cd32c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/DataTableEmptyWrapper/DataTableEmptyWrapper.vue?vue&type=template&id=a4b1af68&scoped=true&
|
|
2935
2950
|
var DataTableEmptyWrappervue_type_template_id_a4b1af68_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"align":"center"}},[_c('v-icon',[_vm._v("mdi-magnify")]),_c('p',[_vm._v(_vm._s(_vm.title))]),_c('p',[_vm._v(_vm._s(_vm.subtitle))])],1)}
|
|
2936
2951
|
var staticRenderFns = []
|
|
2937
2952
|
|
|
@@ -5784,7 +5799,7 @@ var DataTableEmptyWrapper_component = normalizeComponent(
|
|
|
5784
5799
|
// CONCATENATED MODULE: ./src/components/DataTableEmptyWrapper/index.js
|
|
5785
5800
|
|
|
5786
5801
|
/* harmony default export */ var components_DataTableEmptyWrapper = (DataTableEmptyWrapper);
|
|
5787
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5802
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2b9cd32c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/DataTablePaginator/DataTablePaginator.vue?vue&type=template&id=56341a65&
|
|
5788
5803
|
var DataTablePaginatorvue_type_template_id_56341a65_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:"v-data-table-custom-footer",class:{ 'hidden-perpageoptions': _vm.hidePerPageOptions }},[(!_vm.hidePerPageOptions)?_c('div',[_c('v-select',{attrs:{"outlined":"","disabled":!_vm.totalPages || _vm.totalPages < 1,"items":_vm.perPageBuiltItems,"dense":""},model:{value:(_vm.selectedLimit),callback:function ($$v) {_vm.selectedLimit=$$v},expression:"selectedLimit"}})],1):_vm._e(),_c('v-pagination',{attrs:{"disabled":_vm.disabled,"length":_vm.totalPages,"total-visible":7,"color":"secondary"},model:{value:(_vm.currentPage),callback:function ($$v) {_vm.currentPage=$$v},expression:"currentPage"}})],1)}
|
|
5789
5804
|
var DataTablePaginatorvue_type_template_id_56341a65_staticRenderFns = []
|
|
5790
5805
|
|
|
@@ -13021,7 +13036,7 @@ var DataTablePaginator_component = normalizeComponent(
|
|
|
13021
13036
|
// CONCATENATED MODULE: ./src/components/DataTablePaginator/index.js
|
|
13022
13037
|
|
|
13023
13038
|
/* harmony default export */ var components_DataTablePaginator = (DataTablePaginator);
|
|
13024
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
13039
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2b9cd32c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/AlertReload/AlertReload.vue?vue&type=template&id=3d70bcc2&
|
|
13025
13040
|
var AlertReloadvue_type_template_id_3d70bcc2_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-alert',{attrs:{"dense":"","outlined":"","type":"error"}},[_c('v-row',{attrs:{"align":"center"}},[_c('v-col',{staticClass:"grow"},[_vm._v(" "+_vm._s(_vm.label)+" ")]),_c('v-col',{staticClass:"shrink"},[_c('v-btn',{staticClass:"ml-3",attrs:{"color":"secondary"},on:{"click":function($event){return _vm.$emit('onClick')}}},[_c('v-icon',[_vm._v("mdi-refresh")]),_vm._v(" Recarregar")],1)],1)],1)],1)}
|
|
13026
13041
|
var AlertReloadvue_type_template_id_3d70bcc2_staticRenderFns = []
|
|
13027
13042
|
|
|
@@ -13992,7 +14007,7 @@ var AlertReload_component = normalizeComponent(
|
|
|
13992
14007
|
// CONCATENATED MODULE: ./src/components/AlertReload/index.js
|
|
13993
14008
|
|
|
13994
14009
|
/* harmony default export */ var components_AlertReload = (AlertReload);
|
|
13995
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14010
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2b9cd32c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/MainFilter/MainFilter.vue?vue&type=template&id=6d56b8e6&scoped=true&
|
|
13996
14011
|
var MainFiltervue_type_template_id_6d56b8e6_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{class:{ 'justify-end': _vm.justifyEnd === true }},[(_vm.hasInitialInput)?_c('fieldset',{staticClass:"fieldset-default"},[_c('label',{attrs:{"for":_vm.elementId}},[_vm._v(" "+_vm._s(_vm.label)+" "),_c('v-icon',{staticStyle:{"vertical-align":"middle"}},[_vm._v(" mdi-file-find ")])],1),_c('v-text-field',{attrs:{"color":"secondary","id":_vm.elementId,"outlined":"","dense":""},on:{"keyup":_vm.onKeyUp},model:{value:(_vm.inputValue),callback:function ($$v) {_vm.inputValue=$$v},expression:"inputValue"}})],1):_vm._e(),(_vm.hasExtraFilters)?_c('v-btn',{staticClass:"v-btn--responsive mt-14 mt-sm-8",attrs:{"color":"secondary"},on:{"click":_vm.onFilterClick}},[_c('v-icon',{staticClass:"mr-2",attrs:{"color":"white"}},[_vm._v("mdi-filter")]),_vm._v(" Filtrar ")],1):_vm._e()],1)}
|
|
13997
14012
|
var MainFiltervue_type_template_id_6d56b8e6_scoped_true_staticRenderFns = []
|
|
13998
14013
|
|
|
@@ -14135,7 +14150,7 @@ var MainFilter_component = normalizeComponent(
|
|
|
14135
14150
|
// CONCATENATED MODULE: ./src/components/MainFilter/index.js
|
|
14136
14151
|
|
|
14137
14152
|
/* harmony default export */ var components_MainFilter = (MainFilter);
|
|
14138
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14153
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2b9cd32c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Loader/Loader.vue?vue&type=template&id=a894d29c&
|
|
14139
14154
|
var Loadervue_type_template_id_a894d29c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.mode === 'overlay')?_c('v-overlay',{attrs:{"opacity":"0.3"}},[_c('v-progress-circular',{attrs:{"indeterminate":"","size":100,"color":"secondary"}})],1):_c('v-progress-circular',{attrs:{"size":_vm.calculateSize,"width":6,"color":"secondary","indeterminate":""}})],1)}
|
|
14140
14155
|
var Loadervue_type_template_id_a894d29c_staticRenderFns = []
|
|
14141
14156
|
|
|
@@ -14302,7 +14317,7 @@ var Loader_component = normalizeComponent(
|
|
|
14302
14317
|
// CONCATENATED MODULE: ./src/components/Loader/index.js
|
|
14303
14318
|
|
|
14304
14319
|
/* harmony default export */ var components_Loader = (Loader);
|
|
14305
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14320
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2b9cd32c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/FilePicker/FilePicker.vue?vue&type=template&id=3d9247d5&scoped=true&
|
|
14306
14321
|
var FilePickervue_type_template_id_3d9247d5_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{ref:"container",attrs:{"id":"droparea-container"}},[_c('input',{attrs:{"type":"file","name":"file","accept":_vm.acceptedFileTypes},on:{"change":function($event){return _vm.fileChange($event.target.files)}}}),(!_vm.selectedFile)?_c('div',{staticClass:"selectfile-container"},[_c('v-icon',{attrs:{"color":"secondary"}},[_vm._v("mdi-cloud-upload")]),_c('p',[_vm._v("Clique para selecionar ou arraste o arquivo aqui")])],1):_vm._e(),(_vm.selectedFile)?_c('div',{staticClass:"reset-container"},[_c('div',[_c('v-icon',[_vm._v("mdi-file")]),_vm._v(" Arquivo selecionado: "+_vm._s(_vm.selectedFile.name)+" ("+_vm._s(Math.floor(_vm.selectedFile.size / 1024))+"kB) ")],1),_c('v-btn',{staticClass:"v-btn-responsive",attrs:{"depressed":"","outlined":"","color":"secondary"},on:{"click":_vm.reset}},[_vm._v("Escolher outro")])],1):_vm._e()])}
|
|
14307
14322
|
var FilePickervue_type_template_id_3d9247d5_scoped_true_staticRenderFns = []
|
|
14308
14323
|
|
|
@@ -14412,7 +14427,7 @@ var FilePicker_component = normalizeComponent(
|
|
|
14412
14427
|
// CONCATENATED MODULE: ./src/components/FilePicker/index.js
|
|
14413
14428
|
|
|
14414
14429
|
/* harmony default export */ var components_FilePicker = (FilePicker);
|
|
14415
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14430
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2b9cd32c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Tabs/Tabs.vue?vue&type=template&id=02a14bda&scoped=true&
|
|
14416
14431
|
var Tabsvue_type_template_id_02a14bda_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-tabs',{attrs:{"color":"secondary"},model:{value:(_vm.selected),callback:function ($$v) {_vm.selected=$$v},expression:"selected"}},_vm._l((_vm.tabs),function(tab,index){return _c('v-tab',{key:index,class:{ hideCounter: !_vm.showCounter },attrs:{"disabled":!_vm.allowUserChange},on:{"change":function($event){return _vm.changeTab(tab, index)}}},[(_vm.showCounter)?_c('div',{staticClass:"pl-3 pr-3 pt-2 pb-2 mr-2 rounded-circle d-inline-block white--text",class:{ 'is-selected': _vm.isSelected(index) }},[_c('span',[_vm._v(_vm._s(index + 1))])]):_vm._e(),_c('span',{staticClass:"black--text text-capitalize"},[_vm._v(_vm._s(tab.name))])])}),1)}
|
|
14417
14432
|
var Tabsvue_type_template_id_02a14bda_scoped_true_staticRenderFns = []
|
|
14418
14433
|
|
|
@@ -15938,7 +15953,7 @@ var Tabs_component = normalizeComponent(
|
|
|
15938
15953
|
// CONCATENATED MODULE: ./src/components/Tabs/index.js
|
|
15939
15954
|
|
|
15940
15955
|
/* harmony default export */ var components_Tabs = (Tabs);
|
|
15941
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15956
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2b9cd32c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/DialogHeader/DialogHeader.vue?vue&type=template&id=79ca140d&
|
|
15942
15957
|
var DialogHeadervue_type_template_id_79ca140d_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('header',[(_vm.iconTitle)?_c('v-icon',{staticClass:"dialog-header__title-icon"},[_vm._v(_vm._s('mdi-' + _vm.iconTitle))]):_vm._e(),_vm._v(" "+_vm._s(_vm.title)+" "),_c('v-icon',{staticClass:"dialog-header__close-icon",attrs:{"role":"button","title":"Fechar","color":"secondary"},on:{"click":_vm.onClose}},[_vm._v(" mdi-close-thick ")])],1)}
|
|
15943
15958
|
var DialogHeadervue_type_template_id_79ca140d_staticRenderFns = []
|
|
15944
15959
|
|
|
@@ -16021,12 +16036,12 @@ var DialogHeader_component = normalizeComponent(
|
|
|
16021
16036
|
// CONCATENATED MODULE: ./src/components/DialogHeader/index.js
|
|
16022
16037
|
|
|
16023
16038
|
/* harmony default export */ var components_DialogHeader = (DialogHeader);
|
|
16024
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
16025
|
-
var
|
|
16026
|
-
var
|
|
16039
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2b9cd32c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/DialogFooter/DialogFooter.vue?vue&type=template&id=991fb86c&
|
|
16040
|
+
var DialogFootervue_type_template_id_991fb86c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"v-dialog__footer d-flex flex-column flex-sm-row justify-end"},[(_vm.hasCancel)?_c('v-btn',{attrs:{"color":"primary","outlined":""},on:{"click":function($event){return _vm.$emit('onClose')}}},[_vm._v(" "+_vm._s(_vm.closeLabel)+" ")]):_vm._e(),_vm._l((_vm.extraButtons),function(button){return _c('v-btn',{key:button.label,staticClass:"ml-sm-3 mt-3 mt-sm-0",attrs:{"color":button.color,"outlined":button.outlined,"depressed":button.outlined,"disabled":button.disabled},on:{"click":function($event){return _vm.$emit(button.listener ? button.listener : '')}}},[_vm._v(" "+_vm._s(button.label)+" ")])}),(_vm.hasConfirm)?_c('v-btn',{staticClass:"ml-sm-3 mt-3 mt-sm-0",attrs:{"color":_vm.confirmColor,"disabled":_vm.isConfirmDisabled},on:{"click":function($event){return _vm.$emit('onConfirm')}}},[(_vm.confirmIcon)?_c('v-icon',[_vm._v("mdi-"+_vm._s(_vm.confirmIcon))]):_vm._e(),_vm._v(" "+_vm._s(_vm.confirmLabel)+" ")],1):_vm._e()],2)}
|
|
16041
|
+
var DialogFootervue_type_template_id_991fb86c_staticRenderFns = []
|
|
16027
16042
|
|
|
16028
16043
|
|
|
16029
|
-
// CONCATENATED MODULE: ./src/components/DialogFooter/DialogFooter.vue?vue&type=template&id=
|
|
16044
|
+
// CONCATENATED MODULE: ./src/components/DialogFooter/DialogFooter.vue?vue&type=template&id=991fb86c&
|
|
16030
16045
|
|
|
16031
16046
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/DialogFooter/DialogFooter.vue?vue&type=script&lang=js&
|
|
16032
16047
|
//
|
|
@@ -16058,6 +16073,8 @@ var DialogFootervue_type_template_id_591f12f6_staticRenderFns = []
|
|
|
16058
16073
|
//
|
|
16059
16074
|
//
|
|
16060
16075
|
//
|
|
16076
|
+
//
|
|
16077
|
+
|
|
16061
16078
|
|
|
16062
16079
|
/**
|
|
16063
16080
|
* Footer de dialog/modal
|
|
@@ -16066,7 +16083,8 @@ var DialogFootervue_type_template_id_591f12f6_staticRenderFns = []
|
|
|
16066
16083
|
/* harmony default export */ var DialogFootervue_type_script_lang_js_ = ({
|
|
16067
16084
|
name: 'DialogFooter',
|
|
16068
16085
|
components: {
|
|
16069
|
-
VBtn: VBtn_VBtn
|
|
16086
|
+
VBtn: VBtn_VBtn,
|
|
16087
|
+
VIcon: components_VIcon_VIcon
|
|
16070
16088
|
},
|
|
16071
16089
|
props: {
|
|
16072
16090
|
/**
|
|
@@ -16091,11 +16109,11 @@ var DialogFootervue_type_template_id_591f12f6_staticRenderFns = []
|
|
|
16091
16109
|
hasConfirm: {
|
|
16092
16110
|
type: Boolean,
|
|
16093
16111
|
default: true
|
|
16094
|
-
}
|
|
16112
|
+
},
|
|
16113
|
+
|
|
16095
16114
|
/**
|
|
16096
16115
|
* Exibe/esconde botão de cancelar
|
|
16097
16116
|
*/
|
|
16098
|
-
,
|
|
16099
16117
|
hasCancel: {
|
|
16100
16118
|
type: Boolean,
|
|
16101
16119
|
default: true
|
|
@@ -16110,7 +16128,15 @@ var DialogFootervue_type_template_id_591f12f6_staticRenderFns = []
|
|
|
16110
16128
|
},
|
|
16111
16129
|
|
|
16112
16130
|
/**
|
|
16113
|
-
*
|
|
16131
|
+
* Ícone no botão Confirmar
|
|
16132
|
+
*/
|
|
16133
|
+
confirmIcon: {
|
|
16134
|
+
type: String,
|
|
16135
|
+
default: null
|
|
16136
|
+
},
|
|
16137
|
+
|
|
16138
|
+
/**
|
|
16139
|
+
* Desabilita botão de confirmação
|
|
16114
16140
|
*/
|
|
16115
16141
|
isConfirmDisabled: {
|
|
16116
16142
|
type: Boolean,
|
|
@@ -16140,8 +16166,8 @@ var DialogFootervue_type_template_id_591f12f6_staticRenderFns = []
|
|
|
16140
16166
|
|
|
16141
16167
|
var DialogFooter_component = normalizeComponent(
|
|
16142
16168
|
DialogFooter_DialogFootervue_type_script_lang_js_,
|
|
16143
|
-
|
|
16144
|
-
|
|
16169
|
+
DialogFootervue_type_template_id_991fb86c_render,
|
|
16170
|
+
DialogFootervue_type_template_id_991fb86c_staticRenderFns,
|
|
16145
16171
|
false,
|
|
16146
16172
|
null,
|
|
16147
16173
|
null,
|
|
@@ -16153,7 +16179,7 @@ var DialogFooter_component = normalizeComponent(
|
|
|
16153
16179
|
// CONCATENATED MODULE: ./src/components/DialogFooter/index.js
|
|
16154
16180
|
|
|
16155
16181
|
/* harmony default export */ var components_DialogFooter = (DialogFooter);
|
|
16156
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
16182
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2b9cd32c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/DefaultTextField/DefaultTextField.vue?vue&type=template&id=36d90281&
|
|
16157
16183
|
var DefaultTextFieldvue_type_template_id_36d90281_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-col',{staticClass:"v-col-fieldset-default pl-0",attrs:{"cols":"12","sm":"12","md":_vm.item.md ? _vm.item.md : 2}},[_c('label',{attrs:{"for":(_vm.forKey + "-" + (_vm.item.key))}},[_vm._v(" "+_vm._s(_vm.item.label)+" "),(_vm.required && !_vm.disabled)?_c('span',{staticClass:"required"},[_vm._v("*")]):_vm._e()]),_c('v-text-field',{directives:[{name:"mask",rawName:"v-mask",value:(("" + (_vm.mask ? _vm.mask : ''))),expression:"`${mask ? mask : ''}`"}],attrs:{"id":(_vm.forKey + "-" + (_vm.item.key)),"color":"secondary","outlined":"","dense":"","rules":_vm.inputRules,"disabled":_vm.disabled},model:{value:(_vm.inputVal),callback:function ($$v) {_vm.inputVal=$$v},expression:"inputVal"}})],1)}
|
|
16158
16184
|
var DefaultTextFieldvue_type_template_id_36d90281_staticRenderFns = []
|
|
16159
16185
|
|
|
@@ -16262,7 +16288,7 @@ var DefaultTextField_component = normalizeComponent(
|
|
|
16262
16288
|
// CONCATENATED MODULE: ./src/components/DefaultTextField/index.js
|
|
16263
16289
|
|
|
16264
16290
|
/* harmony default export */ var components_DefaultTextField = (DefaultTextField);
|
|
16265
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
16291
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2b9cd32c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/RangeDatePicker/RangeDatePicker.vue?vue&type=template&id=5b49a579&
|
|
16266
16292
|
var RangeDatePickervue_type_template_id_5b49a579_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-menu',{ref:"menuField",attrs:{"close-on-content-click":false,"nudge-right":40,"return-value":_vm.fieldRange,"transition":"scale-transition","offset-y":"","min-width":"290px"},on:{"update:returnValue":function($event){_vm.fieldRange=$event},"update:return-value":function($event){_vm.fieldRange=$event}},scopedSlots:_vm._u([{key:"activator",fn:function(ref){
|
|
16267
16293
|
var on = ref.on;
|
|
16268
16294
|
return [_c('v-text-field',_vm._g({attrs:{"color":"secondary","append-icon":"mdi-calendar","readonly":"","outlined":"","dense":"","id":_vm.inputId},model:{value:(_vm.fieldRange),callback:function ($$v) {_vm.fieldRange=$$v},expression:"fieldRange"}},on))]}}]),model:{value:(_vm.menuField),callback:function ($$v) {_vm.menuField=$$v},expression:"menuField"}},[(_vm.menuField)?_c('v-date-picker',{attrs:{"no-title":"","scrollable":"","range":"","color":"secondary","locale":"pt-br"},model:{value:(_vm.dateField),callback:function ($$v) {_vm.dateField=$$v},expression:"dateField"}},[_c('v-btn',{attrs:{"outlined":"","color":"primary","tutle":"Fechar"},on:{"click":function($event){_vm.menuField = false}}},[_vm._v(" Fechar ")]),_c('v-btn',{attrs:{"outlined":"","color":"secondary","title":"Limpar"},on:{"click":function($event){return _vm.clear()}}},[_vm._v(" Limpar ")]),_c('v-btn',{attrs:{"color":"secondary","disabled":_vm.canConfirm,"title":"Confirmar"},on:{"click":function($event){return _vm.save()}}},[_vm._v(" Confirmar ")])],1):_vm._e()],1)}
|
|
@@ -18565,14 +18591,14 @@ var RangeDatePicker_component = normalizeComponent(
|
|
|
18565
18591
|
// CONCATENATED MODULE: ./src/components/RangeDatePicker/index.js
|
|
18566
18592
|
|
|
18567
18593
|
/* harmony default export */ var components_RangeDatePicker = (RangeDatePicker);
|
|
18568
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18569
|
-
var
|
|
18594
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2b9cd32c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/DatePicker/DatePicker.vue?vue&type=template&id=5d26be56&
|
|
18595
|
+
var DatePickervue_type_template_id_5d26be56_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-menu',{ref:"menuField",attrs:{"close-on-content-click":false,"nudge-right":40,"return-value":_vm.fieldRange,"transition":"scale-transition","offset-y":"","min-width":"290px"},on:{"update:returnValue":function($event){_vm.fieldRange=$event},"update:return-value":function($event){_vm.fieldRange=$event}},scopedSlots:_vm._u([{key:"activator",fn:function(ref){
|
|
18570
18596
|
var on = ref.on;
|
|
18571
|
-
return [_c('v-text-field',_vm._g({attrs:{"color":"secondary","append-icon":"mdi-calendar","readonly":"","outlined":"","dense":"","id":_vm.inputId},model:{value:(_vm.fieldRange),callback:function ($$v) {_vm.fieldRange=$$v},expression:"fieldRange"}},on))]}}]),model:{value:(_vm.menuField),callback:function ($$v) {_vm.menuField=$$v},expression:"menuField"}},[(_vm.menuField)?_c('v-date-picker',{attrs:{"no-title":"","scrollable":"","max":_vm.max,"min":_vm.min,"color":"secondary","locale":"pt-br"},model:{value:(_vm.dateField),callback:function ($$v) {_vm.dateField=$$v},expression:"dateField"}},[_c('v-btn',{attrs:{"outlined":"","color":"primary","title":"Fechar"},on:{"click":function($event){_vm.menuField = false}}},[_vm._v(" Fechar ")]),_c('v-btn',{attrs:{"outlined":"","color":"secondary"},on:{"click":_vm.clear}},[_vm._v(" Limpar ")]),_c('v-btn',{attrs:{"color":"secondary","disabled":!_vm.dateField.length,"title":"Confirmar"},on:{"click":function($event){return _vm.save()}}},[_vm._v(" Confirmar ")])],1):_vm._e()],1)}
|
|
18572
|
-
var
|
|
18597
|
+
return [_c('v-text-field',_vm._g({attrs:{"color":"secondary","append-icon":"mdi-calendar","readonly":"","outlined":"","dense":"","id":_vm.inputId,"rules":_vm.required ? [_vm.requiredRule] : []},model:{value:(_vm.fieldRange),callback:function ($$v) {_vm.fieldRange=$$v},expression:"fieldRange"}},on))]}}]),model:{value:(_vm.menuField),callback:function ($$v) {_vm.menuField=$$v},expression:"menuField"}},[(_vm.menuField)?_c('v-date-picker',{attrs:{"no-title":"","scrollable":"","max":_vm.max,"min":_vm.min,"color":"secondary","locale":"pt-br"},model:{value:(_vm.dateField),callback:function ($$v) {_vm.dateField=$$v},expression:"dateField"}},[_c('v-btn',{attrs:{"outlined":"","color":"primary","title":"Fechar"},on:{"click":function($event){_vm.menuField = false}}},[_vm._v(" Fechar ")]),_c('v-btn',{attrs:{"outlined":"","color":"secondary"},on:{"click":_vm.clear}},[_vm._v(" Limpar ")]),_c('v-btn',{attrs:{"color":"secondary","disabled":!_vm.dateField.length,"title":"Confirmar"},on:{"click":function($event){return _vm.save()}}},[_vm._v(" Confirmar ")])],1):_vm._e()],1)}
|
|
18598
|
+
var DatePickervue_type_template_id_5d26be56_staticRenderFns = []
|
|
18573
18599
|
|
|
18574
18600
|
|
|
18575
|
-
// CONCATENATED MODULE: ./src/components/DatePicker/DatePicker.vue?vue&type=template&id=
|
|
18601
|
+
// CONCATENATED MODULE: ./src/components/DatePicker/DatePicker.vue?vue&type=template&id=5d26be56&
|
|
18576
18602
|
|
|
18577
18603
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/DatePicker/DatePicker.vue?vue&type=script&lang=js&
|
|
18578
18604
|
//
|
|
@@ -18623,6 +18649,8 @@ var DatePickervue_type_template_id_53f364f0_staticRenderFns = []
|
|
|
18623
18649
|
//
|
|
18624
18650
|
//
|
|
18625
18651
|
//
|
|
18652
|
+
//
|
|
18653
|
+
//
|
|
18626
18654
|
|
|
18627
18655
|
|
|
18628
18656
|
|
|
@@ -18662,6 +18690,14 @@ var DatePickervue_type_template_id_53f364f0_staticRenderFns = []
|
|
|
18662
18690
|
min: {
|
|
18663
18691
|
type: String,
|
|
18664
18692
|
default: null
|
|
18693
|
+
},
|
|
18694
|
+
|
|
18695
|
+
/**
|
|
18696
|
+
* Required field (inside form)
|
|
18697
|
+
*/
|
|
18698
|
+
required: {
|
|
18699
|
+
type: Boolean,
|
|
18700
|
+
default: false
|
|
18665
18701
|
}
|
|
18666
18702
|
},
|
|
18667
18703
|
data: function data() {
|
|
@@ -18669,7 +18705,10 @@ var DatePickervue_type_template_id_53f364f0_staticRenderFns = []
|
|
|
18669
18705
|
return {
|
|
18670
18706
|
menuField: false,
|
|
18671
18707
|
dateField: this.value,
|
|
18672
|
-
fieldRange: s
|
|
18708
|
+
fieldRange: s,
|
|
18709
|
+
requiredRule: function requiredRule(value) {
|
|
18710
|
+
return !!value || value != '' || 'Campo obrigatório';
|
|
18711
|
+
}
|
|
18673
18712
|
};
|
|
18674
18713
|
},
|
|
18675
18714
|
watch: {
|
|
@@ -18715,8 +18754,8 @@ var DatePickervue_type_template_id_53f364f0_staticRenderFns = []
|
|
|
18715
18754
|
|
|
18716
18755
|
var DatePicker_component = normalizeComponent(
|
|
18717
18756
|
DatePicker_DatePickervue_type_script_lang_js_,
|
|
18718
|
-
|
|
18719
|
-
|
|
18757
|
+
DatePickervue_type_template_id_5d26be56_render,
|
|
18758
|
+
DatePickervue_type_template_id_5d26be56_staticRenderFns,
|
|
18720
18759
|
false,
|
|
18721
18760
|
null,
|
|
18722
18761
|
null,
|
|
@@ -18728,7 +18767,7 @@ var DatePicker_component = normalizeComponent(
|
|
|
18728
18767
|
// CONCATENATED MODULE: ./src/components/DatePicker/index.js
|
|
18729
18768
|
|
|
18730
18769
|
/* harmony default export */ var components_DatePicker = (DatePicker);
|
|
18731
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18770
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2b9cd32c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ManagersList/ManagersList.vue?vue&type=template&id=7acbd269&scoped=true&
|
|
18732
18771
|
var ManagersListvue_type_template_id_7acbd269_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',_vm._l((_vm.managers),function(m,index){return _c('li',{key:index},[_vm._v(" "+_vm._s(m)+" ")])}),0)}
|
|
18733
18772
|
var ManagersListvue_type_template_id_7acbd269_scoped_true_staticRenderFns = []
|
|
18734
18773
|
|
|
@@ -18793,7 +18832,7 @@ var ManagersList_component = normalizeComponent(
|
|
|
18793
18832
|
// CONCATENATED MODULE: ./src/components/ManagersList/index.js
|
|
18794
18833
|
|
|
18795
18834
|
/* harmony default export */ var components_ManagersList = (ManagersList);
|
|
18796
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18835
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2b9cd32c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/PromptUserToConfirm/PromptUserToConfirm.vue?vue&type=template&id=04793cb7&
|
|
18797
18836
|
var PromptUserToConfirmvue_type_template_id_04793cb7_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-form',{attrs:{"autocomplete":"off"},model:{value:(_vm.formVal),callback:function ($$v) {_vm.formVal=$$v},expression:"formVal"}},[_c('div',{domProps:{"innerHTML":_vm._s(_vm.title)}}),_c('v-row',[_c('v-col',{staticClass:"mt-3 v-col-fieldset-default",attrs:{"cols":"12","sm":"12"}},[_c('v-text-field',{attrs:{"id":"form-confirm-remove","color":"secondary","outlined":"","dense":"","rules":[_vm.rules.checkRemove]},model:{value:(_vm.matchInput),callback:function ($$v) {_vm.matchInput=$$v},expression:"matchInput"}})],1)],1)],1)}
|
|
18798
18837
|
var PromptUserToConfirmvue_type_template_id_04793cb7_staticRenderFns = []
|
|
18799
18838
|
|
|
@@ -19043,7 +19082,730 @@ var PromptUserToConfirm_component = normalizeComponent(
|
|
|
19043
19082
|
// CONCATENATED MODULE: ./src/components/PromptUserToConfirm/index.js
|
|
19044
19083
|
|
|
19045
19084
|
/* harmony default export */ var components_PromptUserToConfirm = (PromptUserToConfirm);
|
|
19046
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
19085
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2b9cd32c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ModalPromptUser/ModalPromptUser.vue?vue&type=template&id=6b19751e&
|
|
19086
|
+
var ModalPromptUservue_type_template_id_6b19751e_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{"content-class":"modal-default modal-default-small"},model:{value:(_vm.inputVal),callback:function ($$v) {_vm.inputVal=$$v},expression:"inputVal"}},[_c('DialogHeader',{attrs:{"title":_vm.title},on:{"onClose":_vm.close}}),_c('v-main',[_c('section',{staticClass:"mt-9"},[(_vm.inputVal)?_c('PromptUserToConfirm',{attrs:{"match":_vm.match,"title":_vm.subtitle},model:{value:(_vm.canConfirm),callback:function ($$v) {_vm.canConfirm=$$v},expression:"canConfirm"}}):_vm._e()],1),_c('DialogFooter',{attrs:{"confirmColor":_vm.confirmColor,"confirmLabel":_vm.confirmLabel,"isConfirmDisabled":!_vm.canConfirm},on:{"onClose":_vm.close,"onConfirm":_vm.confirm}})],1)],1)}
|
|
19087
|
+
var ModalPromptUservue_type_template_id_6b19751e_staticRenderFns = []
|
|
19088
|
+
|
|
19089
|
+
|
|
19090
|
+
// CONCATENATED MODULE: ./src/components/ModalPromptUser/ModalPromptUser.vue?vue&type=template&id=6b19751e&
|
|
19091
|
+
|
|
19092
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/src/components/VDialog/VDialog.sass
|
|
19093
|
+
var VDialog = __webpack_require__("368e");
|
|
19094
|
+
|
|
19095
|
+
// CONCATENATED MODULE: ./node_modules/vuetify/lib/components/VOverlay/index.js
|
|
19096
|
+
|
|
19097
|
+
|
|
19098
|
+
/* harmony default export */ var components_VOverlay = (VOverlay_VOverlay);
|
|
19099
|
+
//# sourceMappingURL=index.js.map
|
|
19100
|
+
// CONCATENATED MODULE: ./node_modules/vuetify/lib/mixins/overlayable/index.js
|
|
19101
|
+
// Components
|
|
19102
|
+
// Utilities
|
|
19103
|
+
|
|
19104
|
+
// Types
|
|
19105
|
+
|
|
19106
|
+
|
|
19107
|
+
/* @vue/component */
|
|
19108
|
+
|
|
19109
|
+
/* harmony default export */ var overlayable = (external_commonjs_vue_commonjs2_vue_root_Vue_default.a.extend().extend({
|
|
19110
|
+
name: 'overlayable',
|
|
19111
|
+
props: {
|
|
19112
|
+
hideOverlay: Boolean,
|
|
19113
|
+
overlayColor: String,
|
|
19114
|
+
overlayOpacity: [Number, String]
|
|
19115
|
+
},
|
|
19116
|
+
|
|
19117
|
+
data() {
|
|
19118
|
+
return {
|
|
19119
|
+
animationFrame: 0,
|
|
19120
|
+
overlay: null
|
|
19121
|
+
};
|
|
19122
|
+
},
|
|
19123
|
+
|
|
19124
|
+
watch: {
|
|
19125
|
+
hideOverlay(value) {
|
|
19126
|
+
if (!this.isActive) return;
|
|
19127
|
+
if (value) this.removeOverlay();else this.genOverlay();
|
|
19128
|
+
}
|
|
19129
|
+
|
|
19130
|
+
},
|
|
19131
|
+
|
|
19132
|
+
beforeDestroy() {
|
|
19133
|
+
this.removeOverlay();
|
|
19134
|
+
},
|
|
19135
|
+
|
|
19136
|
+
methods: {
|
|
19137
|
+
createOverlay() {
|
|
19138
|
+
const overlay = new components_VOverlay({
|
|
19139
|
+
propsData: {
|
|
19140
|
+
absolute: this.absolute,
|
|
19141
|
+
value: false,
|
|
19142
|
+
color: this.overlayColor,
|
|
19143
|
+
opacity: this.overlayOpacity
|
|
19144
|
+
}
|
|
19145
|
+
});
|
|
19146
|
+
overlay.$mount();
|
|
19147
|
+
const parent = this.absolute ? this.$el.parentNode : document.querySelector('[data-app]');
|
|
19148
|
+
parent && parent.insertBefore(overlay.$el, parent.firstChild);
|
|
19149
|
+
this.overlay = overlay;
|
|
19150
|
+
},
|
|
19151
|
+
|
|
19152
|
+
genOverlay() {
|
|
19153
|
+
this.hideScroll();
|
|
19154
|
+
if (this.hideOverlay) return;
|
|
19155
|
+
if (!this.overlay) this.createOverlay();
|
|
19156
|
+
this.animationFrame = requestAnimationFrame(() => {
|
|
19157
|
+
if (!this.overlay) return;
|
|
19158
|
+
|
|
19159
|
+
if (this.activeZIndex !== undefined) {
|
|
19160
|
+
this.overlay.zIndex = String(this.activeZIndex - 1);
|
|
19161
|
+
} else if (this.$el) {
|
|
19162
|
+
this.overlay.zIndex = getZIndex(this.$el);
|
|
19163
|
+
}
|
|
19164
|
+
|
|
19165
|
+
this.overlay.value = true;
|
|
19166
|
+
});
|
|
19167
|
+
return true;
|
|
19168
|
+
},
|
|
19169
|
+
|
|
19170
|
+
/** removeOverlay(false) will not restore the scollbar afterwards */
|
|
19171
|
+
removeOverlay(showScroll = true) {
|
|
19172
|
+
if (this.overlay) {
|
|
19173
|
+
addOnceEventListener(this.overlay.$el, 'transitionend', () => {
|
|
19174
|
+
if (!this.overlay || !this.overlay.$el || !this.overlay.$el.parentNode || this.overlay.value || this.isActive) return;
|
|
19175
|
+
this.overlay.$el.parentNode.removeChild(this.overlay.$el);
|
|
19176
|
+
this.overlay.$destroy();
|
|
19177
|
+
this.overlay = null;
|
|
19178
|
+
}); // Cancel animation frame in case
|
|
19179
|
+
// overlay is removed before it
|
|
19180
|
+
// has finished its animation
|
|
19181
|
+
|
|
19182
|
+
cancelAnimationFrame(this.animationFrame);
|
|
19183
|
+
this.overlay.value = false;
|
|
19184
|
+
}
|
|
19185
|
+
|
|
19186
|
+
showScroll && this.showScroll();
|
|
19187
|
+
},
|
|
19188
|
+
|
|
19189
|
+
scrollListener(e) {
|
|
19190
|
+
if (e.type === 'keydown') {
|
|
19191
|
+
if (['INPUT', 'TEXTAREA', 'SELECT'].includes(e.target.tagName) || // https://github.com/vuetifyjs/vuetify/issues/4715
|
|
19192
|
+
e.target.isContentEditable) return;
|
|
19193
|
+
const up = [keyCodes.up, keyCodes.pageup];
|
|
19194
|
+
const down = [keyCodes.down, keyCodes.pagedown];
|
|
19195
|
+
|
|
19196
|
+
if (up.includes(e.keyCode)) {
|
|
19197
|
+
e.deltaY = -1;
|
|
19198
|
+
} else if (down.includes(e.keyCode)) {
|
|
19199
|
+
e.deltaY = 1;
|
|
19200
|
+
} else {
|
|
19201
|
+
return;
|
|
19202
|
+
}
|
|
19203
|
+
}
|
|
19204
|
+
|
|
19205
|
+
if (e.target === this.overlay || e.type !== 'keydown' && e.target === document.body || this.checkPath(e)) e.preventDefault();
|
|
19206
|
+
},
|
|
19207
|
+
|
|
19208
|
+
hasScrollbar(el) {
|
|
19209
|
+
if (!el || el.nodeType !== Node.ELEMENT_NODE) return false;
|
|
19210
|
+
const style = window.getComputedStyle(el);
|
|
19211
|
+
return ['auto', 'scroll'].includes(style.overflowY) && el.scrollHeight > el.clientHeight;
|
|
19212
|
+
},
|
|
19213
|
+
|
|
19214
|
+
shouldScroll(el, delta) {
|
|
19215
|
+
if (el.hasAttribute('data-app')) return false;
|
|
19216
|
+
const alreadyAtTop = el.scrollTop === 0;
|
|
19217
|
+
const alreadyAtBottom = el.scrollTop + el.clientHeight === el.scrollHeight;
|
|
19218
|
+
const scrollingUp = delta < 0;
|
|
19219
|
+
const scrollingDown = delta > 0;
|
|
19220
|
+
if (!alreadyAtTop && scrollingUp) return true;
|
|
19221
|
+
if (!alreadyAtBottom && scrollingDown) return true;
|
|
19222
|
+
|
|
19223
|
+
if (alreadyAtTop || alreadyAtBottom) {
|
|
19224
|
+
return this.shouldScroll(el.parentNode, delta);
|
|
19225
|
+
}
|
|
19226
|
+
|
|
19227
|
+
return false;
|
|
19228
|
+
},
|
|
19229
|
+
|
|
19230
|
+
isInside(el, parent) {
|
|
19231
|
+
if (el === parent) {
|
|
19232
|
+
return true;
|
|
19233
|
+
} else if (el === null || el === document.body) {
|
|
19234
|
+
return false;
|
|
19235
|
+
} else {
|
|
19236
|
+
return this.isInside(el.parentNode, parent);
|
|
19237
|
+
}
|
|
19238
|
+
},
|
|
19239
|
+
|
|
19240
|
+
checkPath(e) {
|
|
19241
|
+
const path = e.path || this.composedPath(e);
|
|
19242
|
+
const delta = e.deltaY;
|
|
19243
|
+
|
|
19244
|
+
if (e.type === 'keydown' && path[0] === document.body) {
|
|
19245
|
+
const dialog = this.$refs.dialog; // getSelection returns null in firefox in some edge cases, can be ignored
|
|
19246
|
+
|
|
19247
|
+
const selected = window.getSelection().anchorNode;
|
|
19248
|
+
|
|
19249
|
+
if (dialog && this.hasScrollbar(dialog) && this.isInside(selected, dialog)) {
|
|
19250
|
+
return !this.shouldScroll(dialog, delta);
|
|
19251
|
+
}
|
|
19252
|
+
|
|
19253
|
+
return true;
|
|
19254
|
+
}
|
|
19255
|
+
|
|
19256
|
+
for (let index = 0; index < path.length; index++) {
|
|
19257
|
+
const el = path[index];
|
|
19258
|
+
if (el === document) return true;
|
|
19259
|
+
if (el === document.documentElement) return true;
|
|
19260
|
+
if (el === this.$refs.content) return true;
|
|
19261
|
+
if (this.hasScrollbar(el)) return !this.shouldScroll(el, delta);
|
|
19262
|
+
}
|
|
19263
|
+
|
|
19264
|
+
return true;
|
|
19265
|
+
},
|
|
19266
|
+
|
|
19267
|
+
/**
|
|
19268
|
+
* Polyfill for Event.prototype.composedPath
|
|
19269
|
+
*/
|
|
19270
|
+
composedPath(e) {
|
|
19271
|
+
if (e.composedPath) return e.composedPath();
|
|
19272
|
+
const path = [];
|
|
19273
|
+
let el = e.target;
|
|
19274
|
+
|
|
19275
|
+
while (el) {
|
|
19276
|
+
path.push(el);
|
|
19277
|
+
|
|
19278
|
+
if (el.tagName === 'HTML') {
|
|
19279
|
+
path.push(document);
|
|
19280
|
+
path.push(window);
|
|
19281
|
+
return path;
|
|
19282
|
+
}
|
|
19283
|
+
|
|
19284
|
+
el = el.parentElement;
|
|
19285
|
+
}
|
|
19286
|
+
|
|
19287
|
+
return path;
|
|
19288
|
+
},
|
|
19289
|
+
|
|
19290
|
+
hideScroll() {
|
|
19291
|
+
if (this.$vuetify.breakpoint.smAndDown) {
|
|
19292
|
+
document.documentElement.classList.add('overflow-y-hidden');
|
|
19293
|
+
} else {
|
|
19294
|
+
addPassiveEventListener(window, 'wheel', this.scrollListener, {
|
|
19295
|
+
passive: false
|
|
19296
|
+
});
|
|
19297
|
+
window.addEventListener('keydown', this.scrollListener);
|
|
19298
|
+
}
|
|
19299
|
+
},
|
|
19300
|
+
|
|
19301
|
+
showScroll() {
|
|
19302
|
+
document.documentElement.classList.remove('overflow-y-hidden');
|
|
19303
|
+
window.removeEventListener('wheel', this.scrollListener);
|
|
19304
|
+
window.removeEventListener('keydown', this.scrollListener);
|
|
19305
|
+
}
|
|
19306
|
+
|
|
19307
|
+
}
|
|
19308
|
+
}));
|
|
19309
|
+
//# sourceMappingURL=index.js.map
|
|
19310
|
+
// CONCATENATED MODULE: ./node_modules/vuetify/lib/components/VDialog/VDialog.js
|
|
19311
|
+
// Styles
|
|
19312
|
+
// Components
|
|
19313
|
+
|
|
19314
|
+
// Mixins
|
|
19315
|
+
|
|
19316
|
+
|
|
19317
|
+
|
|
19318
|
+
|
|
19319
|
+
|
|
19320
|
+
|
|
19321
|
+
|
|
19322
|
+
// Directives
|
|
19323
|
+
|
|
19324
|
+
// Helpers
|
|
19325
|
+
|
|
19326
|
+
|
|
19327
|
+
|
|
19328
|
+
|
|
19329
|
+
const VDialog_baseMixins = mixins(activatable, dependent, detachable, overlayable, returnable, stackable, toggleable);
|
|
19330
|
+
/* @vue/component */
|
|
19331
|
+
|
|
19332
|
+
/* harmony default export */ var VDialog_VDialog = (VDialog_baseMixins.extend({
|
|
19333
|
+
name: 'v-dialog',
|
|
19334
|
+
directives: {
|
|
19335
|
+
ClickOutside: click_outside
|
|
19336
|
+
},
|
|
19337
|
+
props: {
|
|
19338
|
+
dark: Boolean,
|
|
19339
|
+
disabled: Boolean,
|
|
19340
|
+
fullscreen: Boolean,
|
|
19341
|
+
light: Boolean,
|
|
19342
|
+
maxWidth: {
|
|
19343
|
+
type: [String, Number],
|
|
19344
|
+
default: 'none'
|
|
19345
|
+
},
|
|
19346
|
+
noClickAnimation: Boolean,
|
|
19347
|
+
origin: {
|
|
19348
|
+
type: String,
|
|
19349
|
+
default: 'center center'
|
|
19350
|
+
},
|
|
19351
|
+
persistent: Boolean,
|
|
19352
|
+
retainFocus: {
|
|
19353
|
+
type: Boolean,
|
|
19354
|
+
default: true
|
|
19355
|
+
},
|
|
19356
|
+
scrollable: Boolean,
|
|
19357
|
+
transition: {
|
|
19358
|
+
type: [String, Boolean],
|
|
19359
|
+
default: 'dialog-transition'
|
|
19360
|
+
},
|
|
19361
|
+
width: {
|
|
19362
|
+
type: [String, Number],
|
|
19363
|
+
default: 'auto'
|
|
19364
|
+
}
|
|
19365
|
+
},
|
|
19366
|
+
|
|
19367
|
+
data() {
|
|
19368
|
+
return {
|
|
19369
|
+
activatedBy: null,
|
|
19370
|
+
animate: false,
|
|
19371
|
+
animateTimeout: -1,
|
|
19372
|
+
isActive: !!this.value,
|
|
19373
|
+
stackMinZIndex: 200,
|
|
19374
|
+
previousActiveElement: null
|
|
19375
|
+
};
|
|
19376
|
+
},
|
|
19377
|
+
|
|
19378
|
+
computed: {
|
|
19379
|
+
classes() {
|
|
19380
|
+
return {
|
|
19381
|
+
[`v-dialog ${this.contentClass}`.trim()]: true,
|
|
19382
|
+
'v-dialog--active': this.isActive,
|
|
19383
|
+
'v-dialog--persistent': this.persistent,
|
|
19384
|
+
'v-dialog--fullscreen': this.fullscreen,
|
|
19385
|
+
'v-dialog--scrollable': this.scrollable,
|
|
19386
|
+
'v-dialog--animated': this.animate
|
|
19387
|
+
};
|
|
19388
|
+
},
|
|
19389
|
+
|
|
19390
|
+
contentClasses() {
|
|
19391
|
+
return {
|
|
19392
|
+
'v-dialog__content': true,
|
|
19393
|
+
'v-dialog__content--active': this.isActive
|
|
19394
|
+
};
|
|
19395
|
+
},
|
|
19396
|
+
|
|
19397
|
+
hasActivator() {
|
|
19398
|
+
return Boolean(!!this.$slots.activator || !!this.$scopedSlots.activator);
|
|
19399
|
+
}
|
|
19400
|
+
|
|
19401
|
+
},
|
|
19402
|
+
watch: {
|
|
19403
|
+
isActive(val) {
|
|
19404
|
+
if (val) {
|
|
19405
|
+
this.show();
|
|
19406
|
+
this.hideScroll();
|
|
19407
|
+
} else {
|
|
19408
|
+
var _this$previousActiveE;
|
|
19409
|
+
|
|
19410
|
+
this.removeOverlay();
|
|
19411
|
+
this.unbind();
|
|
19412
|
+
(_this$previousActiveE = this.previousActiveElement) == null ? void 0 : _this$previousActiveE.focus();
|
|
19413
|
+
}
|
|
19414
|
+
},
|
|
19415
|
+
|
|
19416
|
+
fullscreen(val) {
|
|
19417
|
+
if (!this.isActive) return;
|
|
19418
|
+
|
|
19419
|
+
if (val) {
|
|
19420
|
+
this.hideScroll();
|
|
19421
|
+
this.removeOverlay(false);
|
|
19422
|
+
} else {
|
|
19423
|
+
this.showScroll();
|
|
19424
|
+
this.genOverlay();
|
|
19425
|
+
}
|
|
19426
|
+
}
|
|
19427
|
+
|
|
19428
|
+
},
|
|
19429
|
+
|
|
19430
|
+
created() {
|
|
19431
|
+
/* istanbul ignore next */
|
|
19432
|
+
if (this.$attrs.hasOwnProperty('full-width')) {
|
|
19433
|
+
removed('full-width', this);
|
|
19434
|
+
}
|
|
19435
|
+
},
|
|
19436
|
+
|
|
19437
|
+
beforeMount() {
|
|
19438
|
+
this.$nextTick(() => {
|
|
19439
|
+
this.isBooted = this.isActive;
|
|
19440
|
+
this.isActive && this.show();
|
|
19441
|
+
});
|
|
19442
|
+
},
|
|
19443
|
+
|
|
19444
|
+
beforeDestroy() {
|
|
19445
|
+
if (typeof window !== 'undefined') this.unbind();
|
|
19446
|
+
},
|
|
19447
|
+
|
|
19448
|
+
methods: {
|
|
19449
|
+
animateClick() {
|
|
19450
|
+
this.animate = false; // Needed for when clicking very fast
|
|
19451
|
+
// outside of the dialog
|
|
19452
|
+
|
|
19453
|
+
this.$nextTick(() => {
|
|
19454
|
+
this.animate = true;
|
|
19455
|
+
window.clearTimeout(this.animateTimeout);
|
|
19456
|
+
this.animateTimeout = window.setTimeout(() => this.animate = false, 150);
|
|
19457
|
+
});
|
|
19458
|
+
},
|
|
19459
|
+
|
|
19460
|
+
closeConditional(e) {
|
|
19461
|
+
const target = e.target; // Ignore the click if the dialog is closed or destroyed,
|
|
19462
|
+
// if it was on an element inside the content,
|
|
19463
|
+
// if it was dragged onto the overlay (#6969),
|
|
19464
|
+
// or if this isn't the topmost dialog (#9907)
|
|
19465
|
+
|
|
19466
|
+
return !(this._isDestroyed || !this.isActive || this.$refs.content.contains(target) || this.overlay && target && !this.overlay.$el.contains(target)) && this.activeZIndex >= this.getMaxZIndex();
|
|
19467
|
+
},
|
|
19468
|
+
|
|
19469
|
+
hideScroll() {
|
|
19470
|
+
if (this.fullscreen) {
|
|
19471
|
+
document.documentElement.classList.add('overflow-y-hidden');
|
|
19472
|
+
} else {
|
|
19473
|
+
overlayable.options.methods.hideScroll.call(this);
|
|
19474
|
+
}
|
|
19475
|
+
},
|
|
19476
|
+
|
|
19477
|
+
show() {
|
|
19478
|
+
!this.fullscreen && !this.hideOverlay && this.genOverlay(); // Double nextTick to wait for lazy content to be generated
|
|
19479
|
+
|
|
19480
|
+
this.$nextTick(() => {
|
|
19481
|
+
this.$nextTick(() => {
|
|
19482
|
+
this.previousActiveElement = document.activeElement;
|
|
19483
|
+
this.$refs.content.focus();
|
|
19484
|
+
this.bind();
|
|
19485
|
+
});
|
|
19486
|
+
});
|
|
19487
|
+
},
|
|
19488
|
+
|
|
19489
|
+
bind() {
|
|
19490
|
+
window.addEventListener('focusin', this.onFocusin);
|
|
19491
|
+
},
|
|
19492
|
+
|
|
19493
|
+
unbind() {
|
|
19494
|
+
window.removeEventListener('focusin', this.onFocusin);
|
|
19495
|
+
},
|
|
19496
|
+
|
|
19497
|
+
onClickOutside(e) {
|
|
19498
|
+
this.$emit('click:outside', e);
|
|
19499
|
+
|
|
19500
|
+
if (this.persistent) {
|
|
19501
|
+
this.noClickAnimation || this.animateClick();
|
|
19502
|
+
} else {
|
|
19503
|
+
this.isActive = false;
|
|
19504
|
+
}
|
|
19505
|
+
},
|
|
19506
|
+
|
|
19507
|
+
onKeydown(e) {
|
|
19508
|
+
if (e.keyCode === keyCodes.esc && !this.getOpenDependents().length) {
|
|
19509
|
+
if (!this.persistent) {
|
|
19510
|
+
this.isActive = false;
|
|
19511
|
+
const activator = this.getActivator();
|
|
19512
|
+
this.$nextTick(() => activator && activator.focus());
|
|
19513
|
+
} else if (!this.noClickAnimation) {
|
|
19514
|
+
this.animateClick();
|
|
19515
|
+
}
|
|
19516
|
+
}
|
|
19517
|
+
|
|
19518
|
+
this.$emit('keydown', e);
|
|
19519
|
+
},
|
|
19520
|
+
|
|
19521
|
+
// On focus change, wrap focus to stay inside the dialog
|
|
19522
|
+
// https://github.com/vuetifyjs/vuetify/issues/6892
|
|
19523
|
+
onFocusin(e) {
|
|
19524
|
+
if (!e || !this.retainFocus) return;
|
|
19525
|
+
const target = e.target;
|
|
19526
|
+
|
|
19527
|
+
if (!!target && // It isn't the document or the dialog body
|
|
19528
|
+
![document, this.$refs.content].includes(target) && // It isn't inside the dialog body
|
|
19529
|
+
!this.$refs.content.contains(target) && // We're the topmost dialog
|
|
19530
|
+
this.activeZIndex >= this.getMaxZIndex() && // It isn't inside a dependent element (like a menu)
|
|
19531
|
+
!this.getOpenDependentElements().some(el => el.contains(target)) // So we must have focused something outside the dialog and its children
|
|
19532
|
+
) {
|
|
19533
|
+
// Find and focus the first available element inside the dialog
|
|
19534
|
+
const focusable = this.$refs.content.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');
|
|
19535
|
+
const el = [...focusable].find(el => !el.hasAttribute('disabled'));
|
|
19536
|
+
el && el.focus();
|
|
19537
|
+
}
|
|
19538
|
+
},
|
|
19539
|
+
|
|
19540
|
+
genContent() {
|
|
19541
|
+
return this.showLazyContent(() => [this.$createElement(VThemeProvider, {
|
|
19542
|
+
props: {
|
|
19543
|
+
root: true,
|
|
19544
|
+
light: this.light,
|
|
19545
|
+
dark: this.dark
|
|
19546
|
+
}
|
|
19547
|
+
}, [this.$createElement('div', {
|
|
19548
|
+
class: this.contentClasses,
|
|
19549
|
+
attrs: {
|
|
19550
|
+
role: 'document',
|
|
19551
|
+
tabindex: this.isActive ? 0 : undefined,
|
|
19552
|
+
...this.getScopeIdAttrs()
|
|
19553
|
+
},
|
|
19554
|
+
on: {
|
|
19555
|
+
keydown: this.onKeydown
|
|
19556
|
+
},
|
|
19557
|
+
style: {
|
|
19558
|
+
zIndex: this.activeZIndex
|
|
19559
|
+
},
|
|
19560
|
+
ref: 'content'
|
|
19561
|
+
}, [this.genTransition()])])]);
|
|
19562
|
+
},
|
|
19563
|
+
|
|
19564
|
+
genTransition() {
|
|
19565
|
+
const content = this.genInnerContent();
|
|
19566
|
+
if (!this.transition) return content;
|
|
19567
|
+
return this.$createElement('transition', {
|
|
19568
|
+
props: {
|
|
19569
|
+
name: this.transition,
|
|
19570
|
+
origin: this.origin,
|
|
19571
|
+
appear: true
|
|
19572
|
+
}
|
|
19573
|
+
}, [content]);
|
|
19574
|
+
},
|
|
19575
|
+
|
|
19576
|
+
genInnerContent() {
|
|
19577
|
+
const data = {
|
|
19578
|
+
class: this.classes,
|
|
19579
|
+
ref: 'dialog',
|
|
19580
|
+
directives: [{
|
|
19581
|
+
name: 'click-outside',
|
|
19582
|
+
value: {
|
|
19583
|
+
handler: this.onClickOutside,
|
|
19584
|
+
closeConditional: this.closeConditional,
|
|
19585
|
+
include: this.getOpenDependentElements
|
|
19586
|
+
}
|
|
19587
|
+
}, {
|
|
19588
|
+
name: 'show',
|
|
19589
|
+
value: this.isActive
|
|
19590
|
+
}],
|
|
19591
|
+
style: {
|
|
19592
|
+
transformOrigin: this.origin
|
|
19593
|
+
}
|
|
19594
|
+
};
|
|
19595
|
+
|
|
19596
|
+
if (!this.fullscreen) {
|
|
19597
|
+
data.style = { ...data.style,
|
|
19598
|
+
maxWidth: this.maxWidth === 'none' ? undefined : convertToUnit(this.maxWidth),
|
|
19599
|
+
width: this.width === 'auto' ? undefined : convertToUnit(this.width)
|
|
19600
|
+
};
|
|
19601
|
+
}
|
|
19602
|
+
|
|
19603
|
+
return this.$createElement('div', data, this.getContentSlot());
|
|
19604
|
+
}
|
|
19605
|
+
|
|
19606
|
+
},
|
|
19607
|
+
|
|
19608
|
+
render(h) {
|
|
19609
|
+
return h('div', {
|
|
19610
|
+
staticClass: 'v-dialog__container',
|
|
19611
|
+
class: {
|
|
19612
|
+
'v-dialog__container--attached': this.attach === '' || this.attach === true || this.attach === 'attach'
|
|
19613
|
+
},
|
|
19614
|
+
attrs: {
|
|
19615
|
+
role: 'dialog'
|
|
19616
|
+
}
|
|
19617
|
+
}, [this.genActivator(), this.genContent()]);
|
|
19618
|
+
}
|
|
19619
|
+
|
|
19620
|
+
}));
|
|
19621
|
+
//# sourceMappingURL=VDialog.js.map
|
|
19622
|
+
// EXTERNAL MODULE: ./node_modules/vuetify/src/components/VMain/VMain.sass
|
|
19623
|
+
var VMain = __webpack_require__("bd0c");
|
|
19624
|
+
|
|
19625
|
+
// CONCATENATED MODULE: ./node_modules/vuetify/lib/components/VMain/VMain.js
|
|
19626
|
+
// Styles
|
|
19627
|
+
// Mixins
|
|
19628
|
+
|
|
19629
|
+
|
|
19630
|
+
/* @vue/component */
|
|
19631
|
+
|
|
19632
|
+
/* harmony default export */ var VMain_VMain = (ssr_bootable.extend({
|
|
19633
|
+
name: 'v-main',
|
|
19634
|
+
props: {
|
|
19635
|
+
tag: {
|
|
19636
|
+
type: String,
|
|
19637
|
+
default: 'main'
|
|
19638
|
+
}
|
|
19639
|
+
},
|
|
19640
|
+
computed: {
|
|
19641
|
+
styles() {
|
|
19642
|
+
const {
|
|
19643
|
+
bar,
|
|
19644
|
+
top,
|
|
19645
|
+
right,
|
|
19646
|
+
footer,
|
|
19647
|
+
insetFooter,
|
|
19648
|
+
bottom,
|
|
19649
|
+
left
|
|
19650
|
+
} = this.$vuetify.application;
|
|
19651
|
+
return {
|
|
19652
|
+
paddingTop: `${top + bar}px`,
|
|
19653
|
+
paddingRight: `${right}px`,
|
|
19654
|
+
paddingBottom: `${footer + insetFooter + bottom}px`,
|
|
19655
|
+
paddingLeft: `${left}px`
|
|
19656
|
+
};
|
|
19657
|
+
}
|
|
19658
|
+
|
|
19659
|
+
},
|
|
19660
|
+
|
|
19661
|
+
render(h) {
|
|
19662
|
+
const data = {
|
|
19663
|
+
staticClass: 'v-main',
|
|
19664
|
+
style: this.styles,
|
|
19665
|
+
ref: 'main'
|
|
19666
|
+
};
|
|
19667
|
+
return h(this.tag, data, [h('div', {
|
|
19668
|
+
staticClass: 'v-main__wrap'
|
|
19669
|
+
}, this.$slots.default)]);
|
|
19670
|
+
}
|
|
19671
|
+
|
|
19672
|
+
}));
|
|
19673
|
+
//# sourceMappingURL=VMain.js.map
|
|
19674
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ModalPromptUser/ModalPromptUser.vue?vue&type=script&lang=js&
|
|
19675
|
+
//
|
|
19676
|
+
//
|
|
19677
|
+
//
|
|
19678
|
+
//
|
|
19679
|
+
//
|
|
19680
|
+
//
|
|
19681
|
+
//
|
|
19682
|
+
//
|
|
19683
|
+
//
|
|
19684
|
+
//
|
|
19685
|
+
//
|
|
19686
|
+
//
|
|
19687
|
+
//
|
|
19688
|
+
//
|
|
19689
|
+
//
|
|
19690
|
+
//
|
|
19691
|
+
//
|
|
19692
|
+
//
|
|
19693
|
+
//
|
|
19694
|
+
//
|
|
19695
|
+
//
|
|
19696
|
+
//
|
|
19697
|
+
//
|
|
19698
|
+
|
|
19699
|
+
|
|
19700
|
+
|
|
19701
|
+
/* harmony default export */ var ModalPromptUservue_type_script_lang_js_ = ({
|
|
19702
|
+
name: 'ModalPromptUser',
|
|
19703
|
+
components: {
|
|
19704
|
+
DialogHeader: components_DialogHeader,
|
|
19705
|
+
DialogFooter: components_DialogFooter,
|
|
19706
|
+
PromptUserToConfirm: components_PromptUserToConfirm,
|
|
19707
|
+
VDialog: VDialog_VDialog,
|
|
19708
|
+
VMain: VMain_VMain
|
|
19709
|
+
},
|
|
19710
|
+
props: {
|
|
19711
|
+
/**
|
|
19712
|
+
* Habilita/desabilita o modal
|
|
19713
|
+
*/
|
|
19714
|
+
value: {
|
|
19715
|
+
required: true
|
|
19716
|
+
},
|
|
19717
|
+
|
|
19718
|
+
/**
|
|
19719
|
+
* Título do modal
|
|
19720
|
+
*/
|
|
19721
|
+
title: {
|
|
19722
|
+
required: true,
|
|
19723
|
+
type: String
|
|
19724
|
+
},
|
|
19725
|
+
|
|
19726
|
+
/**
|
|
19727
|
+
* Subtítulo do modal
|
|
19728
|
+
*/
|
|
19729
|
+
subtitle: {
|
|
19730
|
+
required: true,
|
|
19731
|
+
type: String
|
|
19732
|
+
},
|
|
19733
|
+
|
|
19734
|
+
/**
|
|
19735
|
+
* Cor (do Vuetify) do botão de confirmar
|
|
19736
|
+
*/
|
|
19737
|
+
confirmColor: {
|
|
19738
|
+
type: String,
|
|
19739
|
+
default: 'secondary'
|
|
19740
|
+
},
|
|
19741
|
+
|
|
19742
|
+
/**
|
|
19743
|
+
* Label do botão
|
|
19744
|
+
*/
|
|
19745
|
+
confirmLabel: {
|
|
19746
|
+
type: String,
|
|
19747
|
+
default: 'Confirmar'
|
|
19748
|
+
},
|
|
19749
|
+
|
|
19750
|
+
/**
|
|
19751
|
+
* String usada para dar match e habilitar
|
|
19752
|
+
*/
|
|
19753
|
+
match: {
|
|
19754
|
+
required: true,
|
|
19755
|
+
type: String
|
|
19756
|
+
}
|
|
19757
|
+
},
|
|
19758
|
+
data: function data() {
|
|
19759
|
+
return {
|
|
19760
|
+
canConfirm: false
|
|
19761
|
+
};
|
|
19762
|
+
},
|
|
19763
|
+
computed: {
|
|
19764
|
+
inputVal: {
|
|
19765
|
+
get: function get() {
|
|
19766
|
+
return this.value;
|
|
19767
|
+
},
|
|
19768
|
+
set: function set(val) {
|
|
19769
|
+
this.$emit('input', val);
|
|
19770
|
+
}
|
|
19771
|
+
}
|
|
19772
|
+
},
|
|
19773
|
+
methods: {
|
|
19774
|
+
close: function close() {
|
|
19775
|
+
this.inputVal = false;
|
|
19776
|
+
},
|
|
19777
|
+
confirm: function confirm() {
|
|
19778
|
+
this.$emit('onConfirm');
|
|
19779
|
+
this.inputVal = false;
|
|
19780
|
+
}
|
|
19781
|
+
}
|
|
19782
|
+
});
|
|
19783
|
+
// CONCATENATED MODULE: ./src/components/ModalPromptUser/ModalPromptUser.vue?vue&type=script&lang=js&
|
|
19784
|
+
/* harmony default export */ var ModalPromptUser_ModalPromptUservue_type_script_lang_js_ = (ModalPromptUservue_type_script_lang_js_);
|
|
19785
|
+
// CONCATENATED MODULE: ./src/components/ModalPromptUser/ModalPromptUser.vue
|
|
19786
|
+
|
|
19787
|
+
|
|
19788
|
+
|
|
19789
|
+
|
|
19790
|
+
|
|
19791
|
+
/* normalize component */
|
|
19792
|
+
|
|
19793
|
+
var ModalPromptUser_component = normalizeComponent(
|
|
19794
|
+
ModalPromptUser_ModalPromptUservue_type_script_lang_js_,
|
|
19795
|
+
ModalPromptUservue_type_template_id_6b19751e_render,
|
|
19796
|
+
ModalPromptUservue_type_template_id_6b19751e_staticRenderFns,
|
|
19797
|
+
false,
|
|
19798
|
+
null,
|
|
19799
|
+
null,
|
|
19800
|
+
null
|
|
19801
|
+
|
|
19802
|
+
)
|
|
19803
|
+
|
|
19804
|
+
/* harmony default export */ var ModalPromptUser = (ModalPromptUser_component.exports);
|
|
19805
|
+
// CONCATENATED MODULE: ./src/components/ModalPromptUser/index.js
|
|
19806
|
+
|
|
19807
|
+
/* harmony default export */ var components_ModalPromptUser = (ModalPromptUser);
|
|
19808
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2b9cd32c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Buttons/Export.vue?vue&type=template&id=821ec18c&scoped=true&
|
|
19047
19809
|
var Exportvue_type_template_id_821ec18c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.optionsList.length == 0)?_c('v-btn',{staticClass:"v-btn--responsive",attrs:{"dense":"","outlined":"","title":"Exportar","disabled":_vm.disabled},on:{"click":_vm.onClick}},[_c('v-icon',{staticClass:"mr-2"},[_vm._v("mdi-file-export-outline")]),_vm._v(" Exportar ")],1):_c('v-menu',{attrs:{"content-class":"elevation-1","offset-y":true,"rounded":'b t-0'},scopedSlots:_vm._u([{key:"activator",fn:function(ref){
|
|
19048
19810
|
var on = ref.on;
|
|
19049
19811
|
var attrs = ref.attrs;
|
|
@@ -19185,7 +19947,7 @@ var Export_component = normalizeComponent(
|
|
|
19185
19947
|
)
|
|
19186
19948
|
|
|
19187
19949
|
/* harmony default export */ var Export = (Export_component.exports);
|
|
19188
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
19950
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2b9cd32c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Buttons/Import.vue?vue&type=template&id=47513639&scoped=true&
|
|
19189
19951
|
var Importvue_type_template_id_47513639_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-btn',{staticClass:"v-btn--responsive v-btn--import",attrs:{"dense":"","outlined":"","title":"Importar"},on:{"click":_vm.onClick}},[_c('v-icon',[_vm._v("mdi-upload")]),_vm._v(" "+_vm._s(_vm.label)+" ")],1)}
|
|
19190
19952
|
var Importvue_type_template_id_47513639_scoped_true_staticRenderFns = []
|
|
19191
19953
|
|
|
@@ -19248,7 +20010,7 @@ var Import_component = normalizeComponent(
|
|
|
19248
20010
|
)
|
|
19249
20011
|
|
|
19250
20012
|
/* harmony default export */ var Import = (Import_component.exports);
|
|
19251
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
20013
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2b9cd32c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Buttons/Toggle.vue?vue&type=template&id=8b60e8ea&scoped=true&
|
|
19252
20014
|
var Togglevue_type_template_id_8b60e8ea_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-btn',{staticClass:"v-btn--responsive",class:{
|
|
19253
20015
|
'v-btn_icon--prepend': _vm.prepend,
|
|
19254
20016
|
'v-btn_icon--apppend': !_vm.prepend,
|
|
@@ -19372,7 +20134,7 @@ var Toggle_component = normalizeComponent(
|
|
|
19372
20134
|
)
|
|
19373
20135
|
|
|
19374
20136
|
/* harmony default export */ var Toggle = (Toggle_component.exports);
|
|
19375
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
20137
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2b9cd32c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Buttons/Remove.vue?vue&type=template&id=4855d522&scoped=true&
|
|
19376
20138
|
var Removevue_type_template_id_4855d522_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-btn',{staticClass:"v-btn--responsive",attrs:{"dense":"","color":"error","title":_vm.label,"disabled":_vm.disabled},on:{"click":_vm.onClick}},[_c('v-icon',[_vm._v("mdi-trash-can-outline")]),_vm._v(" "+_vm._s(_vm.label)+" ")],1)}
|
|
19377
20139
|
var Removevue_type_template_id_4855d522_scoped_true_staticRenderFns = []
|
|
19378
20140
|
|
|
@@ -19450,7 +20212,7 @@ var Remove_component = normalizeComponent(
|
|
|
19450
20212
|
)
|
|
19451
20213
|
|
|
19452
20214
|
/* harmony default export */ var Remove = (Remove_component.exports);
|
|
19453
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
20215
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2b9cd32c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/TableContextMenu/TableContextMenu.vue?vue&type=template&id=17eee99a&
|
|
19454
20216
|
var TableContextMenuvue_type_template_id_17eee99a_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-menu',{scopedSlots:_vm._u([{key:"activator",fn:function(ref){
|
|
19455
20217
|
var on = ref.on;
|
|
19456
20218
|
var attrs = ref.attrs;
|
|
@@ -19559,6 +20321,7 @@ var TableContextMenu_component = normalizeComponent(
|
|
|
19559
20321
|
|
|
19560
20322
|
|
|
19561
20323
|
|
|
20324
|
+
|
|
19562
20325
|
|
|
19563
20326
|
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib-no-default.js
|
|
19564
20327
|
|