classcard-ui 0.2.192 → 0.2.193
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/classcard-ui.common.js +12 -6
- package/dist/classcard-ui.common.js.map +1 -1
- package/dist/classcard-ui.umd.js +12 -6
- package/dist/classcard-ui.umd.js.map +1 -1
- package/dist/classcard-ui.umd.min.js +1 -1
- package/dist/classcard-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/CUpload/CUpload.vue +5 -0
- package/src/stories/CUpload.stories.js +1 -0
|
@@ -66839,17 +66839,18 @@ var CTimeline_component = normalizeComponent(
|
|
|
66839
66839
|
// CONCATENATED MODULE: ./src/components/CTimeline/index.js
|
|
66840
66840
|
|
|
66841
66841
|
/* harmony default export */ var components_CTimeline = (CTimeline);
|
|
66842
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"583a59b4-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CUpload/CUpload.vue?vue&type=template&id=
|
|
66843
|
-
var
|
|
66844
|
-
var
|
|
66842
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"583a59b4-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CUpload/CUpload.vue?vue&type=template&id=158a67b4&
|
|
66843
|
+
var CUploadvue_type_template_id_158a67b4_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.type === 'default')?_c('div',[_vm._t("default"),_c('div',{staticClass:"flex justify-between"},[_c('label',{staticClass:"block text-sm font-medium text-gray-900"},[_vm._v(" "+_vm._s(_vm.label)+" ")]),(_vm.hint)?_c('span',{staticClass:"text-sm text-gray-500"},[_vm._v(_vm._s(_vm.hint))]):_vm._e()]),_c('div',{staticClass:"w-full mt-2 flex justify-center px-6 py-14 border-2 rounded-md",class:_vm.errorClasses},[_c('div',{staticClass:"space-y-1 text-center"},[_c('div',{staticClass:"flex text-sm text-gray-600"},[_c('c-icon',{staticClass:"h-5 w-5 text-indigo-600",attrs:{"type":"solid","name":"arrow-up"}}),_vm._m(0)],1)])])],2):_vm._e(),(_vm.type === 'filestack')?_c('div',{class:_vm.filestackClasses,attrs:{"id":"filestack-uploader"}}):_vm._e(),(!_vm.isValidate)?_c('p',{staticClass:"mt-2 text-sm text-red-600"},[_vm._v(" "+_vm._s(_vm.errorMessage)+" ")]):_vm._e()])}
|
|
66844
|
+
var CUploadvue_type_template_id_158a67b4_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('label',{staticClass:"relative cursor-pointer bg-white rounded-md font-medium text-indigo-600 hover:text-indigo-500 focus-within:outline-none focus-within:ring-2 focus-within:ring-offset-2 focus-within:ring-indigo-500 ml-1"},[_c('span',[_vm._v("Upload")]),_c('input',{staticClass:"sr-only",attrs:{"type":"file"}})])}]
|
|
66845
66845
|
|
|
66846
66846
|
|
|
66847
|
-
// CONCATENATED MODULE: ./src/components/CUpload/CUpload.vue?vue&type=template&id=
|
|
66847
|
+
// CONCATENATED MODULE: ./src/components/CUpload/CUpload.vue?vue&type=template&id=158a67b4&
|
|
66848
66848
|
|
|
66849
66849
|
// EXTERNAL MODULE: ./node_modules/filestack-js/build/browser/filestack.esm.js
|
|
66850
66850
|
var filestack_esm = __webpack_require__("c299");
|
|
66851
66851
|
|
|
66852
66852
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CUpload/CUpload.vue?vue&type=script&lang=js&
|
|
66853
|
+
|
|
66853
66854
|
//
|
|
66854
66855
|
//
|
|
66855
66856
|
//
|
|
@@ -66926,6 +66927,10 @@ var filestack_esm = __webpack_require__("c299");
|
|
|
66926
66927
|
filestackClasses: {
|
|
66927
66928
|
type: String,
|
|
66928
66929
|
default: "w-96 h-96"
|
|
66930
|
+
},
|
|
66931
|
+
maxFiles: {
|
|
66932
|
+
type: Number,
|
|
66933
|
+
default: 1
|
|
66929
66934
|
}
|
|
66930
66935
|
},
|
|
66931
66936
|
methods: {
|
|
@@ -66937,6 +66942,7 @@ var filestack_esm = __webpack_require__("c299");
|
|
|
66937
66942
|
displayMode: "inline",
|
|
66938
66943
|
container: "#filestack-uploader",
|
|
66939
66944
|
uploadInBackground: false,
|
|
66945
|
+
maxFiles: this.maxFiles,
|
|
66940
66946
|
onUploadDone: function onUploadDone(res) {
|
|
66941
66947
|
return _this.$emit("filestack-uploaded", res);
|
|
66942
66948
|
}
|
|
@@ -66971,8 +66977,8 @@ var filestack_esm = __webpack_require__("c299");
|
|
|
66971
66977
|
|
|
66972
66978
|
var CUpload_component = normalizeComponent(
|
|
66973
66979
|
CUpload_CUploadvue_type_script_lang_js_,
|
|
66974
|
-
|
|
66975
|
-
|
|
66980
|
+
CUploadvue_type_template_id_158a67b4_render,
|
|
66981
|
+
CUploadvue_type_template_id_158a67b4_staticRenderFns,
|
|
66976
66982
|
false,
|
|
66977
66983
|
null,
|
|
66978
66984
|
null,
|