kts-component-invoice-operate 1.2.24 → 1.2.25

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.
Files changed (46) hide show
  1. package/dist/Invoice/_test/buyerNameSearch/index.d.ts +1 -0
  2. package/dist/Invoice/_test/deduction/index.d.ts +1 -0
  3. package/dist/Invoice/_test/draft/index.d.ts +1 -0
  4. package/dist/Invoice/_test/easiest/index.d.ts +1 -0
  5. package/dist/Invoice/_test/endowCode/index.d.ts +1 -0
  6. package/dist/Invoice/_test/goodsMenuExpand/index.d.ts +1 -0
  7. package/dist/Invoice/_test/importBuyer/index.d.ts +1 -0
  8. package/dist/Invoice/_test/importGoods/index.d.ts +1 -0
  9. package/dist/Invoice/_test/invoiceType/index.d.ts +1 -0
  10. package/dist/Invoice/_test/isInvoiceNo/index.d.ts +1 -0
  11. package/dist/Invoice/_test/replaceHead/index.d.ts +1 -0
  12. package/dist/Invoice/_test/retrieveData/index.d.ts +1 -0
  13. package/dist/Invoice/_test/seller/index.d.ts +1 -0
  14. package/dist/Invoice/_test/setDataSource/index.d.ts +1 -0
  15. package/dist/Invoice/_test/unit/index.d.ts +1 -0
  16. package/dist/Invoice/ui/Buyer/ui/BuyerNameInput/index.d.ts +1 -0
  17. package/dist/Invoice/ui/Buyer/ui/ImportBuyerButton/index.d.ts +1 -0
  18. package/dist/Invoice/ui/EndowCodeDrawer/index.d.ts +1 -0
  19. package/dist/Invoice/ui/GoodsList/hook/useColumns/ui/RowEditButton/index.d.ts +1 -0
  20. package/dist/Invoice/ui/GoodsList/hook/useColumns/ui/RowMenu/hook/useAddDiscount/index.d.ts +1 -0
  21. package/dist/Invoice/ui/GoodsList/hook/useColumns/ui/RowMenu/hook/useDelItem/index.d.ts +1 -0
  22. package/dist/Invoice/ui/GoodsList/hook/useColumns/ui/RowMenu/hook/useEndowCode/index.d.ts +1 -0
  23. package/dist/Invoice/ui/GoodsList/hook/useColumns/ui/RowMenu/index.d.ts +1 -0
  24. package/dist/Invoice/ui/GoodsList/hook/useColumns/ui/RowSaveButton/index.d.ts +1 -0
  25. package/dist/Invoice/ui/GoodsList/hook/useRowSelection/index.d.ts +1 -0
  26. package/dist/Invoice/ui/GoodsList/ui/AddRowButton/index.d.ts +1 -0
  27. package/dist/Invoice/ui/GoodsList/ui/DelRowButton/index.d.ts +1 -0
  28. package/dist/Invoice/ui/GoodsList/ui/EndowCodeButton/index.d.ts +1 -0
  29. package/dist/Invoice/ui/GoodsList/ui/Search/index.d.ts +1 -0
  30. package/dist/Invoice/ui/GoodsList/ui/Statistics/index.d.ts +1 -0
  31. package/dist/Invoice/ui/GoodsList/ui/TableRow/index.d.ts +1 -0
  32. package/dist/Invoice/ui/GoodsList/ui/TableVirtual/index.d.ts +1 -0
  33. package/dist/Invoice/ui/GoodsList/ui/TaxIncludedSwitch/index.d.ts +1 -0
  34. package/dist/Invoice/ui/ImportBuyerDrawer/index.d.ts +1 -0
  35. package/dist/Invoice/ui/ImportGoodsDrawer/index.d.ts +1 -0
  36. package/dist/index.esm.js +3 -3
  37. package/dist/index.js +3 -3
  38. package/docs-dist/404.html +33 -0
  39. package/docs-dist/index.html +33 -0
  40. package/docs-dist/static/auto.a6cd905c.svg +1 -0
  41. package/docs-dist/static/magnifier.2b26be6e.svg +1 -0
  42. package/docs-dist/static/spot.42e620e1.svg +1 -0
  43. package/docs-dist/umi.css +20 -0
  44. package/docs-dist/umi.js +1 -0
  45. package/package.json +1 -1
  46. package/src/Invoice/ui/GoodsList/hook/useColumns/index.tsx +3 -3
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: () => JSX.Element;
2
3
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import 'antd/dist/antd.css';
2
3
  declare const _default: () => JSX.Element;
