text: (window["webpackJsonp"] = window["webpackJsonp"] || []).push([[119],{
  
  /***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/assets/js/components/checkValue.vue?vue&type=script&lang=js&":
  /*!****************************************************************************************************************************************************************************!*\
    !*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/assets/js/components/checkValue.vue?vue&type=script&lang=js& ***!
    \****************************************************************************************************************************************************************************/
  /*! exports provided: default */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony import */ var vue_truncate_collapsed__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue-truncate-collapsed */ "./node_modules/vue-truncate-collapsed/dist/vue-truncate-collapsed.es.js");
  /* harmony import */ var _modal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./modal */ "./resources/assets/js/components/modal.vue");
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  //
  
  
  /* harmony default export */ __webpack_exports__["default"] = ({
    components: {
      truncate: vue_truncate_collapsed__WEBPACK_IMPORTED_MODULE_0__["default"],
      appModal: _modal__WEBPACK_IMPORTED_MODULE_1__["default"]
    },
    props: {
      value: {
        "default": ''
      },
      frontText: {
        "default": ''
      },
      trimLength: {
        "default": 50
      },
      valueType: {
        "default": 'trim'
      },
      empty: {
        "default": '-'
      }
    },
    data: function data() {
      return {
        modalShow: false,
        modalState: '',
        modalTitle: '',
        modalContent: '',
        modalButton: ''
      };
    },
    methods: {
      modalOpen: function modalOpen() {
        this.modalShow = true;
        this.modalState = 'content-tutup';
        this.modalContent = this.value;
        this.modalButton = 'Tutup';
      },
      modalTutup: function modalTutup() {
        this.modalShow = false;
      },
      strip: function strip(html) {
        var tmp = document.createElement("DIV");
        tmp.innerHTML = html;
        return tmp.textContent || tmp.innerText || "";
      }
    }
  });
  
  /***/ }),
  
  /***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/assets/js/components/checkValue.vue?vue&type=template&id=56ee5620&":
  /*!********************************************************************************************************************************************************************************************************************!*\
    !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/assets/js/components/checkValue.vue?vue&type=template&id=56ee5620& ***!
    \********************************************************************************************************************************************************************************************************************/
  /*! exports provided: render, staticRenderFns */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
  var render = function() {
    var _vm = this
    var _h = _vm.$createElement
    var _c = _vm._self._c || _h
    return _c(
      "div",
      { staticStyle: { display: "inline-block" } },
      [
        _vm.value
          ? _c("span", { staticStyle: { display: "inline-block" } }, [
              _vm.valueType == "trim"
                ? _c(
                    "span",
                    { staticStyle: { display: "inline-block" } },
                    [
                      _c("truncate", {
                        staticStyle: { display: "inline-block" },
                        attrs: {
                          "action-class": "badge bg-blue",
                          clamp: "selengkapnya >",
                          length: _vm.trimLength,
                          less: "< kembali",
                          text: _vm.frontText + " " + _vm.value
                        }
                      })
                    ],
                    1
                  )
                : _vm.valueType == "modal"
                ? _c("span", { staticStyle: { display: "inline-block" } }, [
                    _c(
                      "button",
                      {
                        staticClass: "btn btn-light",
                        on: {
                          click: function($event) {
                            $event.preventDefault()
                            return _vm.modalOpen()
                          }
                        }
                      },
                      [_vm._v("\n          Lihat\n      ")]
                    )
                  ])
                : _vm.valueType == "currency"
                ? _c("span", { staticStyle: { display: "inline-block" } }, [
                    _vm._v(
                      _vm._s(_vm.frontText) +
                        " " +
                        _vm._s(
                          _vm._f("currency")(_vm.value, "", 0, {
                            thousandsSeparator: "."
                          })
                        )
                    )
                  ])
                : _vm.valueType == "percentage"
                ? _c("span", { staticStyle: { display: "inline-block" } }, [
                    _vm._v(
                      _vm._s(_vm.frontText) +
                        " " +
                        _vm._s(_vm._f("percentage")(_vm.value, 2))
                    )
                  ])
                : _vm.valueType == "decimal"
                ? _c("span", { staticStyle: { display: "inline-block" } }, [
                    _vm._v(
                      _vm._s(_vm.frontText) +
                        " " +
                        _vm._s(_vm._f("round")(_vm.value, 2))
                    )
                  ])
                : _c("span", { staticStyle: { display: "inline-block" } }, [
                    _vm._v(_vm._s(_vm.frontText) + " " + _vm._s(_vm.value))
                  ])
            ])
          : _c("span", { staticStyle: { display: "inline-block" } }, [
              _vm._v(_vm._s(_vm.frontText) + " " + _vm._s(_vm.empty))
            ]),
        _vm._v(" "),
        _c("app-modal", {
          attrs: {
            show: _vm.modalShow,
            state: _vm.modalState,
            title: _vm.modalTitle,
            button: _vm.modalButton,
            content: _vm.modalContent
          },
          on: { tutup: _vm.modalTutup, backgroundClick: _vm.modalTutup }
        })
      ],
      1
    )
  }
  var staticRenderFns = []
  render._withStripped = true
  
  
  
  /***/ }),
  
  /***/ "./resources/assets/js/components/checkValue.vue":
  /*!*******************************************************!*\
    !*** ./resources/assets/js/components/checkValue.vue ***!
    \*******************************************************/
  /*! exports provided: default */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony import */ var _checkValue_vue_vue_type_template_id_56ee5620___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./checkValue.vue?vue&type=template&id=56ee5620& */ "./resources/assets/js/components/checkValue.vue?vue&type=template&id=56ee5620&");
  /* harmony import */ var _checkValue_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./checkValue.vue?vue&type=script&lang=js& */ "./resources/assets/js/components/checkValue.vue?vue&type=script&lang=js&");
  /* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
  
  
  
  
  
  /* normalize component */
  
  var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
    _checkValue_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
    _checkValue_vue_vue_type_template_id_56ee5620___WEBPACK_IMPORTED_MODULE_0__["render"],
    _checkValue_vue_vue_type_template_id_56ee5620___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
    false,
    null,
    null,
    null
    
  )
  
  /* hot reload */
  if (false) { var api; }
  component.options.__file = "resources/assets/js/components/checkValue.vue"
  /* harmony default export */ __webpack_exports__["default"] = (component.exports);
  
  /***/ }),
  
  /***/ "./resources/assets/js/components/checkValue.vue?vue&type=script&lang=js&":
  /*!********************************************************************************!*\
    !*** ./resources/assets/js/components/checkValue.vue?vue&type=script&lang=js& ***!
    \********************************************************************************/
  /*! exports provided: default */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_checkValue_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/babel-loader/lib??ref--4-0!../../../../node_modules/vue-loader/lib??vue-loader-options!./checkValue.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/assets/js/components/checkValue.vue?vue&type=script&lang=js&");
  /* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_checkValue_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]); 
  
  /***/ }),
  
  /***/ "./resources/assets/js/components/checkValue.vue?vue&type=template&id=56ee5620&":
  /*!**************************************************************************************!*\
    !*** ./resources/assets/js/components/checkValue.vue?vue&type=template&id=56ee5620& ***!
    \**************************************************************************************/
  /*! exports provided: render, staticRenderFns */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_checkValue_vue_vue_type_template_id_56ee5620___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/vue-loader/lib??vue-loader-options!./checkValue.vue?vue&type=template&id=56ee5620& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/assets/js/components/checkValue.vue?vue&type=template&id=56ee5620&");
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_checkValue_vue_vue_type_template_id_56ee5620___WEBPACK_IMPORTED_MODULE_0__["render"]; });
  
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_checkValue_vue_vue_type_template_id_56ee5620___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
  
  
  
  /***/ })
  
  }]);