@ailaw/venus 1.317.0 → 1.319.0

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/style.css CHANGED
@@ -1 +1 @@
1
- /*! tailwindcss v2.2.17 | MIT License | https://tailwindcss.com *//*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */*,:before,:after{box-sizing:border-box}html{-moz-tab-size:4;-o-tab-size:4;tab-size:4}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}hr{height:0;color:inherit}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}::-moz-focus-inner{border-style:none;padding:0}legend{padding:0}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}button{background-color:transparent;background-image:none}fieldset{margin:0;padding:0}ol,ul{list-style:none;margin:0;padding:0}html{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}body{font-family:inherit;line-height:inherit}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}hr{border-top-width:1px}img{border-style:solid}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#a1a1aa}input:-ms-input-placeholder,textarea:-ms-input-placeholder{opacity:1;color:#a1a1aa}input::placeholder,textarea::placeholder{opacity:1;color:#a1a1aa}button,[role=button]{cursor:pointer}table{border-collapse:collapse}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}button,input,optgroup,select,textarea{padding:0;line-height:inherit;color:inherit}pre,code,kbd,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{border-color:currentColor}.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}}.visible{visibility:visible}.relative{position:relative}.mr-2{margin-right:.5rem}.mb-0{margin-bottom:0}.mb-5{margin-bottom:1.25rem}.ml-2{margin-left:.5rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.table{display:table}.contents{display:contents}.hidden{display:none}.h-6{height:1.5rem}.h-screen{height:100vh}.w-6{width:1.5rem}.w-60{width:15rem}.w-72{width:18rem}.flex-1{flex:1 1 0%}@-webkit-keyframes spin{to{transform:rotate(360deg)}}@keyframes spin{to{transform:rotate(360deg)}}@-webkit-keyframes ping{75%,to{transform:scale(2);opacity:0}}@keyframes ping{75%,to{transform:scale(2);opacity:0}}@-webkit-keyframes pulse{50%{opacity:.5}}@keyframes pulse{50%{opacity:.5}}@-webkit-keyframes bounce{0%,to{transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}@keyframes bounce{0%,to{transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.rounded{border-radius:.25rem}.border{border-width:1px}.border-solid{border-style:solid}.border-light-purple{--tw-border-opacity: 1;border-color:rgba(192,150,250,var(--tw-border-opacity))}.border-light-blue{--tw-border-opacity: 1;border-color:rgba(145,213,255,var(--tw-border-opacity))}.bg-purple{--tw-bg-opacity: 1;background-color:rgba(249,240,255,var(--tw-bg-opacity))}.bg-blue{--tw-bg-opacity: 1;background-color:rgba(230,247,255,var(--tw-bg-opacity))}.p-4{padding:1rem}.px-2{padding-left:.5rem;padding-right:.5rem}.pt-3{padding-top:.75rem}.pt-3\.5{padding-top:.875rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.font-bold{font-weight:700}.capitalize{text-transform:capitalize}.leading-5{line-height:1.25rem}.text-secondary{--tw-text-opacity: 1;color:rgba(102,102,102,var(--tw-text-opacity))}.text-smart{--tw-text-opacity: 1;color:rgba(114,46,209,var(--tw-text-opacity))}.text-classic{--tw-text-opacity: 1;color:rgba(24,144,255,var(--tw-text-opacity))}*,:before,:after{--tw-shadow: 0 0 #0000}*,:before,:after{--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgba(59, 130, 246, .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000}.filter{--tw-blur: var(--tw-empty, );--tw-brightness: var(--tw-empty, );--tw-contrast: var(--tw-empty, );--tw-grayscale: var(--tw-empty, );--tw-hue-rotate: var(--tw-empty, );--tw-invert: var(--tw-empty, );--tw-saturate: var(--tw-empty, );--tw-sepia: var(--tw-empty, );--tw-drop-shadow: var(--tw-empty, );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)}.blur{--tw-blur: blur(8px)}.btn-divider[data-v-20a86d10]{margin-bottom:0!important;margin-top:12px!important}.beta[data-v-1114aea6]{line-height:20px;border-radius:15px;background-color:red;color:#fff;padding:0 3.5px;margin:0 5px}.min-w-80[data-v-72ef9bd2]{min-width:320px}.ant-popover{z-index:9999!important}.ant-popover .ant-popover-inner-content{padding:8px 16px}.container[data-v-bc646076]{border:1px solid #cccccc;border-radius:6px;padding:0 4px;min-height:30px;cursor:pointer}.block[data-v-bc646076]{display:block}.tags-container[data-v-18554545]{word-break:keep-all;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.taskTemplateInline[data-v-c5d917d8]{float:right}a.taskTemplateInline[data-v-c5d917d8]{margin-left:10px}div.taskTemplateInline[data-v-c5d917d8]{margin-top:5px!important}.task-cart-main-modal[data-v-697d89e6] .ant-modal-body{padding-bottom:0}
1
+ /*! tailwindcss v2.2.17 | MIT License | https://tailwindcss.com *//*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */*,:before,:after{box-sizing:border-box}html{-moz-tab-size:4;-o-tab-size:4;tab-size:4}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}hr{height:0;color:inherit}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}::-moz-focus-inner{border-style:none;padding:0}legend{padding:0}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}button{background-color:transparent;background-image:none}fieldset{margin:0;padding:0}ol,ul{list-style:none;margin:0;padding:0}html{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}body{font-family:inherit;line-height:inherit}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}hr{border-top-width:1px}img{border-style:solid}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#a1a1aa}input:-ms-input-placeholder,textarea:-ms-input-placeholder{opacity:1;color:#a1a1aa}input::placeholder,textarea::placeholder{opacity:1;color:#a1a1aa}button,[role=button]{cursor:pointer}table{border-collapse:collapse}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}button,input,optgroup,select,textarea{padding:0;line-height:inherit;color:inherit}pre,code,kbd,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{border-color:currentColor}.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}}.visible{visibility:visible}.relative{position:relative}.mr-2{margin-right:.5rem}.mb-0{margin-bottom:0}.mb-5{margin-bottom:1.25rem}.ml-2{margin-left:.5rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.table{display:table}.contents{display:contents}.hidden{display:none}.h-6{height:1.5rem}.h-screen{height:100vh}.w-6{width:1.5rem}.w-60{width:15rem}.w-72{width:18rem}.flex-1{flex:1 1 0%}@-webkit-keyframes spin{to{transform:rotate(360deg)}}@keyframes spin{to{transform:rotate(360deg)}}@-webkit-keyframes ping{75%,to{transform:scale(2);opacity:0}}@keyframes ping{75%,to{transform:scale(2);opacity:0}}@-webkit-keyframes pulse{50%{opacity:.5}}@keyframes pulse{50%{opacity:.5}}@-webkit-keyframes bounce{0%,to{transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}@keyframes bounce{0%,to{transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.rounded{border-radius:.25rem}.border{border-width:1px}.border-solid{border-style:solid}.border-light-purple{--tw-border-opacity: 1;border-color:rgba(192,150,250,var(--tw-border-opacity))}.border-light-blue{--tw-border-opacity: 1;border-color:rgba(145,213,255,var(--tw-border-opacity))}.bg-purple{--tw-bg-opacity: 1;background-color:rgba(249,240,255,var(--tw-bg-opacity))}.bg-blue{--tw-bg-opacity: 1;background-color:rgba(230,247,255,var(--tw-bg-opacity))}.p-4{padding:1rem}.px-2{padding-left:.5rem;padding-right:.5rem}.pt-3{padding-top:.75rem}.pt-3\.5{padding-top:.875rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.font-bold{font-weight:700}.capitalize{text-transform:capitalize}.leading-5{line-height:1.25rem}.text-secondary{--tw-text-opacity: 1;color:rgba(102,102,102,var(--tw-text-opacity))}.text-smart{--tw-text-opacity: 1;color:rgba(114,46,209,var(--tw-text-opacity))}.text-classic{--tw-text-opacity: 1;color:rgba(24,144,255,var(--tw-text-opacity))}*,:before,:after{--tw-shadow: 0 0 #0000}*,:before,:after{--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgba(59, 130, 246, .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000}.filter{--tw-blur: var(--tw-empty, );--tw-brightness: var(--tw-empty, );--tw-contrast: var(--tw-empty, );--tw-grayscale: var(--tw-empty, );--tw-hue-rotate: var(--tw-empty, );--tw-invert: var(--tw-empty, );--tw-saturate: var(--tw-empty, );--tw-sepia: var(--tw-empty, );--tw-drop-shadow: var(--tw-empty, );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)}.blur{--tw-blur: blur(8px)}.btn-divider[data-v-20a86d10]{margin-bottom:0!important;margin-top:12px!important}.beta[data-v-1114aea6]{line-height:20px;border-radius:15px;background-color:red;color:#fff;padding:0 3.5px;margin:0 5px}.min-w-80[data-v-72ef9bd2]{min-width:320px}.ant-popover{z-index:9999!important}.ant-popover .ant-popover-inner-content{padding:8px 16px}.container[data-v-ca3ffbca]{border:1px solid #cccccc;border-radius:6px;padding:0 4px;min-height:30px;cursor:pointer}.block[data-v-ca3ffbca]{display:block}.tags-container[data-v-18554545]{word-break:keep-all;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.taskTemplateInline[data-v-c5d917d8]{float:right}a.taskTemplateInline[data-v-c5d917d8]{margin-left:10px}div.taskTemplateInline[data-v-c5d917d8]{margin-top:5px!important}.task-cart-main-modal[data-v-697d89e6] .ant-modal-body{padding-bottom:0}
package/dist/venus.es.js CHANGED
@@ -17,13 +17,11 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- import { defineComponent, ref, watch, toRefs, reactive, computed, useAttrs, getCurrentScope, shallowRef } from "vue-demi";
21
- import { Select, Modal, FormModel, Input, Checkbox, Divider, Button, Popover, Upload, Tag, Icon, message, Tooltip, Form, Row, Col, Radio, Popconfirm, Table, Badge, Card } from "ant-design-vue";
20
+ import { defineComponent, ref, watch, toRefs, reactive, computed, getCurrentScope, shallowRef } from "vue-demi";
21
+ import { Select, Modal, FormModel, Input, Checkbox, Divider, Button, Popover, Upload, Tag, Icon, Tooltip, Form, Row, Col, Radio, Popconfirm, Table, Badge, Card, message } from "ant-design-vue";
22
22
  import { useQuery, useResult, useMutation, useApolloClient } from "@vue/apollo-composable";
