gant-board 1.0.2 → 1.0.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.
|
@@ -144,17 +144,6 @@ test[TO_STRING_TAG] = 'z';
|
|
|
144
144
|
module.exports = String(test) === '[object z]';
|
|
145
145
|
|
|
146
146
|
|
|
147
|
-
/***/ }),
|
|
148
|
-
|
|
149
|
-
/***/ "034f":
|
|
150
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
151
|
-
|
|
152
|
-
"use strict";
|
|
153
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_App_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("3ebb");
|
|
154
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_App_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_App_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
155
|
-
/* unused harmony reexport * */
|
|
156
|
-
|
|
157
|
-
|
|
158
147
|
/***/ }),
|
|
159
148
|
|
|
160
149
|
/***/ "0366":
|
|
@@ -897,22 +886,6 @@ defineIterator(String, 'String', function (iterated) {
|
|
|
897
886
|
});
|
|
898
887
|
|
|
899
888
|
|
|
900
|
-
/***/ }),
|
|
901
|
-
|
|
902
|
-
/***/ "3ebb":
|
|
903
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
904
|
-
|
|
905
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
906
|
-
|
|
907
|
-
// load the styles
|
|
908
|
-
var content = __webpack_require__("e31a");
|
|
909
|
-
if(content.__esModule) content = content.default;
|
|
910
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
911
|
-
if(content.locals) module.exports = content.locals;
|
|
912
|
-
// add the styles to the DOM
|
|
913
|
-
var add = __webpack_require__("499e").default
|
|
914
|
-
var update = add("61bc0355", content, true, {"sourceMap":false,"shadowMode":false});
|
|
915
|
-
|
|
916
889
|
/***/ }),
|
|
917
890
|
|
|
918
891
|
/***/ "3f8c":
|
|
@@ -2386,13 +2359,6 @@ if (!isCallable(store.inspectSource)) {
|
|
|
2386
2359
|
module.exports = store.inspectSource;
|
|
2387
2360
|
|
|
2388
2361
|
|
|
2389
|
-
/***/ }),
|
|
2390
|
-
|
|
2391
|
-
/***/ "8bbf":
|
|
2392
|
-
/***/ (function(module, exports) {
|
|
2393
|
-
|
|
2394
|
-
module.exports = require("vue");
|
|
2395
|
-
|
|
2396
2362
|
/***/ }),
|
|
2397
2363
|
|
|
2398
2364
|
/***/ "90e3":
|
|
@@ -4029,20 +3995,6 @@ addToUnscopables('values');
|
|
|
4029
3995
|
addToUnscopables('entries');
|
|
4030
3996
|
|
|
4031
3997
|
|
|
4032
|
-
/***/ }),
|
|
4033
|
-
|
|
4034
|
-
/***/ "e31a":
|
|
4035
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4036
|
-
|
|
4037
|
-
// Imports
|
|
4038
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
4039
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
4040
|
-
// Module
|
|
4041
|
-
exports.push([module.i, "#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#2c3e50;margin-top:60px}", ""]);
|
|
4042
|
-
// Exports
|
|
4043
|
-
module.exports = exports;
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
3998
|
/***/ }),
|
|
4047
3999
|
|
|
4048
4000
|
/***/ "e330":
|
|
@@ -4203,6 +4155,9 @@ module.exports = function (key) {
|
|
|
4203
4155
|
// ESM COMPAT FLAG
|
|
4204
4156
|
__webpack_require__.r(__webpack_exports__);
|
|
4205
4157
|
|
|
4158
|
+
// EXPORTS
|
|
4159
|
+
__webpack_require__.d(__webpack_exports__, "install", function() { return /* reexport */ install; });
|
|
4160
|
+
|
|
4206
4161
|
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
|
|
4207
4162
|
// This file is imported into lib/wc client bundles.
|
|
4208
4163
|
|
|
@@ -4227,17 +4182,6 @@ if (typeof window !== 'undefined') {
|
|
|
4227
4182
|
// Indicate to webpack that this file can be concatenated
|
|
4228
4183
|
/* harmony default export */ var setPublicPath = (null);
|
|
4229
4184
|
|
|
4230
|
-
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
4231
|
-
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
|
|
4232
|
-
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
|
|
4233
|
-
|
|
4234
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"57c38c0a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=template&id=562dd894&
|
|
4235
|
-
var Appvue_type_template_id_562dd894_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"id":"app"}},[_c('gant-board',{attrs:{"elements":_vm.elements}})],1)}
|
|
4236
|
-
var staticRenderFns = []
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
// CONCATENATED MODULE: ./src/App.vue?vue&type=template&id=562dd894&
|
|
4240
|
-
|
|
4241
4185
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"57c38c0a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/gant-board.vue?vue&type=template&id=7b7d9d33&scoped=true&
|
|
4242
4186
|
var gant_boardvue_type_template_id_7b7d9d33_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{"width":"100vw","overflow-x":"scroll"}},[_c('div',{ref:"container_wrapper",staticClass:"events-container",style:({ width: _vm.options.day_width * _vm.days_number + 'px' }),on:{"mousemove":function($event){return _vm.moveEvent($event)},"mouseup":function($event){return _vm.endDrag($event)}}},[_c('div',{staticStyle:{"width":"100%","display":"flex","flex-direction":"column","height":"100%"}},[_c('div',{staticStyle:{"display":"flex","width":"100%","height":"20px","background-color":"#fff"}},_vm._l((_vm.months),function(m){return _c('div',{key:m.index,staticStyle:{"display":"inline-block","box-sizing":"border-box","font-size":"14px"},style:({
|
|
4243
4187
|
width: (_vm.options.day_width * m.length) + 'px',
|
|
@@ -4267,7 +4211,7 @@ var gant_boardvue_type_template_id_7b7d9d33_scoped_true_render = function () {va
|
|
|
4267
4211
|
top: _vm.drag_element.top + 'px',
|
|
4268
4212
|
left: _vm.drag_element.left + 'px',
|
|
4269
4213
|
})},[_vm._v(" "+_vm._s(_vm.drag_element.name)+" ")]):_vm._e()],2)])}
|
|
4270
|
-
var
|
|
4214
|
+
var staticRenderFns = []
|
|
4271
4215
|
|
|
4272
4216
|
|
|
4273
4217
|
// CONCATENATED MODULE: ./src/components/gant-board.vue?vue&type=template&id=7b7d9d33&scoped=true&
|
|
@@ -4914,7 +4858,7 @@ function normalizeComponent (
|
|
|
4914
4858
|
var component = normalizeComponent(
|
|
4915
4859
|
components_gant_boardvue_type_script_lang_js_,
|
|
4916
4860
|
gant_boardvue_type_template_id_7b7d9d33_scoped_true_render,
|
|
4917
|
-
|
|
4861
|
+
staticRenderFns,
|
|
4918
4862
|
false,
|
|
4919
4863
|
null,
|
|
4920
4864
|
"7b7d9d33",
|
|
@@ -4923,84 +4867,12 @@ var component = normalizeComponent(
|
|
|
4923
4867
|
)
|
|
4924
4868
|
|
|
4925
4869
|
/* harmony default export */ var gant_board = (component.exports);
|
|
4926
|
-
// CONCATENATED MODULE: ./
|
|
4927
|
-
//
|
|
4928
|
-
//
|
|
4929
|
-
//
|
|
4930
|
-
//
|
|
4931
|
-
//
|
|
4932
|
-
//
|
|
4933
|
-
|
|
4934
|
-
/* harmony default export */ var Appvue_type_script_lang_js_ = ({
|
|
4935
|
-
name: 'App',
|
|
4936
|
-
components: {
|
|
4937
|
-
GantBoard: gant_board
|
|
4938
|
-
},
|
|
4939
|
-
data: function data() {
|
|
4940
|
-
return {
|
|
4941
|
-
elements: [{
|
|
4942
|
-
id: 1,
|
|
4943
|
-
name: "prova 1",
|
|
4944
|
-
start: "2022-02-05",
|
|
4945
|
-
end: "2022-02-18",
|
|
4946
|
-
weigth: 1
|
|
4947
|
-
}, {
|
|
4948
|
-
id: 2,
|
|
4949
|
-
name: "prova 2",
|
|
4950
|
-
start: "2022-02-16",
|
|
4951
|
-
end: "2022-02-30",
|
|
4952
|
-
weigth: 2
|
|
4953
|
-
}, {
|
|
4954
|
-
id: 3,
|
|
4955
|
-
name: "prova 3",
|
|
4956
|
-
start: "2022-02-13",
|
|
4957
|
-
end: "2022-02-25",
|
|
4958
|
-
weigth: 3
|
|
4959
|
-
}, {
|
|
4960
|
-
id: 4,
|
|
4961
|
-
name: "prova 4",
|
|
4962
|
-
start: "2022-02-03",
|
|
4963
|
-
end: "2022-02-25",
|
|
4964
|
-
weigth: 4
|
|
4965
|
-
}]
|
|
4966
|
-
};
|
|
4967
|
-
}
|
|
4968
|
-
});
|
|
4969
|
-
// CONCATENATED MODULE: ./src/App.vue?vue&type=script&lang=js&
|
|
4970
|
-
/* harmony default export */ var src_Appvue_type_script_lang_js_ = (Appvue_type_script_lang_js_);
|
|
4971
|
-
// EXTERNAL MODULE: ./src/App.vue?vue&type=style&index=0&lang=css&
|
|
4972
|
-
var Appvue_type_style_index_0_lang_css_ = __webpack_require__("034f");
|
|
4870
|
+
// CONCATENATED MODULE: ./src/lib.js
|
|
4973
4871
|
|
|
4974
|
-
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
/* normalize component */
|
|
4982
|
-
|
|
4983
|
-
var App_component = normalizeComponent(
|
|
4984
|
-
src_Appvue_type_script_lang_js_,
|
|
4985
|
-
Appvue_type_template_id_562dd894_render,
|
|
4986
|
-
staticRenderFns,
|
|
4987
|
-
false,
|
|
4988
|
-
null,
|
|
4989
|
-
null,
|
|
4990
|
-
null
|
|
4991
|
-
|
|
4992
|
-
)
|
|
4993
|
-
|
|
4994
|
-
/* harmony default export */ var App = (App_component.exports);
|
|
4995
|
-
// CONCATENATED MODULE: ./src/main.js
|
|
4996
|
-
|
|
4997
|
-
|
|
4998
|
-
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.config.productionTip = false;
|
|
4999
|
-
new external_commonjs_vue_commonjs2_vue_root_Vue_default.a({
|
|
5000
|
-
render: function render(h) {
|
|
5001
|
-
return h(App);
|
|
5002
|
-
}
|
|
5003
|
-
}).$mount('#app');
|
|
4872
|
+
function install(Vue) {
|
|
4873
|
+
console.log('install');
|
|
4874
|
+
Vue.component('vue-timeline', gant_board);
|
|
4875
|
+
}
|
|
5004
4876
|
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib-no-default.js
|
|
5005
4877
|
|
|
5006
4878
|
|