3
4
  export default _default;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: () => JSX.Element;
2
3
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import 'antd/dist/antd.css';
2
3
  declare const _default: () => JSX.Element;
3
4
  export default _default;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: () => JSX.Element;
2
3
  export default _default;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: () => JSX.Element;
2
3
  export default _default;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: () => JSX.Element;
2
3
  export default _default;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: () => JSX.Element;
2
3
  export default _default;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: () => JSX.Element;
2
3
  export default _default;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: () => JSX.Element;
2
3
  export default _default;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: () => JSX.Element;
2
3
  export default _default;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: () => JSX.Element;
2
3
  export default _default;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: () => JSX.Element;
2
3
  export default _default;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: () => JSX.Element;
2
3
  export default _default;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: () => JSX.Element;
2
3
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface IBuyerNameInputProps {
2
3
  value?: string;
3
4
  onChange?: (e: string) => void;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: () => JSX.Element;
2
3
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const _default: () => JSX.Element;
3
4
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { IGood } from '../../../../../../InvoiceController';
2
3
  declare const _default: (props: {
3
4
  goods: IGood;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { IGood } from '../../../../../../../../InvoiceController';
2
3
  declare const _default: (goods: IGood) => JSX.Element | undefined;
3
4
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { IGood } from '../../../../../../../../InvoiceController';
2
3
  declare const _default: (goods: IGood) => JSX.Element | undefined;
3
4
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { IGood } from '../../../../../../../../InvoiceController';
2
3
  declare const _default: (goods: IGood) => JSX.Element;
3
4
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { IGood } from '../../../../../../InvoiceController';
2
3
  import './index.less';
3
4
  declare const _default: (props: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { IGood } from '../../../../../../InvoiceController';
2
3
  declare const _default: (props: {
3
4
  goods: IGood;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: () => {
2
3
  columnWidth: number;
3
4
  columnTitle: JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: () => JSX.Element;
2
3
  export default _default;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: () => JSX.Element;
2
3
  export default _default;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: () => JSX.Element;
2
3
  export default _default;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  export default function Search(): JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const _default: () => JSX.Element;
3
4
  export default _default;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export default function TableRow(props: any): JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TableProps } from 'kts-components-antd-x3/lib/table/interface';
2
3
  import './index.less';
3
4
  export default function <T = any>(props: TableProps<T>): JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: () => JSX.Element;
2
3
  export default _default;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: () => JSX.Element;
2
3
  export default _default;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: () => JSX.Element;
2
3
  export default _default;
package/dist/index.esm.js CHANGED
@@ -10410,15 +10410,15 @@ function formatSearch(value, search) {
10410
10410
 
10411
10411
  function ucoding(v) {
10412
10412
  return v.split('').map(function (e) {
10413
- return "\\U".concat(e.charCodeAt(0));
10413
+ return "U".concat(e.charCodeAt(0), "E");
10414
10414
  }).join('');
10415
10415
  }
10416
10416
  /** 解码 */
10417
10417
 
10418
10418
 
10419
10419
  function dcoding(v) {
10420
- return v.split("\\U").map(function (e) {
10421
- return e ? String.fromCharCode(parseInt(e)) : '';
10420
+ return v.split('U').map(function (e) {
10421
+ return e ? String.fromCharCode(parseInt(e.replace('E', ''))) : '';
10422
10422
  }).join('');
10423
10423
  }
10424
10424
 
package/dist/index.js CHANGED
@@ -10420,15 +10420,15 @@ function formatSearch(value, search) {
10420
10420
 
10421
10421
  function ucoding(v) {
10422
10422
  return v.split('').map(function (e) {
10423
- return "\\U".concat(e.charCodeAt(0));
10423
+ return "U".concat(e.charCodeAt(0), "E");
10424
10424
  }).join('');
10425
10425
  }
10426
10426
  /** 解码 */
10427
10427
 
10428
10428
 
10429
10429
  function dcoding(v) {
10430
- return v.split("\\U").map(function (e) {
10431
- return e ? String.fromCharCode(parseInt(e)) : '';
10430
+ return v.split('U').map(function (e) {
10431
+ return e ? String.fromCharCode(parseInt(e.replace('E', ''))) : '';
10432
10432
  }).join('');
10433
10433
  }
10434
10434
 
@@ -0,0 +1,33 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta
6
+ name="viewport"
7
+ content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"
8
+ />
9
+ <link rel="stylesheet" href="/docs-dist/umi.css" />
10
+ <script>
11
+ window.routerBase = "/";
12
+ </script>
13
+ <script>
14
+ //! umi version: 3.5.27
15
+ </script>
16
+ <script>
17
+ !(function () {
18
+ var e = localStorage.getItem("dumi:prefers-color"),
19
+ t = window.matchMedia("(prefers-color-scheme: dark)").matches,
20
+ r = ["light", "dark", "auto"];
21
+ document.documentElement.setAttribute(
22
+ "data-prefers-color",
23
+ e === r[2] ? (t ? r[1] : r[0]) : r.indexOf(e) > -1 ? e : r[0]
24
+ );
25
+ })();
26
+ </script>
27
+ </head>
28
+ <body>
29
+ <div id="root"></div>
30
+
31
+ <script src="/docs-dist/umi.js"></script>
32
+ </body>
33
+ </html>
@@ -0,0 +1,33 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta
6
+ name="viewport"
7
+ content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"
8
+ />
9
+ <link rel="stylesheet" href="/docs-dist/umi.css" />
10
+ <script>
11
+ window.routerBase = "/";
12
+ </script>
13
+ <script>
14
+ //! umi version: 3.5.27
15
+ </script>
16
+ <script>
17
+ !(function () {
18
+ var e = localStorage.getItem("dumi:prefers-color"),
19
+ t = window.matchMedia("(prefers-color-scheme: dark)").matches,
20
+ r = ["light", "dark", "auto"];
21
+ document.documentElement.setAttribute(
22
+ "data-prefers-color",
23
+ e === r[2] ? (t ? r[1] : r[0]) : r.indexOf(e) > -1 ? e : r[0]
24
+ );
25
+ })();
26
+ </script>
27
+ </head>
28
+ <body>
29
+ <div id="root"></div>
30
+
31
+ <script src="/docs-dist/umi.js"></script>
32
+ </body>
33
+ </html>
@@ -0,0 +1 @@
1
+ <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1586510245354" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4976" width="16" height="16" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><style type="text/css"></style></defs><path d="M510.677 83.529c60.891 0 119.75 13.191 174.046 38.055l-40.087 70.028 202.97-1.016-101.99-175.063-35.52 61.909c-61.908-29.433-129.903-44.657-199.419-44.657-257.266 0-466.833 209.566-466.833 466.833 0 93.368 27.4 183.69 79.668 261.326l42.116-28.415c-46.684-69.012-71.039-149.183-71.039-232.91 0-229.355 186.729-416.09 416.088-416.09z m425.225 223.774l-46.175 20.802c24.356 53.788 37.039 111.637 37.039 171.512 0 229.358-186.73 416.089-416.089 416.089-46.684 0-92.351-7.608-135.99-22.832l34-65.968-202.468 10.148 110.116 170.5 35.52-69.012c50.738 18.777 104.526 27.908 159.33 27.908 257.265 0 466.832-209.567 466.832-466.833-0.507-66.98-14.715-131.93-42.115-192.314z m0 0" p-id="4977"></path><path d="M317.096 1023.06L192.387 829.965 421.78 818.47l-36.039 69.924c40.06 12.971 82.045 19.543 124.936 19.543 225.147 0 408.317-183.17 408.317-408.317 0-58.417-12.23-115.043-36.348-168.305l-3.212-7.094 60.343-27.186 3.203 7.059c27.889 61.462 42.292 127.226 42.81 195.467 0 261.757-212.908 474.664-474.606 474.664-54.211 0-106.5-8.76-155.546-26.05l-38.54 74.885zM220.05 844.143l95.524 147.906 32.521-63.187 6.458 2.39c49.176 18.198 101.874 27.425 156.632 27.425 253.126 0 459.06-205.933 459.06-459.06-0.48-63.377-13.353-124.59-38.275-182.018l-32.013 14.422c22.95 53.205 34.582 109.55 34.582 167.595 0 233.719-190.143 423.862-423.862 423.862-47.682 0-94.297-7.828-138.55-23.266l-8.448-2.948 31.914-61.92-175.543 8.8z m-98.64-72.405l-4.345-6.455C64.08 686.583 36.071 594.717 36.071 499.617c0-261.698 212.907-474.605 474.605-474.605 68.724 0 134.705 14.25 196.232 42.368L745.564 0.005 861.09 198.301l-229.898 1.151 42.514-74.27c-51.835-22.486-106.64-33.88-163.03-33.88-225.147 0-408.317 183.17-408.317 408.316 0 82.11 24.104 161.145 69.705 228.556l4.36 6.445-55.014 37.12zM510.677 40.557c-253.126 0-459.06 205.934-459.06 459.06 0 89.396 25.578 175.828 74.053 250.495l29.221-19.715c-44.563-68.554-68.074-148.169-68.074-230.78 0-233.717 190.143-423.861 423.861-423.861 61.471 0 121.117 13.04 177.283 38.76l7.738 3.543-37.618 65.714 176.044-0.882-88.458-151.83-32.41 56.489-6.498-3.09C645.482 55.329 579.51 40.558 510.677 40.558z" p-id="4978"></path><path d="M320.113 320.409h383.973v63.55H320.113z m0.184 127.952H704.27v63.55H320.297z m-0.184 127.803h383.973v63.55H320.113z" p-id="4979"></path></svg>
@@ -0,0 +1 @@
1
+ <svg t="1656901778998" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="9253" width="200" height="200"><path d="M985.781333 918.594133 820.773333 765.5264c27.3728-32.973867 49.6544-69.5776 66.436267-109.258667 22.933333-54.218667 34.561067-111.7952 34.561067-171.1296 0-59.333333-11.627733-116.910933-34.561067-171.1296-22.142933-52.354133-53.837867-99.365333-94.200533-139.729067S705.633067 102.222933 653.28 80.08c-54.218667-22.933333-111.7952-34.561067-171.1296-34.561067S365.240533 57.147733 311.021867 80.08c-52.354133 22.142933-99.365333 53.8368-139.729067 94.200533s-72.0576 87.374933-94.200533 139.729067c-22.932267 54.218667-34.56 111.7952-34.56 171.1296 0 59.3344 11.627733 116.910933 34.56 171.1296 22.144 52.354133 53.837867 99.365333 94.200533 139.729067s87.374933 72.0576 139.729067 94.200533c54.218667 22.932267 111.7952 34.56 171.1296 34.56s116.910933-11.627733 171.1296-34.56c45.352533-19.181867 86.686933-45.543467 123.172267-78.487467L942.256 965.514667c6.16 5.714133 13.966933 8.539733 21.755733 8.539733 8.593067 0 17.163733-3.441067 23.467733-10.237867C999.4976 950.8608 998.738133 930.612267 985.781333 918.594133zM482.151467 860.7584c-207.117867 0-375.620267-168.5024-375.620267-375.620267 0-207.1168 168.5024-375.6192 375.620267-375.6192S857.770667 278.021333 857.770667 485.138133C857.770667 692.256 689.268267 860.7584 482.151467 860.7584z" p-id="9254"></path></svg>
@@ -0,0 +1 @@
1
+ <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1574652728953" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4119" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><style type="text/css"></style></defs><path d="M512 512m-96 0a1.5 1.5 0 1 0 192 0 1.5 1.5 0 1 0-192 0Z" p-id="4120"></path><path d="M512 96.64m-96 0a1.5 1.5 0 1 0 192 0 1.5 1.5 0 1 0-192 0Z" p-id="4121"></path><path d="M512 927.36m-96 0a1.5 1.5 0 1 0 192 0 1.5 1.5 0 1 0-192 0Z" p-id="4122"></path></svg>