23
23
  import gql from "graphql-tag";
24
- import * as R from "ramda";
25
24
  import { path, uniqBy, prop, sort, omit } from "ramda";
26
- import "whatwg-fetch";
27
25
  import JSZip from "jszip";
28
26
  var index$5 = "";
29
27
  function __variableDynamicImportRuntime0__$1(path2) {
@@ -1693,471 +1691,6 @@ const formRecords = {
1693
1691
  eoir33ic
1694
1692
  };
1695
1693
  var index$2 = Object.values(formRecords);
1696
- var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
1697
- var nprogress = { exports: {} };
1698
- /* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
1699
- * @license MIT */
1700
- (function(module, exports) {
1701
- (function(root, factory) {
1702
- {
1703
- module.exports = factory();
1704
- }
1705
- })(commonjsGlobal, function() {
1706
- var NProgress = {};
1707
- NProgress.version = "0.2.0";
1708
- var Settings = NProgress.settings = {
1709
- minimum: 0.08,
1710
- easing: "ease",
1711
- positionUsing: "",
1712
- speed: 200,
1713
- trickle: true,
1714
- trickleRate: 0.02,
1715
- trickleSpeed: 800,
1716
- showSpinner: true,
1717
- barSelector: '[role="bar"]',
1718
- spinnerSelector: '[role="spinner"]',
1719
- parent: "body",
1720
- template: '<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'
1721
- };
1722
- NProgress.configure = function(options) {
1723
- var key, value;
1724
- for (key in options) {
1725
- value = options[key];
1726
- if (value !== void 0 && options.hasOwnProperty(key))
1727
- Settings[key] = value;
1728
- }
1729
- return this;
1730
- };
1731
- NProgress.status = null;
1732
- NProgress.set = function(n) {
1733
- var started = NProgress.isStarted();
1734
- n = clamp(n, Settings.minimum, 1);
1735
- NProgress.status = n === 1 ? null : n;
1736
- var progress = NProgress.render(!started), bar = progress.querySelector(Settings.barSelector), speed = Settings.speed, ease = Settings.easing;
1737
- progress.offsetWidth;
1738
- queue(function(next) {
1739
- if (Settings.positionUsing === "")
1740
- Settings.positionUsing = NProgress.getPositioningCSS();
1741
- css(bar, barPositionCSS(n, speed, ease));
1742
- if (n === 1) {
1743
- css(progress, {
1744
- transition: "none",
1745
- opacity: 1
1746
- });
1747
- progress.offsetWidth;
1748
- setTimeout(function() {
1749
- css(progress, {
1750
- transition: "all " + speed + "ms linear",
1751
- opacity: 0
1752
- });
1753
- setTimeout(function() {
1754
- NProgress.remove();
1755
- next();
1756
- }, speed);
1757
- }, speed);
1758
- } else {
1759
- setTimeout(next, speed);
1760
- }
1761
- });
1762
- return this;
1763
- };
1764
- NProgress.isStarted = function() {
1765
- return typeof NProgress.status === "number";
1766
- };
1767
- NProgress.start = function() {
1768
- if (!NProgress.status)
1769
- NProgress.set(0);
1770
- var work = function() {
1771
- setTimeout(function() {
1772
- if (!NProgress.status)
1773
- return;
1774
- NProgress.trickle();
1775
- work();
1776
- }, Settings.trickleSpeed);
1777
- };
1778
- if (Settings.trickle)
1779
- work();
1780
- return this;
1781
- };
1782
- NProgress.done = function(force) {
1783
- if (!force && !NProgress.status)
1784
- return this;
1785
- return NProgress.inc(0.3 + 0.5 * Math.random()).set(1);
1786
- };
1787
- NProgress.inc = function(amount) {
1788
- var n = NProgress.status;
1789
- if (!n) {
1790
- return NProgress.start();
1791
- } else {
1792
- if (typeof amount !== "number") {
1793
- amount = (1 - n) * clamp(Math.random() * n, 0.1, 0.95);
1794
- }
1795
- n = clamp(n + amount, 0, 0.994);
1796
- return NProgress.set(n);
1797
- }
1798
- };
1799
- NProgress.trickle = function() {
1800
- return NProgress.inc(Math.random() * Settings.trickleRate);
1801
- };
1802
- (function() {
1803
- var initial = 0, current = 0;
1804
- NProgress.promise = function($promise) {
1805
- if (!$promise || $promise.state() === "resolved") {
1806
- return this;
1807
- }
1808
- if (current === 0) {
1809
- NProgress.start();
1810
- }
1811
- initial++;
1812
- current++;
1813
- $promise.always(function() {
1814
- current--;
1815
- if (current === 0) {
1816
- initial = 0;
1817
- NProgress.done();
1818
- } else {
1819
- NProgress.set((initial - current) / initial);
1820
- }
1821
- });
1822
- return this;
1823
- };
1824
- })();
1825
- NProgress.render = function(fromStart) {
1826
- if (NProgress.isRendered())
1827
- return document.getElementById("nprogress");
1828
- addClass(document.documentElement, "nprogress-busy");
1829
- var progress = document.createElement("div");
1830
- progress.id = "nprogress";
1831
- progress.innerHTML = Settings.template;
1832
- var bar = progress.querySelector(Settings.barSelector), perc = fromStart ? "-100" : toBarPerc(NProgress.status || 0), parent = document.querySelector(Settings.parent), spinner;
1833
- css(bar, {
1834
- transition: "all 0 linear",
1835
- transform: "translate3d(" + perc + "%,0,0)"
1836
- });
1837
- if (!Settings.showSpinner) {
1838
- spinner = progress.querySelector(Settings.spinnerSelector);
1839
- spinner && removeElement(spinner);
1840
- }
1841
- if (parent != document.body) {
1842
- addClass(parent, "nprogress-custom-parent");
1843
- }
1844
- parent.appendChild(progress);
1845
- return progress;
1846
- };
1847
- NProgress.remove = function() {
1848
- removeClass(document.documentElement, "nprogress-busy");
1849
- removeClass(document.querySelector(Settings.parent), "nprogress-custom-parent");
1850
- var progress = document.getElementById("nprogress");
1851
- progress && removeElement(progress);
1852
- };
1853
- NProgress.isRendered = function() {
1854
- return !!document.getElementById("nprogress");
1855
- };
1856
- NProgress.getPositioningCSS = function() {
1857
- var bodyStyle = document.body.style;
1858
- var vendorPrefix = "WebkitTransform" in bodyStyle ? "Webkit" : "MozTransform" in bodyStyle ? "Moz" : "msTransform" in bodyStyle ? "ms" : "OTransform" in bodyStyle ? "O" : "";
1859
- if (vendorPrefix + "Perspective" in bodyStyle) {
1860
- return "translate3d";
1861
- } else if (vendorPrefix + "Transform" in bodyStyle) {
1862
- return "translate";
1863
- } else {
1864
- return "margin";
1865
- }
1866
- };
1867
- function clamp(n, min, max) {
1868
- if (n < min)
1869
- return min;
1870
- if (n > max)
1871
- return max;
1872
- return n;
1873
- }
1874
- function toBarPerc(n) {
1875
- return (-1 + n) * 100;
1876
- }
1877
- function barPositionCSS(n, speed, ease) {
1878
- var barCSS;
1879
- if (Settings.positionUsing === "translate3d") {
1880
- barCSS = { transform: "translate3d(" + toBarPerc(n) + "%,0,0)" };
1881
- } else if (Settings.positionUsing === "translate") {
1882
- barCSS = { transform: "translate(" + toBarPerc(n) + "%,0)" };
1883
- } else {
1884
- barCSS = { "margin-left": toBarPerc(n) + "%" };
1885
- }
1886
- barCSS.transition = "all " + speed + "ms " + ease;
1887
- return barCSS;
1888
- }
1889
- var queue = function() {
1890
- var pending = [];
1891
- function next() {
1892
- var fn = pending.shift();
1893
- if (fn) {
1894
- fn(next);
1895
- }
1896
- }
1897
- return function(fn) {
1898
- pending.push(fn);
1899
- if (pending.length == 1)
1900
- next();
1901
- };
1902
- }();
1903
- var css = function() {
1904
- var cssPrefixes = ["Webkit", "O", "Moz", "ms"], cssProps = {};
1905
- function camelCase(string) {
1906
- return string.replace(/^-ms-/, "ms-").replace(/-([\da-z])/gi, function(match, letter) {
1907
- return letter.toUpperCase();
1908
- });
1909
- }
1910
- function getVendorProp(name) {
1911
- var style = document.body.style;
1912
- if (name in style)
1913
- return name;
1914
- var i = cssPrefixes.length, capName = name.charAt(0).toUpperCase() + name.slice(1), vendorName;
1915
- while (i--) {
1916
- vendorName = cssPrefixes[i] + capName;
1917
- if (vendorName in style)
1918
- return vendorName;
1919
- }
1920
- return name;
1921
- }
1922
- function getStyleProp(name) {
1923
- name = camelCase(name);
1924
- return cssProps[name] || (cssProps[name] = getVendorProp(name));
1925
- }
1926
- function applyCss(element, prop2, value) {
1927
- prop2 = getStyleProp(prop2);
1928
- element.style[prop2] = value;
1929
- }
1930
- return function(element, properties) {
1931
- var args = arguments, prop2, value;
1932
- if (args.length == 2) {
1933
- for (prop2 in properties) {
1934
- value = properties[prop2];
1935
- if (value !== void 0 && properties.hasOwnProperty(prop2))
1936
- applyCss(element, prop2, value);
1937
- }
1938
- } else {
1939
- applyCss(element, args[1], args[2]);
1940
- }
1941
- };
1942
- }();
1943
- function hasClass(element, name) {
1944
- var list = typeof element == "string" ? element : classList(element);
1945
- return list.indexOf(" " + name + " ") >= 0;
1946
- }
1947
- function addClass(element, name) {
1948
- var oldList = classList(element), newList = oldList + name;
1949
- if (hasClass(oldList, name))
1950
- return;
1951
- element.className = newList.substring(1);
1952
- }
1953
- function removeClass(element, name) {
1954
- var oldList = classList(element), newList;
1955
- if (!hasClass(element, name))
1956
- return;
1957
- newList = oldList.replace(" " + name + " ", " ");
1958
- element.className = newList.substring(1, newList.length - 1);
1959
- }
1960
- function classList(element) {
1961
- return (" " + (element.className || "") + " ").replace(/\s+/gi, " ");
1962
- }
1963
- function removeElement(element) {
1964
- element && element.parentNode && element.parentNode.removeChild(element);
1965
- }
1966
- return NProgress;
1967
- });
1968
- })(nprogress);
1969
- /*! js-cookie v3.0.1 | MIT */
1970
- function assign(target) {
1971
- for (var i = 1; i < arguments.length; i++) {
1972
- var source = arguments[i];
1973
- for (var key in source) {
1974
- target[key] = source[key];
1975
- }
1976
- }
1977
- return target;
1978
- }
1979
- var defaultConverter = {
1980
- read: function(value) {
1981
- if (value[0] === '"') {
1982
- value = value.slice(1, -1);
1983
- }
1984
- return value.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
1985
- },
1986
- write: function(value) {
1987
- return encodeURIComponent(value).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g, decodeURIComponent);
1988
- }
1989
- };
1990
- function init(converter, defaultAttributes) {
1991
- function set(key, value, attributes) {
1992
- if (typeof document === "undefined") {
1993
- return;
1994
- }
1995
- attributes = assign({}, defaultAttributes, attributes);
1996
- if (typeof attributes.expires === "number") {
1997
- attributes.expires = new Date(Date.now() + attributes.expires * 864e5);
1998
- }
1999
- if (attributes.expires) {
2000
- attributes.expires = attributes.expires.toUTCString();
2001
- }
2002
- key = encodeURIComponent(key).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
2003
- var stringifiedAttributes = "";
2004
- for (var attributeName in attributes) {
2005
- if (!attributes[attributeName]) {
2006
- continue;
2007
- }
2008
- stringifiedAttributes += "; " + attributeName;
2009
- if (attributes[attributeName] === true) {
2010
- continue;
2011
- }
2012
- stringifiedAttributes += "=" + attributes[attributeName].split(";")[0];
2013
- }
2014
- return document.cookie = key + "=" + converter.write(value, key) + stringifiedAttributes;
2015
- }
2016
- function get(key) {
2017
- if (typeof document === "undefined" || arguments.length && !key) {
2018
- return;
2019
- }
2020
- var cookies = document.cookie ? document.cookie.split("; ") : [];
2021
- var jar = {};
2022
- for (var i = 0; i < cookies.length; i++) {
2023
- var parts = cookies[i].split("=");
2024
- var value = parts.slice(1).join("=");
2025
- try {
2026
- var foundKey = decodeURIComponent(parts[0]);
2027
- jar[foundKey] = converter.read(value, foundKey);
2028
- if (key === foundKey) {
2029
- break;
2030
- }
2031
- } catch (e) {
2032
- }
2033
- }
2034
- return key ? jar[key] : jar;
2035
- }
2036
- return Object.create({
2037
- set,
2038
- get,
2039
- remove: function(key, attributes) {
2040
- set(key, "", assign({}, attributes, {
2041
- expires: -1
2042
- }));
2043
- },
2044
- withAttributes: function(attributes) {
2045
- return init(this.converter, assign({}, this.attributes, attributes));
2046
- },
2047
- withConverter: function(converter2) {
2048
- return init(assign({}, this.converter, converter2), this.attributes);
2049
- }
2050
- }, {
2051
- attributes: { value: Object.freeze(defaultAttributes) },
2052
- converter: { value: Object.freeze(converter) }
2053
- });
2054
- }
2055
- init(defaultConverter, { path: "/" });
2056
- R.pipe(R.toPairs, R.map(R.join("=")), R.join("&"), R.when(R.complement(R.isEmpty), R.concat("?")));
2057
- async function selectFolderTree() {
2058
- return new Promise((resolve) => {
2059
- console.log("selectFolderTree invoked");
2060
- if (typeof window.showDirectoryPicker === "function") {
2061
- window.showDirectoryPicker().then(async (dirHandle) => {
2062
- const zip = new JSZip();
2063
- const folderSet = new Set();
2064
- const traverseHandle = async (handle, path2) => {
2065
- if (handle.kind === "directory") {
2066
- const currentPath = path2 ? `${path2}/${handle.name}` : handle.name;
2067
- folderSet.add(currentPath);
2068
- for await (const entry of handle.entries()) {
2069
- const childHandle = entry[1];
2070
- await traverseHandle(childHandle, currentPath);
2071
- }
2072
- }
2073
- };
2074
- await traverseHandle(dirHandle, "");
2075
- const filteredDirs = Array.from(folderSet).filter((dir) => !dir.includes(".DS_Store"));
2076
- filteredDirs.forEach((dir) => zip.folder(dir + "/"));
2077
- const blob = await zip.generateAsync({ type: "blob" });
2078
- const file = new File([blob], "folder-structure.zip", { type: "text/plain" });
2079
- return { file, folderTree: filteredDirs };
2080
- }).then((result) => resolve(result)).catch((err) => {
2081
- console.error("Directory picker cancelled or failed", err);
2082
- resolve(null);
2083
- });
2084
- return;
2085
- }
2086
- const el = document.createElement("input");
2087
- el.type = "file";
2088
- el.style = "display: none";
2089
- el.webkitdirectory = true;
2090
- el.setAttribute("webkitdirectory", "");
2091
- el.multiple = true;
2092
- document.body.appendChild(el);
2093
- el.click();
2094
- const buildZipFromEntries = async (entries) => {
2095
- const zip = new JSZip();
2096
- const folderSet = new Set();
2097
- const traverse = async (entry, path2) => {
2098
- if (entry.isDirectory) {
2099
- const dirPath = path2 ? `${path2}/${entry.name}`.replace(/^\/+/, "") : entry.name;
2100
- folderSet.add(dirPath);
2101
- const reader = entry.createReader();
2102
- const readEntries = () => new Promise((res) => reader.readEntries(res));
2103
- let batch = await readEntries();
2104
- while (batch.length) {
2105
- for (const e of batch) {
2106
- await traverse(e, dirPath);
2107
- }
2108
- batch = await readEntries();
2109
- }
2110
- } else {
2111
- const dirPath = path2;
2112
- if (dirPath)
2113
- folderSet.add(dirPath);
2114
- }
2115
- };
2116
- for (const entry of entries) {
2117
- await traverse(entry, "");
2118
- }
2119
- const filteredDirs2 = Array.from(folderSet).filter((dir) => !dir.includes(".DS_Store"));
2120
- filteredDirs2.forEach((dir) => {
2121
- zip.folder(dir + "/");
2122
- });
2123
- const blob = await zip.generateAsync({ type: "blob" });
2124
- return { zipBlob: blob, folderTree: filteredDirs2 };
2125
- };
2126
- el.onchange = async (e) => {
2127
- console.log("input onchange triggered, files length", el.files.length);
2128
- const fileInput = e.target;
2129
- const entries = fileInput.webkitEntries || el.webkitEntries || [];
2130
- let zipBlob, folderTree;
2131
- if (entries.length) {
2132
- ({ zipBlob, folderTree } = await buildZipFromEntries(entries));
2133
- } else {
2134
- const files = Array.from(el.files);
2135
- const zip = new JSZip();
2136
- const folderSet = new Set();
2137
- files.forEach((file2) => {
2138
- if (file2.name === ".DS_Store")
2139
- return;
2140
- const path2 = file2.webkitRelativePath;
2141
- if (!path2)
2142
- return;
2143
- const parts = path2.split("/");
2144
- for (let i = 1; i < parts.length; i++) {
2145
- const dir = parts.slice(0, i).join("/");
2146
- folderSet.add(dir);
2147
- }
2148
- });
2149
- const filteredDirs3 = Array.from(folderSet).filter((dir) => !dir.includes(".DS_Store"));
2150
- filteredDirs3.forEach((dir) => zip.folder(dir + "/"));
2151
- zipBlob = await zip.generateAsync({ type: "blob" });
2152
- folderTree = filteredDirs3;
2153
- }
2154
- document.body.removeChild(el);
2155
- console.log("constructing file and resolving promise");
2156
- const file = new File([zipBlob], "folder-structure.zip", { type: "application/zip" });
2157
- resolve({ file, folderTree });
2158
- };
2159
- });
2160
- }
2161
1694
  const acceptableFormats = [
2162
1695
  ".rar",
2163
1696
  ".zip",
@@ -2170,7 +1703,12 @@ const acceptableFormats = [
2170
1703
  ];
2171
1704
  var __vue2_script$b = defineComponent({
2172
1705
  name: "aFileUploader",
2173
- components: { AntUpload: Upload, AntTag: Tag, AntModal: Modal, AntIcon: Icon },
1706
+ components: {
1707
+ AntUpload: Upload,
1708
+ AntTag: Tag,
1709
+ AntModal: Modal,
1710
+ AntIcon: Icon
1711
+ },
2174
1712
  props: {
2175
1713
  value: {
2176
1714
  type: Array,
@@ -2193,8 +1731,6 @@ var __vue2_script$b = defineComponent({
2193
1731
  }
2194
1732
  },
2195
1733
  setup(props, { emit }) {
2196
- const attrs = useAttrs();
2197
- const resolvedUploadFilesFunc = props.uploadFilesFunc || attrs.uploadfilesfunc || attrs["upload-files-func"];
2198
1734
  const me = useMe();
2199
1735
  const loading = ref(false);
2200
1736
  const changeVal = (k, v) => {
@@ -2210,7 +1746,7 @@ var __vue2_script$b = defineComponent({
2210
1746
  if (loading.value)
2211
1747
  return false;
2212
1748
  loading.value = true;
2213
- resolvedUploadFilesFunc && resolvedUploadFilesFunc(files, {
1749
+ props.uploadFilesFunc(files, {
2214
1750
  office_id: (_a = me.value) == null ? void 0 : _a.lawFirmId,
2215
1751
  user_id: (_b = me.value) == null ? void 0 : _b.id
2216
1752
  }).then((res) => {
@@ -2227,7 +1763,7 @@ var __vue2_script$b = defineComponent({
2227
1763
  });
2228
1764
  return false;
2229
1765
  };
2230
- const previewImage = ref(null);
1766
+ const previewImage = ref();
2231
1767
  const typeOf = (filename) => {
2232
1768
  if (/\.(gif|jpe?g|png)$/i.test(filename)) {
2233
1769
  return "img";
@@ -2246,30 +1782,7 @@ var __vue2_script$b = defineComponent({
2246
1782
  };
2247
1783
  const isImage = (file) => typeOf(file.name) === "img";
2248
1784
  const iconOf = (fileName) => icons[typeOf(fileName)];
2249
- const clickItem = async (item, event) => {
2250
- if (item.isFolderTree || item.name === "folder-structure.zip") {
2251
- event.preventDefault();
2252
- try {
2253
- const response = await fetch(item.link, { credentials: "omit" });
2254
- if (!response.ok) {
2255
- window.open(item.link, "_blank");
2256
- return;
2257
- }
2258
- const blob = await response.blob();
2259
- const url = URL.createObjectURL(blob);
2260
- const link = document.createElement("a");
2261
- link.href = url;
2262
- link.download = item.name || "folder-structure.zip";
2263
- document.body.appendChild(link);
2264
- link.click();
2265
- document.body.removeChild(link);
2266
- URL.revokeObjectURL(url);
2267
- } catch (e) {
2268
- console.error("download folder tree fail", e);
2269
- window.open(item.link, "_blank");
2270
- }
2271
- return;
2272
- }
1785
+ const clickItem = (item, event) => {
2273
1786
  if (!isImage(item)) {
2274
1787
  return;
2275
1788
  }
@@ -2280,36 +1793,46 @@ var __vue2_script$b = defineComponent({
2280
1793
  var _a, _b;
2281
1794
  if (loading.value)
2282
1795
  return;
2283
- loading.value = true;
2284
1796
  try {
2285
- console.log("handleSelectFolderTree click");
2286
- const result = await selectFolderTree();
2287
- console.log("selectFolderTree result", result, "uploadFilesFunc", props.uploadFilesFunc);
2288
- if (!result) {
2289
- message.warning("No folder selected or folder is empty");
2290
- return;
2291
- }
2292
- if (result && result.file) {
2293
- result.file.folderTree = result.folderTree;
2294
- if (!resolvedUploadFilesFunc) {
2295
- throw new Error("uploadFilesFunc not provided");
2296
- }
2297
- const res = await resolvedUploadFilesFunc([result.file], {
2298
- office_id: (_a = me.value) == null ? void 0 : _a.lawFirmId,
2299
- user_id: (_b = me.value) == null ? void 0 : _b.id
2300
- });
2301
- emit("change", [
2302
- ...props.value,
2303
- ...res.map(({ status, value }) => {
2304
- if (status === "fulfilled") {
2305
- return value;
1797
+ loading.value = true;
1798
+ const zipBlob = await new Promise((resolve, reject) => {
1799
+ window.showDirectoryPicker().then(async (dirHandle) => {
1800
+ const zip = new JSZip();
1801
+ const folderSet = new Set();
1802
+ const traverseHandle = async (handle, path2) => {
1803
+ if (handle.kind === "directory") {
1804
+ const currentPath = path2 ? `${path2}/${handle.name}` : handle.name;
1805
+ folderSet.add(currentPath);
1806
+ for await (const entry of handle.entries()) {
1807
+ const childHandle = entry[1];
1808
+ await traverseHandle(childHandle, currentPath);
1809
+ }
2306
1810
  }
2307
- }).filter((v) => v)
2308
- ]);
2309
- }
2310
- } catch (e) {
2311
- console.error("upload folder tree error", e);
2312
- message.error("Upload folder failed");
1811
+ };
1812
+ await traverseHandle(dirHandle, "");
1813
+ const filteredDirs = Array.from(folderSet).filter((dir) => !dir.includes(".DS_Store"));
1814
+ filteredDirs.forEach((dir) => zip.folder(dir + "/"));
1815
+ const blob = await zip.generateAsync({ type: "blob" });
1816
+ return new File([blob], "folder-structure.zip", {
1817
+ type: "text/plain"
1818
+ });
1819
+ }).then((result) => resolve(result)).catch((err) => {
1820
+ console.error("Directory picker cancelled or failed", err);
1821
+ resolve(null);
1822
+ });
1823
+ });
1824
+ const uploadResult = await props.uploadFilesFunc([zipBlob], {
1825
+ office_id: (_a = me.value) == null ? void 0 : _a.lawFirmId,
1826
+ user_id: (_b = me.value) == null ? void 0 : _b.id
1827
+ });
1828
+ const newFiles = uploadResult.map(({ status, value }) => {
1829
+ if (status === "fulfilled") {
1830
+ return value;
1831
+ }
1832
+ }).filter((v) => v);
1833
+ emit("change", [...props.value, ...newFiles]);
1834
+ } catch (error) {
1835
+ console.error("\u9009\u62E9\u6587\u4EF6\u5939\u5931\u8D25:", error);
2313
1836
  } finally {
2314
1837
  loading.value = false;
2315
1838
  }
@@ -2323,7 +1846,6 @@ var __vue2_script$b = defineComponent({
2323
1846
  beforeUpload,
2324
1847
  loading,
2325
1848
  acceptableFormats,
2326
- resolvedUploadFilesFunc,
2327
1849
  handleSelectFolderTree
2328
1850
  };
2329
1851
  }
@@ -2332,10 +1854,10 @@ var render$b = function() {
2332
1854
  var _vm = this;
2333
1855
  var _h = _vm.$createElement;
2334
1856
  var _c = _vm._self._c || _h;
2335
- return _c("div", { class: { container: !_vm.previewMode && !_vm.multipleLineMode }, staticStyle: { "display": "flex", "flex-direction": "column", "align-items": "flex-start" } }, [_c("ant-modal", { attrs: { "visible": !!_vm.previewImage, "footer": null }, on: { "cancel": function($event) {
1857
+ return _c("div", { class: { container: !_vm.previewMode && !_vm.multipleLineMode } }, [_c("ant-modal", { attrs: { "visible": !!_vm.previewImage, "footer": null }, on: { "cancel": function($event) {
2336
1858
  _vm.previewImage = null;
2337
1859
  } } }, [_c("img", { staticStyle: { "width": "100%" }, attrs: { "src": _vm.previewImage } })]), _c("ant-upload", { staticStyle: { "display": "inline" }, attrs: { "multiple": "", "before-upload": _vm.beforeUpload, "disabled": _vm.disabled || _vm.loading, "action": "javascript:;", "fileList": [], "accept": _vm.acceptableFormats.join(",") } }, [!_vm.previewMode ? _c("ant-tag", [_vm._v(" " + _vm._s(_vm.$t("message.selectFile")) + " ")]) : _vm._e(), _vm.value.length ? [_vm.multipleLineMode ? _c("div", _vm._l(_vm.value, function(file) {
2338
- return _c("div", { key: file.id, staticStyle: { "margin-top": "3px" } }, [_c("a", { staticStyle: { "color": "#2D8CF0" }, attrs: { "href": file.link, "target": "_blank" }, on: { "click": function($event) {
1860
+ return _c("div", { key: file.id, staticStyle: { "margin-top": "3px" } }, [_c("a", { staticStyle: { "color": "#2d8cf0" }, attrs: { "href": file.link, "target": "_blank" }, on: { "click": function($event) {
2339
1861
  $event.stopPropagation();
2340
1862
  return _vm.clickItem(file, $event);
2341
1863
  } } }, [_vm._v(" " + _vm._s(file.name) + " "), _c("a-icon", { attrs: { "type": _vm.iconOf(file.name) } })], 1), !_vm.disabled ? _c("a-icon", { attrs: { "type": "close" }, on: { "click": function($event) {
@@ -2358,7 +1880,7 @@ var render$b = function() {
2358
1880
  var staticRenderFns$b = [];
2359
1881
  var index_vue_vue_type_style_index_0_scoped_true_lang$6 = "";
2360
1882
  const __cssModules$b = {};
2361
- var __component__$b = /* @__PURE__ */ normalizeComponent(__vue2_script$b, render$b, staticRenderFns$b, false, __vue2_injectStyles$b, "bc646076", null, null);
1883
+ var __component__$b = /* @__PURE__ */ normalizeComponent(__vue2_script$b, render$b, staticRenderFns$b, false, __vue2_injectStyles$b, "ca3ffbca", null, null);
2362
1884
  function __vue2_injectStyles$b(context) {
2363
1885
  for (let o in __cssModules$b) {
2364
1886
  this[o] = __cssModules$b[o];
@@ -2682,8 +2204,6 @@ var __vue2_script$8 = defineComponent({
2682
2204
  }
2683
2205
  },
2684
2206
  setup(props, { emit }) {
2685
- const attrs = useAttrs();
2686
- const resolvedUploadFilesFunc = props.uploadFilesFunc || attrs.uploadfilesfunc || attrs["upload-files-func"];
2687
2207
  const nameError = ref(false);
2688
2208
  const typeError = ref(false);
2689
2209
  const nameErrorContent = ref("message.required");
@@ -2758,8 +2278,7 @@ var __vue2_script$8 = defineComponent({
2758
2278
  nameErrorContent,
2759
2279
  belongsTo,
2760
2280
  AssigneeTypes,
2761
- shouldShowBelongsTo,
2762
- resolvedUploadFilesFunc
2281
+ shouldShowBelongsTo
2763
2282
  };
2764
2283
  }
2765
2284
  });
@@ -2791,7 +2310,7 @@ var render$8 = function() {
2791
2310
  return _c("ant-select-option", { key: item[0], attrs: { "value": item[1] } }, [_vm._v(" " + _vm._s(item[0]) + " ")]);
2792
2311
  }), 1)], 1)], 1) : _vm._e()], 1), _c("ant-form-item", { attrs: { "label": "" + _vm.$t("message.descriptions") + " (" + _vm.$t("message.optional") + ")" } }, [_c("ant-textarea", { attrs: { "disabled": _vm.disabled, "value": _vm.value.descriptions }, on: { "input": function($event) {
2793
2312
  return _vm.changeVal("descriptions", $event.target.value);
2794
- } } })], 1), _c("ant-form-item", { attrs: { "label": "" + _vm.$t("message.attachment") + " (" + _vm.$t("message.optional") + ")" } }, [_c("a-file-uploader", { attrs: { "disabled": _vm.value.presetDocs != null || _vm.disabled, "value": _vm.value.presetDocs || _vm.value.sampleDocs, "upload-files-func": _vm.resolvedUploadFilesFunc }, on: { "change": function($event) {
2313
+ } } })], 1), _c("ant-form-item", { attrs: { "label": "" + _vm.$t("message.attachment") + " (" + _vm.$t("message.optional") + ")" } }, [_c("a-file-uploader", { attrs: { "disabled": _vm.value.presetDocs != null || _vm.disabled, "value": _vm.value.presetDocs || _vm.value.sampleDocs, "uploadFilesFunc": _vm.uploadFilesFunc }, on: { "change": function($event) {
2795
2314
  return _vm.changeVal("sampleDocs", $event);
2796
2315
  } } })], 1), _c("ant-form-item", { attrs: { "label": "" + _vm.$t("message.tags") + " (" + _vm.$t("message.optional") + ")" } }, [_c("ant-select", { attrs: { "disabled": _vm.disabled, "mode": "tags", "value": _vm.value.tagList || [], "options": [] }, on: { "change": function($event) {
2797
2316
  return _vm.changeVal("tagList", $event);
@@ -2802,7 +2321,7 @@ var render$8 = function() {
2802
2321
  var staticRenderFns$8 = [];
2803
2322
  var index_vue_vue_type_style_index_0_scoped_true_lang$3 = "";
2804
2323
  const __cssModules$8 = {};
2805
- var __component__$8 = /* @__PURE__ */ normalizeComponent(__vue2_script$8, render$8, staticRenderFns$8, false, __vue2_injectStyles$8, "46e42f4c", null, null);
2324
+ var __component__$8 = /* @__PURE__ */ normalizeComponent(__vue2_script$8, render$8, staticRenderFns$8, false, __vue2_injectStyles$8, "0b1cbb47", null, null);
2806
2325
  function __vue2_injectStyles$8(context) {
2807
2326
  for (let o in __cssModules$8) {
2808
2327
  this[o] = __cssModules$8[o];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ailaw/venus",
3
- "version": "1.317.0",
3
+ "version": "1.319.0",
4
4
  "files": [
5
5
  "dist"
6
6
  ],