@qynpm/ui 1.0.4 → 1.0.6
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/README.md +169 -0
- package/dist/index.cjs +2 -1
- package/dist/index.mjs +54 -15
- package/dist/qy-action-bar/index.cjs +1 -1
- package/dist/qy-action-bar/index.mjs +4 -4
- package/dist/qy-dialog/index.cjs +1 -1
- package/dist/qy-dialog/index.mjs +4 -4
- package/dist/qy-form-section/index.cjs +1 -1
- package/dist/qy-form-section/index.mjs +2 -2
- package/dist/qy-input/index.cjs +1 -1
- package/dist/qy-input/index.mjs +4 -4
- package/dist/qy-money-input/index.cjs +1 -0
- package/dist/qy-money-input/index.mjs +6 -0
- package/dist/qy-radio-group/index.cjs +1 -0
- package/dist/qy-radio-group/index.mjs +6 -0
- package/dist/qy-record-quote-search/index.cjs +1 -1
- package/dist/qy-record-quote-search/index.mjs +2 -2
- package/dist/qy-remark-image/index.cjs +1 -2
- package/dist/qy-remark-image/index.mjs +3 -4
- package/dist/qy-remote-select/index.cjs +1 -0
- package/dist/qy-remote-select/index.mjs +6 -0
- package/dist/qy-search-input/index.cjs +1 -1
- package/dist/qy-search-input/index.mjs +3 -3
- package/dist/qy-select/index.cjs +1 -1
- package/dist/qy-select/index.mjs +4 -4
- package/dist/qy-upload/index.cjs +1 -1
- package/dist/qy-upload/index.mjs +3 -3
- package/dist/qy-voucher-upload/index.cjs +1 -0
- package/dist/qy-voucher-upload/index.mjs +6 -0
- package/dist/shared/_plugin-vue_export-helper-BHFhmbuH.cjs +1 -0
- package/dist/shared/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
- package/dist/{lib/qy-action-bar/index.vue.mjs → shared/index-Bw9kVFsm.mjs} +13 -13
- package/dist/{lib/qy-record-quote-search/index.vue.mjs → shared/index-BzV4959-.mjs} +42 -43
- package/dist/{lib/qy-form-section/index.vue.mjs → shared/index-C0ADdL4S.mjs} +11 -12
- package/dist/shared/index-CBSjmD0C.mjs +217 -0
- package/dist/shared/index-CJb1S7CP.cjs +1 -0
- package/dist/shared/index-CO8lz02r.cjs +1 -0
- package/dist/shared/index-ClPxDFKd.cjs +1 -0
- package/dist/shared/index-CtOqRiaj.cjs +1 -0
- package/dist/shared/index-DXB7_Tb5.cjs +1 -0
- package/dist/shared/index-DeWkPj3O.mjs +484 -0
- package/dist/shared/index-PUYQxK94.mjs +123 -0
- package/dist/shared/index-UzZbxoqZ.cjs +1 -0
- package/dist/shared/index-a90QeEC4.cjs +1 -0
- package/dist/{lib/qy-search-input/index.vue.mjs → shared/index-wW02nNOp.mjs} +55 -55
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-BcZg8D-y.mjs +214 -0
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-BmeBeCu0.mjs +162 -0
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-C85575cL.cjs +1 -0
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-DkYwdYdF.mjs +90 -0
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-Do5SZ8yS.cjs +1 -0
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-DpZzyX5f.cjs +1 -0
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-DuUkOqwY.cjs +1 -0
- package/dist/{lib/qy-input/index.vue.mjs → shared/index.vue_vue_type_script_setup_true_lang-Dvh1BFaR.mjs} +8 -7
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-RtfqJ73A.mjs +171 -0
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-VVjCLNMD.cjs +1 -0
- package/dist/{lib/dialog/index.vue.mjs → shared/index.vue_vue_type_style_index_0_lang-DpIL_6vO.mjs} +24 -25
- package/dist/shared/index.vue_vue_type_style_index_0_lang-haqCjB5x.cjs +1 -0
- package/dist/{lib/utils/install.mjs → shared/install-CxBnxbuN.mjs} +2 -2
- package/dist/shared/install-c8il9DQv.cjs +1 -0
- package/dist/shared/js.cookie-CojEIxHg.cjs +1 -0
- package/dist/{node_modules/.pnpm/js-cookie@3.0.1/node_modules/js-cookie/dist/js.cookie.mjs → shared/js.cookie-OLEfuq_g.mjs} +16 -16
- package/index.d.ts +9 -0
- package/package.json +25 -1
- package/qy-money-input/index.d.ts +12 -0
- package/qy-money-input/index.js +15 -0
- package/qy-radio-group/index.d.ts +12 -0
- package/qy-radio-group/index.js +15 -0
- package/qy-remote-select/index.d.ts +12 -0
- package/qy-remote-select/index.js +15 -0
- package/qy-voucher-upload/index.d.ts +12 -0
- package/qy-voucher-upload/index.js +15 -0
- package/dist/_virtual/plugin-vue_export-helper.cjs +0 -1
- package/dist/_virtual/plugin-vue_export-helper.mjs +0 -9
- package/dist/lib/dialog/index.vue.cjs +0 -1
- package/dist/lib/index.cjs +0 -1
- package/dist/lib/index.mjs +0 -40
- package/dist/lib/qy-action-bar/index.vue.cjs +0 -1
- package/dist/lib/qy-form-section/index.vue.cjs +0 -1
- package/dist/lib/qy-input/index.vue.cjs +0 -1
- package/dist/lib/qy-record-quote-search/index.vue.cjs +0 -1
- package/dist/lib/qy-search-input/index.vue.cjs +0 -1
- package/dist/lib/qy-select/index.vue.cjs +0 -1
- package/dist/lib/qy-select/index.vue.mjs +0 -137
- package/dist/lib/remark-image/index.vue.cjs +0 -1
- package/dist/lib/remark-image/index.vue.mjs +0 -198
- package/dist/lib/remark-image/utils.cjs +0 -1
- package/dist/lib/remark-image/utils.mjs +0 -22
- package/dist/lib/upload/index.vue.cjs +0 -1
- package/dist/lib/upload/index.vue.mjs +0 -382
- package/dist/lib/utils/auth.cjs +0 -1
- package/dist/lib/utils/auth.mjs +0 -8
- package/dist/lib/utils/install.cjs +0 -1
- package/dist/node_modules/.pnpm/js-cookie@3.0.1/node_modules/js-cookie/dist/js.cookie.cjs +0 -1
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode(`*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.icon-\\[ion--cloud-upload-outline\\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='512' height='512'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='32' d='M320 367.79h76c55 0 100-29.21 100-83.6s-53-81.47-96-83.6c-8.89-85.06-71-136.8-144-136.8c-69 0-113.44 45.79-128 91.2c-60 5.7-112 43.88-112 106.4s54 106.4 120 106.4h56'/%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='32' d='m320 255.79l-64-64l-64 64m64 192.42V207.79'/%3E%3C/svg%3E") }.icon-\\[line-md--loading-twotone-loop\\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath stroke-dasharray='16' stroke-dashoffset='16' d='M12 3c4.97 0 9 4.03 9 9'%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' dur='0.3s' values='16;0'/%3E%3CanimateTransform attributeName='transform' dur='1.5s' repeatCount='indefinite' type='rotate' values='0 12 12;360 12 12'/%3E%3C/path%3E%3Cpath stroke-dasharray='64' stroke-dashoffset='64' stroke-opacity='.3' d='M12 3c4.97 0 9 4.03 9 9c0 4.97 -4.03 9 -9 9c-4.97 0 -9 -4.03 -9 -9c0 -4.97 4.03 -9 9 -9Z'%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' dur='1.2s' values='64;0'/%3E%3C/path%3E%3C/g%3E%3C/svg%3E") }.icon-\\[material-symbols--minimize\\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M6 21v-2h12v2z'/%3E%3C/svg%3E") }.icon-\\[material-symbols--square-outline-rounded\\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M5 21q-.825 0-1.412-.587T3 19V5q0-.825.588-1.412T5 3h14q.825 0 1.413.588T21 5v14q0 .825-.587 1.413T19 21zm0-2h14V5H5zm0 0V5z'/%3E%3C/svg%3E") }.icon-\\[mdi--close\\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12z'/%3E%3C/svg%3E") }.icon-\\[mdi--window-maximize\\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M4 4h16v16H4zm2 4v10h12V8z'/%3E%3C/svg%3E") }.icon-\\[mdi--window-restore\\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M4 8h4V4h12v12h-4v4H4zm12 0v6h2V6h-8v2zM6 12v6h8v-6z'/%3E%3C/svg%3E") }.icon-\\[ph--images-thin\\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' width='256' height='256'%3E%3Cpath fill='black' d='M216 44H72a12 12 0 0 0-12 12v20H40a12 12 0 0 0-12 12v112a12 12 0 0 0 12 12h144a12 12 0 0 0 12-12v-20h20a12 12 0 0 0 12-12V56a12 12 0 0 0-12-12M68 56a4 4 0 0 1 4-4h144a4 4 0 0 1 4 4v72.4l-16.89-16.89a12 12 0 0 0-17 0l-22.83 22.83l-46.79-46.83a12 12 0 0 0-17 0L68 119Zm120 144a4 4 0 0 1-4 4H40a4 4 0 0 1-4-4V88a4 4 0 0 1 4-4h20v84a12 12 0 0 0 12 12h116Zm28-28H72a4 4 0 0 1-4-4v-37.66l37.17-37.17a4 4 0 0 1 5.66 0l49.66 49.66a4 4 0 0 0 5.65 0l25.66-25.66a4 4 0 0 1 5.66 0L220 139.71V168a4 4 0 0 1-4 4m-52-88a8 8 0 1 1 8 8a8 8 0 0 1-8-8'/%3E%3C/svg%3E") }.icon-\\[ri--close-line\\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='m12 10.587l4.95-4.95l1.414 1.414l-4.95 4.95l4.95 4.95l-1.415 1.414l-4.95-4.95l-4.949 4.95l-1.414-1.415l4.95-4.95l-4.95-4.95L7.05 5.638z'/%3E%3C/svg%3E") }.icon-\\[tdesign--fullscreen-exit-1\\]{display:inline-block;width:1em;height:1em;background-color:currentColor;-webkit-mask-image:var(--svg);mask-image:var(--svg);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M14 20v-6h6v2h-4v4zm-6 0v-4H4v-2h6v6zm12-10h-6V4h2v4h4zm-10 0H4V8h4V4h2z'/%3E%3C/svg%3E") }.visible{visibility:visible}.collapse{visibility:collapse}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.-right-12{right:-3rem}.left-0{left:0}.top-0{top:0}.top-2{top:.5rem}.z-\\[9999\\]{z-index:9999}.mb-3{margin-bottom:.75rem}.ml-2{margin-left:.5rem}.block{display:block}.flex{display:flex}.table{display:table}.hidden{display:none}.h-9{height:2.25rem}.h-\\[var\\(--footer-height\\)\\]{height:var(--footer-height)}.h-\\[var\\(--header-height\\)\\]{height:var(--header-height)}.h-full{height:100%}.min-h-\\[var\\(--footer-height\\)\\]{min-height:var(--footer-height)}.w-9{width:2.25rem}.w-\\[56px\\]{width:56px}.w-full{width:100%}.max-w-\\[200px\\]{max-width:200px}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded{border-radius:.25rem}.rounded-sm{border-radius:.125rem}.border{border-width:1px}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.p-1{padding:.25rem}.px-\\[var\\(--content-padding\\)\\]{padding-left:var(--content-padding);padding-right:var(--content-padding)}.pl-1{padding-left:.25rem}.pl-\\[var\\(--content-padding\\)\\]{padding-left:var(--content-padding)}.pr-4{padding-right:1rem}.pt-2{padding-top:.5rem}.text-\\[1rem\\]{font-size:1rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.uppercase{text-transform:uppercase}.text-gray-100{--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hover\\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\\:bg-gray-600\\/80:hover{background-color:#4b5563cc}.hover\\:bg-red-100:hover{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}.hover\\:bg-red-500:hover{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.active\\:scale-75:active{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\\[\\&_\\.el-dialog\\\\_\\\\_header\\]\\:\\!hidden .el-dialog__header{display:none!important}.qy-upload[data-v-c1472320]{--qy-upload-size: 140px;--el-upload-picture-card-size: var(--qy-upload-size);display:inline-flex;flex-direction:column;gap:8px;vertical-align:top}.qy-upload[data-v-c1472320] .el-upload--picture-card{width:var(--qy-upload-size)!important;height:var(--qy-upload-size)!important;line-height:1;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.qy-upload[data-v-c1472320] .el-upload-list--picture-card .el-upload-list__item{width:var(--qy-upload-size)!important;height:var(--qy-upload-size)!important;margin:0 8px 8px 0}.qy-upload__trigger[data-v-c1472320]{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;cursor:pointer;overflow:hidden;padding:4px 4px clamp(26px,var(--qy-upload-size) * .28,36px);box-sizing:border-box}.qy-upload__icon[data-v-c1472320]{font-size:clamp(14px,var(--qy-upload-size) * .2,28px);color:#8c939d;flex-shrink:0}.qy-upload__trigger.is-dragover[data-v-c1472320]{border:2px dashed var(--el-color-primary)!important;background-color:var(--el-color-primary-light-9)!important}.qy-upload__trigger.is-dragover .qy-upload__icon[data-v-c1472320]{color:var(--el-color-primary)}.qy-upload__label[data-v-c1472320]{font-size:13px;color:#606266}.qy-upload__hint[data-v-c1472320]{font-size:11px;color:#909399}.qy-upload__text[data-v-c1472320]{position:absolute;bottom:5px;left:5px;right:5px}.qy-upload__text-preview[data-v-c1472320]{height:20px;line-height:20px;padding:0 5px;background:#ffffffe6;border:1px solid #dcdfe6;border-radius:4px;font-size:clamp(10px,var(--qy-upload-size) * .08,12px);color:#303133;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:text;transition:border-color .2s}.qy-upload__text-preview[data-v-c1472320]:hover{border-color:#409eff}.qy-upload__text-preview.is-placeholder[data-v-c1472320]{color:#c0c4cc}.qy-upload__tip[data-v-c1472320]{display:flex;align-items:center;gap:4px;font-size:12px;color:#909399;line-height:1.4}.qy-upload__tip .error[data-v-c1472320]{color:var(--el-color-danger)}.qy-upload--video[data-v-c1472320]{display:flex;flex-direction:column;gap:8px}.qy-upload--video[data-v-c1472320] .el-upload{display:block;width:100%}.qy-upload--video .qy-upload__trigger[data-v-c1472320]{position:relative;flex-direction:row;gap:10px;height:80px;padding:0 20px 30px;border:1px dashed var(--el-border-color);border-radius:var(--el-border-radius-base);background-color:#fafcff;transition:border-color .2s}.qy-upload--video .qy-upload__trigger[data-v-c1472320]:hover{border-color:var(--el-color-primary)}.qy-upload--video .qy-upload__trigger .qy-upload__text-preview[data-v-c1472320]{font-size:13px;height:22px;line-height:22px;background:#fffffff2}.qy-upload--video .qy-upload__icon[data-v-c1472320]{font-size:24px;color:var(--el-color-primary)}.qy-upload--video .qy-upload__label[data-v-c1472320]{font-size:14px;font-weight:500}.qy-upload--reached-limit[data-v-c1472320] .el-upload--picture-card{display:none!important}.qy-upload--disabled[data-v-c1472320] .el-upload--picture-card{cursor:not-allowed;background-color:#f5f7fa}.qy-upload--disabled .qy-upload__trigger[data-v-c1472320]{cursor:not-allowed;color:#c0c4cc}.qy-upload__text-popover.el-popover{padding:10px!important}.qy-upload__text-popover .el-textarea__inner{font-size:13px;line-height:1.6}.qy-dialog{--small-content-padding: 16px;--content-padding: 24px;--header-height: 50px;--footer-height: 60px;--sides-gap: 10px;--block-outline-color: #e9e9e9}.qy-dialog .el-dialog__footer{padding:0}.qy-dialog .el-dialog__header{margin:0;padding:0}.qy-dialog__wrapper-container{position:relative;overflow:auto;width:100%!important;height:100%;min-width:300px;min-height:200px}.qy-dialog__wrapper-container::-webkit-scrollbar{width:6px;height:6px}.qy-dialog__wrapper-container::-webkit-scrollbar-track{background:transparent}.qy-dialog__wrapper-container::-webkit-scrollbar-thumb{background-color:#9093994d;border-radius:3px;-webkit-transition:background-color .3s;transition:background-color .3s}.qy-dialog__wrapper-container::-webkit-scrollbar-thumb:hover{background-color:#90939980}.qy-dialog .el-dialog{display:flex;flex-direction:column;max-height:90vh}.qy-dialog .el-dialog__body{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column}.qy-dialog__btn{display:flex;height:100%;width:56px;align-items:center;justify-content:center;font-size:1rem;cursor:pointer!important;z-index:10}.qy-dialog__btn:active{opacity:.6}.qy-dialog__btn--default:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.qy-dialog__btn--danger:hover{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.qy-dialog__wrapper{overflow-y:auto}.qy-dialog__wrapper--fullscreen{min-height:calc(100vh - var(--header-height) - var(--footer-height))}.qy-dialog__footer{border-top:1px solid transparent;transition:border-color .2s linear}.qy-dialog__footer--outline{border-top-color:var(--block-outline-color)}.fixed.left-0.top-0.bg-white.rounded{-webkit-user-select:none;-moz-user-select:none;user-select:none}.fixed.left-0.top-0.bg-white.rounded *{-moz-user-select:none;user-select:none;-webkit-user-select:none}.qy-remark-image[data-v-3b943ab8]{width:100%}.qy-remark-image__field[data-v-3b943ab8]{position:relative;width:100%}.qy-remark-image__upload-anchor[data-v-3b943ab8]{position:absolute;right:6px;top:14px;z-index:2}.qy-remark-image__upload[data-v-3b943ab8]{width:20px;color:#6b7280;cursor:pointer;transition:color .2s ease;transform:translateY(-35%)}.qy-remark-image__upload[data-v-3b943ab8]:hover{color:#2563eb}.qy-remark-image__popover[data-v-3b943ab8]{padding:8px}.qy-remark-image__preview-img[data-v-3b943ab8]{display:block;width:100%}.qy-remark-image__popover-footer[data-v-3b943ab8]{margin-top:8px;padding:8px 12px;border-radius:6px;background:#f3f4f6;display:flex;align-items:center;justify-content:space-between}.qy-remark-image__popover-tip[data-v-3b943ab8]{color:#6b7280;font-size:12px}.qy-search-input[data-v-47c6430a]{width:100%}.qy-search-input__item[data-v-47c6430a]{display:flex;flex-direction:column;gap:4px;line-height:1.5}.qy-search-input__item-label[data-v-47c6430a]{color:#303133}.qy-search-input__item-description[data-v-47c6430a]{font-size:12px;color:#909399}[data-v-47c6430a] .qy-search-input__mark{background:#409eff29;color:inherit;padding:0}.qy-record-quote-search[data-v-8bc26d3a]{display:flex;flex-direction:column;gap:8px;width:100%}.qy-record-quote-search__header[data-v-8bc26d3a]{display:flex;flex-direction:column;gap:2px}.qy-record-quote-search__label[data-v-8bc26d3a]{font-size:14px;font-weight:600;color:#303133}.qy-record-quote-search__description[data-v-8bc26d3a]{font-size:12px;color:#909399}.qy-record-quote-search__status[data-v-8bc26d3a]{font-size:12px;line-height:1.5}.qy-record-quote-search__status.is-default[data-v-8bc26d3a]{color:#606266}.qy-record-quote-search__status.is-success[data-v-8bc26d3a]{color:#67c23a}.qy-record-quote-search__status.is-warning[data-v-8bc26d3a]{color:#e6a23c}.qy-record-quote-search__status.is-error[data-v-8bc26d3a]{color:#f56c6c}.qy-form-section[data-v-0185ba6c]{border-radius:12px;overflow:hidden}.qy-form-section.is-bordered[data-v-0185ba6c]{border:1px solid #e4e7ed}.qy-form-section.is-bg-white[data-v-0185ba6c]{background:#fff}.qy-form-section.is-bg-gray[data-v-0185ba6c]{background:#f5f7fa}.qy-form-section.is-bg-transparent[data-v-0185ba6c]{background:transparent}.qy-form-section__header[data-v-0185ba6c]{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px 20px}.qy-form-section__heading[data-v-0185ba6c]{min-width:0;flex:1}.qy-form-section__title[data-v-0185ba6c]{font-size:16px;font-weight:600;line-height:1.5;color:#303133}.qy-form-section__description[data-v-0185ba6c]{margin-top:4px;font-size:13px;line-height:1.6;color:#909399}.qy-form-section__actions[data-v-0185ba6c]{display:flex;align-items:center;gap:8px;flex-shrink:0}.qy-form-section__toggle[data-v-0185ba6c]{border:0;background:transparent;color:#409eff;cursor:pointer;font-size:13px;padding:0}.qy-form-section__body[data-v-0185ba6c]{padding:0 20px 20px}.qy-form-section__tip[data-v-0185ba6c]{margin-bottom:16px;padding:10px 12px;border-radius:8px;font-size:13px;line-height:1.6}.qy-form-section__tip.is-info[data-v-0185ba6c]{background:#f4f4f5;color:#606266}.qy-form-section__tip.is-warning[data-v-0185ba6c]{background:#fdf6ec;color:#e6a23c}.qy-form-section__tip.is-error[data-v-0185ba6c]{background:#fef0f0;color:#f56c6c}.qy-form-section__tip.is-success[data-v-0185ba6c]{background:#f0f9eb;color:#67c23a}.qy-action-bar[data-v-86002d5a]{display:flex;align-items:center;gap:12px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));z-index:100}.qy-action-bar.is-sticky[data-v-86002d5a]{position:sticky}.qy-action-bar.is-bordered[data-v-86002d5a]{border-top:1px solid #ebeef5}.qy-action-bar.is-shadow[data-v-86002d5a]{box-shadow:0 -4px 16px #0f172a14}.qy-action-bar.is-wrap[data-v-86002d5a]{flex-wrap:wrap}.qy-action-bar.is-justify-between[data-v-86002d5a]{justify-content:space-between}.qy-action-bar.is-justify-end[data-v-86002d5a]{justify-content:flex-end}.qy-action-bar.is-justify-start[data-v-86002d5a]{justify-content:flex-start}.qy-action-bar__left[data-v-86002d5a],.qy-action-bar__center[data-v-86002d5a],.qy-action-bar__right[data-v-86002d5a]{display:flex;align-items:center;gap:8px}.qy-action-bar__left[data-v-86002d5a]{margin-right:auto}.qy-action-bar__center[data-v-86002d5a]{flex:1}.qy-action-bar__right[data-v-86002d5a]{margin-left:auto}`)),document.head.appendChild(a)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
-
import m from "../
|
|
3
|
-
|
|
4
|
-
const t = a(m, "QyRemarkImage");
|
|
1
|
+
import { Q as a } from "../shared/index-CBSjmD0C.mjs";
|
|
2
|
+
import { w as m } from "../shared/install-CxBnxbuN.mjs";
|
|
3
|
+
const t = m(a, "QyRemarkImage");
|
|
5
4
|
export {
|
|
6
5
|
t as default
|
|
7
6
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../shared/index.vue_vue_type_script_setup_true_lang-DuUkOqwY.cjs"),t=require("../shared/install-c8il9DQv.cjs"),u=t.withInstall(e._sfc_main,"QyRemoteSelect");exports.default=u;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../shared/index-ClPxDFKd.cjs"),t=require("../shared/install-c8il9DQv.cjs"),n=t.withInstall(e.QySearchInput,"QySearchInput");exports.default=n;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import t from "../
|
|
2
|
-
import {
|
|
3
|
-
const e =
|
|
1
|
+
import { Q as t } from "../shared/index-wW02nNOp.mjs";
|
|
2
|
+
import { w as a } from "../shared/install-CxBnxbuN.mjs";
|
|
3
|
+
const e = a(t, "QySearchInput");
|
|
4
4
|
export {
|
|
5
5
|
e as default
|
|
6
6
|
};
|
package/dist/qy-select/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../shared/index.vue_vue_type_script_setup_true_lang-DpZzyX5f.cjs"),t=require("../shared/install-c8il9DQv.cjs"),u=t.withInstall(e._sfc_main,"QySelect");exports.default=u;
|
package/dist/qy-select/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import t from "../
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
1
|
+
import { _ as t } from "../shared/index.vue_vue_type_script_setup_true_lang-BmeBeCu0.mjs";
|
|
2
|
+
import { w as a } from "../shared/install-CxBnxbuN.mjs";
|
|
3
|
+
const e = a(t, "QySelect");
|
|
4
4
|
export {
|
|
5
|
-
|
|
5
|
+
e as default
|
|
6
6
|
};
|
package/dist/qy-upload/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../shared/index-a90QeEC4.cjs"),t=require("../shared/install-c8il9DQv.cjs"),l=t.withInstall(e.QyUpload,"QyUpload");exports.default=l;
|
package/dist/qy-upload/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import o from "../
|
|
2
|
-
import {
|
|
3
|
-
const p =
|
|
1
|
+
import { Q as o } from "../shared/index-DeWkPj3O.mjs";
|
|
2
|
+
import { w as a } from "../shared/install-CxBnxbuN.mjs";
|
|
3
|
+
const p = a(o, "QyUpload");
|
|
4
4
|
export {
|
|
5
5
|
p as default
|
|
6
6
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../shared/index-CO8lz02r.cjs"),t=require("../shared/install-c8il9DQv.cjs"),i=t.withInstall(e._sfc_main,"QyVoucherUpload");exports.default=i;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=(t,o)=>{const c=t.__vccOpts||t;for(const[r,s]of o)c[r]=s;return c};exports._export_sfc=e;
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { defineComponent as i, computed as n, createElementBlock as t, openBlock as o, normalizeStyle as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const p = {
|
|
1
|
+
import { defineComponent as i, computed as n, createElementBlock as t, openBlock as o, normalizeStyle as f, normalizeClass as u, createCommentVNode as s, renderSlot as a } from "vue";
|
|
2
|
+
import { _ as c } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
3
|
+
const y = {
|
|
5
4
|
key: 0,
|
|
6
5
|
class: "qy-action-bar__left"
|
|
7
|
-
},
|
|
6
|
+
}, p = {
|
|
8
7
|
key: 1,
|
|
9
8
|
class: "qy-action-bar__center"
|
|
10
9
|
}, m = {
|
|
11
10
|
key: 2,
|
|
12
11
|
class: "qy-action-bar__right"
|
|
13
|
-
}, b = i({
|
|
12
|
+
}, b = /* @__PURE__ */ i({
|
|
14
13
|
name: "QyActionBar",
|
|
15
14
|
__name: "index",
|
|
16
15
|
props: {
|
|
@@ -24,11 +23,12 @@ const p = {
|
|
|
24
23
|
},
|
|
25
24
|
setup(d) {
|
|
26
25
|
const r = d, l = n(() => ({
|
|
26
|
+
// offsetBottom 只负责业务偏移,安全区补偿由 CSS padding 处理。
|
|
27
27
|
bottom: `${r.offsetBottom}px`,
|
|
28
28
|
background: r.background
|
|
29
29
|
}));
|
|
30
|
-
return (e,
|
|
31
|
-
class:
|
|
30
|
+
return (e, _) => (o(), t("div", {
|
|
31
|
+
class: u(["qy-action-bar", [
|
|
32
32
|
`is-justify-${e.justify}`,
|
|
33
33
|
{
|
|
34
34
|
"is-sticky": e.sticky,
|
|
@@ -37,12 +37,12 @@ const p = {
|
|
|
37
37
|
"is-wrap": e.wrap
|
|
38
38
|
}
|
|
39
39
|
]]),
|
|
40
|
-
style:
|
|
40
|
+
style: f(l.value)
|
|
41
41
|
}, [
|
|
42
|
-
e.$slots.left ? (o(), t("div",
|
|
42
|
+
e.$slots.left ? (o(), t("div", y, [
|
|
43
43
|
a(e.$slots, "left", {}, void 0, !0)
|
|
44
44
|
])) : s("", !0),
|
|
45
|
-
e.$slots.default ? (o(), t("div",
|
|
45
|
+
e.$slots.default ? (o(), t("div", p, [
|
|
46
46
|
a(e.$slots, "default", {}, void 0, !0)
|
|
47
47
|
])) : s("", !0),
|
|
48
48
|
e.$slots.right ? (o(), t("div", m, [
|
|
@@ -50,7 +50,7 @@ const p = {
|
|
|
50
50
|
])) : s("", !0)
|
|
51
51
|
], 6));
|
|
52
52
|
}
|
|
53
|
-
}),
|
|
53
|
+
}), B = /* @__PURE__ */ c(b, [["__scopeId", "data-v-ecba8f49"]]);
|
|
54
54
|
export {
|
|
55
|
-
|
|
55
|
+
B as Q
|
|
56
56
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { defineComponent as U, useAttrs as I, ref as M, computed as $, createElementBlock as i, openBlock as c, renderSlot as r, createVNode as D, createCommentVNode as f, toDisplayString as p, mergeProps as J, unref as Z, createSlots as j, withCtx as d, normalizeProps as G, guardReactiveProps as H, createElementVNode as K, normalizeClass as W } from "vue";
|
|
2
|
-
import X from "
|
|
3
|
-
|
|
4
|
-
import Y from "../../_virtual/plugin-vue_export-helper.mjs";
|
|
2
|
+
import { Q as X } from "./index-wW02nNOp.mjs";
|
|
3
|
+
import { _ as Y } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
5
4
|
const _ = { class: "qy-record-quote-search" }, x = {
|
|
6
5
|
key: 0,
|
|
7
6
|
class: "qy-record-quote-search__header"
|
|
@@ -11,7 +10,7 @@ const _ = { class: "qy-record-quote-search" }, x = {
|
|
|
11
10
|
}, te = {
|
|
12
11
|
key: 1,
|
|
13
12
|
class: "qy-record-quote-search__description"
|
|
14
|
-
}, oe = U({
|
|
13
|
+
}, oe = /* @__PURE__ */ U({
|
|
15
14
|
name: "QyRecordQuoteSearch",
|
|
16
15
|
inheritAttrs: !1,
|
|
17
16
|
__name: "index",
|
|
@@ -39,36 +38,36 @@ const _ = { class: "qy-record-quote-search" }, x = {
|
|
|
39
38
|
trimMode: { default: "blur" }
|
|
40
39
|
},
|
|
41
40
|
emits: ["update:modelValue", "search", "clear", "normalize", "enter", "select", "error", "success"],
|
|
42
|
-
setup(k, { expose: z, emit:
|
|
43
|
-
const o = k, a =
|
|
44
|
-
function
|
|
41
|
+
setup(k, { expose: z, emit: C }) {
|
|
42
|
+
const o = k, a = C, Q = I(), l = M(null), h = M(!1), m = $(() => o.statusText || ""), q = $(() => o.loading || h.value);
|
|
43
|
+
function s(e) {
|
|
45
44
|
return e == null ? "" : String(e);
|
|
46
45
|
}
|
|
47
|
-
function
|
|
48
|
-
const t =
|
|
49
|
-
return
|
|
46
|
+
function B(e) {
|
|
47
|
+
const t = s(e).trim(), n = g(t), u = n.match(/BJ\d{8}[A-Z0-9]{4}/i);
|
|
48
|
+
return u ? u[0] : n;
|
|
50
49
|
}
|
|
51
50
|
function g(e) {
|
|
52
|
-
return
|
|
51
|
+
return s(e).replace(/\s+/g, "").trim().toUpperCase();
|
|
53
52
|
}
|
|
54
53
|
function y(e) {
|
|
55
|
-
return o.extractMethod ? o.extractMethod(e) :
|
|
54
|
+
return o.extractMethod ? o.extractMethod(e) : B(e);
|
|
56
55
|
}
|
|
57
56
|
function v(e) {
|
|
58
57
|
return o.normalizeMethod ? o.normalizeMethod(e) : g(e);
|
|
59
58
|
}
|
|
60
|
-
function
|
|
61
|
-
const n =
|
|
59
|
+
function S(e, t) {
|
|
60
|
+
const n = s(e), u = y(n), V = o.autoNormalize ? v(u) : u;
|
|
62
61
|
return a("normalize", { rawValue: n, code: V }), {
|
|
63
62
|
rawValue: n,
|
|
64
63
|
code: V,
|
|
65
64
|
item: t
|
|
66
65
|
};
|
|
67
66
|
}
|
|
68
|
-
function
|
|
67
|
+
function E(e) {
|
|
69
68
|
a("update:modelValue", e);
|
|
70
69
|
}
|
|
71
|
-
async function
|
|
70
|
+
async function b(e) {
|
|
72
71
|
if (a("search", e), !!o.searchMethod) {
|
|
73
72
|
h.value = !0;
|
|
74
73
|
try {
|
|
@@ -81,45 +80,45 @@ const _ = { class: "qy-record-quote-search" }, x = {
|
|
|
81
80
|
}
|
|
82
81
|
}
|
|
83
82
|
}
|
|
84
|
-
function
|
|
85
|
-
const t =
|
|
86
|
-
t.code !==
|
|
83
|
+
function N(e) {
|
|
84
|
+
const t = S(e);
|
|
85
|
+
t.code !== s(o.modelValue) && a("update:modelValue", t.code), b(t);
|
|
87
86
|
}
|
|
88
|
-
function
|
|
87
|
+
function O() {
|
|
89
88
|
a("clear");
|
|
90
89
|
}
|
|
91
|
-
function
|
|
90
|
+
function T(e) {
|
|
92
91
|
a("enter", e);
|
|
93
92
|
}
|
|
94
|
-
function
|
|
93
|
+
function w(e) {
|
|
95
94
|
if (a("select", e), !o.searchOnSelect) return;
|
|
96
|
-
const t =
|
|
97
|
-
t.code !==
|
|
95
|
+
const t = S(e.value, e);
|
|
96
|
+
t.code !== s(o.modelValue) && a("update:modelValue", t.code), b(t);
|
|
98
97
|
}
|
|
99
|
-
function
|
|
98
|
+
function F(e) {
|
|
100
99
|
a("error", e);
|
|
101
100
|
}
|
|
102
|
-
function
|
|
101
|
+
function R() {
|
|
103
102
|
var e, t;
|
|
104
103
|
(t = (e = l.value) == null ? void 0 : e.focus) == null || t.call(e);
|
|
105
104
|
}
|
|
106
|
-
function
|
|
105
|
+
function L() {
|
|
107
106
|
var e, t;
|
|
108
107
|
(t = (e = l.value) == null ? void 0 : e.blur) == null || t.call(e);
|
|
109
108
|
}
|
|
110
|
-
function
|
|
109
|
+
function P() {
|
|
111
110
|
var e, t;
|
|
112
111
|
(t = (e = l.value) == null ? void 0 : e.select) == null || t.call(e);
|
|
113
112
|
}
|
|
114
|
-
function
|
|
113
|
+
function A() {
|
|
115
114
|
var e, t;
|
|
116
115
|
(t = (e = l.value) == null ? void 0 : e.clear) == null || t.call(e);
|
|
117
116
|
}
|
|
118
117
|
return z({
|
|
119
|
-
focus:
|
|
120
|
-
blur:
|
|
121
|
-
select:
|
|
122
|
-
clear:
|
|
118
|
+
focus: R,
|
|
119
|
+
blur: L,
|
|
120
|
+
select: P,
|
|
121
|
+
clear: A,
|
|
123
122
|
extractQuoteOrderCode: y,
|
|
124
123
|
normalizeQuoteOrderCode: v
|
|
125
124
|
}), (e, t) => (c(), i("div", _, [
|
|
@@ -132,9 +131,9 @@ const _ = { class: "qy-record-quote-search" }, x = {
|
|
|
132
131
|
D(X, J({
|
|
133
132
|
ref_key: "searchRef",
|
|
134
133
|
ref: l
|
|
135
|
-
}, Z(
|
|
134
|
+
}, Z(Q), {
|
|
136
135
|
"model-value": e.modelValue,
|
|
137
|
-
loading:
|
|
136
|
+
loading: q.value,
|
|
138
137
|
disabled: e.disabled,
|
|
139
138
|
placeholder: e.placeholder,
|
|
140
139
|
"remove-space": !0,
|
|
@@ -146,12 +145,12 @@ const _ = { class: "qy-record-quote-search" }, x = {
|
|
|
146
145
|
debounce: e.debounce,
|
|
147
146
|
"min-length": e.minLength,
|
|
148
147
|
"search-on-select": !1,
|
|
149
|
-
"onUpdate:modelValue":
|
|
150
|
-
onSearch:
|
|
151
|
-
onClear:
|
|
152
|
-
onEnter:
|
|
153
|
-
onSelect:
|
|
154
|
-
onError:
|
|
148
|
+
"onUpdate:modelValue": E,
|
|
149
|
+
onSearch: N,
|
|
150
|
+
onClear: O,
|
|
151
|
+
onEnter: T,
|
|
152
|
+
onSelect: w,
|
|
153
|
+
onError: F
|
|
155
154
|
}), j({ _: 2 }, [
|
|
156
155
|
e.$slots.prefix ? {
|
|
157
156
|
name: "prefix",
|
|
@@ -200,7 +199,7 @@ const _ = { class: "qy-record-quote-search" }, x = {
|
|
|
200
199
|
], !0) : f("", !0)
|
|
201
200
|
]));
|
|
202
201
|
}
|
|
203
|
-
}),
|
|
202
|
+
}), le = /* @__PURE__ */ Y(oe, [["__scopeId", "data-v-3a314f64"]]);
|
|
204
203
|
export {
|
|
205
|
-
|
|
204
|
+
le as Q
|
|
206
205
|
};
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { defineComponent as y, ref as b, watch as v, createElementBlock as o, openBlock as s, normalizeClass as a, createElementVNode as d, withDirectives as
|
|
2
|
-
|
|
3
|
-
import k from "../../_virtual/plugin-vue_export-helper.mjs";
|
|
1
|
+
import { defineComponent as y, ref as b, watch as v, createElementBlock as o, openBlock as s, normalizeClass as a, createElementVNode as d, withDirectives as _, renderSlot as i, createCommentVNode as n, toDisplayString as r, withModifiers as h, vShow as g } from "vue";
|
|
2
|
+
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
4
3
|
const C = { class: "qy-form-section__heading" }, q = {
|
|
5
4
|
key: 0,
|
|
6
5
|
class: "qy-form-section__title"
|
|
7
6
|
}, $ = {
|
|
8
7
|
key: 0,
|
|
9
8
|
class: "qy-form-section__description"
|
|
10
|
-
}, E = { class: "qy-form-section__actions" }, w = y({
|
|
9
|
+
}, E = { class: "qy-form-section__actions" }, w = /* @__PURE__ */ y({
|
|
11
10
|
name: "QyFormSection",
|
|
12
11
|
__name: "index",
|
|
13
12
|
props: {
|
|
@@ -23,19 +22,19 @@ const C = { class: "qy-form-section__heading" }, q = {
|
|
|
23
22
|
headerClass: { default: "" }
|
|
24
23
|
},
|
|
25
24
|
emits: ["toggle"],
|
|
26
|
-
setup(
|
|
27
|
-
const l =
|
|
25
|
+
setup(p, { emit: u }) {
|
|
26
|
+
const l = p, f = u, t = b(l.defaultExpanded);
|
|
28
27
|
v(
|
|
29
28
|
() => l.defaultExpanded,
|
|
30
29
|
(e) => {
|
|
31
30
|
t.value = e;
|
|
32
31
|
}
|
|
33
32
|
);
|
|
34
|
-
function
|
|
33
|
+
function c() {
|
|
35
34
|
l.collapsible && (t.value = !t.value, f("toggle", t.value));
|
|
36
35
|
}
|
|
37
36
|
function m() {
|
|
38
|
-
l.collapsible &&
|
|
37
|
+
l.collapsible && c();
|
|
39
38
|
}
|
|
40
39
|
return (e, B) => (s(), o("section", {
|
|
41
40
|
class: a(["qy-form-section", [
|
|
@@ -64,11 +63,11 @@ const C = { class: "qy-form-section__heading" }, q = {
|
|
|
64
63
|
key: 0,
|
|
65
64
|
type: "button",
|
|
66
65
|
class: "qy-form-section__toggle",
|
|
67
|
-
onClick:
|
|
66
|
+
onClick: h(c, ["stop"])
|
|
68
67
|
}, r(t.value ? "收起" : "展开"), 1)) : n("", !0)
|
|
69
68
|
])
|
|
70
69
|
], 2),
|
|
71
|
-
|
|
70
|
+
_(d("div", {
|
|
72
71
|
class: a(["qy-form-section__body", e.bodyClass])
|
|
73
72
|
}, [
|
|
74
73
|
i(e.$slots, "tip", {}, () => [
|
|
@@ -83,7 +82,7 @@ const C = { class: "qy-form-section__heading" }, q = {
|
|
|
83
82
|
])
|
|
84
83
|
], 2));
|
|
85
84
|
}
|
|
86
|
-
}),
|
|
85
|
+
}), D = /* @__PURE__ */ k(w, [["__scopeId", "data-v-8149aa01"]]);
|
|
87
86
|
export {
|
|
88
|
-
|
|
87
|
+
D as Q
|
|
89
88
|
};
|