adata-ui 0.1.50 → 0.1.53
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/adata-ui.common.js +982 -249
- package/dist/adata-ui.common.js.map +1 -1
- package/dist/adata-ui.css +1 -1
- package/dist/adata-ui.umd.js +982 -249
- package/dist/adata-ui.umd.js.map +1 -1
- package/dist/adata-ui.umd.min.js +2 -2
- package/dist/adata-ui.umd.min.js.map +1 -1
- package/dist/img/arrow-down.72dc66a4.svg +3 -0
- package/dist/img/arrow-up.95ee7d72.svg +3 -0
- package/dist/img/dollor.7d00f847.svg +54 -0
- package/dist/img/euro.1362dfb6.svg +15 -0
- package/dist/img/ruble.c27b58e5.svg +12 -0
- package/package.json +1 -1
- package/src/App.vue +1 -2
- package/src/assets/icons/arrow-down.svg +3 -0
- package/src/assets/icons/arrow-up.svg +3 -0
- package/src/assets/icons/dollor.svg +54 -0
- package/src/assets/icons/euro.svg +15 -0
- package/src/assets/icons/ruble.svg +12 -0
- package/src/assets/style.scss +1 -1
- package/src/components/Checkbox/ACheckbox.vue +114 -0
- package/src/components/Checkbox/Checkbox.stories.js +15 -0
- package/src/components/Header/Header.vue +363 -125
- package/src/components/Header/InfoHeader.vue +215 -0
- package/src/components/Header/Profile.vue +0 -14
- package/src/components/Table/ATable.vue +117 -0
- package/src/components/Table/Table.stories.js +15 -0
- package/src/components/index.js +4 -0
- package/src/configs/profileDropDown.js +7 -0
package/dist/adata-ui.common.js
CHANGED
|
@@ -308,6 +308,13 @@ module.exports = function (originalArray) {
|
|
|
308
308
|
};
|
|
309
309
|
|
|
310
310
|
|
|
311
|
+
/***/ }),
|
|
312
|
+
|
|
313
|
+
/***/ "0c9a":
|
|
314
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
315
|
+
|
|
316
|
+
// extracted by mini-css-extract-plugin
|
|
317
|
+
|
|
311
318
|
/***/ }),
|
|
312
319
|
|
|
313
320
|
/***/ "0cb2":
|
|
@@ -489,6 +496,13 @@ module.exports = function (argument) {
|
|
|
489
496
|
};
|
|
490
497
|
|
|
491
498
|
|
|
499
|
+
/***/ }),
|
|
500
|
+
|
|
501
|
+
/***/ "17ad":
|
|
502
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
503
|
+
|
|
504
|
+
// extracted by mini-css-extract-plugin
|
|
505
|
+
|
|
492
506
|
/***/ }),
|
|
493
507
|
|
|
494
508
|
/***/ "17c2":
|
|
@@ -1124,6 +1138,17 @@ if (!version && userAgent) {
|
|
|
1124
1138
|
module.exports = version;
|
|
1125
1139
|
|
|
1126
1140
|
|
|
1141
|
+
/***/ }),
|
|
1142
|
+
|
|
1143
|
+
/***/ "32db":
|
|
1144
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1145
|
+
|
|
1146
|
+
"use strict";
|
|
1147
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_InfoHeader_vue_vue_type_style_index_0_id_6078a202_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5b1b");
|
|
1148
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_InfoHeader_vue_vue_type_style_index_0_id_6078a202_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_InfoHeader_vue_vue_type_style_index_0_id_6078a202_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
1149
|
+
/* unused harmony reexport * */
|
|
1150
|
+
|
|
1151
|
+
|
|
1127
1152
|
/***/ }),
|
|
1128
1153
|
|
|
1129
1154
|
/***/ "342f":
|
|
@@ -1207,6 +1232,17 @@ module.exports = function (argument) {
|
|
|
1207
1232
|
};
|
|
1208
1233
|
|
|
1209
1234
|
|
|
1235
|
+
/***/ }),
|
|
1236
|
+
|
|
1237
|
+
/***/ "3c75":
|
|
1238
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1239
|
+
|
|
1240
|
+
"use strict";
|
|
1241
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ATable_vue_vue_type_style_index_0_id_b3cc1b06_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("17ad");
|
|
1242
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ATable_vue_vue_type_style_index_0_id_b3cc1b06_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ATable_vue_vue_type_style_index_0_id_b3cc1b06_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
1243
|
+
/* unused harmony reexport * */
|
|
1244
|
+
|
|
1245
|
+
|
|
1210
1246
|
/***/ }),
|
|
1211
1247
|
|
|
1212
1248
|
/***/ "3ca3":
|
|
@@ -1936,6 +1972,13 @@ module.exports = function (it) {
|
|
|
1936
1972
|
};
|
|
1937
1973
|
|
|
1938
1974
|
|
|
1975
|
+
/***/ }),
|
|
1976
|
+
|
|
1977
|
+
/***/ "5b1b":
|
|
1978
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1979
|
+
|
|
1980
|
+
// extracted by mini-css-extract-plugin
|
|
1981
|
+
|
|
1939
1982
|
/***/ }),
|
|
1940
1983
|
|
|
1941
1984
|
/***/ "5c6c":
|
|
@@ -1975,6 +2018,13 @@ module.exports = {
|
|
|
1975
2018
|
};
|
|
1976
2019
|
|
|
1977
2020
|
|
|
2021
|
+
/***/ }),
|
|
2022
|
+
|
|
2023
|
+
/***/ "5ff2":
|
|
2024
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2025
|
+
|
|
2026
|
+
module.exports = __webpack_require__.p + "img/euro.1362dfb6.svg";
|
|
2027
|
+
|
|
1978
2028
|
/***/ }),
|
|
1979
2029
|
|
|
1980
2030
|
/***/ "605d":
|
|
@@ -2628,6 +2678,17 @@ var WeakMap = global.WeakMap;
|
|
|
2628
2678
|
module.exports = isCallable(WeakMap) && /native code/.test(inspectSource(WeakMap));
|
|
2629
2679
|
|
|
2630
2680
|
|
|
2681
|
+
/***/ }),
|
|
2682
|
+
|
|
2683
|
+
/***/ "7fe7":
|
|
2684
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2685
|
+
|
|
2686
|
+
"use strict";
|
|
2687
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ACheckbox_vue_vue_type_style_index_0_id_88de6b42_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0c9a");
|
|
2688
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ACheckbox_vue_vue_type_style_index_0_id_88de6b42_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ACheckbox_vue_vue_type_style_index_0_id_88de6b42_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
2689
|
+
/* unused harmony reexport * */
|
|
2690
|
+
|
|
2691
|
+
|
|
2631
2692
|
/***/ }),
|
|
2632
2693
|
|
|
2633
2694
|
/***/ "825a":
|
|
@@ -3785,6 +3846,77 @@ try {
|
|
|
3785
3846
|
}
|
|
3786
3847
|
|
|
3787
3848
|
|
|
3849
|
+
/***/ }),
|
|
3850
|
+
|
|
3851
|
+
/***/ "99af":
|
|
3852
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3853
|
+
|
|
3854
|
+
"use strict";
|
|
3855
|
+
|
|
3856
|
+
var $ = __webpack_require__("23e7");
|
|
3857
|
+
var global = __webpack_require__("da84");
|
|
3858
|
+
var fails = __webpack_require__("d039");
|
|
3859
|
+
var isArray = __webpack_require__("e8b5");
|
|
3860
|
+
var isObject = __webpack_require__("861d");
|
|
3861
|
+
var toObject = __webpack_require__("7b0b");
|
|
3862
|
+
var lengthOfArrayLike = __webpack_require__("07fa");
|
|
3863
|
+
var createProperty = __webpack_require__("8418");
|
|
3864
|
+
var arraySpeciesCreate = __webpack_require__("65f0");
|
|
3865
|
+
var arrayMethodHasSpeciesSupport = __webpack_require__("1dde");
|
|
3866
|
+
var wellKnownSymbol = __webpack_require__("b622");
|
|
3867
|
+
var V8_VERSION = __webpack_require__("2d00");
|
|
3868
|
+
|
|
3869
|
+
var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
|
|
3870
|
+
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
|
|
3871
|
+
var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
|
|
3872
|
+
var TypeError = global.TypeError;
|
|
3873
|
+
|
|
3874
|
+
// We can't use this feature detection in V8 since it causes
|
|
3875
|
+
// deoptimization and serious performance degradation
|
|
3876
|
+
// https://github.com/zloirock/core-js/issues/679
|
|
3877
|
+
var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {
|
|
3878
|
+
var array = [];
|
|
3879
|
+
array[IS_CONCAT_SPREADABLE] = false;
|
|
3880
|
+
return array.concat()[0] !== array;
|
|
3881
|
+
});
|
|
3882
|
+
|
|
3883
|
+
var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');
|
|
3884
|
+
|
|
3885
|
+
var isConcatSpreadable = function (O) {
|
|
3886
|
+
if (!isObject(O)) return false;
|
|
3887
|
+
var spreadable = O[IS_CONCAT_SPREADABLE];
|
|
3888
|
+
return spreadable !== undefined ? !!spreadable : isArray(O);
|
|
3889
|
+
};
|
|
3890
|
+
|
|
3891
|
+
var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
|
|
3892
|
+
|
|
3893
|
+
// `Array.prototype.concat` method
|
|
3894
|
+
// https://tc39.es/ecma262/#sec-array.prototype.concat
|
|
3895
|
+
// with adding support of @@isConcatSpreadable and @@species
|
|
3896
|
+
$({ target: 'Array', proto: true, forced: FORCED }, {
|
|
3897
|
+
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
3898
|
+
concat: function concat(arg) {
|
|
3899
|
+
var O = toObject(this);
|
|
3900
|
+
var A = arraySpeciesCreate(O, 0);
|
|
3901
|
+
var n = 0;
|
|
3902
|
+
var i, k, length, len, E;
|
|
3903
|
+
for (i = -1, length = arguments.length; i < length; i++) {
|
|
3904
|
+
E = i === -1 ? O : arguments[i];
|
|
3905
|
+
if (isConcatSpreadable(E)) {
|
|
3906
|
+
len = lengthOfArrayLike(E);
|
|
3907
|
+
if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
|
|
3908
|
+
for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
|
|
3909
|
+
} else {
|
|
3910
|
+
if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
|
|
3911
|
+
createProperty(A, n++, E);
|
|
3912
|
+
}
|
|
3913
|
+
}
|
|
3914
|
+
A.length = n;
|
|
3915
|
+
return A;
|
|
3916
|
+
}
|
|
3917
|
+
});
|
|
3918
|
+
|
|
3919
|
+
|
|
3788
3920
|
/***/ }),
|
|
3789
3921
|
|
|
3790
3922
|
/***/ "9a1f":
|
|
@@ -3952,6 +4084,13 @@ module.exports = function (argument) {
|
|
|
3952
4084
|
};
|
|
3953
4085
|
|
|
3954
4086
|
|
|
4087
|
+
/***/ }),
|
|
4088
|
+
|
|
4089
|
+
/***/ "a3f8":
|
|
4090
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4091
|
+
|
|
4092
|
+
module.exports = __webpack_require__.p + "img/arrow-up.95ee7d72.svg";
|
|
4093
|
+
|
|
3955
4094
|
/***/ }),
|
|
3956
4095
|
|
|
3957
4096
|
/***/ "a4a1":
|
|
@@ -6420,6 +6559,13 @@ module.exports = function (input, pref) {
|
|
|
6420
6559
|
module.exports = false;
|
|
6421
6560
|
|
|
6422
6561
|
|
|
6562
|
+
/***/ }),
|
|
6563
|
+
|
|
6564
|
+
/***/ "c54b":
|
|
6565
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6566
|
+
|
|
6567
|
+
module.exports = __webpack_require__.p + "img/ruble.c27b58e5.svg";
|
|
6568
|
+
|
|
6423
6569
|
/***/ }),
|
|
6424
6570
|
|
|
6425
6571
|
/***/ "c65b":
|
|
@@ -6483,6 +6629,13 @@ module.exports = function (stack, dropEntries) {
|
|
|
6483
6629
|
};
|
|
6484
6630
|
|
|
6485
6631
|
|
|
6632
|
+
/***/ }),
|
|
6633
|
+
|
|
6634
|
+
/***/ "c874":
|
|
6635
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6636
|
+
|
|
6637
|
+
module.exports = __webpack_require__.p + "img/arrow-down.72dc66a4.svg";
|
|
6638
|
+
|
|
6486
6639
|
/***/ }),
|
|
6487
6640
|
|
|
6488
6641
|
/***/ "c8ba":
|
|
@@ -6688,6 +6841,13 @@ var defineWellKnownSymbol = __webpack_require__("746f");
|
|
|
6688
6841
|
defineWellKnownSymbol('iterator');
|
|
6689
6842
|
|
|
6690
6843
|
|
|
6844
|
+
/***/ }),
|
|
6845
|
+
|
|
6846
|
+
/***/ "d293":
|
|
6847
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6848
|
+
|
|
6849
|
+
module.exports = __webpack_require__.p + "img/dollor.7d00f847.svg";
|
|
6850
|
+
|
|
6691
6851
|
/***/ }),
|
|
6692
6852
|
|
|
6693
6853
|
/***/ "d2bb":
|
|
@@ -7971,20 +8131,21 @@ var es_object_keys = __webpack_require__("b64b");
|
|
|
7971
8131
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
|
|
7972
8132
|
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
|
|
7973
8133
|
|
|
7974
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"917c70aa-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/
|
|
7975
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.
|
|
7976
|
-
'btn',
|
|
7977
|
-
("btn_" + _vm.variant),
|
|
7978
|
-
("size_" + _vm.size) ],attrs:{"href":_vm.url,"event":_vm.event ? 'click' : ''}},'component',_vm.$attrs,false),_vm.$listeners),[_vm._t("default")],2)}
|
|
8134
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"917c70aa-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/Checkbox/ACheckbox.vue?vue&type=template&id=88de6b42&scoped=true&
|
|
8135
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('label',{staticClass:"a-checkbox",attrs:{"for":_vm.fakeHash}},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.model),expression:"model"}],staticClass:"a-checkbox__input",attrs:{"type":"checkbox","id":_vm.fakeHash,"disabled":_vm.disabled},domProps:{"value":_vm.inputValue,"checked":Array.isArray(_vm.model)?_vm._i(_vm.model,_vm.inputValue)>-1:(_vm.model)},on:{"change":function($event){var $$a=_vm.model,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=_vm.inputValue,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.model=$$a.concat([$$v]))}else{$$i>-1&&(_vm.model=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.model=$$c}}}}),_c('span',{staticClass:"checkmark"}),_c('span',{staticClass:"a-checkbox__label"},[_vm._v(_vm._s(_vm.label))])])}
|
|
7979
8136
|
var staticRenderFns = []
|
|
7980
8137
|
|
|
7981
8138
|
|
|
7982
|
-
// CONCATENATED MODULE: ./src/components/
|
|
8139
|
+
// CONCATENATED MODULE: ./src/components/Checkbox/ACheckbox.vue?vue&type=template&id=88de6b42&scoped=true&
|
|
7983
8140
|
|
|
7984
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.
|
|
7985
|
-
var
|
|
8141
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.constructor.js
|
|
8142
|
+
var es_number_constructor = __webpack_require__("a9e3");
|
|
8143
|
+
|
|
8144
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
|
|
8145
|
+
var es_array_concat = __webpack_require__("99af");
|
|
8146
|
+
|
|
8147
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Checkbox/ACheckbox.vue?vue&type=script&lang=js&
|
|
7986
8148
|
|
|
7987
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Button/AButton.vue?vue&type=script&lang=js&
|
|
7988
8149
|
|
|
7989
8150
|
//
|
|
7990
8151
|
//
|
|
@@ -8001,43 +8162,49 @@ var es_array_includes = __webpack_require__("caad");
|
|
|
8001
8162
|
//
|
|
8002
8163
|
//
|
|
8003
8164
|
//
|
|
8004
|
-
|
|
8005
|
-
//
|
|
8006
|
-
//
|
|
8007
|
-
/* harmony default export */ var AButtonvue_type_script_lang_js_ = ({
|
|
8008
|
-
name: "AButton",
|
|
8165
|
+
/* harmony default export */ var ACheckboxvue_type_script_lang_js_ = ({
|
|
8009
8166
|
props: {
|
|
8010
|
-
|
|
8011
|
-
type: String,
|
|
8012
|
-
default:
|
|
8013
|
-
validator: function validator(value) {
|
|
8014
|
-
return ['white', 'grey', 'yellow', 'red', 'green', 'blue_outlined', 'blue'].includes(value);
|
|
8015
|
-
}
|
|
8167
|
+
id: {
|
|
8168
|
+
type: [String, Number],
|
|
8169
|
+
default: null
|
|
8016
8170
|
},
|
|
8017
|
-
|
|
8018
|
-
type: String,
|
|
8019
|
-
default:
|
|
8020
|
-
validator: function validator(value) {
|
|
8021
|
-
return ['sm', 'md', 'extra_sm'].includes(value);
|
|
8022
|
-
}
|
|
8171
|
+
inputValue: {
|
|
8172
|
+
type: [String, Boolean],
|
|
8173
|
+
default: null
|
|
8023
8174
|
},
|
|
8024
|
-
|
|
8025
|
-
type:
|
|
8175
|
+
value: {
|
|
8176
|
+
type: Array,
|
|
8177
|
+
default: function _default() {
|
|
8178
|
+
return [];
|
|
8179
|
+
}
|
|
8026
8180
|
},
|
|
8027
|
-
|
|
8028
|
-
type:
|
|
8029
|
-
default:
|
|
8181
|
+
label: {
|
|
8182
|
+
type: String,
|
|
8183
|
+
default: ""
|
|
8030
8184
|
},
|
|
8031
8185
|
disabled: {
|
|
8032
8186
|
type: Boolean,
|
|
8033
8187
|
default: false
|
|
8034
8188
|
}
|
|
8189
|
+
},
|
|
8190
|
+
computed: {
|
|
8191
|
+
fakeHash: function fakeHash() {
|
|
8192
|
+
return "".concat(this.id, "_").concat(this.label, "_checkbox");
|
|
8193
|
+
},
|
|
8194
|
+
model: {
|
|
8195
|
+
get: function get() {
|
|
8196
|
+
return this.value;
|
|
8197
|
+
},
|
|
8198
|
+
set: function set(value) {
|
|
8199
|
+
this.$emit("input", value);
|
|
8200
|
+
}
|
|
8201
|
+
}
|
|
8035
8202
|
}
|
|
8036
8203
|
});
|
|
8037
|
-
// CONCATENATED MODULE: ./src/components/
|
|
8038
|
-
/* harmony default export */ var
|
|
8039
|
-
// EXTERNAL MODULE: ./src/components/
|
|
8040
|
-
var
|
|
8204
|
+
// CONCATENATED MODULE: ./src/components/Checkbox/ACheckbox.vue?vue&type=script&lang=js&
|
|
8205
|
+
/* harmony default export */ var Checkbox_ACheckboxvue_type_script_lang_js_ = (ACheckboxvue_type_script_lang_js_);
|
|
8206
|
+
// EXTERNAL MODULE: ./src/components/Checkbox/ACheckbox.vue?vue&type=style&index=0&id=88de6b42&lang=scss&scoped=true&
|
|
8207
|
+
var ACheckboxvue_type_style_index_0_id_88de6b42_lang_scss_scoped_true_ = __webpack_require__("7fe7");
|
|
8041
8208
|
|
|
8042
8209
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
8043
8210
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -8139,7 +8306,7 @@ function normalizeComponent (
|
|
|
8139
8306
|
}
|
|
8140
8307
|
}
|
|
8141
8308
|
|
|
8142
|
-
// CONCATENATED MODULE: ./src/components/
|
|
8309
|
+
// CONCATENATED MODULE: ./src/components/Checkbox/ACheckbox.vue
|
|
8143
8310
|
|
|
8144
8311
|
|
|
8145
8312
|
|
|
@@ -8149,17 +8316,106 @@ function normalizeComponent (
|
|
|
8149
8316
|
/* normalize component */
|
|
8150
8317
|
|
|
8151
8318
|
var component = normalizeComponent(
|
|
8152
|
-
|
|
8319
|
+
Checkbox_ACheckboxvue_type_script_lang_js_,
|
|
8153
8320
|
render,
|
|
8154
8321
|
staticRenderFns,
|
|
8155
8322
|
false,
|
|
8156
8323
|
null,
|
|
8324
|
+
"88de6b42",
|
|
8325
|
+
null
|
|
8326
|
+
|
|
8327
|
+
)
|
|
8328
|
+
|
|
8329
|
+
/* harmony default export */ var ACheckbox = (component.exports);
|
|
8330
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"917c70aa-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/Button/AButton.vue?vue&type=template&id=4fa0b10a&
|
|
8331
|
+
var AButtonvue_type_template_id_4fa0b10a_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.url ? 'a' : 'button',_vm._g(_vm._b({tag:"component",class:[
|
|
8332
|
+
'btn',
|
|
8333
|
+
("btn_" + _vm.variant),
|
|
8334
|
+
("size_" + _vm.size) ],attrs:{"href":_vm.url,"event":_vm.event ? 'click' : ''}},'component',_vm.$attrs,false),_vm.$listeners),[_vm._t("default")],2)}
|
|
8335
|
+
var AButtonvue_type_template_id_4fa0b10a_staticRenderFns = []
|
|
8336
|
+
|
|
8337
|
+
|
|
8338
|
+
// CONCATENATED MODULE: ./src/components/Button/AButton.vue?vue&type=template&id=4fa0b10a&
|
|
8339
|
+
|
|
8340
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
|
|
8341
|
+
var es_array_includes = __webpack_require__("caad");
|
|
8342
|
+
|
|
8343
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Button/AButton.vue?vue&type=script&lang=js&
|
|
8344
|
+
|
|
8345
|
+
//
|
|
8346
|
+
//
|
|
8347
|
+
//
|
|
8348
|
+
//
|
|
8349
|
+
//
|
|
8350
|
+
//
|
|
8351
|
+
//
|
|
8352
|
+
//
|
|
8353
|
+
//
|
|
8354
|
+
//
|
|
8355
|
+
//
|
|
8356
|
+
//
|
|
8357
|
+
//
|
|
8358
|
+
//
|
|
8359
|
+
//
|
|
8360
|
+
//
|
|
8361
|
+
//
|
|
8362
|
+
//
|
|
8363
|
+
/* harmony default export */ var AButtonvue_type_script_lang_js_ = ({
|
|
8364
|
+
name: "AButton",
|
|
8365
|
+
props: {
|
|
8366
|
+
variant: {
|
|
8367
|
+
type: String,
|
|
8368
|
+
default: "yellow",
|
|
8369
|
+
validator: function validator(value) {
|
|
8370
|
+
return ['white', 'grey', 'yellow', 'red', 'green', 'blue_outlined', 'blue'].includes(value);
|
|
8371
|
+
}
|
|
8372
|
+
},
|
|
8373
|
+
size: {
|
|
8374
|
+
type: String,
|
|
8375
|
+
default: "md",
|
|
8376
|
+
validator: function validator(value) {
|
|
8377
|
+
return ['sm', 'md', 'extra_sm'].includes(value);
|
|
8378
|
+
}
|
|
8379
|
+
},
|
|
8380
|
+
url: {
|
|
8381
|
+
type: String
|
|
8382
|
+
},
|
|
8383
|
+
event: {
|
|
8384
|
+
type: Boolean,
|
|
8385
|
+
default: true
|
|
8386
|
+
},
|
|
8387
|
+
disabled: {
|
|
8388
|
+
type: Boolean,
|
|
8389
|
+
default: false
|
|
8390
|
+
}
|
|
8391
|
+
}
|
|
8392
|
+
});
|
|
8393
|
+
// CONCATENATED MODULE: ./src/components/Button/AButton.vue?vue&type=script&lang=js&
|
|
8394
|
+
/* harmony default export */ var Button_AButtonvue_type_script_lang_js_ = (AButtonvue_type_script_lang_js_);
|
|
8395
|
+
// EXTERNAL MODULE: ./src/components/Button/AButton.vue?vue&type=style&index=0&lang=scss&
|
|
8396
|
+
var AButtonvue_type_style_index_0_lang_scss_ = __webpack_require__("8dca");
|
|
8397
|
+
|
|
8398
|
+
// CONCATENATED MODULE: ./src/components/Button/AButton.vue
|
|
8399
|
+
|
|
8400
|
+
|
|
8401
|
+
|
|
8402
|
+
|
|
8403
|
+
|
|
8404
|
+
|
|
8405
|
+
/* normalize component */
|
|
8406
|
+
|
|
8407
|
+
var AButton_component = normalizeComponent(
|
|
8408
|
+
Button_AButtonvue_type_script_lang_js_,
|
|
8409
|
+
AButtonvue_type_template_id_4fa0b10a_render,
|
|
8410
|
+
AButtonvue_type_template_id_4fa0b10a_staticRenderFns,
|
|
8411
|
+
false,
|
|
8412
|
+
null,
|
|
8157
8413
|
null,
|
|
8158
8414
|
null
|
|
8159
8415
|
|
|
8160
8416
|
)
|
|
8161
8417
|
|
|
8162
|
-
/* harmony default export */ var AButton = (
|
|
8418
|
+
/* harmony default export */ var AButton = (AButton_component.exports);
|
|
8163
8419
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"917c70aa-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/TextField/TextField.vue?vue&type=template&id=068cf2f4&
|
|
8164
8420
|
var TextFieldvue_type_template_id_068cf2f4_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"adt-text-block"},[_c('div',{class:['adt-text-block__field', { error: !!_vm.errorText }]},[_c('input',{ref:"input",staticClass:"adt-text-block__input",class:{ error: !!_vm.errorText },attrs:{"type":_vm.type,"placeholder":_vm.placeholder,"required":""},domProps:{"value":_vm.value},on:{"input":function($event){return _vm.$emit('input', $event.target.value)},"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.enterPressed.apply(null, arguments)}}}),_c('label',{staticClass:"adt-text-block__label"},[_vm._v(" "+_vm._s(_vm.label)+" "),(_vm.required)?_c('span',{staticClass:"adt-text-block__required"},[_vm._v("*")]):_vm._e()]),(_vm.clearable && _vm.value && _vm.value.length > 0)?_c('div',{staticClass:"adt-text-block__icon desktop",on:{"click":function($event){return _vm.$emit('input', '')}}},[_c('svg',{attrs:{"width":"12","height":"12","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16","id":"clearIcon"}},[_c('path',{attrs:{"d":"M2 2l12 12m0-12L2 14","stroke":"#2C3E50","stroke-linecap":"round","stroke-linejoin":"round"}})])]):_vm._e()]),(!!_vm.errorText)?_c('div',{staticClass:"adt-text-block__error"},[_c('svg',{attrs:{"width":"14","height":"14","viewBox":"0 0 16 16","fill":"none","xmlns":"http://www.w3.org/2000/svg","id":"icon__attention"}},[_c('path',{attrs:{"d":"M8.5 4C8.5 3.72386 8.27614 3.5 8 3.5C7.72386 3.5 7.5 3.72386 7.5 4H8.5ZM7.5 9C7.5 9.27614 7.72386 9.5 8 9.5C8.27614 9.5 8.5 9.27614 8.5 9H7.5ZM7.5 4V9H8.5V4H7.5Z","fill":"#FF2E43"}}),_c('path',{attrs:{"d":"M8.5 11C8.5 10.7239 8.27614 10.5 8 10.5C7.72386 10.5 7.5 10.7239 7.5 11H8.5ZM7.5 11.5C7.5 11.7761 7.72386 12 8 12C8.27614 12 8.5 11.7761 8.5 11.5H7.5ZM7.5 11V11.5H8.5V11H7.5Z","fill":"#FF2E43"}}),_c('circle',{attrs:{"cx":"8","cy":"8","r":"7","stroke":"#FF2E43"}})]),_vm._v(" "+_vm._s(_vm.errorText)+" ")]):_vm._e()])}
|
|
8165
8421
|
var TextFieldvue_type_template_id_068cf2f4_staticRenderFns = []
|
|
@@ -8473,49 +8729,25 @@ var Alert_component = normalizeComponent(
|
|
|
8473
8729
|
)
|
|
8474
8730
|
|
|
8475
8731
|
/* harmony default export */ var Alert = (Alert_component.exports);
|
|
8476
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"917c70aa-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/Header/Header.vue?vue&type=template&id=
|
|
8477
|
-
var
|
|
8478
|
-
|
|
8479
|
-
|
|
8480
|
-
|
|
8481
|
-
|
|
8732
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"917c70aa-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/Header/Header.vue?vue&type=template&id=34976661&
|
|
8733
|
+
var Headervue_type_template_id_34976661_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('header',{class:{ sticky: _vm.isSticky }},[_c('InfoHeader',{attrs:{"weather":_vm.weather,"currencies":_vm.currencies,"system-message":_vm.systemMessage,"requestCount":_vm.requestCount,"daysRemaining":_vm.daysRemaining,"is-open-notification":_vm.isOpenNotification,"is-authenticated":_vm.isAuthenticated},on:{"closeNotification":_vm.closeNotification}}),_c('div',{staticClass:"header",class:{ bordered: _vm.isBordered }},[_c('div',{staticClass:"container"},[_c('div',{staticClass:"header__left"},[_c('a',{staticClass:"logo",attrs:{"href":_vm.main[_vm.mode]}},[_c('svg',{staticClass:"adata-logo",attrs:{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 166 48"}},[_c('path',{attrs:{"d":"M62.926 38.22v-28h10.316c10.342 0 15.511 4.55 15.508 13.652 0 4.36-1.41 7.843-4.232 10.448-2.822 2.605-6.58 3.907-11.276 3.904l-10.316-.004zm6.56-22.868v17.752h3.248c2.839 0 5.069-.82 6.69-2.46 1.622-1.64 2.43-3.873 2.424-6.7 0-2.667-.8-4.767-2.403-6.3-1.602-1.533-3.853-2.297-6.752-2.292h-3.206zM118.5 38.22h-7.131l-2.079-6.228H98.958l-2.079 6.228h-7.093l10.598-28h7.775l10.341 28zm-10.723-11.072l-3.127-9.416a11.94 11.94 0 01-.486-2.516h-.162c-.07.83-.24 1.649-.508 2.44l-3.168 9.492h7.451zm31.833-11.796h-8.316V38.22h-6.557V15.352h-8.274v-5.136h23.147v5.136zM166 38.22h-7.143l-2.079-6.228h-10.349l-2.05 6.228h-7.106l10.598-28h7.776l10.353 28zm-10.719-11.072l-3.127-9.416a11.94 11.94 0 01-.486-2.516h-.163c-.069.83-.239 1.649-.507 2.44l-3.168 9.492h7.451zM24.553 15.252h-.163c-.069.83-.24 1.649-.507 2.44L20.715 27.2h7.45l-3.126-9.412a12.02 12.02 0 01-.486-2.536z"}}),_c('path',{attrs:{"d":"M44.905 0H4.99a5.091 5.091 0 00-3.528 1.406A4.71 4.71 0 000 4.8v38.4a4.71 4.71 0 001.461 3.394A5.091 5.091 0 004.99 48h39.916a5.091 5.091 0 003.528-1.406 4.71 4.71 0 001.462-3.394V4.8a4.71 4.71 0 00-1.462-3.394A5.091 5.091 0 0044.905 0zM31.737 38.26l-2.079-6.232H19.305l-2.05 6.232h-7.097l10.598-28h7.776l10.353 28h-7.148z"}})])]),(_vm.headerItems.length > 0)?_c('div',{staticClass:"menu"},_vm._l((_vm.headerItems),function(item,index){return _c('a',{key:index,staticClass:"menu__wrapper menu__items",class:{ active: item.key === _vm.activeTabKey },attrs:{"href":item[_vm.mode]}},[_vm._v(" "+_vm._s(item.name)+" ")])}),0):_vm._e()]),_c('div',{staticClass:"header__right"},[_vm._t("chooseCountry"),_c('Profile',{attrs:{"profileDropDown":_vm.profileDropDown,"mode":_vm.mode,"isAuthenticated":_vm.isAuthenticated,"email":_vm.email,"loginUrl":_vm.loginUrl,"activeTabKey":_vm.activeTabKey},on:{"showBalanceModal":function (val) {
|
|
8734
|
+
_vm.$emit('showBalanceModal', val);
|
|
8735
|
+
},"setShowModal":function (val) {
|
|
8736
|
+
_vm.$emit('setShowModal', val);
|
|
8737
|
+
},"logout":function($event){return _vm.$emit('logout')},"setIsReplenishModal":function (val) {
|
|
8738
|
+
_vm.$emit('setIsReplenishModal', val);
|
|
8739
|
+
}}}),_c('div',{staticClass:"menu_mobile--switcher",on:{"click":_vm.changeValue}},[_c('svg',{attrs:{"width":"24","height":"24","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2 4h20v2H2V4zm0 14h20v2H2v-2zm0-7h20v2H2v-2z","fill":"#2C3E50"}})])])],2)]),_c('MobileToggle',{scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
8740
|
+
var animationClass = ref.animationClass;
|
|
8741
|
+
return [_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.headerItems.length > 0 && _vm.isOpen),expression:"headerItems.length > 0 && isOpen"}],staticClass:"menu_mobile",class:animationClass},[_c('div',{staticClass:"menu-wrapper"},[_c('div',{staticClass:"mobile-table-head",on:{"click":function($event){$event.stopPropagation();return _vm.changeValue.apply(null, arguments)}}},[_c('svg',{attrs:{"width":"18","height":"18","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M4.414 18.142L18.556 4l1.415 1.414L5.828 19.556l-1.414-1.414z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M5.414 4l14.142 14.142-1.414 1.414L4 5.414 5.414 4z","fill":"#2C3E50"}})])]),_c('div',{staticClass:"menu__link"},_vm._l((_vm.headerItems),function(item,index){return _c('a',{key:index,staticClass:"menu_mobile-wrapper",class:{ 'active-burger-tab': item.key === _vm.activeTabKey },attrs:{"href":item[_vm.mode]}},[_vm._v(" "+_vm._s(item.name)+" ")])}),0)]),_c('div',{staticClass:"menu-mobile__info"},[_c('div',{staticClass:"menu-mobile__info-header"},[_c('span',[_vm._v("Валюта")]),_c('span',[_vm._v("Покупка")]),_c('span',[_vm._v("Продажа")])]),_c('div',{staticClass:"menu-mobile__info-body"},_vm._l((_vm.currencies),function(currency,index){return _c('div',{key:index,staticClass:"menu-mobile__info-row"},[_c('div',{staticClass:"menu-mobile__info-column"},[(currency.currency === 'USD')?_c('img',{attrs:{"src":__webpack_require__("d293"),"alt":""}}):_vm._e(),(currency.currency === 'EUR')?_c('img',{attrs:{"src":__webpack_require__("5ff2"),"alt":""}}):_vm._e(),(currency.currency === 'RUB')?_c('img',{attrs:{"src":__webpack_require__("c54b"),"alt":""}}):_vm._e(),_c('span',[_vm._v(_vm._s(currency.currency))])]),_c('div',{staticClass:"menu-mobile__info-column"},[_c('span',[_vm._v(_vm._s(currency.buy))]),(currency.buy_state === 'DOWN')?_c('img',{attrs:{"src":__webpack_require__("c874"),"alt":""}}):_c('img',{attrs:{"src":__webpack_require__("a3f8"),"alt":""}})]),_c('div',{staticClass:"menu-mobile__info-column"},[_c('span',[_vm._v(_vm._s(currency.sell))]),(currency.sell_state === 'DOWN')?_c('img',{attrs:{"src":__webpack_require__("c874"),"alt":""}}):_c('img',{attrs:{"src":__webpack_require__("a3f8"),"alt":""}})])])}),0),_c('div',{staticClass:"menu-mobile__info-footer"},[_c('div',{staticClass:"menu-mobile__info-footer-item"},[_c('span',{staticClass:"menu-mobile__info-footer-title"},[_vm._v("Cуточный лимит запросов:")]),_c('span',{staticClass:"menu-mobile__info-footer-circle"},[_vm._v(_vm._s(_vm.requestCount))])]),_c('div',{staticClass:"menu-mobile__info-footer-item"},[_c('span',{staticClass:"menu-mobile__info-footer-title"},[_vm._v("Остаток дней:")]),_c('span',{staticClass:"menu-mobile__info-footer-circle"},[_vm._v(_vm._s(_vm.daysRemaining))])])])])])]}}])})],1)],1)}
|
|
8742
|
+
var Headervue_type_template_id_34976661_staticRenderFns = []
|
|
8482
8743
|
|
|
8483
|
-
// CONCATENATED MODULE: ./src/components/Header/Header.vue?vue&type=template&id=2f3f105a&
|
|
8484
8744
|
|
|
8485
|
-
//
|
|
8486
|
-
var es_number_constructor = __webpack_require__("a9e3");
|
|
8745
|
+
// CONCATENATED MODULE: ./src/components/Header/Header.vue?vue&type=template&id=34976661&
|
|
8487
8746
|
|
|
8488
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.
|
|
8489
|
-
var
|
|
8747
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
|
8748
|
+
var es_promise = __webpack_require__("e6cf");
|
|
8490
8749
|
|
|
8491
|
-
//
|
|
8492
|
-
var es_regexp_exec = __webpack_require__("ac1f");
|
|
8493
|
-
|
|
8494
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
8495
|
-
var es_string_replace = __webpack_require__("5319");
|
|
8496
|
-
|
|
8497
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js
|
|
8498
|
-
var es_regexp_to_string = __webpack_require__("25f0");
|
|
8499
|
-
|
|
8500
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"917c70aa-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/Header/Profile.vue?vue&type=template&id=de1784de&
|
|
8501
|
-
var Profilevue_type_template_id_de1784de_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"profile",class:{ active: _vm.active }},[_c('div',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(function () {_vm.active = false}),expression:"() => {active = false}"}]},[_c('div',{staticClass:"profile__inner"},[(_vm.requestCount !== null && _vm.isAuthenticated)?_c('div',{staticClass:"requests__link"},[_vm._v(" Суточный лимит запросов: "),_c('span',[_vm._v(" "+_vm._s(_vm.requestCount)+" "+_vm._s((_vm.daysRemaining === null || _vm.daysRemaining === '-') ? '' : ("(" + _vm.daysRemaining + ")"))+" ")])]):_vm._e(),_c('div',{staticClass:"profile__item",on:{"click":function($event){_vm.active = !_vm.active}}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isAuthenticated),expression:"isAuthenticated"}],staticClass:"profile__item-link"},[_c('span',{staticClass:"desktop"},[_vm._v(_vm._s(_vm.email))]),_c('svg',{staticClass:"desktop arrow-svg",class:{ rotate: _vm.active },attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('path',{attrs:{"fill":"none","d":"M0 0h16v16H0z"}}),_c('path',{attrs:{"fill":"none","d":"M3 6.5L8 10l5-3.5","stroke":"#2C3E50","stroke-linecap":"round","stroke-linejoin":"round"}})])]),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isAuthenticated),expression:"isAuthenticated"}],staticClass:"profile__item-link"},[_c('svg',{staticClass:"user",attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M15.5 8a3.5 3.5 0 11-7 0 3.5 3.5 0 017 0zm-1.023 4.344a5 5 0 10-4.954 0C5.757 13.417 3 16.874 3 20.974V21h1.543v-.026c0-4.106 3.339-7.435 7.457-7.435 4.119 0 7.457 3.329 7.457 7.435V21H21v-.026c0-4.1-2.757-7.557-6.523-8.63z","fill":"#2C3E50"}})])]),_c('a',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isAuthenticated),expression:"!isAuthenticated"}],staticClass:"sign",attrs:{"href":_vm.loginUrl}},[_c('svg',{staticClass:"desktop",attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('path',{attrs:{"fill":"#fff","d":"M0 0h16v16H0z","stroke":"none"}}),_c('path',{attrs:{"d":"M8 10l2-2.054L8.077 6","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),_c('path',{attrs:{"d":"M6 4.1V2h8v12H6v-1.65M9 8H2","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}})]),_c('svg',{staticClass:"user",attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M13 7.94L17.06 12 13 16.06 11.94 15l3-3-3-3L13 7.94z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M8.25 2.25h13.5v19.5H8.25v-4.5h1.5v3h10.5V3.75H9.75v3h-1.5v-4.5z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2.25 11.25h13.5v1.5H2.25v-1.5z","fill":"#2C3E50"}})]),_c('span',{staticClass:"sign_text"},[_vm._v("Вход")])])])]),_c('SlideToggle',{scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
8502
|
-
var animationClass = ref.animationClass;
|
|
8503
|
-
return [(_vm.isAuthenticated)?_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.active),expression:"active"}],staticClass:"profile-menu",class:animationClass},[_c('div',{staticClass:"profile-menu__inner"},[(_vm.listDropDown.length)?_c('div',{staticClass:"profile-menu__items"},_vm._l((_vm.listDropDown),function(elem,index){return _c('div',{key:index},[(elem[_vm.mode])?_c('div',{staticClass:"gray-text",class:elem.link ? 'profile-menu__balance-link': 'profile-menu__links',on:{"click":function($event){return _vm.handleClick(elem[_vm.mode], elem.name)}}},[_c('div',[_vm._v(" "+_vm._s(elem.name)+" ")]),(elem.link)?_c('span',{staticClass:"profile-menu__balance",on:{"click":function($event){return _vm.showModal(elem[_vm.mode], elem.name)}}},[_vm._v(" "+_vm._s(elem.link)+" ")]):_vm._e()]):_vm._e(),(elem.children)?_c('div',{staticClass:"gray-text profile-menu__item",on:{"click":function($event){return _vm.rotateItem(index)}}},[_c('div',{staticClass:"profile-menu__item__children"},[_vm._v(_vm._s(elem.name)+" "),(elem.children.length > 0)?_c('span',[_c('svg',{class:{'rotated': elem.opened},attrs:{"width":"12","height":"8","viewBox":"0 0 12 8","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M1 1.5L6 6.5L11 1.5","stroke":"#69797D","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})])]):_vm._e()]),_c('SlideToggle',{class:animationClass,scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
8504
|
-
var animationClass = ref.animationClass;
|
|
8505
|
-
return [(elem.opened)?_c('div',[_vm._l((elem.children),function(child,idx){return [(child[_vm.mode])?_c('div',{key:idx + 'link',staticClass:"profile-menu__item__child",on:{"click":function($event){return _vm.handleClick(child[_vm.mode], child.name)}}},[_c('span',[_c('svg',{attrs:{"width":"4","height":"4","viewBox":"0 0 4 4","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('circle',{attrs:{"cx":"2","cy":"2","r":"2","fill":"#2C3E50"}})]),_vm._v(" "+_vm._s(child.name)+" ")])]):_vm._e()]})],2):_vm._e()]}}],null,true)})],1):_vm._e()])}),0):_vm._e(),_c('div',{staticClass:"exit",on:{"click":_vm.logout}},[_c('svg',{attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('path',{attrs:{"d":"M11 10l2-2.054L11.077 6M10 11.9V14H2V2h8v1.65M12 8H5","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}})]),_vm._v(" Выход ")])])]):_vm._e()]}}])}),_c('MobileToggle',{scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
8506
|
-
var animationClass = ref.animationClass;
|
|
8507
|
-
return [_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isAuthenticated && _vm.active),expression:"isAuthenticated && active"}],staticClass:"mobile-table",class:animationClass},[_c('div',{staticClass:"mobile-table-head"},[_c('p',[_vm._v("Профиль пользователя")]),_c('svg',{attrs:{"fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24","id":"close_hamburger"},on:{"click":function($event){$event.stopPropagation();_vm.active = !_vm.active}}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M4.414 18.142L18.556 4l1.415 1.414L5.828 19.556l-1.414-1.414z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M5.414 4l14.142 14.142-1.414 1.414L4 5.414 5.414 4z","fill":"#2C3E50"}})])]),_c('div',{staticClass:"profile-menu-mobile"},[_c('div',{staticClass:"profile-menu-mobile__inner"},[(_vm.listDropDown.length > 0)?_c('div',{staticClass:"profile-menu-mobile__items"},_vm._l((_vm.listDropDown),function(elem,index){return _c('div',{key:index,staticClass:"bb"},[(elem[_vm.mode])?_c('div',{class:elem.link ? 'profile-menu-mobile__balance-link': 'profile-menu-mobile__links',on:{"click":function($event){return _vm.handleClick(elem[_vm.mode], elem.name)}}},[(!elem.link)?_c('div',{staticClass:"button-inner"},[_c('div',[_vm._v(_vm._s(elem.name))]),_c('svg',{directives:[{name:"show",rawName:"v-show",value:(!elem.withoutArray),expression:"!elem.withoutArray"}],attrs:{"width":"18","height":"18","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 10 18"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2.108.59L9.318 9l-7.21 8.41L.59 16.108 6.683 9 .59 1.892 2.108.59z","fill":"#2C3E50"}})])]):_vm._e(),(elem.link)?_c('div',{staticClass:"profile-menu-mobile__balance-items"},[_c('div',{staticClass:"profile-menu-mobile__balance-items__upper-text"},[_vm._v(" "+_vm._s(elem.name.substr(0, 15))+" ")]),_c('div',{staticClass:"profile-menu-mobile__balance__bot-text"},[_vm._v(" "+_vm._s(elem.name.substr(15))+" ")])]):_vm._e(),(elem.link)?_c('span',{staticClass:"profile-menu-mobile__balance",on:{"click":function($event){return _vm.$emit('showBalanceModal', true)}}},[_vm._v(" "+_vm._s(elem.link)+" ")]):_vm._e()]):_vm._e(),(elem.children)?_c('div',{staticClass:"profile-menu-mobile__links",on:{"click":function($event){return _vm.rotateItem(index)}}},[_c('div',{staticClass:"button-inner"},[_c('div',[_vm._v(_vm._s(elem.name))]),_c('svg',{attrs:{"width":"18","height":"18","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 10 18"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2.108.59L9.318 9l-7.21 8.41L.59 16.108 6.683 9 .59 1.892 2.108.59z","fill":"#2C3E50"}})])])]):_vm._e()])}),0):_vm._e()]),_c('div',{staticClass:"exit-mob",on:{"click":_vm.logout}},[_c('svg',{staticClass:"arrow-svg",attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M17.7501 7.93933L21.8108 12L17.7501 16.0607L16.6895 15L19.6895 12L16.6895 8.99999L17.7501 7.93933Z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M15.5 2.25H2V21.75H15.5V17.25H14V20.25H3.5V3.75H14V6.75H15.5V2.25Z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M7 11.25L20.5 11.25L20.5 12.75L7 12.75L7 11.25Z","fill":"#2C3E50"}})]),_vm._v(" Выход ")])])])]}}])}),_c('MobileToggle',{scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
8508
|
-
var animationClass = ref.animationClass;
|
|
8509
|
-
return [_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.someMobileOpened.length > 0 && _vm.chosenElem && _vm.chosenElem.children.length > 0),expression:"someMobileOpened.length > 0 && chosenElem && chosenElem.children.length > 0"}],staticClass:"mobile-table",class:animationClass},[_c('div',{staticClass:"mobile-table-head mobile-table-head-chosen"},[_c('div',{on:{"click":function($event){_vm.chosenElem.opened = false}}},[_c('svg',{staticClass:"rotated",attrs:{"width":"18","height":"18","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 10 18"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2.108.59L9.318 9l-7.21 8.41L.59 16.108 6.683 9 .59 1.892 2.108.59z","fill":"#2C3E50"}})])]),_c('p',[_vm._v(_vm._s(_vm.chosenElem.name))])]),_c('div',{staticClass:"profile-menu-mobile"},[_c('div',{staticClass:"profile-menu-mobile__inner"},[(_vm.chosenElem.children.length > 0)?_c('div',{staticClass:"profile-menu-mobile__items"},_vm._l((_vm.chosenElem.children),function(elem,index){return _c('div',{key:index,staticClass:"bb"},[(elem[_vm.mode])?_c('div',{class:elem.link ? 'profile-menu-mobile__balance-link': 'profile-menu-mobile__links',on:{"click":function($event){return _vm.handleClick(elem[_vm.mode], elem.name)}}},[_c('div',{staticClass:"button-inner"},[_c('div',[_vm._v(_vm._s(elem.name))])])]):_vm._e()])}),0):_vm._e()]),_c('div',{staticClass:"exit-mob",on:{"click":_vm.logout}},[_c('svg',{staticClass:"arrow-svg",attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M17.7501 7.93933L21.8108 12L17.7501 16.0607L16.6895 15L19.6895 12L16.6895 8.99999L17.7501 7.93933Z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M15.5 2.25H2V21.75H15.5V17.25H14V20.25H3.5V3.75H14V6.75H15.5V2.25Z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M7 11.25L20.5 11.25L20.5 12.75L7 12.75L7 11.25Z","fill":"#2C3E50"}})]),_vm._v(" Выход ")])])])]}}])})],1)])}
|
|
8510
|
-
var Profilevue_type_template_id_de1784de_staticRenderFns = []
|
|
8511
|
-
|
|
8512
|
-
|
|
8513
|
-
// CONCATENATED MODULE: ./src/components/Header/Profile.vue?vue&type=template&id=de1784de&
|
|
8514
|
-
|
|
8515
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
|
8516
|
-
var es_promise = __webpack_require__("e6cf");
|
|
8517
|
-
|
|
8518
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
8750
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
8519
8751
|
|
|
8520
8752
|
|
|
8521
8753
|
|
|
@@ -8554,6 +8786,154 @@ function _asyncToGenerator(fn) {
|
|
|
8554
8786
|
});
|
|
8555
8787
|
};
|
|
8556
8788
|
}
|
|
8789
|
+
// EXTERNAL MODULE: ./node_modules/regenerator-runtime/runtime.js
|
|
8790
|
+
var runtime = __webpack_require__("96cf");
|
|
8791
|
+
|
|
8792
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
8793
|
+
var es_function_name = __webpack_require__("b0c0");
|
|
8794
|
+
|
|
8795
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
|
|
8796
|
+
var es_regexp_exec = __webpack_require__("ac1f");
|
|
8797
|
+
|
|
8798
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
8799
|
+
var es_string_replace = __webpack_require__("5319");
|
|
8800
|
+
|
|
8801
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js
|
|
8802
|
+
var es_regexp_to_string = __webpack_require__("25f0");
|
|
8803
|
+
|
|
8804
|
+
// CONCATENATED MODULE: ./src/configs/profileDropDown.js
|
|
8805
|
+
var profileDropDown = [{
|
|
8806
|
+
id: 1,
|
|
8807
|
+
name: "Общие настройки",
|
|
8808
|
+
dev: "https://adtdev.kz/profile?tab=general",
|
|
8809
|
+
staging: "https://adada.kz/profile?tab=general",
|
|
8810
|
+
prod: "https://adata.kz/profile?tab=general",
|
|
8811
|
+
disabled: false,
|
|
8812
|
+
withoutArray: true
|
|
8813
|
+
}, {
|
|
8814
|
+
id: 2,
|
|
8815
|
+
name: "Увеличить лимит запросов",
|
|
8816
|
+
dev: "https://adtdev.kz/profile?tab=tariffs",
|
|
8817
|
+
staging: "https://adada.kz/profile?tab=tariffs",
|
|
8818
|
+
prod: "https://adata.kz/profile?tab=tariffs",
|
|
8819
|
+
disabled: false,
|
|
8820
|
+
withoutArray: true
|
|
8821
|
+
}, {
|
|
8822
|
+
id: 3,
|
|
8823
|
+
name: "Текущий баланс: 0 ₸",
|
|
8824
|
+
dev: "https://adtdev.kz/profile?tab=tariffs",
|
|
8825
|
+
staging: "https://adada.kz/profile?tab=tariffs",
|
|
8826
|
+
prod: "https://adata.kz/profile?tab=tariffs",
|
|
8827
|
+
link: "Пополнить",
|
|
8828
|
+
disabled: true,
|
|
8829
|
+
withoutArray: true
|
|
8830
|
+
}, {
|
|
8831
|
+
id: 4,
|
|
8832
|
+
name: "Историй платежей",
|
|
8833
|
+
dev: "https://adtdev.kz/profile?tab=payments",
|
|
8834
|
+
staging: "https://adada.kz/profile?tab=payments",
|
|
8835
|
+
prod: "https://adata.kz/profile?tab=payments",
|
|
8836
|
+
disabled: false,
|
|
8837
|
+
withoutArray: true
|
|
8838
|
+
}, {
|
|
8839
|
+
id: 5,
|
|
8840
|
+
name: "Контрагенты",
|
|
8841
|
+
opened: false,
|
|
8842
|
+
children: [{
|
|
8843
|
+
id: 8,
|
|
8844
|
+
name: "Избранные",
|
|
8845
|
+
dev: "https://pk.adtdev.kz/profile/favorites",
|
|
8846
|
+
staging: "https://pk.adada.kz/profile/favorites",
|
|
8847
|
+
prod: "https://pk.adata.kz/profile/favorites"
|
|
8848
|
+
}, {
|
|
8849
|
+
id: 9,
|
|
8850
|
+
name: "История просмотров",
|
|
8851
|
+
dev: "https://pk.adtdev.kz/profile/browsing-history",
|
|
8852
|
+
staging: "https://pk.adada.kz/profile/browsing-history",
|
|
8853
|
+
prod: "https://pk.adata.kz/profile/browsing-history"
|
|
8854
|
+
}, {
|
|
8855
|
+
id: 10,
|
|
8856
|
+
name: "Мои отчеты",
|
|
8857
|
+
dev: "https://pk.adtdev.kz/profile/my-reports",
|
|
8858
|
+
staging: "https://pk.adada.kz/profile/my-reports",
|
|
8859
|
+
prod: "https://pk.adata.kz/profile/my-reports"
|
|
8860
|
+
}],
|
|
8861
|
+
disabled: false
|
|
8862
|
+
}, {
|
|
8863
|
+
id: 6,
|
|
8864
|
+
name: "Работа",
|
|
8865
|
+
opened: false,
|
|
8866
|
+
children: [{
|
|
8867
|
+
id: 10,
|
|
8868
|
+
name: "Профиль",
|
|
8869
|
+
dev: "https://work.adtdev.kz/profile/account",
|
|
8870
|
+
staging: "https://work.adada.kz/profile/account",
|
|
8871
|
+
prod: "https://work.adata.kz/profile/account"
|
|
8872
|
+
}, // {
|
|
8873
|
+
// id: 11,
|
|
8874
|
+
// name: "Создать резюме",
|
|
8875
|
+
// url: "https://work.adata.kz/user/create"
|
|
8876
|
+
// },
|
|
8877
|
+
{
|
|
8878
|
+
id: 12,
|
|
8879
|
+
name: "Отклики",
|
|
8880
|
+
dev: "https://work.adtdev.kz/profile/application",
|
|
8881
|
+
staging: "https://work.adada.kz/profile/application",
|
|
8882
|
+
prod: "https://work.adata.kz/profile/application"
|
|
8883
|
+
}, {
|
|
8884
|
+
id: 13,
|
|
8885
|
+
name: "Предложения",
|
|
8886
|
+
dev: "https://work.adtdev.kz/profile/offer",
|
|
8887
|
+
staging: "https://work.adada.kz/profile/offer",
|
|
8888
|
+
prod: "https://work.adata.kz/profile/offer"
|
|
8889
|
+
}],
|
|
8890
|
+
disabled: false
|
|
8891
|
+
}, {
|
|
8892
|
+
id: 7,
|
|
8893
|
+
name: "Тендеры",
|
|
8894
|
+
opened: false,
|
|
8895
|
+
children: [{
|
|
8896
|
+
id: 17,
|
|
8897
|
+
name: "Шаблоны поиска",
|
|
8898
|
+
dev: "https://tender.adtdev.kz/profile/search-profile",
|
|
8899
|
+
staging: "https://tender.adada.kz/profile/search-profile",
|
|
8900
|
+
prod: "https://tender.adata.kz/profile/search-profile"
|
|
8901
|
+
}, {
|
|
8902
|
+
id: 17,
|
|
8903
|
+
name: "Избранные",
|
|
8904
|
+
dev: "https://tender.adtdev.kz/profile/favourites",
|
|
8905
|
+
staging: "https://tender.adada.kz/profile/favourites",
|
|
8906
|
+
prod: "https://tender.adata.kz/profile/favourites"
|
|
8907
|
+
}],
|
|
8908
|
+
disabled: false
|
|
8909
|
+
} // {
|
|
8910
|
+
// id: 8,
|
|
8911
|
+
// name: "Штрафы",
|
|
8912
|
+
// url: 'https://avto.adata.kz',
|
|
8913
|
+
// key: 'fines'
|
|
8914
|
+
// },
|
|
8915
|
+
// {
|
|
8916
|
+
// id: 9,
|
|
8917
|
+
// name: "Маркетинг",
|
|
8918
|
+
// url: 'https://marketing.adata.kz',
|
|
8919
|
+
// key: 'marketing'
|
|
8920
|
+
// }
|
|
8921
|
+
];
|
|
8922
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"917c70aa-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/Header/Profile.vue?vue&type=template&id=cad026e6&
|
|
8923
|
+
var Profilevue_type_template_id_cad026e6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"profile",class:{ active: _vm.active }},[_c('div',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(function () {_vm.active = false}),expression:"() => {active = false}"}]},[_c('div',{staticClass:"profile__inner"},[_c('div',{staticClass:"profile__item",on:{"click":function($event){_vm.active = !_vm.active}}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isAuthenticated),expression:"isAuthenticated"}],staticClass:"profile__item-link"},[_c('span',{staticClass:"desktop"},[_vm._v(_vm._s(_vm.email))]),_c('svg',{staticClass:"desktop arrow-svg",class:{ rotate: _vm.active },attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('path',{attrs:{"fill":"none","d":"M0 0h16v16H0z"}}),_c('path',{attrs:{"fill":"none","d":"M3 6.5L8 10l5-3.5","stroke":"#2C3E50","stroke-linecap":"round","stroke-linejoin":"round"}})])]),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isAuthenticated),expression:"isAuthenticated"}],staticClass:"profile__item-link"},[_c('svg',{staticClass:"user",attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M15.5 8a3.5 3.5 0 11-7 0 3.5 3.5 0 017 0zm-1.023 4.344a5 5 0 10-4.954 0C5.757 13.417 3 16.874 3 20.974V21h1.543v-.026c0-4.106 3.339-7.435 7.457-7.435 4.119 0 7.457 3.329 7.457 7.435V21H21v-.026c0-4.1-2.757-7.557-6.523-8.63z","fill":"#2C3E50"}})])]),_c('a',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isAuthenticated),expression:"!isAuthenticated"}],staticClass:"sign",attrs:{"href":_vm.loginUrl}},[_c('svg',{staticClass:"desktop",attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('path',{attrs:{"fill":"#fff","d":"M0 0h16v16H0z","stroke":"none"}}),_c('path',{attrs:{"d":"M8 10l2-2.054L8.077 6","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),_c('path',{attrs:{"d":"M6 4.1V2h8v12H6v-1.65M9 8H2","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}})]),_c('svg',{staticClass:"user",attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M13 7.94L17.06 12 13 16.06 11.94 15l3-3-3-3L13 7.94z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M8.25 2.25h13.5v19.5H8.25v-4.5h1.5v3h10.5V3.75H9.75v3h-1.5v-4.5z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2.25 11.25h13.5v1.5H2.25v-1.5z","fill":"#2C3E50"}})]),_c('span',{staticClass:"sign_text"},[_vm._v("Вход")])])])]),_c('SlideToggle',{scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
8924
|
+
var animationClass = ref.animationClass;
|
|
8925
|
+
return [(_vm.isAuthenticated)?_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.active),expression:"active"}],staticClass:"profile-menu",class:animationClass},[_c('div',{staticClass:"profile-menu__inner"},[(_vm.listDropDown.length)?_c('div',{staticClass:"profile-menu__items"},_vm._l((_vm.listDropDown),function(elem,index){return _c('div',{key:index},[(elem[_vm.mode])?_c('div',{staticClass:"gray-text",class:elem.link ? 'profile-menu__balance-link': 'profile-menu__links',on:{"click":function($event){return _vm.handleClick(elem[_vm.mode], elem.name)}}},[_c('div',[_vm._v(" "+_vm._s(elem.name)+" ")]),(elem.link)?_c('span',{staticClass:"profile-menu__balance",on:{"click":function($event){return _vm.showModal(elem[_vm.mode], elem.name)}}},[_vm._v(" "+_vm._s(elem.link)+" ")]):_vm._e()]):_vm._e(),(elem.children)?_c('div',{staticClass:"gray-text profile-menu__item",on:{"click":function($event){return _vm.rotateItem(index)}}},[_c('div',{staticClass:"profile-menu__item__children"},[_vm._v(_vm._s(elem.name)+" "),(elem.children.length > 0)?_c('span',[_c('svg',{class:{'rotated': elem.opened},attrs:{"width":"12","height":"8","viewBox":"0 0 12 8","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M1 1.5L6 6.5L11 1.5","stroke":"#69797D","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})])]):_vm._e()]),_c('SlideToggle',{class:animationClass,scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
8926
|
+
var animationClass = ref.animationClass;
|
|
8927
|
+
return [(elem.opened)?_c('div',[_vm._l((elem.children),function(child,idx){return [(child[_vm.mode])?_c('div',{key:idx + 'link',staticClass:"profile-menu__item__child",on:{"click":function($event){return _vm.handleClick(child[_vm.mode], child.name)}}},[_c('span',[_c('svg',{attrs:{"width":"4","height":"4","viewBox":"0 0 4 4","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('circle',{attrs:{"cx":"2","cy":"2","r":"2","fill":"#2C3E50"}})]),_vm._v(" "+_vm._s(child.name)+" ")])]):_vm._e()]})],2):_vm._e()]}}],null,true)})],1):_vm._e()])}),0):_vm._e(),_c('div',{staticClass:"exit",on:{"click":_vm.logout}},[_c('svg',{attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('path',{attrs:{"d":"M11 10l2-2.054L11.077 6M10 11.9V14H2V2h8v1.65M12 8H5","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}})]),_vm._v(" Выход ")])])]):_vm._e()]}}])}),_c('MobileToggle',{scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
8928
|
+
var animationClass = ref.animationClass;
|
|
8929
|
+
return [_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isAuthenticated && _vm.active),expression:"isAuthenticated && active"}],staticClass:"mobile-table",class:animationClass},[_c('div',{staticClass:"mobile-table-head"},[_c('p',[_vm._v("Профиль пользователя")]),_c('svg',{attrs:{"fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24","id":"close_hamburger"},on:{"click":function($event){$event.stopPropagation();_vm.active = !_vm.active}}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M4.414 18.142L18.556 4l1.415 1.414L5.828 19.556l-1.414-1.414z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M5.414 4l14.142 14.142-1.414 1.414L4 5.414 5.414 4z","fill":"#2C3E50"}})])]),_c('div',{staticClass:"profile-menu-mobile"},[_c('div',{staticClass:"profile-menu-mobile__inner"},[(_vm.listDropDown.length > 0)?_c('div',{staticClass:"profile-menu-mobile__items"},_vm._l((_vm.listDropDown),function(elem,index){return _c('div',{key:index,staticClass:"bb"},[(elem[_vm.mode])?_c('div',{class:elem.link ? 'profile-menu-mobile__balance-link': 'profile-menu-mobile__links',on:{"click":function($event){return _vm.handleClick(elem[_vm.mode], elem.name)}}},[(!elem.link)?_c('div',{staticClass:"button-inner"},[_c('div',[_vm._v(_vm._s(elem.name))]),_c('svg',{directives:[{name:"show",rawName:"v-show",value:(!elem.withoutArray),expression:"!elem.withoutArray"}],attrs:{"width":"18","height":"18","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 10 18"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2.108.59L9.318 9l-7.21 8.41L.59 16.108 6.683 9 .59 1.892 2.108.59z","fill":"#2C3E50"}})])]):_vm._e(),(elem.link)?_c('div',{staticClass:"profile-menu-mobile__balance-items"},[_c('div',{staticClass:"profile-menu-mobile__balance-items__upper-text"},[_vm._v(" "+_vm._s(elem.name.substr(0, 15))+" ")]),_c('div',{staticClass:"profile-menu-mobile__balance__bot-text"},[_vm._v(" "+_vm._s(elem.name.substr(15))+" ")])]):_vm._e(),(elem.link)?_c('span',{staticClass:"profile-menu-mobile__balance",on:{"click":function($event){return _vm.$emit('showBalanceModal', true)}}},[_vm._v(" "+_vm._s(elem.link)+" ")]):_vm._e()]):_vm._e(),(elem.children)?_c('div',{staticClass:"profile-menu-mobile__links",on:{"click":function($event){return _vm.rotateItem(index)}}},[_c('div',{staticClass:"button-inner"},[_c('div',[_vm._v(_vm._s(elem.name))]),_c('svg',{attrs:{"width":"18","height":"18","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 10 18"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2.108.59L9.318 9l-7.21 8.41L.59 16.108 6.683 9 .59 1.892 2.108.59z","fill":"#2C3E50"}})])])]):_vm._e()])}),0):_vm._e()]),_c('div',{staticClass:"exit-mob",on:{"click":_vm.logout}},[_c('svg',{staticClass:"arrow-svg",attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M17.7501 7.93933L21.8108 12L17.7501 16.0607L16.6895 15L19.6895 12L16.6895 8.99999L17.7501 7.93933Z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M15.5 2.25H2V21.75H15.5V17.25H14V20.25H3.5V3.75H14V6.75H15.5V2.25Z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M7 11.25L20.5 11.25L20.5 12.75L7 12.75L7 11.25Z","fill":"#2C3E50"}})]),_vm._v(" Выход ")])])])]}}])}),_c('MobileToggle',{scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
8930
|
+
var animationClass = ref.animationClass;
|
|
8931
|
+
return [_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.someMobileOpened.length > 0 && _vm.chosenElem && _vm.chosenElem.children.length > 0),expression:"someMobileOpened.length > 0 && chosenElem && chosenElem.children.length > 0"}],staticClass:"mobile-table",class:animationClass},[_c('div',{staticClass:"mobile-table-head mobile-table-head-chosen"},[_c('div',{on:{"click":function($event){_vm.chosenElem.opened = false}}},[_c('svg',{staticClass:"rotated",attrs:{"width":"18","height":"18","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 10 18"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2.108.59L9.318 9l-7.21 8.41L.59 16.108 6.683 9 .59 1.892 2.108.59z","fill":"#2C3E50"}})])]),_c('p',[_vm._v(_vm._s(_vm.chosenElem.name))])]),_c('div',{staticClass:"profile-menu-mobile"},[_c('div',{staticClass:"profile-menu-mobile__inner"},[(_vm.chosenElem.children.length > 0)?_c('div',{staticClass:"profile-menu-mobile__items"},_vm._l((_vm.chosenElem.children),function(elem,index){return _c('div',{key:index,staticClass:"bb"},[(elem[_vm.mode])?_c('div',{class:elem.link ? 'profile-menu-mobile__balance-link': 'profile-menu-mobile__links',on:{"click":function($event){return _vm.handleClick(elem[_vm.mode], elem.name)}}},[_c('div',{staticClass:"button-inner"},[_c('div',[_vm._v(_vm._s(elem.name))])])]):_vm._e()])}),0):_vm._e()]),_c('div',{staticClass:"exit-mob",on:{"click":_vm.logout}},[_c('svg',{staticClass:"arrow-svg",attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M17.7501 7.93933L21.8108 12L17.7501 16.0607L16.6895 15L19.6895 12L16.6895 8.99999L17.7501 7.93933Z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M15.5 2.25H2V21.75H15.5V17.25H14V20.25H3.5V3.75H14V6.75H15.5V2.25Z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M7 11.25L20.5 11.25L20.5 12.75L7 12.75L7 11.25Z","fill":"#2C3E50"}})]),_vm._v(" Выход ")])])])]}}])})],1)])}
|
|
8932
|
+
var Profilevue_type_template_id_cad026e6_staticRenderFns = []
|
|
8933
|
+
|
|
8934
|
+
|
|
8935
|
+
// CONCATENATED MODULE: ./src/components/Header/Profile.vue?vue&type=template&id=cad026e6&
|
|
8936
|
+
|
|
8557
8937
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
8558
8938
|
function _arrayLikeToArray(arr, len) {
|
|
8559
8939
|
if (len == null || len > arr.length) len = arr.length;
|
|
@@ -8641,9 +9021,6 @@ function _nonIterableSpread() {
|
|
|
8641
9021
|
function _toConsumableArray(arr) {
|
|
8642
9022
|
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
8643
9023
|
}
|
|
8644
|
-
// EXTERNAL MODULE: ./node_modules/regenerator-runtime/runtime.js
|
|
8645
|
-
var runtime = __webpack_require__("96cf");
|
|
8646
|
-
|
|
8647
9024
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find.js
|
|
8648
9025
|
var es_array_find = __webpack_require__("7db0");
|
|
8649
9026
|
|
|
@@ -8842,13 +9219,6 @@ var VerticalMobileToggle_component = normalizeComponent(
|
|
|
8842
9219
|
|
|
8843
9220
|
|
|
8844
9221
|
|
|
8845
|
-
|
|
8846
|
-
//
|
|
8847
|
-
//
|
|
8848
|
-
//
|
|
8849
|
-
//
|
|
8850
|
-
//
|
|
8851
|
-
//
|
|
8852
9222
|
//
|
|
8853
9223
|
//
|
|
8854
9224
|
//
|
|
@@ -9099,14 +9469,6 @@ var VerticalMobileToggle_component = normalizeComponent(
|
|
|
9099
9469
|
type: Boolean,
|
|
9100
9470
|
default: false
|
|
9101
9471
|
},
|
|
9102
|
-
requestCount: {
|
|
9103
|
-
type: Number,
|
|
9104
|
-
default: null
|
|
9105
|
-
},
|
|
9106
|
-
daysRemaining: {
|
|
9107
|
-
type: String,
|
|
9108
|
-
default: null
|
|
9109
|
-
},
|
|
9110
9472
|
email: {
|
|
9111
9473
|
type: String,
|
|
9112
9474
|
default: ""
|
|
@@ -9235,8 +9597,8 @@ var Profilevue_type_style_index_0_lang_scss_ = __webpack_require__("ee80");
|
|
|
9235
9597
|
|
|
9236
9598
|
var Profile_component = normalizeComponent(
|
|
9237
9599
|
Header_Profilevue_type_script_lang_js_,
|
|
9238
|
-
|
|
9239
|
-
|
|
9600
|
+
Profilevue_type_template_id_cad026e6_render,
|
|
9601
|
+
Profilevue_type_template_id_cad026e6_staticRenderFns,
|
|
9240
9602
|
false,
|
|
9241
9603
|
null,
|
|
9242
9604
|
null,
|
|
@@ -9245,118 +9607,147 @@ var Profile_component = normalizeComponent(
|
|
|
9245
9607
|
)
|
|
9246
9608
|
|
|
9247
9609
|
/* harmony default export */ var Profile = (Profile_component.exports);
|
|
9248
|
-
// CONCATENATED MODULE: ./src/
|
|
9249
|
-
var
|
|
9250
|
-
|
|
9251
|
-
|
|
9252
|
-
|
|
9253
|
-
|
|
9254
|
-
|
|
9255
|
-
|
|
9256
|
-
|
|
9257
|
-
|
|
9258
|
-
|
|
9259
|
-
|
|
9260
|
-
|
|
9261
|
-
|
|
9262
|
-
|
|
9263
|
-
|
|
9264
|
-
|
|
9265
|
-
|
|
9266
|
-
|
|
9267
|
-
|
|
9268
|
-
|
|
9269
|
-
|
|
9270
|
-
|
|
9271
|
-
|
|
9272
|
-
|
|
9273
|
-
|
|
9274
|
-
|
|
9275
|
-
|
|
9276
|
-
|
|
9277
|
-
|
|
9278
|
-
|
|
9279
|
-
|
|
9280
|
-
|
|
9281
|
-
|
|
9282
|
-
|
|
9283
|
-
|
|
9284
|
-
|
|
9285
|
-
|
|
9286
|
-
|
|
9287
|
-
|
|
9288
|
-
|
|
9289
|
-
|
|
9290
|
-
|
|
9291
|
-
|
|
9292
|
-
|
|
9293
|
-
|
|
9294
|
-
|
|
9295
|
-
|
|
9296
|
-
|
|
9297
|
-
|
|
9298
|
-
|
|
9299
|
-
|
|
9300
|
-
|
|
9301
|
-
|
|
9302
|
-
|
|
9303
|
-
|
|
9304
|
-
|
|
9305
|
-
|
|
9306
|
-
|
|
9307
|
-
|
|
9308
|
-
|
|
9309
|
-
|
|
9310
|
-
|
|
9311
|
-
|
|
9312
|
-
|
|
9313
|
-
|
|
9314
|
-
|
|
9315
|
-
|
|
9316
|
-
|
|
9317
|
-
|
|
9318
|
-
|
|
9319
|
-
|
|
9320
|
-
|
|
9321
|
-
|
|
9322
|
-
|
|
9323
|
-
|
|
9324
|
-
|
|
9325
|
-
|
|
9326
|
-
|
|
9327
|
-
|
|
9328
|
-
|
|
9329
|
-
|
|
9330
|
-
|
|
9331
|
-
|
|
9332
|
-
|
|
9333
|
-
|
|
9334
|
-
|
|
9335
|
-
|
|
9336
|
-
|
|
9337
|
-
|
|
9338
|
-
|
|
9339
|
-
|
|
9340
|
-
|
|
9341
|
-
|
|
9342
|
-
|
|
9343
|
-
|
|
9344
|
-
|
|
9345
|
-
|
|
9346
|
-
|
|
9347
|
-
|
|
9348
|
-
|
|
9349
|
-
|
|
9350
|
-
|
|
9351
|
-
|
|
9352
|
-
|
|
9353
|
-
|
|
9354
|
-
|
|
9355
|
-
|
|
9356
|
-
|
|
9357
|
-
|
|
9358
|
-
|
|
9359
|
-
|
|
9610
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"917c70aa-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/Header/InfoHeader.vue?vue&type=template&id=6078a202&scoped=true&
|
|
9611
|
+
var InfoHeadervue_type_template_id_6078a202_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"info"},[_c('transition',{attrs:{"name":"fade"}},[(_vm.isOpenNotification)?_c('div',{staticClass:"info-notification"},[_c('div',{staticClass:"container"},[_c('div',{staticClass:"info-notification__wrapper"},[_c('div',{staticClass:"info-notification__content"},[_c('svg',{attrs:{"id":"note-svg","width":"16","height":"16","viewBox":"0 0 16 16","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('circle',{attrs:{"cx":"8","cy":"8","r":"6","stroke":"white"}}),_c('path',{attrs:{"d":"M9.6613 11.1367L9.54952 11.5936C9.21418 11.726 8.94631 11.8267 8.74685 11.896C8.54716 11.9654 8.31514 12 8.05079 12C7.64483 12 7.32906 11.9006 7.10386 11.703C6.87865 11.5047 6.76601 11.2534 6.76601 10.9485C6.76601 10.8305 6.77418 10.7091 6.79117 10.5854C6.80831 10.4616 6.83556 10.3222 6.87284 10.1663L7.29192 8.68297C7.32921 8.54094 7.3609 8.40636 7.38628 8.27909C7.41202 8.15261 7.42442 8.03624 7.42442 7.93149C7.42442 7.74206 7.3852 7.60956 7.30712 7.53507C7.22904 7.46079 7.08005 7.42307 6.85886 7.42307C6.75052 7.42307 6.63917 7.44042 6.52567 7.47398C6.41167 7.50768 6.31423 7.54023 6.23242 7.57049L6.34449 7.11319C6.61902 7.00141 6.88144 6.90569 7.13246 6.82625C7.38348 6.74659 7.62066 6.70672 7.84501 6.70672C8.24818 6.70672 8.55928 6.80416 8.77775 6.99904C8.99622 7.19406 9.10542 7.44688 9.10542 7.75841C9.10542 7.82287 9.09825 7.93644 9.08283 8.09877C9.06777 8.26145 9.03974 8.41051 8.99887 8.5461L8.58158 10.0235C8.54738 10.1421 8.51662 10.2778 8.48988 10.4304C8.46227 10.5821 8.44908 10.6979 8.44908 10.7757C8.44908 10.9718 8.49282 11.1058 8.5805 11.177C8.66884 11.2482 8.82098 11.2836 9.03709 11.2836C9.13854 11.2836 9.25398 11.2656 9.38225 11.2302C9.51016 11.1949 9.60344 11.1638 9.6613 11.1367ZM9.76713 4.93424C9.76713 5.19164 9.67012 5.41147 9.47517 5.59223C9.28072 5.77363 9.04641 5.8644 8.7723 5.8644C8.49733 5.8644 8.26245 5.77363 8.06577 5.59223C7.86946 5.4114 7.77109 5.19164 7.77109 4.93424C7.77109 4.67734 7.86946 4.45716 8.06577 4.27411C8.26209 4.09134 8.4974 4 8.7723 4C9.04634 4 9.28072 4.09156 9.47517 4.27411C9.67026 4.45716 9.76713 4.67742 9.76713 4.93424Z","fill":"white"}})]),_c('span',[_vm._v(_vm._s(_vm.systemMessage))])]),_c('div',{staticClass:"info-notification__close",on:{"click":_vm.closeNotification}},[_c('svg',{attrs:{"id":"close-notification","width":"16","height":"16","viewBox":"0 0 16 16","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M2.99902 2.99951L12.9997 13.0002","stroke":"white","stroke-linecap":"round"}}),_c('path',{attrs:{"d":"M13 2.99951L2.99934 13.0002","stroke":"white","stroke-linecap":"round"}})])])])])]):_vm._e()]),(!_vm.isOpenNotification)?_c('div',{staticClass:"info-header"},[_c('div',{staticClass:"container"},[_c('div',{staticClass:"info-header__list"},[_c('div',{staticClass:"info-header__item"},[(_vm.currencies)?_vm._l((_vm.currencies),function(currency,index){return _c('div',{key:index,staticClass:"info-header__item-elem"},[(currency.currency === 'USD')?_c('img',{attrs:{"src":__webpack_require__("d293"),"alt":""}}):_vm._e(),(currency.currency === 'EUR')?_c('img',{attrs:{"src":__webpack_require__("5ff2"),"alt":""}}):_vm._e(),(currency.currency === 'RUB')?_c('img',{attrs:{"src":__webpack_require__("c54b"),"alt":""}}):_vm._e(),_c('div',{staticClass:"info-header__inner-item"},[_c('span',{staticClass:"info-header__result"},[_vm._v(_vm._s(currency.sell))]),(currency.sell_state === 'DOWN')?_c('img',{attrs:{"src":__webpack_require__("c874"),"alt":""}}):_c('img',{attrs:{"src":__webpack_require__("a3f8"),"alt":""}})]),_c('div',{staticClass:"info-header__inner-item"},[_c('span',{staticClass:"info-header__result"},[_vm._v(_vm._s(currency.buy))]),(currency.buy_state === 'DOWN')?_c('img',{attrs:{"src":__webpack_require__("c874"),"alt":""}}):_c('img',{attrs:{"src":__webpack_require__("a3f8"),"alt":""}})])])}):_vm._e()],2),(_vm.isAuthenticated)?_c('div',{staticClass:"info-header__item"},[_c('div',{staticClass:"info-header__item-elem"},[_c('div',{staticClass:"info-header__inner-item"},[_c('span',{staticClass:"info-header__title"},[_vm._v("Cуточный лимит запросов:")]),_c('span',{staticClass:"info-header__result info-header__result_circled"},[_vm._v(_vm._s(_vm.requestCount))])]),_c('div',{staticClass:"divider"}),_c('div',{staticClass:"info-header__inner-item"},[_c('span',{staticClass:"info-header__title"},[_vm._v("остаток дней:")]),_c('span',{staticClass:"info-header__result info-header__result_circled"},[_vm._v(_vm._s(_vm.daysRemaining))])])])]):_vm._e()])])]):_vm._e()],1)}
|
|
9612
|
+
var InfoHeadervue_type_template_id_6078a202_scoped_true_staticRenderFns = []
|
|
9613
|
+
|
|
9614
|
+
|
|
9615
|
+
// CONCATENATED MODULE: ./src/components/Header/InfoHeader.vue?vue&type=template&id=6078a202&scoped=true&
|
|
9616
|
+
|
|
9617
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Header/InfoHeader.vue?vue&type=script&lang=js&
|
|
9618
|
+
|
|
9619
|
+
//
|
|
9620
|
+
//
|
|
9621
|
+
//
|
|
9622
|
+
//
|
|
9623
|
+
//
|
|
9624
|
+
//
|
|
9625
|
+
//
|
|
9626
|
+
//
|
|
9627
|
+
//
|
|
9628
|
+
//
|
|
9629
|
+
//
|
|
9630
|
+
//
|
|
9631
|
+
//
|
|
9632
|
+
//
|
|
9633
|
+
//
|
|
9634
|
+
//
|
|
9635
|
+
//
|
|
9636
|
+
//
|
|
9637
|
+
//
|
|
9638
|
+
//
|
|
9639
|
+
//
|
|
9640
|
+
//
|
|
9641
|
+
//
|
|
9642
|
+
//
|
|
9643
|
+
//
|
|
9644
|
+
//
|
|
9645
|
+
//
|
|
9646
|
+
//
|
|
9647
|
+
//
|
|
9648
|
+
//
|
|
9649
|
+
//
|
|
9650
|
+
//
|
|
9651
|
+
//
|
|
9652
|
+
//
|
|
9653
|
+
//
|
|
9654
|
+
//
|
|
9655
|
+
//
|
|
9656
|
+
//
|
|
9657
|
+
//
|
|
9658
|
+
//
|
|
9659
|
+
//
|
|
9660
|
+
//
|
|
9661
|
+
//
|
|
9662
|
+
//
|
|
9663
|
+
//
|
|
9664
|
+
//
|
|
9665
|
+
//
|
|
9666
|
+
//
|
|
9667
|
+
//
|
|
9668
|
+
//
|
|
9669
|
+
//
|
|
9670
|
+
//
|
|
9671
|
+
//
|
|
9672
|
+
//
|
|
9673
|
+
//
|
|
9674
|
+
//
|
|
9675
|
+
//
|
|
9676
|
+
//
|
|
9677
|
+
//
|
|
9678
|
+
//
|
|
9679
|
+
//
|
|
9680
|
+
//
|
|
9681
|
+
//
|
|
9682
|
+
//
|
|
9683
|
+
/* harmony default export */ var InfoHeadervue_type_script_lang_js_ = ({
|
|
9684
|
+
name: "InfoHeader",
|
|
9685
|
+
props: {
|
|
9686
|
+
requestCount: {
|
|
9687
|
+
type: [String, Number],
|
|
9688
|
+
default: null
|
|
9689
|
+
},
|
|
9690
|
+
daysRemaining: {
|
|
9691
|
+
type: [String, Number],
|
|
9692
|
+
default: null
|
|
9693
|
+
},
|
|
9694
|
+
isAuthenticated: {
|
|
9695
|
+
type: Boolean,
|
|
9696
|
+
default: false
|
|
9697
|
+
},
|
|
9698
|
+
isOpenNotification: {
|
|
9699
|
+
type: Boolean,
|
|
9700
|
+
default: false
|
|
9701
|
+
},
|
|
9702
|
+
weather: {
|
|
9703
|
+
type: Array,
|
|
9704
|
+
default: function _default() {
|
|
9705
|
+
return [];
|
|
9706
|
+
}
|
|
9707
|
+
},
|
|
9708
|
+
currencies: {
|
|
9709
|
+
type: Array,
|
|
9710
|
+
default: function _default() {
|
|
9711
|
+
return [];
|
|
9712
|
+
}
|
|
9713
|
+
},
|
|
9714
|
+
systemMessage: {
|
|
9715
|
+
type: String,
|
|
9716
|
+
default: ''
|
|
9717
|
+
}
|
|
9718
|
+
},
|
|
9719
|
+
methods: {
|
|
9720
|
+
closeNotification: function closeNotification() {
|
|
9721
|
+
this.$emit("closeNotification", this.isOpenNotification);
|
|
9722
|
+
}
|
|
9723
|
+
}
|
|
9724
|
+
});
|
|
9725
|
+
// CONCATENATED MODULE: ./src/components/Header/InfoHeader.vue?vue&type=script&lang=js&
|
|
9726
|
+
/* harmony default export */ var Header_InfoHeadervue_type_script_lang_js_ = (InfoHeadervue_type_script_lang_js_);
|
|
9727
|
+
// EXTERNAL MODULE: ./src/components/Header/InfoHeader.vue?vue&type=style&index=0&id=6078a202&scoped=true&lang=scss&
|
|
9728
|
+
var InfoHeadervue_type_style_index_0_id_6078a202_scoped_true_lang_scss_ = __webpack_require__("32db");
|
|
9729
|
+
|
|
9730
|
+
// CONCATENATED MODULE: ./src/components/Header/InfoHeader.vue
|
|
9731
|
+
|
|
9732
|
+
|
|
9733
|
+
|
|
9734
|
+
|
|
9735
|
+
|
|
9736
|
+
|
|
9737
|
+
/* normalize component */
|
|
9738
|
+
|
|
9739
|
+
var InfoHeader_component = normalizeComponent(
|
|
9740
|
+
Header_InfoHeadervue_type_script_lang_js_,
|
|
9741
|
+
InfoHeadervue_type_template_id_6078a202_scoped_true_render,
|
|
9742
|
+
InfoHeadervue_type_template_id_6078a202_scoped_true_staticRenderFns,
|
|
9743
|
+
false,
|
|
9744
|
+
null,
|
|
9745
|
+
"6078a202",
|
|
9746
|
+
null
|
|
9747
|
+
|
|
9748
|
+
)
|
|
9749
|
+
|
|
9750
|
+
/* harmony default export */ var InfoHeader = (InfoHeader_component.exports);
|
|
9360
9751
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Header/Header.vue?vue&type=script&lang=js&
|
|
9361
9752
|
|
|
9362
9753
|
|
|
@@ -9364,6 +9755,105 @@ var profileDropDown = [{
|
|
|
9364
9755
|
|
|
9365
9756
|
|
|
9366
9757
|
|
|
9758
|
+
|
|
9759
|
+
|
|
9760
|
+
|
|
9761
|
+
//
|
|
9762
|
+
//
|
|
9763
|
+
//
|
|
9764
|
+
//
|
|
9765
|
+
//
|
|
9766
|
+
//
|
|
9767
|
+
//
|
|
9768
|
+
//
|
|
9769
|
+
//
|
|
9770
|
+
//
|
|
9771
|
+
//
|
|
9772
|
+
//
|
|
9773
|
+
//
|
|
9774
|
+
//
|
|
9775
|
+
//
|
|
9776
|
+
//
|
|
9777
|
+
//
|
|
9778
|
+
//
|
|
9779
|
+
//
|
|
9780
|
+
//
|
|
9781
|
+
//
|
|
9782
|
+
//
|
|
9783
|
+
//
|
|
9784
|
+
//
|
|
9785
|
+
//
|
|
9786
|
+
//
|
|
9787
|
+
//
|
|
9788
|
+
//
|
|
9789
|
+
//
|
|
9790
|
+
//
|
|
9791
|
+
//
|
|
9792
|
+
//
|
|
9793
|
+
//
|
|
9794
|
+
//
|
|
9795
|
+
//
|
|
9796
|
+
//
|
|
9797
|
+
//
|
|
9798
|
+
//
|
|
9799
|
+
//
|
|
9800
|
+
//
|
|
9801
|
+
//
|
|
9802
|
+
//
|
|
9803
|
+
//
|
|
9804
|
+
//
|
|
9805
|
+
//
|
|
9806
|
+
//
|
|
9807
|
+
//
|
|
9808
|
+
//
|
|
9809
|
+
//
|
|
9810
|
+
//
|
|
9811
|
+
//
|
|
9812
|
+
//
|
|
9813
|
+
//
|
|
9814
|
+
//
|
|
9815
|
+
//
|
|
9816
|
+
//
|
|
9817
|
+
//
|
|
9818
|
+
//
|
|
9819
|
+
//
|
|
9820
|
+
//
|
|
9821
|
+
//
|
|
9822
|
+
//
|
|
9823
|
+
//
|
|
9824
|
+
//
|
|
9825
|
+
//
|
|
9826
|
+
//
|
|
9827
|
+
//
|
|
9828
|
+
//
|
|
9829
|
+
//
|
|
9830
|
+
//
|
|
9831
|
+
//
|
|
9832
|
+
//
|
|
9833
|
+
//
|
|
9834
|
+
//
|
|
9835
|
+
//
|
|
9836
|
+
//
|
|
9837
|
+
//
|
|
9838
|
+
//
|
|
9839
|
+
//
|
|
9840
|
+
//
|
|
9841
|
+
//
|
|
9842
|
+
//
|
|
9843
|
+
//
|
|
9844
|
+
//
|
|
9845
|
+
//
|
|
9846
|
+
//
|
|
9847
|
+
//
|
|
9848
|
+
//
|
|
9849
|
+
//
|
|
9850
|
+
//
|
|
9851
|
+
//
|
|
9852
|
+
//
|
|
9853
|
+
//
|
|
9854
|
+
//
|
|
9855
|
+
//
|
|
9856
|
+
//
|
|
9367
9857
|
//
|
|
9368
9858
|
//
|
|
9369
9859
|
//
|
|
@@ -9442,8 +9932,10 @@ var profileDropDown = [{
|
|
|
9442
9932
|
|
|
9443
9933
|
|
|
9444
9934
|
|
|
9935
|
+
|
|
9445
9936
|
/* harmony default export */ var Headervue_type_script_lang_js_ = ({
|
|
9446
9937
|
components: {
|
|
9938
|
+
InfoHeader: InfoHeader,
|
|
9447
9939
|
Profile: Profile,
|
|
9448
9940
|
MobileToggle: VerticalMobileToggle
|
|
9449
9941
|
},
|
|
@@ -9452,7 +9944,7 @@ var profileDropDown = [{
|
|
|
9452
9944
|
type: String,
|
|
9453
9945
|
required: true,
|
|
9454
9946
|
validator: function validator(value) {
|
|
9455
|
-
return [
|
|
9947
|
+
return ["prod", "dev", "staging"].indexOf(value) !== -1;
|
|
9456
9948
|
}
|
|
9457
9949
|
},
|
|
9458
9950
|
isAuthenticated: {
|
|
@@ -9463,16 +9955,16 @@ var profileDropDown = [{
|
|
|
9463
9955
|
type: Boolean,
|
|
9464
9956
|
default: false
|
|
9465
9957
|
},
|
|
9466
|
-
|
|
9958
|
+
isSticky: {
|
|
9467
9959
|
type: Boolean,
|
|
9468
9960
|
default: false
|
|
9469
9961
|
},
|
|
9470
9962
|
requestCount: {
|
|
9471
|
-
type: Number,
|
|
9963
|
+
type: [String, Number],
|
|
9472
9964
|
default: null
|
|
9473
9965
|
},
|
|
9474
9966
|
daysRemaining: {
|
|
9475
|
-
type: String,
|
|
9967
|
+
type: [String, Number],
|
|
9476
9968
|
default: null
|
|
9477
9969
|
},
|
|
9478
9970
|
email: {
|
|
@@ -9498,69 +9990,232 @@ var profileDropDown = [{
|
|
|
9498
9990
|
return {
|
|
9499
9991
|
profileDropDown: profileDropDown,
|
|
9500
9992
|
main: {
|
|
9501
|
-
dev:
|
|
9502
|
-
prod:
|
|
9503
|
-
staging:
|
|
9993
|
+
dev: "https://adtdev.kz",
|
|
9994
|
+
prod: "https://adata.kz",
|
|
9995
|
+
staging: "https://adada.kz"
|
|
9504
9996
|
},
|
|
9505
|
-
|
|
9997
|
+
headerItems: [{
|
|
9506
9998
|
id: 1,
|
|
9507
9999
|
name: "Контрагенты",
|
|
9508
|
-
dev:
|
|
9509
|
-
prod:
|
|
9510
|
-
staging:
|
|
9511
|
-
key:
|
|
10000
|
+
dev: "https://pk.adtdev.kz",
|
|
10001
|
+
prod: "https://pk.adata.kz",
|
|
10002
|
+
staging: "https://pk.adada.kz",
|
|
10003
|
+
key: "counterparty"
|
|
9512
10004
|
}, {
|
|
9513
10005
|
id: 2,
|
|
9514
10006
|
name: "Тендеры",
|
|
9515
|
-
dev:
|
|
9516
|
-
prod:
|
|
9517
|
-
staging:
|
|
9518
|
-
key:
|
|
10007
|
+
dev: "https://tender.adtdev.kz",
|
|
10008
|
+
prod: "https://tender.adata.kz",
|
|
10009
|
+
staging: "https://tender.adada.kz",
|
|
10010
|
+
key: "tenders"
|
|
9519
10011
|
}, {
|
|
9520
10012
|
id: 3,
|
|
9521
10013
|
name: "Работа",
|
|
9522
|
-
dev:
|
|
9523
|
-
prod:
|
|
9524
|
-
staging:
|
|
9525
|
-
key:
|
|
10014
|
+
dev: "https://work.adtdev.kz",
|
|
10015
|
+
prod: "https://work.adata.kz",
|
|
10016
|
+
staging: "https://work.adada.kz",
|
|
10017
|
+
key: "work"
|
|
9526
10018
|
}, {
|
|
9527
10019
|
id: 4,
|
|
9528
10020
|
name: "Штрафы",
|
|
9529
|
-
dev:
|
|
9530
|
-
prod:
|
|
9531
|
-
staging:
|
|
9532
|
-
key:
|
|
10021
|
+
dev: "https://avto.adtdev.kz",
|
|
10022
|
+
prod: "https://avto.adata.kz",
|
|
10023
|
+
staging: "https://avto.adada.kz",
|
|
10024
|
+
key: "fines"
|
|
9533
10025
|
}, {
|
|
9534
10026
|
id: 5,
|
|
9535
10027
|
name: "Маркетинг",
|
|
9536
|
-
dev:
|
|
9537
|
-
prod:
|
|
9538
|
-
staging:
|
|
9539
|
-
key:
|
|
10028
|
+
dev: "https://marketing.adtdev.kz",
|
|
10029
|
+
prod: "https://marketing.adata.kz",
|
|
10030
|
+
staging: "https://marketing.adada.kz",
|
|
10031
|
+
key: "marketing"
|
|
9540
10032
|
}],
|
|
9541
|
-
isOpen: false
|
|
10033
|
+
isOpen: false,
|
|
10034
|
+
weather: null,
|
|
10035
|
+
currencies: null,
|
|
10036
|
+
systemMessage: null,
|
|
10037
|
+
timer: null,
|
|
10038
|
+
isOpenNotification: false
|
|
9542
10039
|
};
|
|
9543
10040
|
},
|
|
10041
|
+
created: function created() {
|
|
10042
|
+
this.fetchCurrencies();
|
|
10043
|
+
this.fetchWeather();
|
|
10044
|
+
},
|
|
9544
10045
|
mounted: function mounted() {
|
|
9545
10046
|
this.setBalance(this.balance);
|
|
10047
|
+
this.timer = setTimeout(this.fetchNotification, 3000);
|
|
10048
|
+
},
|
|
10049
|
+
watch: {
|
|
10050
|
+
balance: function balance(newBalance) {
|
|
10051
|
+
this.setBalance(newBalance);
|
|
10052
|
+
},
|
|
10053
|
+
isOpenNotification: function isOpenNotification() {
|
|
10054
|
+
if (!this.isOpenNotification) {
|
|
10055
|
+
clearTimeout(this.timer);
|
|
10056
|
+
}
|
|
10057
|
+
}
|
|
9546
10058
|
},
|
|
9547
10059
|
methods: {
|
|
10060
|
+
fetchNotification: function fetchNotification() {
|
|
10061
|
+
var _this = this;
|
|
10062
|
+
|
|
10063
|
+
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
10064
|
+
var response, _yield$response$json, data;
|
|
10065
|
+
|
|
10066
|
+
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
10067
|
+
while (1) {
|
|
10068
|
+
switch (_context.prev = _context.next) {
|
|
10069
|
+
case 0:
|
|
10070
|
+
_context.prev = 0;
|
|
10071
|
+
_context.next = 3;
|
|
10072
|
+
return fetch('https://users.adtdev.kz/api/v1/system-messages/active-list/?module_name=counterparty');
|
|
10073
|
+
|
|
10074
|
+
case 3:
|
|
10075
|
+
response = _context.sent;
|
|
10076
|
+
_context.next = 6;
|
|
10077
|
+
return response.json();
|
|
10078
|
+
|
|
10079
|
+
case 6:
|
|
10080
|
+
_yield$response$json = _context.sent;
|
|
10081
|
+
data = _yield$response$json.data;
|
|
10082
|
+
|
|
10083
|
+
if (data.details.length) {
|
|
10084
|
+
_this.systemMessage = data.details[0].message;
|
|
10085
|
+
_this.isOpenNotification = true;
|
|
10086
|
+
}
|
|
10087
|
+
|
|
10088
|
+
_context.next = 14;
|
|
10089
|
+
break;
|
|
10090
|
+
|
|
10091
|
+
case 11:
|
|
10092
|
+
_context.prev = 11;
|
|
10093
|
+
_context.t0 = _context["catch"](0);
|
|
10094
|
+
console.log(_context.t0.message);
|
|
10095
|
+
|
|
10096
|
+
case 14:
|
|
10097
|
+
case "end":
|
|
10098
|
+
return _context.stop();
|
|
10099
|
+
}
|
|
10100
|
+
}
|
|
10101
|
+
}, _callee, null, [[0, 11]]);
|
|
10102
|
+
}))();
|
|
10103
|
+
},
|
|
10104
|
+
fetchCurrencies: function fetchCurrencies() {
|
|
10105
|
+
var _this2 = this;
|
|
10106
|
+
|
|
10107
|
+
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
|
10108
|
+
var response, _yield$response$json2, data;
|
|
10109
|
+
|
|
10110
|
+
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
10111
|
+
while (1) {
|
|
10112
|
+
switch (_context2.prev = _context2.next) {
|
|
10113
|
+
case 0:
|
|
10114
|
+
_context2.prev = 0;
|
|
10115
|
+
_context2.next = 3;
|
|
10116
|
+
return fetch('https://users.adata.kz/api/v1/information/currency');
|
|
10117
|
+
|
|
10118
|
+
case 3:
|
|
10119
|
+
response = _context2.sent;
|
|
10120
|
+
_context2.next = 6;
|
|
10121
|
+
return response.json();
|
|
10122
|
+
|
|
10123
|
+
case 6:
|
|
10124
|
+
_yield$response$json2 = _context2.sent;
|
|
10125
|
+
data = _yield$response$json2.data;
|
|
10126
|
+
|
|
10127
|
+
if (data.currencies) {
|
|
10128
|
+
_this2.currencies = data.currencies;
|
|
10129
|
+
}
|
|
10130
|
+
|
|
10131
|
+
_context2.next = 14;
|
|
10132
|
+
break;
|
|
10133
|
+
|
|
10134
|
+
case 11:
|
|
10135
|
+
_context2.prev = 11;
|
|
10136
|
+
_context2.t0 = _context2["catch"](0);
|
|
10137
|
+
console.log(_context2.t0.message);
|
|
10138
|
+
|
|
10139
|
+
case 14:
|
|
10140
|
+
case "end":
|
|
10141
|
+
return _context2.stop();
|
|
10142
|
+
}
|
|
10143
|
+
}
|
|
10144
|
+
}, _callee2, null, [[0, 11]]);
|
|
10145
|
+
}))();
|
|
10146
|
+
},
|
|
10147
|
+
fetchWeather: function fetchWeather() {
|
|
10148
|
+
var _this3 = this;
|
|
10149
|
+
|
|
10150
|
+
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
|
|
10151
|
+
var response, _yield$response$json3, data;
|
|
10152
|
+
|
|
10153
|
+
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
10154
|
+
while (1) {
|
|
10155
|
+
switch (_context3.prev = _context3.next) {
|
|
10156
|
+
case 0:
|
|
10157
|
+
_context3.prev = 0;
|
|
10158
|
+
_context3.next = 3;
|
|
10159
|
+
return fetch('https://users.adata.kz/api/v1/information/weather');
|
|
10160
|
+
|
|
10161
|
+
case 3:
|
|
10162
|
+
response = _context3.sent;
|
|
10163
|
+
_context3.next = 6;
|
|
10164
|
+
return response.json();
|
|
10165
|
+
|
|
10166
|
+
case 6:
|
|
10167
|
+
_yield$response$json3 = _context3.sent;
|
|
10168
|
+
data = _yield$response$json3.data;
|
|
10169
|
+
|
|
10170
|
+
if (data.cities) {
|
|
10171
|
+
_this3.weather = data.cities;
|
|
10172
|
+
}
|
|
10173
|
+
|
|
10174
|
+
_context3.next = 14;
|
|
10175
|
+
break;
|
|
10176
|
+
|
|
10177
|
+
case 11:
|
|
10178
|
+
_context3.prev = 11;
|
|
10179
|
+
_context3.t0 = _context3["catch"](0);
|
|
10180
|
+
console.log(_context3.t0.message);
|
|
10181
|
+
|
|
10182
|
+
case 14:
|
|
10183
|
+
case "end":
|
|
10184
|
+
return _context3.stop();
|
|
10185
|
+
}
|
|
10186
|
+
}
|
|
10187
|
+
}, _callee3, null, [[0, 11]]);
|
|
10188
|
+
}))();
|
|
10189
|
+
},
|
|
10190
|
+
closeNotification: function closeNotification(option) {
|
|
10191
|
+
this.isOpenNotification = !option;
|
|
10192
|
+
},
|
|
9548
10193
|
changeValue: function changeValue() {
|
|
9549
10194
|
this.isOpen = !this.isOpen;
|
|
9550
|
-
this.$emit(
|
|
10195
|
+
this.$emit("menuOpen", this.isOpen);
|
|
9551
10196
|
},
|
|
9552
10197
|
setBalance: function setBalance(balance) {
|
|
9553
10198
|
if (balance !== 0) {
|
|
9554
|
-
this.profileDropDown[2].name =
|
|
10199
|
+
this.profileDropDown[2].name = "Текущий баланс: " + this.thousandSeparator(balance) + " ₸";
|
|
9555
10200
|
}
|
|
9556
10201
|
},
|
|
9557
10202
|
thousandSeparator: function thousandSeparator(val) {
|
|
9558
|
-
return val ? val.toString().replace(/\B(?=(\d{3})+(?!\d))/g, " ") :
|
|
9559
|
-
}
|
|
9560
|
-
|
|
9561
|
-
|
|
9562
|
-
|
|
9563
|
-
|
|
10203
|
+
return val ? val.toString().replace(/\B(?=(\d{3})+(?!\d))/g, " ") : "";
|
|
10204
|
+
},
|
|
10205
|
+
defineIconState: function defineIconState(name) {
|
|
10206
|
+
return name === "DOWN" ? "@/assets/icons/arrow-down.svg" : "@/assets/icons/arrow-up.svg";
|
|
10207
|
+
},
|
|
10208
|
+
defineIconEntity: function defineIconEntity(name) {
|
|
10209
|
+
switch (name) {
|
|
10210
|
+
case 'USD':
|
|
10211
|
+
return "@/assets/icons/dollor.svg";
|
|
10212
|
+
|
|
10213
|
+
case 'EUR':
|
|
10214
|
+
return "@/assets/icons/euro.svg";
|
|
10215
|
+
|
|
10216
|
+
case 'RUB':
|
|
10217
|
+
return "@/assets/icons/ruble.svg";
|
|
10218
|
+
}
|
|
9564
10219
|
}
|
|
9565
10220
|
}
|
|
9566
10221
|
});
|
|
@@ -9580,8 +10235,8 @@ var Headervue_type_style_index_0_lang_scss_ = __webpack_require__("52f3");
|
|
|
9580
10235
|
|
|
9581
10236
|
var Header_component = normalizeComponent(
|
|
9582
10237
|
Header_Headervue_type_script_lang_js_,
|
|
9583
|
-
|
|
9584
|
-
|
|
10238
|
+
Headervue_type_template_id_34976661_render,
|
|
10239
|
+
Headervue_type_template_id_34976661_staticRenderFns,
|
|
9585
10240
|
false,
|
|
9586
10241
|
null,
|
|
9587
10242
|
null,
|
|
@@ -10095,6 +10750,80 @@ var MailTo_component = normalizeComponent(
|
|
|
10095
10750
|
)
|
|
10096
10751
|
|
|
10097
10752
|
/* harmony default export */ var MailTo = (MailTo_component.exports);
|
|
10753
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"917c70aa-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/Table/ATable.vue?vue&type=template&id=b3cc1b06&scoped=true&
|
|
10754
|
+
var ATablevue_type_template_id_b3cc1b06_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('table',{staticClass:"a-table"},[_c('thead',[_c('tr',_vm._l((_vm.cols),function(col,i){return _c('th',{key:i},[_vm._v(_vm._s(col.name))])}),0)]),_vm._l((_vm.rows),function(row,i){return _c('tbody',{key:i},[_c('tr',_vm._l((_vm.cols),function(col){return _c('td',{key:col.key,attrs:{"data-label":("" + (col.name))}},[_vm._t('key-' + col.key,function(){return [_vm._v(" "+_vm._s(row[col.key] || _vm.defaultEmpty)+" ")]},{"row":row})],2)}),0)])})],2)}
|
|
10755
|
+
var ATablevue_type_template_id_b3cc1b06_scoped_true_staticRenderFns = []
|
|
10756
|
+
|
|
10757
|
+
|
|
10758
|
+
// CONCATENATED MODULE: ./src/components/Table/ATable.vue?vue&type=template&id=b3cc1b06&scoped=true&
|
|
10759
|
+
|
|
10760
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Table/ATable.vue?vue&type=script&lang=js&
|
|
10761
|
+
|
|
10762
|
+
//
|
|
10763
|
+
//
|
|
10764
|
+
//
|
|
10765
|
+
//
|
|
10766
|
+
//
|
|
10767
|
+
//
|
|
10768
|
+
//
|
|
10769
|
+
//
|
|
10770
|
+
//
|
|
10771
|
+
//
|
|
10772
|
+
//
|
|
10773
|
+
//
|
|
10774
|
+
//
|
|
10775
|
+
//
|
|
10776
|
+
//
|
|
10777
|
+
//
|
|
10778
|
+
//
|
|
10779
|
+
//
|
|
10780
|
+
//
|
|
10781
|
+
/* harmony default export */ var ATablevue_type_script_lang_js_ = ({
|
|
10782
|
+
props: {
|
|
10783
|
+
cols: {
|
|
10784
|
+
type: Array,
|
|
10785
|
+
default: function _default() {
|
|
10786
|
+
return [];
|
|
10787
|
+
}
|
|
10788
|
+
},
|
|
10789
|
+
rows: {
|
|
10790
|
+
type: Array,
|
|
10791
|
+
default: function _default() {
|
|
10792
|
+
return [];
|
|
10793
|
+
}
|
|
10794
|
+
},
|
|
10795
|
+
defaultEmpty: {
|
|
10796
|
+
type: [String, Number],
|
|
10797
|
+
default: "Нет данных"
|
|
10798
|
+
}
|
|
10799
|
+
}
|
|
10800
|
+
});
|
|
10801
|
+
// CONCATENATED MODULE: ./src/components/Table/ATable.vue?vue&type=script&lang=js&
|
|
10802
|
+
/* harmony default export */ var Table_ATablevue_type_script_lang_js_ = (ATablevue_type_script_lang_js_);
|
|
10803
|
+
// EXTERNAL MODULE: ./src/components/Table/ATable.vue?vue&type=style&index=0&id=b3cc1b06&lang=scss&scoped=true&
|
|
10804
|
+
var ATablevue_type_style_index_0_id_b3cc1b06_lang_scss_scoped_true_ = __webpack_require__("3c75");
|
|
10805
|
+
|
|
10806
|
+
// CONCATENATED MODULE: ./src/components/Table/ATable.vue
|
|
10807
|
+
|
|
10808
|
+
|
|
10809
|
+
|
|
10810
|
+
|
|
10811
|
+
|
|
10812
|
+
|
|
10813
|
+
/* normalize component */
|
|
10814
|
+
|
|
10815
|
+
var ATable_component = normalizeComponent(
|
|
10816
|
+
Table_ATablevue_type_script_lang_js_,
|
|
10817
|
+
ATablevue_type_template_id_b3cc1b06_scoped_true_render,
|
|
10818
|
+
ATablevue_type_template_id_b3cc1b06_scoped_true_staticRenderFns,
|
|
10819
|
+
false,
|
|
10820
|
+
null,
|
|
10821
|
+
"b3cc1b06",
|
|
10822
|
+
null
|
|
10823
|
+
|
|
10824
|
+
)
|
|
10825
|
+
|
|
10826
|
+
/* harmony default export */ var ATable = (ATable_component.exports);
|
|
10098
10827
|
// CONCATENATED MODULE: ./src/components/index.js
|
|
10099
10828
|
|
|
10100
10829
|
|
|
@@ -10108,7 +10837,10 @@ var MailTo_component = normalizeComponent(
|
|
|
10108
10837
|
|
|
10109
10838
|
|
|
10110
10839
|
|
|
10840
|
+
|
|
10841
|
+
|
|
10111
10842
|
var Components = {
|
|
10843
|
+
ACheckbox: ACheckbox,
|
|
10112
10844
|
AButton: AButton,
|
|
10113
10845
|
ATextField: TextField,
|
|
10114
10846
|
APasswordField: PasswordField,
|
|
@@ -10116,7 +10848,8 @@ var Components = {
|
|
|
10116
10848
|
AHeader: Header,
|
|
10117
10849
|
AFooter: Footer,
|
|
10118
10850
|
ASearchTextField: SearchTextField,
|
|
10119
|
-
AMailTo: MailTo
|
|
10851
|
+
AMailTo: MailTo,
|
|
10852
|
+
ATable: ATable
|
|
10120
10853
|
};
|
|
10121
10854
|
Object.keys(Components).forEach(function (name) {
|
|
10122
10855
|
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.component(name, Components[name]);
|