lib-pajakio-v2 1.0.45 → 1.0.47
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/lib-pajakio-v2.common.js +255 -107
- package/dist/lib-pajakio-v2.common.js.map +1 -1
- package/dist/lib-pajakio-v2.css +1 -1
- package/dist/lib-pajakio-v2.umd.js +255 -107
- package/dist/lib-pajakio-v2.umd.js.map +1 -1
- package/dist/lib-pajakio-v2.umd.min.js +1 -1
- package/dist/lib-pajakio-v2.umd.min.js.map +1 -1
- package/docs/specs/navigation-layout.md +8 -0
- package/package.json +1 -1
- package/src/components/DashboardHeader/index.vue +372 -32
- package/src/views/Header.vue +155 -29
|
@@ -724,17 +724,6 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
|
724
724
|
/* unused harmony reexport * */
|
|
725
725
|
|
|
726
726
|
|
|
727
|
-
/***/ }),
|
|
728
|
-
|
|
729
|
-
/***/ "2a10":
|
|
730
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
731
|
-
|
|
732
|
-
"use strict";
|
|
733
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_v16_dist_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_v16_dist_index_js_ref_1_1_index_vue_vue_type_style_index_0_id_3aa8d738_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("3730");
|
|
734
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_v16_dist_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_v16_dist_index_js_ref_1_1_index_vue_vue_type_style_index_0_id_3aa8d738_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_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_v16_dist_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_v16_dist_index_js_ref_1_1_index_vue_vue_type_style_index_0_id_3aa8d738_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
735
|
-
/* unused harmony reexport * */
|
|
736
|
-
|
|
737
|
-
|
|
738
727
|
/***/ }),
|
|
739
728
|
|
|
740
729
|
/***/ "2a62":
|
|
@@ -778,6 +767,13 @@ module.exports = function (iterator, kind, value) {
|
|
|
778
767
|
/* unused harmony reexport * */
|
|
779
768
|
|
|
780
769
|
|
|
770
|
+
/***/ }),
|
|
771
|
+
|
|
772
|
+
/***/ "2fdc":
|
|
773
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
774
|
+
|
|
775
|
+
// extracted by mini-css-extract-plugin
|
|
776
|
+
|
|
781
777
|
/***/ }),
|
|
782
778
|
|
|
783
779
|
/***/ "30a4":
|
|
@@ -827,13 +823,6 @@ module.exports = function (it) {
|
|
|
827
823
|
/* unused harmony reexport * */
|
|
828
824
|
|
|
829
825
|
|
|
830
|
-
/***/ }),
|
|
831
|
-
|
|
832
|
-
/***/ "3730":
|
|
833
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
834
|
-
|
|
835
|
-
// extracted by mini-css-extract-plugin
|
|
836
|
-
|
|
837
826
|
/***/ }),
|
|
838
827
|
|
|
839
828
|
/***/ "384f":
|
|
@@ -2625,6 +2614,17 @@ module.exports = function (name) {
|
|
|
2625
2614
|
|
|
2626
2615
|
// extracted by mini-css-extract-plugin
|
|
2627
2616
|
|
|
2617
|
+
/***/ }),
|
|
2618
|
+
|
|
2619
|
+
/***/ "b7f6":
|
|
2620
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2621
|
+
|
|
2622
|
+
"use strict";
|
|
2623
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_v16_dist_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_v16_dist_index_js_ref_1_1_index_vue_vue_type_style_index_0_id_0da0617a_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("2fdc");
|
|
2624
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_v16_dist_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_v16_dist_index_js_ref_1_1_index_vue_vue_type_style_index_0_id_0da0617a_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_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_v16_dist_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_v16_dist_index_js_ref_1_1_index_vue_vue_type_style_index_0_id_0da0617a_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
2625
|
+
/* unused harmony reexport * */
|
|
2626
|
+
|
|
2627
|
+
|
|
2628
2628
|
/***/ }),
|
|
2629
2629
|
|
|
2630
2630
|
/***/ "ba2d":
|
|
@@ -37819,16 +37819,17 @@ var DashboardFootervue_type_style_index_0_id_d0c99736_lang_scss = __webpack_requ
|
|
|
37819
37819
|
const DashboardFooter_exports_ = /*#__PURE__*/exportHelper_default()(DashboardFootervue_type_script_lang_js, [['render',DashboardFootervue_type_template_id_d0c99736_render]])
|
|
37820
37820
|
|
|
37821
37821
|
/* harmony default export */ var DashboardFooter = (DashboardFooter_exports_);
|
|
37822
|
-
// 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/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/DashboardHeader/index.vue?vue&type=template&id=
|
|
37822
|
+
// 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/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/DashboardHeader/index.vue?vue&type=template&id=0da0617a
|
|
37823
37823
|
|
|
37824
|
-
const
|
|
37824
|
+
const DashboardHeadervue_type_template_id_0da0617a_hoisted_1 = {
|
|
37825
|
+
ref: "dashboardHeader",
|
|
37825
37826
|
class: "dashboard-header box-shadow"
|
|
37826
37827
|
};
|
|
37827
|
-
const
|
|
37828
|
+
const DashboardHeadervue_type_template_id_0da0617a_hoisted_2 = {
|
|
37828
37829
|
key: 0,
|
|
37829
37830
|
class: "header-left"
|
|
37830
37831
|
};
|
|
37831
|
-
const
|
|
37832
|
+
const DashboardHeadervue_type_template_id_0da0617a_hoisted_3 = {
|
|
37832
37833
|
class: "company-name"
|
|
37833
37834
|
};
|
|
37834
37835
|
const _hoisted_4 = {
|
|
@@ -37849,139 +37850,140 @@ const _hoisted_8 = {
|
|
|
37849
37850
|
const _hoisted_9 = {
|
|
37850
37851
|
class: "header-right relative"
|
|
37851
37852
|
};
|
|
37852
|
-
const _hoisted_10 =
|
|
37853
|
-
|
|
37854
|
-
class: "progress-wrapper"
|
|
37855
|
-
};
|
|
37856
|
-
const _hoisted_11 = ["id", "disabled", "aria-expanded"];
|
|
37857
|
-
const _hoisted_12 = {
|
|
37853
|
+
const _hoisted_10 = ["id", "disabled", "aria-expanded"];
|
|
37854
|
+
const _hoisted_11 = {
|
|
37858
37855
|
ref: "progressTriggerContent",
|
|
37859
37856
|
class: "progress-trigger-content"
|
|
37860
37857
|
};
|
|
37861
|
-
const
|
|
37858
|
+
const _hoisted_12 = {
|
|
37862
37859
|
key: 0,
|
|
37860
|
+
class: "progress-spinner",
|
|
37861
|
+
"aria-hidden": "true"
|
|
37862
|
+
};
|
|
37863
|
+
const _hoisted_13 = {
|
|
37864
|
+
key: 3,
|
|
37863
37865
|
class: "progress-counts",
|
|
37864
37866
|
"aria-hidden": "true"
|
|
37865
37867
|
};
|
|
37866
37868
|
const _hoisted_14 = {
|
|
37867
|
-
|
|
37869
|
+
key: 4,
|
|
37870
|
+
class: "progress-indicator-detail"
|
|
37868
37871
|
};
|
|
37869
|
-
const _hoisted_15 =
|
|
37870
|
-
|
|
37871
|
-
class: "progress-spinner",
|
|
37872
|
-
"aria-hidden": "true"
|
|
37873
|
-
};
|
|
37874
|
-
const _hoisted_16 = ["id"];
|
|
37875
|
-
const _hoisted_17 = {
|
|
37872
|
+
const _hoisted_15 = ["id"];
|
|
37873
|
+
const _hoisted_16 = {
|
|
37876
37874
|
class: "progress-dropdown-header"
|
|
37877
37875
|
};
|
|
37878
|
-
const
|
|
37876
|
+
const _hoisted_17 = {
|
|
37879
37877
|
class: "progress-list"
|
|
37880
37878
|
};
|
|
37881
|
-
const
|
|
37882
|
-
const
|
|
37879
|
+
const _hoisted_18 = ["id"];
|
|
37880
|
+
const _hoisted_19 = {
|
|
37883
37881
|
class: "progress-item-heading"
|
|
37884
37882
|
};
|
|
37885
|
-
const
|
|
37883
|
+
const _hoisted_20 = {
|
|
37886
37884
|
class: "progress-item-label"
|
|
37887
37885
|
};
|
|
37888
|
-
const
|
|
37886
|
+
const _hoisted_21 = {
|
|
37889
37887
|
class: "progress-bar",
|
|
37890
37888
|
"aria-hidden": "true"
|
|
37891
37889
|
};
|
|
37892
|
-
const
|
|
37890
|
+
const _hoisted_22 = {
|
|
37893
37891
|
key: 0,
|
|
37894
37892
|
class: "progress-item-footer"
|
|
37895
37893
|
};
|
|
37896
|
-
const
|
|
37894
|
+
const _hoisted_23 = {
|
|
37897
37895
|
key: 0,
|
|
37898
37896
|
class: "progress-item-meta"
|
|
37899
37897
|
};
|
|
37900
|
-
const
|
|
37901
|
-
const
|
|
37898
|
+
const _hoisted_24 = ["id", "onClick"];
|
|
37899
|
+
const _hoisted_25 = {
|
|
37902
37900
|
key: 1,
|
|
37903
37901
|
class: "divider"
|
|
37904
37902
|
};
|
|
37905
|
-
const
|
|
37903
|
+
const _hoisted_26 = {
|
|
37906
37904
|
class: "notification-wrapper"
|
|
37907
37905
|
};
|
|
37908
|
-
const
|
|
37909
|
-
const
|
|
37906
|
+
const _hoisted_27 = ["id"];
|
|
37907
|
+
const _hoisted_28 = {
|
|
37910
37908
|
key: 0,
|
|
37911
37909
|
class: "notif-dot"
|
|
37912
37910
|
};
|
|
37913
|
-
const
|
|
37911
|
+
const _hoisted_29 = {
|
|
37914
37912
|
key: 0,
|
|
37915
37913
|
class: "notification-dropdown box-shadow"
|
|
37916
37914
|
};
|
|
37917
|
-
const
|
|
37915
|
+
const _hoisted_30 = {
|
|
37918
37916
|
key: 0,
|
|
37919
37917
|
class: "notification-header"
|
|
37920
37918
|
};
|
|
37921
|
-
const
|
|
37919
|
+
const _hoisted_31 = {
|
|
37922
37920
|
key: 1,
|
|
37923
37921
|
class: "notification-list"
|
|
37924
37922
|
};
|
|
37925
|
-
const
|
|
37926
|
-
const
|
|
37923
|
+
const _hoisted_32 = ["id", "onClick"];
|
|
37924
|
+
const _hoisted_33 = {
|
|
37927
37925
|
class: "notification-item-content"
|
|
37928
37926
|
};
|
|
37929
|
-
const
|
|
37927
|
+
const _hoisted_34 = {
|
|
37930
37928
|
class: "notification-item-title"
|
|
37931
37929
|
};
|
|
37932
|
-
const
|
|
37930
|
+
const _hoisted_35 = {
|
|
37933
37931
|
key: 0,
|
|
37934
37932
|
class: "notification-item-meta"
|
|
37935
37933
|
};
|
|
37936
|
-
const
|
|
37934
|
+
const _hoisted_36 = {
|
|
37937
37935
|
key: 2,
|
|
37938
37936
|
class: "notification-empty"
|
|
37939
37937
|
};
|
|
37940
|
-
const
|
|
37941
|
-
const
|
|
37938
|
+
const _hoisted_37 = ["id"];
|
|
37939
|
+
const _hoisted_38 = {
|
|
37942
37940
|
key: 0,
|
|
37943
37941
|
class: "user-summary-prefix"
|
|
37944
37942
|
};
|
|
37945
|
-
const
|
|
37943
|
+
const _hoisted_39 = {
|
|
37946
37944
|
class: "avatar"
|
|
37947
37945
|
};
|
|
37948
|
-
const
|
|
37946
|
+
const _hoisted_40 = {
|
|
37949
37947
|
key: 1,
|
|
37950
37948
|
class: "user-text"
|
|
37951
37949
|
};
|
|
37952
|
-
const
|
|
37950
|
+
const _hoisted_41 = {
|
|
37953
37951
|
class: "user-name"
|
|
37954
37952
|
};
|
|
37955
|
-
const
|
|
37953
|
+
const _hoisted_42 = {
|
|
37956
37954
|
class: "user-role"
|
|
37957
37955
|
};
|
|
37958
|
-
const
|
|
37956
|
+
const _hoisted_43 = {
|
|
37959
37957
|
key: 2,
|
|
37960
37958
|
class: "absolute top-8 right-0 user-dropdown-wrapper"
|
|
37961
37959
|
};
|
|
37962
|
-
const
|
|
37960
|
+
const _hoisted_44 = {
|
|
37963
37961
|
class: "flex flex-col p-3",
|
|
37964
37962
|
style: {
|
|
37965
37963
|
"border-bottom": "1px solid #DDDDDD"
|
|
37966
37964
|
}
|
|
37967
37965
|
};
|
|
37968
|
-
const
|
|
37966
|
+
const _hoisted_45 = {
|
|
37969
37967
|
class: "flex flex-row items-center mb-4"
|
|
37970
37968
|
};
|
|
37971
|
-
const
|
|
37969
|
+
const _hoisted_46 = {
|
|
37972
37970
|
class: "avatar mr-3"
|
|
37973
37971
|
};
|
|
37974
|
-
const
|
|
37972
|
+
const _hoisted_47 = {
|
|
37975
37973
|
class: "flex flex-col"
|
|
37976
37974
|
};
|
|
37977
|
-
const
|
|
37975
|
+
const _hoisted_48 = ["id", "onClick"];
|
|
37976
|
+
const _hoisted_49 = ["id"];
|
|
37978
37977
|
const _hoisted_50 = ["id"];
|
|
37979
|
-
|
|
37978
|
+
const _hoisted_51 = {
|
|
37979
|
+
class: "progress-onboarding-actions"
|
|
37980
|
+
};
|
|
37981
|
+
function DashboardHeadervue_type_template_id_0da0617a_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
37980
37982
|
const _component_base_icon = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("base-icon");
|
|
37981
37983
|
const _component_dropdown_company = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("dropdown-company");
|
|
37982
37984
|
const _component_typo_text = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("typo-text");
|
|
37983
37985
|
const _component_base_button = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("base-button");
|
|
37984
|
-
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div",
|
|
37986
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", DashboardHeadervue_type_template_id_0da0617a_hoisted_1, [$props.showCompany ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", DashboardHeadervue_type_template_id_0da0617a_hoisted_2, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_dropdown_company, {
|
|
37985
37987
|
options: $props.companyList,
|
|
37986
37988
|
style: {
|
|
37987
37989
|
"width": "100%",
|
|
@@ -38000,7 +38002,7 @@ function DashboardHeadervue_type_template_id_3aa8d738_render(_ctx, _cache, $prop
|
|
|
38000
38002
|
}, {
|
|
38001
38003
|
list: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(({
|
|
38002
38004
|
item
|
|
38003
|
-
}) => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p",
|
|
38005
|
+
}) => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", DashboardHeadervue_type_template_id_0da0617a_hoisted_3, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(item.companyName), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", _hoisted_4, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(item.companyNpwp), 1)]),
|
|
38004
38006
|
label: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(slotProps => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_5, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_6, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", _hoisted_7, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])($props.selectedCompany.companyName), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", _hoisted_8, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])($props.selectedCompany.companyNpwp), 1)]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_base_icon, {
|
|
38005
38007
|
iconName: "expand_more",
|
|
38006
38008
|
class: "chevron",
|
|
@@ -38009,7 +38011,12 @@ function DashboardHeadervue_type_template_id_3aa8d738_render(_ctx, _cache, $prop
|
|
|
38009
38011
|
})
|
|
38010
38012
|
}, null, 8, ["style"])])]),
|
|
38011
38013
|
_: 1
|
|
38012
|
-
}, 8, ["options", "id", "onChange", "enableInfiniteScroll", "hasMore", "isLoadingMore", "scrollThreshold", "onLoadMore"])])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_9, [$options.hasProgressIndicator ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div",
|
|
38014
|
+
}, 8, ["options", "id", "onChange", "enableInfiniteScroll", "hasMore", "isLoadingMore", "scrollThreshold", "onLoadMore"])])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_9, [$options.hasProgressIndicator ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", {
|
|
38015
|
+
key: 0,
|
|
38016
|
+
class: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeClass"])(["progress-wrapper", {
|
|
38017
|
+
'progress-wrapper--onboarding': $data.showProgressOnboardingDialog
|
|
38018
|
+
}])
|
|
38019
|
+
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("button", {
|
|
38013
38020
|
id: $options.getSelectorId('progress-toggle'),
|
|
38014
38021
|
ref: "progressTrigger",
|
|
38015
38022
|
type: "button",
|
|
@@ -38021,51 +38028,64 @@ function DashboardHeadervue_type_template_id_3aa8d738_render(_ctx, _cache, $prop
|
|
|
38021
38028
|
disabled: $options.progressIndicatorState.disabled,
|
|
38022
38029
|
"aria-expanded": $data.showProgress ? 'true' : 'false',
|
|
38023
38030
|
onClick: _cache[0] || (_cache[0] = (...args) => $options.toggleProgressMenu && $options.toggleProgressMenu(...args))
|
|
38024
|
-
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span",
|
|
38025
|
-
|
|
38026
|
-
|
|
38027
|
-
|
|
38028
|
-
|
|
38029
|
-
}
|
|
38031
|
+
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", _hoisted_11, [$options.progressIndicatorState.showSpinner ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", _hoisted_12)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), $options.progressIndicatorState.showRing ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", {
|
|
38032
|
+
key: 1,
|
|
38033
|
+
class: "progress-ring",
|
|
38034
|
+
style: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeStyle"])($options.progressRingStyle($options.progressIndicatorState.progress)),
|
|
38035
|
+
"aria-hidden": "true"
|
|
38036
|
+
}, null, 4)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), $options.progressIndicatorState.icon ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_base_icon, {
|
|
38030
38037
|
key: 2,
|
|
38031
38038
|
iconName: $options.progressIndicatorState.icon,
|
|
38032
38039
|
color: $options.progressIndicatorState.iconColor,
|
|
38033
38040
|
class: "progress-state-icon",
|
|
38034
38041
|
"aria-hidden": "true"
|
|
38035
|
-
}, null, 8, ["iconName", "color"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), $options.progressIndicatorState.
|
|
38036
|
-
|
|
38037
|
-
|
|
38038
|
-
|
|
38042
|
+
}, null, 8, ["iconName", "color"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), $options.progressIndicatorState.showCounts ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", _hoisted_13, [(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])($options.progressIndicatorCounts, count => {
|
|
38043
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", {
|
|
38044
|
+
key: count.status,
|
|
38045
|
+
class: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeClass"])(["progress-count", `progress-count--${count.status}`])
|
|
38046
|
+
}, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(count.count), 3);
|
|
38047
|
+
}), 128))])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", {
|
|
38048
|
+
class: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeClass"])(["progress-label", {
|
|
38049
|
+
'progress-label--percentage': $options.progressIndicatorState.isPercentage
|
|
38050
|
+
}])
|
|
38051
|
+
}, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])($options.progressIndicatorState.label), 3), $options.progressIndicatorDetail ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", _hoisted_14, [_cache[5] || (_cache[5] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", {
|
|
38052
|
+
class: "progress-indicator-detail-separator",
|
|
38053
|
+
"aria-hidden": "true"
|
|
38054
|
+
}, "•", -1)), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])($options.progressIndicatorDetail), 1)])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), !$options.progressIndicatorState.disabled ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_base_icon, {
|
|
38055
|
+
key: 5,
|
|
38056
|
+
iconName: "expand_more",
|
|
38057
|
+
color: $options.progressCaretColor,
|
|
38058
|
+
class: "progress-caret",
|
|
38039
38059
|
"aria-hidden": "true"
|
|
38040
|
-
}, null,
|
|
38060
|
+
}, null, 8, ["color"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 512)], 14, _hoisted_10), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Transition"], {
|
|
38041
38061
|
name: "progress-dropdown"
|
|
38042
38062
|
}, {
|
|
38043
38063
|
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [$data.showProgress ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", {
|
|
38044
38064
|
key: 0,
|
|
38045
38065
|
id: $options.getSelectorId('progress-dropdown'),
|
|
38046
38066
|
class: "progress-dropdown box-shadow"
|
|
38047
|
-
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div",
|
|
38067
|
+
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_16, [_cache[6] || (_cache[6] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", null, "Proses Sedang Berjalan", -1)), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])($options.progressRunningCount) + " berjalan", 1)]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_17, [(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])($options.normalizedProgressItems, (item, index) => {
|
|
38048
38068
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", {
|
|
38049
38069
|
key: item.key,
|
|
38050
38070
|
id: $options.getSelectorId('progress-row', index),
|
|
38051
38071
|
class: "progress-item"
|
|
38052
|
-
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div",
|
|
38072
|
+
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_19, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", _hoisted_20, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(item.label), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", {
|
|
38053
38073
|
class: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeClass"])(["progress-item-status", `progress-item-status--${item.status}`])
|
|
38054
|
-
}, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])($options.progressItemStatusLabel(item)), 3)]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div",
|
|
38074
|
+
}, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])($options.progressItemStatusLabel(item)), 3)]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_21, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", {
|
|
38055
38075
|
class: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeClass"])(["progress-bar-value", `progress-bar-value--${item.status}`]),
|
|
38056
38076
|
style: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeStyle"])({
|
|
38057
38077
|
width: `${$options.progressItemBarWidth(item)}%`
|
|
38058
38078
|
})
|
|
38059
|
-
}, null, 6)]), $options.progressItemMeta(item) || $options.canShowProgressDetail(item) ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div",
|
|
38079
|
+
}, null, 6)]), $options.progressItemMeta(item) || $options.canShowProgressDetail(item) ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", _hoisted_22, [$options.progressItemMeta(item) ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", _hoisted_23, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])($options.progressItemMeta(item)), 1)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), $options.canShowProgressDetail(item) ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("button", {
|
|
38060
38080
|
key: 1,
|
|
38061
38081
|
id: $options.getSelectorId('progress-detail', index),
|
|
38062
38082
|
type: "button",
|
|
38063
38083
|
class: "progress-detail",
|
|
38064
38084
|
onClick: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])($event => $options.onProgressDetail(item), ["stop"])
|
|
38065
|
-
}, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(item.detailLabel || "Lihat Detail"), 9,
|
|
38066
|
-
}), 128))])], 8,
|
|
38085
|
+
}, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(item.detailLabel || "Lihat Detail"), 9, _hoisted_24)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 8, _hoisted_18);
|
|
38086
|
+
}), 128))])], 8, _hoisted_15)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)]),
|
|
38067
38087
|
_: 1
|
|
38068
|
-
})])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), $options.hasProgressIndicator ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div",
|
|
38088
|
+
})], 2)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), $options.hasProgressIndicator ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", _hoisted_25)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_26, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", {
|
|
38069
38089
|
id: $options.getSelectorId('notification-toggle'),
|
|
38070
38090
|
class: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeClass"])(["notification", {
|
|
38071
38091
|
active: $data.showNotification
|
|
@@ -38073,7 +38093,7 @@ function DashboardHeadervue_type_template_id_3aa8d738_render(_ctx, _cache, $prop
|
|
|
38073
38093
|
onClick: _cache[1] || (_cache[1] = (...args) => $options.toggleNotificationMenu && $options.toggleNotificationMenu(...args))
|
|
38074
38094
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_base_icon, {
|
|
38075
38095
|
iconName: "notifications_none"
|
|
38076
|
-
}), $options.hasNotifications ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span",
|
|
38096
|
+
}), $options.hasNotifications ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", _hoisted_28)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 10, _hoisted_27), $data.showNotification ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", _hoisted_29, [$options.hasNotifications ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", _hoisted_30, " Silakan klik untuk menyelesaikan tugas ")) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), $options.hasNotifications ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", _hoisted_31, [(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])($options.notificationItems, (item, index) => {
|
|
38077
38097
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", {
|
|
38078
38098
|
key: item.id || index,
|
|
38079
38099
|
id: $options.getSelectorId('notification', index),
|
|
@@ -38085,8 +38105,8 @@ function DashboardHeadervue_type_template_id_3aa8d738_render(_ctx, _cache, $prop
|
|
|
38085
38105
|
class: "notification-item-icon",
|
|
38086
38106
|
width: "20px",
|
|
38087
38107
|
height: "20px"
|
|
38088
|
-
}, null, 8, ["iconName", "color"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div",
|
|
38089
|
-
}), 128))])) : (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div",
|
|
38108
|
+
}, null, 8, ["iconName", "color"]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_33, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_34, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(item.title), 1), item.periodLabel ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", _hoisted_35, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(item.periodLabel), 1)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)])], 10, _hoisted_32);
|
|
38109
|
+
}), 128))])) : (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", _hoisted_36, " Tidak ada notifikasi "))])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)]), _cache[8] || (_cache[8] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", {
|
|
38090
38110
|
class: "divider"
|
|
38091
38111
|
}, null, -1)), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", {
|
|
38092
38112
|
id: $options.getSelectorId('user-menu-toggle'),
|
|
@@ -38094,17 +38114,17 @@ function DashboardHeadervue_type_template_id_3aa8d738_render(_ctx, _cache, $prop
|
|
|
38094
38114
|
active: $data.show
|
|
38095
38115
|
}]),
|
|
38096
38116
|
onClick: _cache[2] || (_cache[2] = (...args) => $options.toggleMenu && $options.toggleMenu(...args))
|
|
38097
|
-
}, [_ctx.$slots['profile-summary-prefix'] ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div",
|
|
38117
|
+
}, [_ctx.$slots['profile-summary-prefix'] ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", _hoisted_38, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderSlot"])(_ctx.$slots, "profile-summary-prefix", {
|
|
38098
38118
|
opened: $data.show,
|
|
38099
38119
|
close: $options.closeAllMenus
|
|
38100
|
-
})])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div",
|
|
38120
|
+
})])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_39, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])($options.initialName), 1), $props.showUserSummaryText ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", _hoisted_40, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", _hoisted_41, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])($props.userName), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", _hoisted_42, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])($props.userRole), 1)])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_base_icon, {
|
|
38101
38121
|
iconName: "expand_more",
|
|
38102
38122
|
class: "caret",
|
|
38103
38123
|
color: "#90A1B9",
|
|
38104
38124
|
style: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeStyle"])({
|
|
38105
38125
|
transform: $data.show ? 'rotate(180deg)' : 'rotate(0deg)'
|
|
38106
38126
|
})
|
|
38107
|
-
}, null, 8, ["style"])], 10,
|
|
38127
|
+
}, null, 8, ["style"])], 10, _hoisted_37), $data.show ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", _hoisted_43, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", {
|
|
38108
38128
|
class: "dropdown-panel box-shadow bg-white",
|
|
38109
38129
|
style: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeStyle"])({
|
|
38110
38130
|
width: $options.normalizedUserDropdownWidth
|
|
@@ -38118,7 +38138,7 @@ function DashboardHeadervue_type_template_id_3aa8d738_render(_ctx, _cache, $prop
|
|
|
38118
38138
|
userRole: $props.userRole,
|
|
38119
38139
|
initialName: $options.initialName,
|
|
38120
38140
|
menuNavbar: $props.menuNavbar
|
|
38121
|
-
}, () => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div",
|
|
38141
|
+
}, () => [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_44, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_45, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_46, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])($options.initialName), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_typo_text, {
|
|
38122
38142
|
variant: "body-1-bold",
|
|
38123
38143
|
class: "capitalize"
|
|
38124
38144
|
}, {
|
|
@@ -38137,9 +38157,9 @@ function DashboardHeadervue_type_template_id_3aa8d738_render(_ctx, _cache, $prop
|
|
|
38137
38157
|
class: "justify-center",
|
|
38138
38158
|
onClick: _cache[3] || (_cache[3] = $event => $options.actionRoute('edit-profile'))
|
|
38139
38159
|
}, {
|
|
38140
|
-
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => _cache[
|
|
38160
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => _cache[7] || (_cache[7] = [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" Ubah Profil ")])),
|
|
38141
38161
|
_: 1
|
|
38142
|
-
}, 8, ["id"])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div",
|
|
38162
|
+
}, 8, ["id"])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_47, [(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])($props.menuNavbar, (item, index) => {
|
|
38143
38163
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", {
|
|
38144
38164
|
key: index,
|
|
38145
38165
|
id: $options.getSelectorId('menu', index),
|
|
@@ -38149,15 +38169,40 @@ function DashboardHeadervue_type_template_id_3aa8d738_render(_ctx, _cache, $prop
|
|
|
38149
38169
|
key: 0,
|
|
38150
38170
|
iconName: item.icon,
|
|
38151
38171
|
class: "mr-2"
|
|
38152
|
-
}, null, 8, ["iconName"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(item.name), 1)], 8,
|
|
38172
|
+
}, null, 8, ["iconName"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" " + Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(item.name), 1)], 8, _hoisted_48);
|
|
38153
38173
|
}), 128))])])], 4)])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), $data.show || $data.showNotification || $data.showProgress ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", {
|
|
38154
38174
|
key: 3,
|
|
38155
38175
|
id: $options.getSelectorId('overlay'),
|
|
38156
38176
|
class: "overlay",
|
|
38157
38177
|
onClick: _cache[4] || (_cache[4] = (...args) => $options.closeAllMenus && $options.closeAllMenus(...args))
|
|
38158
|
-
}, null, 8,
|
|
38178
|
+
}, null, 8, _hoisted_49)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Transition"], {
|
|
38179
|
+
name: "progress-onboarding"
|
|
38180
|
+
}, {
|
|
38181
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => [$data.showProgressOnboardingDialog ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("section", {
|
|
38182
|
+
key: 0,
|
|
38183
|
+
id: $options.getSelectorId('progress-onboarding'),
|
|
38184
|
+
class: "progress-onboarding",
|
|
38185
|
+
style: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeStyle"])($options.progressOnboardingPointerStyle),
|
|
38186
|
+
role: "dialog",
|
|
38187
|
+
"aria-labelledby": "progress-onboarding-title",
|
|
38188
|
+
"aria-describedby": "progress-onboarding-description"
|
|
38189
|
+
}, [_cache[10] || (_cache[10] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("h2", {
|
|
38190
|
+
id: "progress-onboarding-title"
|
|
38191
|
+
}, "Proses berjalan di latar belakang", -1)), _cache[11] || (_cache[11] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("p", {
|
|
38192
|
+
id: "progress-onboarding-description"
|
|
38193
|
+
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" Pantau progres Anda melalui indikator di atas yang lebih "), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("em", null, "'seamless'"), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" untuk menunjang pekerjaan Anda yang lebih cepat. ")], -1)), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", _hoisted_51, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_base_button, {
|
|
38194
|
+
id: $options.getSelectorId('progress-onboarding-acknowledge'),
|
|
38195
|
+
type: "button",
|
|
38196
|
+
variant: "secondary",
|
|
38197
|
+
onClick: $options.acknowledgeProgressOnboarding
|
|
38198
|
+
}, {
|
|
38199
|
+
default: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(() => _cache[9] || (_cache[9] = [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(" Mengerti ")])),
|
|
38200
|
+
_: 1
|
|
38201
|
+
}, 8, ["id", "onClick"])])], 12, _hoisted_50)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)]),
|
|
38202
|
+
_: 1
|
|
38203
|
+
})], 512);
|
|
38159
38204
|
}
|
|
38160
|
-
// CONCATENATED MODULE: ./src/components/DashboardHeader/index.vue?vue&type=template&id=
|
|
38205
|
+
// CONCATENATED MODULE: ./src/components/DashboardHeader/index.vue?vue&type=template&id=0da0617a
|
|
38161
38206
|
|
|
38162
38207
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.reduce.js
|
|
38163
38208
|
var es_array_reduce = __webpack_require__("13d5");
|
|
@@ -38507,6 +38552,10 @@ let dashboardHeaderInstance = 0;
|
|
|
38507
38552
|
type: Boolean,
|
|
38508
38553
|
default: true
|
|
38509
38554
|
},
|
|
38555
|
+
showProgressOnboarding: {
|
|
38556
|
+
type: Boolean,
|
|
38557
|
+
default: true
|
|
38558
|
+
},
|
|
38510
38559
|
selectorId: {
|
|
38511
38560
|
type: String,
|
|
38512
38561
|
default: ""
|
|
@@ -38524,6 +38573,10 @@ let dashboardHeaderInstance = 0;
|
|
|
38524
38573
|
progressTriggerWidth: null,
|
|
38525
38574
|
progressResizeObserver: null,
|
|
38526
38575
|
mouseMoveHandler: null,
|
|
38576
|
+
progressOnboardingResizeHandler: null,
|
|
38577
|
+
progressOnboardingDialogLeft: null,
|
|
38578
|
+
progressOnboardingPointerLeft: null,
|
|
38579
|
+
showProgressOnboardingDialog: false,
|
|
38527
38580
|
instanceSelectorId: `dashboard-header-${++dashboardHeaderInstance}`
|
|
38528
38581
|
};
|
|
38529
38582
|
},
|
|
@@ -38658,6 +38711,7 @@ let dashboardHeaderInstance = 0;
|
|
|
38658
38711
|
return {
|
|
38659
38712
|
label: `${Math.round(runningItem.progress)}%`,
|
|
38660
38713
|
tone: "running",
|
|
38714
|
+
isPercentage: true,
|
|
38661
38715
|
showRing: true,
|
|
38662
38716
|
progress: runningItem.progress
|
|
38663
38717
|
};
|
|
@@ -38692,6 +38746,34 @@ let dashboardHeaderInstance = 0;
|
|
|
38692
38746
|
return this.progressTriggerWidth ? {
|
|
38693
38747
|
width: `${this.progressTriggerWidth}px`
|
|
38694
38748
|
} : {};
|
|
38749
|
+
},
|
|
38750
|
+
progressCaretColor() {
|
|
38751
|
+
const colors = {
|
|
38752
|
+
success: "#228B5D",
|
|
38753
|
+
"success-flash": "#228B5D",
|
|
38754
|
+
failed: "#D64747",
|
|
38755
|
+
partial: "#B97900"
|
|
38756
|
+
};
|
|
38757
|
+
return colors[this.progressIndicatorState.tone] || "#3E7DC0";
|
|
38758
|
+
},
|
|
38759
|
+
progressIndicatorDetail() {
|
|
38760
|
+
if (this.normalizedProgressItems.length !== 1) return "";
|
|
38761
|
+
const item = this.normalizedProgressItems[this.normalizedProgressItems.length - 1];
|
|
38762
|
+
if (!["running", "success", "failed"].includes(item.status)) return "";
|
|
38763
|
+
const actionName = item.label;
|
|
38764
|
+
const failedCount = Number(item.failedCount);
|
|
38765
|
+
const actionCount = item.status === "failed" && Number.isFinite(failedCount) ? failedCount : Number.isFinite(Number(item.total)) ? Number(item.total) : Number(item.current);
|
|
38766
|
+
if (!Number.isFinite(actionCount)) {
|
|
38767
|
+
return item.description || "";
|
|
38768
|
+
}
|
|
38769
|
+
const suffix = item.status === "failed" ? "gagal" : item.unit || "item";
|
|
38770
|
+
return `${actionName} ${this.formatProgressNumber(actionCount)} ${suffix}`;
|
|
38771
|
+
},
|
|
38772
|
+
progressOnboardingPointerStyle() {
|
|
38773
|
+
return {
|
|
38774
|
+
"--progress-onboarding-dialog-left": this.progressOnboardingDialogLeft === null ? "34px" : `${this.progressOnboardingDialogLeft}px`,
|
|
38775
|
+
"--progress-onboarding-pointer-left": this.progressOnboardingPointerLeft === null ? "50%" : `${this.progressOnboardingPointerLeft}px`
|
|
38776
|
+
};
|
|
38695
38777
|
}
|
|
38696
38778
|
},
|
|
38697
38779
|
watch: {
|
|
@@ -38716,7 +38798,15 @@ let dashboardHeaderInstance = 0;
|
|
|
38716
38798
|
nextStatusById[id] = status;
|
|
38717
38799
|
});
|
|
38718
38800
|
}
|
|
38801
|
+
const hasNewRunningItem = Array.isArray(items) && items.some((item, index) => {
|
|
38802
|
+
const id = item && item.id !== undefined && item.id !== null ? String(item.id) : `index-${index}`;
|
|
38803
|
+
const status = item && ["pending", "running", "success", "failed", "partial"].includes(item.status) ? item.status : "pending";
|
|
38804
|
+
return status === "running" && this.progressStatusById[id] !== "running";
|
|
38805
|
+
});
|
|
38719
38806
|
this.progressStatusById = nextStatusById;
|
|
38807
|
+
if (hasNewRunningItem) {
|
|
38808
|
+
this.showProgressOnboardingForNewProcess();
|
|
38809
|
+
}
|
|
38720
38810
|
this.$nextTick(() => {
|
|
38721
38811
|
if (!this.hasProgressIndicator || this.progressIndicatorState.disabled) {
|
|
38722
38812
|
this.setProgressMenu(false);
|
|
@@ -38730,6 +38820,9 @@ let dashboardHeaderInstance = 0;
|
|
|
38730
38820
|
showProgressIndicator() {
|
|
38731
38821
|
if (!this.showProgressIndicator) this.setProgressMenu(false);
|
|
38732
38822
|
this.$nextTick(() => this.setupProgressResizeObserver());
|
|
38823
|
+
},
|
|
38824
|
+
showProgressOnboarding(value) {
|
|
38825
|
+
if (!value) this.closeProgressOnboarding();
|
|
38733
38826
|
}
|
|
38734
38827
|
},
|
|
38735
38828
|
mounted() {
|
|
@@ -38738,6 +38831,8 @@ let dashboardHeaderInstance = 0;
|
|
|
38738
38831
|
this.setLogoutTimer();
|
|
38739
38832
|
};
|
|
38740
38833
|
document.addEventListener("mousemove", this.mouseMoveHandler);
|
|
38834
|
+
this.progressOnboardingResizeHandler = () => this.updateProgressOnboardingPointer();
|
|
38835
|
+
window.addEventListener("resize", this.progressOnboardingResizeHandler);
|
|
38741
38836
|
this.setupProgressResizeObserver();
|
|
38742
38837
|
},
|
|
38743
38838
|
beforeUnmount() {
|
|
@@ -38749,6 +38844,9 @@ let dashboardHeaderInstance = 0;
|
|
|
38749
38844
|
if (this.progressResizeObserver) {
|
|
38750
38845
|
this.progressResizeObserver.disconnect();
|
|
38751
38846
|
}
|
|
38847
|
+
if (this.progressOnboardingResizeHandler) {
|
|
38848
|
+
window.removeEventListener("resize", this.progressOnboardingResizeHandler);
|
|
38849
|
+
}
|
|
38752
38850
|
},
|
|
38753
38851
|
methods: {
|
|
38754
38852
|
toggleMenu() {
|
|
@@ -38797,7 +38895,7 @@ let dashboardHeaderInstance = 0;
|
|
|
38797
38895
|
progressRingStyle(progress) {
|
|
38798
38896
|
const value = this.clampProgress(progress);
|
|
38799
38897
|
return {
|
|
38800
|
-
background: `conic-gradient(#3E7DC0 0 ${value}%, #
|
|
38898
|
+
background: `conic-gradient(#3E7DC0 0 ${value}%, #C5D8EC ${value}% 100%)`
|
|
38801
38899
|
};
|
|
38802
38900
|
},
|
|
38803
38901
|
progressItemStatusLabel(item) {
|
|
@@ -38849,6 +38947,52 @@ let dashboardHeaderInstance = 0;
|
|
|
38849
38947
|
this.progressSuccessFlashTimeout = null;
|
|
38850
38948
|
}, Math.max(0, Number(this.progressSuccessFlashDuration) || 0));
|
|
38851
38949
|
},
|
|
38950
|
+
showProgressOnboardingForNewProcess() {
|
|
38951
|
+
if (!this.showProgressOnboarding || this.showProgressOnboardingDialog || this.getProgressOnboardingCount() >= 3) {
|
|
38952
|
+
return;
|
|
38953
|
+
}
|
|
38954
|
+
this.closeAllMenus();
|
|
38955
|
+
this.showProgressOnboardingDialog = true;
|
|
38956
|
+
this.$nextTick(() => this.updateProgressOnboardingPointer());
|
|
38957
|
+
},
|
|
38958
|
+
acknowledgeProgressOnboarding() {
|
|
38959
|
+
const nextCount = Math.min(3, this.getProgressOnboardingCount() + 1);
|
|
38960
|
+
this.setProgressOnboardingCount(nextCount);
|
|
38961
|
+
this.closeProgressOnboarding();
|
|
38962
|
+
},
|
|
38963
|
+
closeProgressOnboarding() {
|
|
38964
|
+
this.showProgressOnboardingDialog = false;
|
|
38965
|
+
this.progressOnboardingDialogLeft = null;
|
|
38966
|
+
this.progressOnboardingPointerLeft = null;
|
|
38967
|
+
},
|
|
38968
|
+
getProgressOnboardingCount() {
|
|
38969
|
+
if (typeof window === "undefined" || !window.localStorage) return 0;
|
|
38970
|
+
try {
|
|
38971
|
+
const count = Number.parseInt(window.localStorage.getItem("dashboard-header-progress-onboarding-count"), 10);
|
|
38972
|
+
return Number.isFinite(count) ? Math.max(0, count) : 0;
|
|
38973
|
+
} catch (error) {
|
|
38974
|
+
return 0;
|
|
38975
|
+
}
|
|
38976
|
+
},
|
|
38977
|
+
setProgressOnboardingCount(count) {
|
|
38978
|
+
if (typeof window === "undefined" || !window.localStorage) return;
|
|
38979
|
+
try {
|
|
38980
|
+
window.localStorage.setItem("dashboard-header-progress-onboarding-count", String(count));
|
|
38981
|
+
} catch (error) {
|
|
38982
|
+
// The onboarding remains usable when storage is unavailable.
|
|
38983
|
+
}
|
|
38984
|
+
},
|
|
38985
|
+
updateProgressOnboardingPointer() {
|
|
38986
|
+
if (!this.showProgressOnboardingDialog) return;
|
|
38987
|
+
const header = this.$refs.dashboardHeader;
|
|
38988
|
+
const trigger = this.$refs.progressTrigger;
|
|
38989
|
+
if (!header || !trigger) return;
|
|
38990
|
+
const headerRect = header.getBoundingClientRect();
|
|
38991
|
+
const triggerRect = trigger.getBoundingClientRect();
|
|
38992
|
+
this.progressOnboardingDialogLeft = Math.max(0, triggerRect.left - headerRect.left - 10);
|
|
38993
|
+
const pointerLeft = triggerRect.left - headerRect.left + triggerRect.width / 2;
|
|
38994
|
+
this.progressOnboardingPointerLeft = Math.max(24, Math.min(headerRect.width - 24, pointerLeft));
|
|
38995
|
+
},
|
|
38852
38996
|
setupProgressResizeObserver() {
|
|
38853
38997
|
if (this.progressResizeObserver) {
|
|
38854
38998
|
this.progressResizeObserver.disconnect();
|
|
@@ -38861,11 +39005,15 @@ let dashboardHeaderInstance = 0;
|
|
|
38861
39005
|
}
|
|
38862
39006
|
const updateWidth = () => {
|
|
38863
39007
|
this.progressTriggerWidth = content.scrollWidth;
|
|
39008
|
+
this.$nextTick(() => this.updateProgressOnboardingPointer());
|
|
38864
39009
|
};
|
|
38865
39010
|
updateWidth();
|
|
38866
39011
|
if (typeof ResizeObserver !== "undefined") {
|
|
38867
39012
|
this.progressResizeObserver = new ResizeObserver(updateWidth);
|
|
38868
39013
|
this.progressResizeObserver.observe(content);
|
|
39014
|
+
if (this.$refs.progressTrigger) {
|
|
39015
|
+
this.progressResizeObserver.observe(this.$refs.progressTrigger);
|
|
39016
|
+
}
|
|
38869
39017
|
}
|
|
38870
39018
|
},
|
|
38871
39019
|
onCompanyLoadMore(payload) {
|
|
@@ -38980,8 +39128,8 @@ let dashboardHeaderInstance = 0;
|
|
|
38980
39128
|
});
|
|
38981
39129
|
// CONCATENATED MODULE: ./src/components/DashboardHeader/index.vue?vue&type=script&lang=js
|
|
38982
39130
|
|
|
38983
|
-
// EXTERNAL MODULE: ./src/components/DashboardHeader/index.vue?vue&type=style&index=0&id=
|
|
38984
|
-
var
|
|
39131
|
+
// EXTERNAL MODULE: ./src/components/DashboardHeader/index.vue?vue&type=style&index=0&id=0da0617a&lang=scss
|
|
39132
|
+
var DashboardHeadervue_type_style_index_0_id_0da0617a_lang_scss = __webpack_require__("b7f6");
|
|
38985
39133
|
|
|
38986
39134
|
// CONCATENATED MODULE: ./src/components/DashboardHeader/index.vue
|
|
38987
39135
|
|
|
@@ -38991,7 +39139,7 @@ var DashboardHeadervue_type_style_index_0_id_3aa8d738_lang_scss = __webpack_requ
|
|
|
38991
39139
|
|
|
38992
39140
|
|
|
38993
39141
|
|
|
38994
|
-
const DashboardHeader_exports_ = /*#__PURE__*/exportHelper_default()(DashboardHeadervue_type_script_lang_js, [['render',
|
|
39142
|
+
const DashboardHeader_exports_ = /*#__PURE__*/exportHelper_default()(DashboardHeadervue_type_script_lang_js, [['render',DashboardHeadervue_type_template_id_0da0617a_render]])
|
|
38995
39143
|
|
|
38996
39144
|
/* harmony default export */ var DashboardHeader = (DashboardHeader_exports_);
|
|
38997
39145
|
// 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/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/DatePicker/index.vue?vue&type=template&id=b0614cac
|