hy-dispatch-ui-v3 0.2.57 → 0.2.59

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 (27) hide show
  1. package/es/components/hyForm/js/index.mjs +3 -3
  2. package/es/static/hy-svg-icons/hy-icon-dispatch-share-charu.js +10 -0
  3. package/es/static/hy-svg-icons/hy-icon-dispatch-share-zhongduan.js +8 -0
  4. package/es/static/hy-svg-icons/hy-icon-ops-button-dingweishangchuan.js +9 -0
  5. package/es/static/hy-svg-icons/hy-icon-ops-button-lamp.js +8 -0
  6. package/es/static/hy-svg-icons/hy-icon-ops-button-restart.js +8 -0
  7. package/es/static/hy-svg-icons/hy-icon-ops-button-shutdown.js +8 -0
  8. package/es/static/hy-svg-icons/hy-icon-ops-button-volume.js +8 -0
  9. package/es/static/hy-svg-icons/hy-icon-ops-button-wifi.js +8 -0
  10. package/es/static/hy-svg-icons/hy-icon-ops-button-yujing.js +8 -0
  11. package/es/static/hy-svg-icons/hy-icon-ops-list-grayout.js +12 -0
  12. package/es/utils/input.mjs +4 -8
  13. package/es/version.mjs +1 -1
  14. package/lib/components/hyForm/js/index.js +3 -3
  15. package/lib/static/hy-svg-icons/hy-icon-dispatch-share-charu.js +10 -0
  16. package/lib/static/hy-svg-icons/hy-icon-dispatch-share-zhongduan.js +8 -0
  17. package/lib/static/hy-svg-icons/hy-icon-ops-button-dingweishangchuan.js +9 -0
  18. package/lib/static/hy-svg-icons/hy-icon-ops-button-lamp.js +8 -0
  19. package/lib/static/hy-svg-icons/hy-icon-ops-button-restart.js +8 -0
  20. package/lib/static/hy-svg-icons/hy-icon-ops-button-shutdown.js +8 -0
  21. package/lib/static/hy-svg-icons/hy-icon-ops-button-volume.js +8 -0
  22. package/lib/static/hy-svg-icons/hy-icon-ops-button-wifi.js +8 -0
  23. package/lib/static/hy-svg-icons/hy-icon-ops-button-yujing.js +8 -0
  24. package/lib/static/hy-svg-icons/hy-icon-ops-list-grayout.js +12 -0
  25. package/lib/utils/input.js +4 -8
  26. package/lib/version.js +1 -1
  27. package/package.json +1 -1
@@ -66,11 +66,11 @@ function isDisabled(props, column) {
66
66
  return false;
67
67
  }
68
68
  function renderText(props, column = {}) {
69
- const { type, field, customRender } = column;
69
+ const { type, field, renderContent } = column;
70
70
  const { props: fieldNames } = column.attrs || {};
71
71
  const columnValue = getValueByProp(props.model, field);
72
- if (customRender && typeof customRender === "function") {
73
- return customRender({
72
+ if (renderContent && typeof renderContent === "function") {
73
+ return renderContent({
74
74
  column,
75
75
  model: props.model,
76
76
  value: columnValue
@@ -0,0 +1,10 @@
1
+ export default {
2
+ id: 'hy-icon-dispatch-share-charu',
3
+ symbol: `<symbol id="hy-icon-dispatch-share-charu" viewBox="0 0 24 24">
4
+ <g id="hy-icon-dispatch-share-charu-anniu/charu" stroke="none" stroke-width="1" fill-rule="evenodd">
5
+ <path d="M15.5626818,16.0095982 C15.7075371,16.0513393 15.9407787,16.1642857 16.2034824,16.3263393 C16.267317,16.365625 17.6888634,17.2053571 18.7838714,18.2390625 C19.1963409,18.6294643 19.886245,19.2850446 19.8666036,20.04375 C19.8518726,20.5618304 19.5326998,21.0823661 18.8943543,21.6323661 C18.7347679,21.7747768 17.3132216,23 15.0372743,23 C14.4136598,23 13.7728591,22.9091518 13.1345136,22.7299107 C12.4617957,22.5433036 11.779257,22.2535714 11.1040838,21.8680804 C8.4402189,20.421875 6.38523737,18.5558036 4.43337319,15.8229911 C1.08205923,11.1234375 0.986307403,7.09665179 1.00103845,6.33794643 C1.0059488,2.83660714 4.17312464,1.45915179 4.53403537,1.31428571 C5.02998073,1.103125 5.46454672,1 5.86474025,1 C6.05624391,1 6.24038204,1.02455357 6.40978912,1.07120536 C6.75842398,1.16941964 7.24454864,1.42232143 7.56863175,2.07053571 C8.01301844,2.95200893 8.43285337,4.21651786 8.72010885,5.53995536 C9.02209539,6.9125 8.18488069,7.29799107 7.37712809,7.67120536 L7.34521082,7.68348214 C7.34521082,7.68348214 5.91629893,8.23348214 5.6634159,8.32924107 C5.41544322,8.425 5.28777411,8.68035714 5.37125007,8.91607143 C5.94821621,10.5267857 6.82962405,12.1939732 7.91726661,13.7433036 C8.98772294,15.265625 10.2619588,16.6725446 11.6000292,17.809375 C11.695781,17.8904018 11.8185398,17.9345982 11.9486641,17.9345982 L11.9928572,17.9321429 C12.1328022,17.9223214 12.2653816,17.8560268 12.3537679,17.7529018 C12.5722785,17.4950893 12.9037272,17.1243304 13.2572724,16.8149554 C13.92508,16.2305804 14.5290531,15.9457589 15.1011088,15.9457589 C15.2557849,15.9457589 15.4129161,15.9678571 15.5626818,16.0095982 Z" id="hy-icon-dispatch-share-charu-路径" fill-rule="nonzero"></path>
6
+ <path d="M13,3.75 C13.6903559,3.75 14.25,4.30964406 14.25,5 L14.25,8.75 C14.25,9.30228475 14.6977153,9.75 15.25,9.75 L19,9.75 L19,9.75 C19.6472087,9.75 20.1795339,10.2418747 20.2435464,10.8721948 L20.25,11 C20.25,11.6903559 19.6903559,12.25 19,12.25 L13,12.25 C12.3096441,12.25 11.75,11.6903559 11.75,11 L11.75,5 C11.75,4.30964406 12.3096441,3.75 13,3.75 Z" id="hy-icon-dispatch-share-charu-路径-12" fill-rule="nonzero"></path>
7
+ <path d="M18,0.75 C18.6903559,0.75 19.25,1.30964406 19.25,2 L19.25,3.75 C19.25,4.30228475 19.6977153,4.75 20.25,4.75 L22,4.75 L22,4.75 C22.6472087,4.75 23.1795339,5.24187466 23.2435464,5.87219476 L23.25,6 C23.25,6.69035594 22.6903559,7.25 22,7.25 L18,7.25 C17.3096441,7.25 16.75,6.69035594 16.75,6 L16.75,2 C16.75,1.30964406 17.3096441,0.75 18,0.75 Z" id="hy-icon-dispatch-share-charu-路径-12备份" fill-rule="nonzero"></path>
8
+ </g>
9
+ </symbol>`,
10
+ };
@@ -0,0 +1,8 @@
1
+ export default {
2
+ id: 'hy-icon-dispatch-share-zhongduan',
3
+ symbol: `<symbol id="hy-icon-dispatch-share-zhongduan" viewBox="0 0 24 24">
4
+ <g id="hy-icon-dispatch-share-zhongduan-anniu/zhongduan" stroke="none" stroke-width="1" fill-rule="evenodd">
5
+ <path d="M5.86474025,1 C6.05624391,1 6.24038204,1.02455357 6.40978912,1.07120536 C6.75842398,1.16941964 7.24454864,1.42232143 7.56863175,2.07053571 C8.01301844,2.95200893 8.43285337,4.21651786 8.72010885,5.53995536 C8.98270584,6.73347244 8.38390303,7.18063521 7.69211553,7.52237524 L7.48255816,7.62237549 C7.44742314,7.63872873 7.41224777,7.65497865 7.37712809,7.67120536 L7.34521082,7.68348214 C7.34521082,7.68348214 5.91629893,8.23348214 5.6634159,8.32924107 C5.41544322,8.425 5.28777411,8.68035714 5.37125007,8.91607143 C5.94821621,10.5267857 6.82962405,12.1939732 7.91726661,13.7433036 C8.98772294,15.265625 10.2619588,16.6725446 11.6000292,17.809375 C11.695781,17.8904018 11.8185398,17.9345982 11.9486641,17.9345982 L11.9928572,17.9321429 C12.1328022,17.9223214 12.2653816,17.8560268 12.3537679,17.7529018 C12.5722785,17.4950893 12.9037272,17.1243304 13.2572724,16.8149554 C13.92508,16.2305804 14.5290531,15.9457589 15.1011088,15.9457589 C15.2557849,15.9457589 15.4129161,15.9678571 15.5626818,16.0095982 C15.7075371,16.0513393 15.9407787,16.1642857 16.2034824,16.3263393 C16.267317,16.365625 17.6888634,17.2053571 18.7838714,18.2390625 C19.1963409,18.6294643 19.886245,19.2850446 19.8666036,20.04375 C19.8518726,20.5618304 19.5326998,21.0823661 18.8943543,21.6323661 C18.7347679,21.7747768 17.3132216,23 15.0372743,23 C14.4136598,23 13.7728591,22.9091518 13.1345136,22.7299107 C12.4617957,22.5433036 11.779257,22.2535714 11.1040838,21.8680804 C8.4402189,20.421875 6.38523737,18.5558036 4.43337319,15.8229911 C1.29151635,11.4171596 1.01099342,7.602628 1.00033894,6.51786788 L1.00029006,6.38959736 C1.00047261,6.37097759 1.00073156,6.35375279 1.00103845,6.33794643 C1.0059488,2.83660714 4.17312464,1.45915179 4.53403537,1.31428571 C5.02998073,1.103125 5.46454672,1 5.86474025,1 Z M22.5543017,1.43419524 C23.1419372,2.01572041 23.1449397,2.96154916 22.5610081,3.54676289 L20.113,6 L22.5610081,8.45323711 C23.108444,9.00187498 23.1400198,9.86745965 22.6576317,10.4526766 L22.5543017,10.5658048 C21.9666663,11.1473299 21.0169236,11.1443398 20.432992,10.559126 L17.998,8.119 L15.5640081,10.559126 C14.9800765,11.1443398 14.0303338,11.1473299 13.4426984,10.5658048 C12.8550629,9.98427959 12.8520604,9.03845084 13.435992,8.45323711 L15.883,6 L13.435992,3.54676289 C12.8885561,2.99812502 12.8569803,2.13254035 13.3393684,1.54732341 L13.4426984,1.43419524 C14.0303338,0.852670067 14.9800765,0.855660232 15.5640081,1.44087396 L17.998,3.88 L20.432992,1.44087396 C21.0169236,0.855660232 21.9666663,0.852670067 22.5543017,1.43419524 Z" id="hy-icon-dispatch-share-zhongduan-形状结合" fill-rule="nonzero"></path>
6
+ </g>
7
+ </symbol>`,
8
+ };
@@ -0,0 +1,9 @@
1
+ export default {
2
+ id: 'hy-icon-ops-button-dingweishangchuan',
3
+ symbol: `<symbol id="hy-icon-ops-button-dingweishangchuan" viewBox="0 0 16 16">
4
+ <g id="hy-icon-ops-button-dingweishangchuan-RButton/dingweishangchuan" stroke="none" stroke-width="1" fill-rule="evenodd">
5
+ <path d="M7.77887592,0.000866018274 C10.9860502,-0.0470985085 13.1668096,1.90398273 14.0835506,4.19686925 C14.6925212,5.71998405 14.6086364,7.85651264 13.9947427,9.29846632 C13.4950255,10.4722579 12.6577718,11.2658512 11.8339909,12.1058733 L9.31804276,14.7019578 L8.43005178,15.6075695 C8.30310332,15.7370344 8.14633617,15.8450706 8.04526445,16 L8.01570855,16 L8.01570855,15.9698213 C7.7336398,15.7784096 7.51353857,15.4576937 7.27570731,15.2151389 C6.76265753,14.6918863 6.24960192,14.1686694 5.73654046,13.6454882 C4.5758363,12.4616786 3.23739379,11.368191 2.3622273,9.90229078 C2.12984469,9.51300311 2.02425287,9.09450101 1.85904117,8.63442727 C1.64237383,8.03104923 1.37666856,6.7794358 1.56295658,5.91759218 L1.77016323,4.83085458 C1.98831976,4.14276184 2.26748023,3.48329423 2.62863335,2.92905931 C3.37471397,1.78385712 4.49494739,0.945281479 5.82531328,0.393296562 C6.23150981,0.224760001 6.70804832,0.166723995 7.15729099,0.0611520356 C7.35218123,0.0154732345 7.62824069,0.0967593574 7.77887592,0.000866018274 Z M7.57166926,2.26487339 C7.47415406,2.32560985 7.31325224,2.29109181 7.18688193,2.32527056 C6.92152706,2.39700306 6.63407973,2.45798551 6.38769881,2.56675391 C5.24801841,3.06991716 4.42691802,3.97152883 3.96054098,5.16285625 C3.85141016,5.44160765 3.8183503,5.76878786 3.75335185,6.06846794 C3.61100349,6.72463195 3.7910019,7.530261 3.96054098,8.00042408 C4.45260204,9.3649488 5.24269239,10.2349889 6.565297,10.7474557 C7.06552229,10.9412781 7.93944487,11.1605114 8.66684938,10.988957 C10.1767056,10.632848 11.3632515,9.85084409 11.9227813,8.54380181 C12.0752035,8.18760359 12.1790784,7.80260166 12.2779777,7.3966889 C12.4871115,6.53839888 12.2290799,5.54601889 11.9819807,4.95153376 C11.2755123,3.25182879 9.96937631,2.25950237 7.57166926,2.26487339 Z" id="hy-icon-ops-button-dingweishangchuan-形状结合" fill-rule="nonzero"></path>
6
+ <path d="M10.8886817,6.44673415 C10.9549834,6.51556351 10.9922364,6.60895442 10.9922364,6.70633892 C10.9922364,6.80372342 10.9549834,6.89711433 10.8886817,6.96594368 L10.3890026,7.48339318 C10.2511545,7.62627658 10.0280183,7.62627658 9.89017032,7.48339318 L8.67734252,6.33321207 L8.67734252,9.22255439 C8.67734252,9.42495811 8.51981655,9.58952113 8.32502637,9.58952113 L7.61870024,9.58952113 C7.42398448,9.58903593 7.26638352,9.42488135 7.26638408,9.22255439 L7.26638408,6.33321207 L6.09430253,7.48251317 C5.9564545,7.62539657 5.73331832,7.62539657 5.59547029,7.48251317 L5.09579113,6.96418365 C5.02948947,6.8953543 4.99223643,6.80196339 4.99223643,6.70457889 C4.99223643,6.60719439 5.02948947,6.51380348 5.09579113,6.44497412 L7.74409067,3.69668368 C7.8819387,3.55380028 8.10507489,3.55380028 8.24292292,3.69668368 L10.8886817,6.44673415 Z" id="hy-icon-ops-button-dingweishangchuan-路径" fill-rule="nonzero"></path>
7
+ </g>
8
+ </symbol>`,
9
+ };
@@ -0,0 +1,8 @@
1
+ export default {
2
+ id: 'hy-icon-ops-button-lamp',
3
+ symbol: `<symbol id="hy-icon-ops-button-lamp" viewBox="0 0 16 16">
4
+ <g id="hy-icon-ops-button-lamp-RButton/lamp" stroke="none" stroke-width="1" fill-rule="evenodd">
5
+ <path d="M5.92883943,14.4379646 C5.48001411,14.437021 5.11640066,14.0679329 5.1154711,13.6123499 L5.1154711,13.1297885 L10.8817119,13.1297885 L10.8817119,13.6123499 C10.8817119,14.0651801 10.5178365,14.4373928 10.0689068,14.4373928 L5.92883943,14.4373928 L5.92883943,14.4379646 Z M6.39354087,15.0646083 L9.60138898,15.0646083 C9.82557222,15.0646083 10.0080731,15.2521441 10.0052889,15.4774157 L10.0052889,15.5871927 C10.0052889,15.8151799 9.82317807,16 9.59857261,16 L6.39354087,16 C6.16893541,16 5.9868567,15.8151799 5.9868567,15.5871927 L5.9868567,15.4774157 C5.9868567,15.2498571 6.16879436,15.0646083 6.39354087,15.0646083 L6.39354087,15.0646083 Z M2,6.08919383 C2,2.72555746 4.6851294,0 7.99887311,0 C11.3098004,0 13.9949298,2.72555746 14,6.08919383 C14.000601,8.31360833 12.8062031,10.3613508 10.8845282,11.4305317 L10.8845282,12.3041738 L5.1154711,12.3041738 L5.1154711,11.4305317 C3.25948172,10.3933676 2,8.39108062 2,6.08919383 L2,6.08919383 Z M8.93858464,2.07786239 C8.88357764,2.03186243 8.8306334,2.04252909 8.78043951,2.10986237 L5.2036091,6.63652571 C5.1596035,6.69252567 5.1541028,6.7431923 5.187107,6.78585893 C5.21186015,6.83119223 5.25036505,6.85252555 5.30880999,6.85252555 L7.63079313,6.85252555 L7.0972252,9.89985664 C7.0752224,9.96652326 7.1027259,10.0125232 7.18317364,10.0331899 C7.19417504,10.0445232 7.21342749,10.0498565 7.23543029,10.0498565 C7.28139828,10.049633 7.32530947,10.0313522 7.35713329,9.9991899 L10.6575535,5.47519323 C10.6686688,5.425774 10.6686688,5.37461257 10.6575535,5.32519334 C10.6334879,5.27986004 10.594983,5.25852672 10.5365381,5.25852672 L8.49096515,5.25852672 L9.02453308,2.21186229 C9.02453308,2.13386235 8.99702958,2.08786239 8.93858464,2.07786239 Z" id="hy-icon-ops-button-lamp-形状" fill-rule="nonzero"></path>
6
+ </g>
7
+ </symbol>`,
8
+ };
@@ -0,0 +1,8 @@
1
+ export default {
2
+ id: 'hy-icon-ops-button-restart',
3
+ symbol: `<symbol id="hy-icon-ops-button-restart" viewBox="0 0 16 16">
4
+ <g id="hy-icon-ops-button-restart-RButton/Restart" stroke="none" stroke-width="1" fill-rule="evenodd">
5
+ <path d="M8,16 C3.5816,16 0,12.4184 0,8 C0,3.5816 3.5816,0 8,0 C12.4184,0 16,3.5816 16,8 C16,12.4184 12.4184,16 8,16 Z M11.856,12.0608 C13.9704694,10.049625 14.1860587,6.75179958 12.3514202,4.48245886 C10.5167818,2.21311815 7.24697057,1.73304935 4.83745528,3.37926974 C2.42793998,5.02549012 1.68650073,8.24611105 3.13364176,10.7801964 C4.58078278,13.3142817 7.73135598,14.3122896 10.3736,13.0736 L9.59440001,11.6696 C7.97275039,12.3743998 6.08075213,11.9308558 4.94130202,10.5787671 C3.80185191,9.22667849 3.68532961,7.28688177 4.65473215,5.80811573 C5.62413469,4.32934969 7.44943295,3.66251012 9.14379104,4.16811957 C10.8381491,4.67372902 11.9995135,6.23181165 12,8 L9.59999999,8 L11.856,12.0608 L11.856,12.0608 Z" id="hy-icon-ops-button-restart-形状" fill-rule="nonzero"></path>
6
+ </g>
7
+ </symbol>`,
8
+ };
@@ -0,0 +1,8 @@
1
+ export default {
2
+ id: 'hy-icon-ops-button-shutdown',
3
+ symbol: `<symbol id="hy-icon-ops-button-shutdown" viewBox="0 0 16 16">
4
+ <g id="hy-icon-ops-button-shutdown-RButton/Shutdown" stroke="none" stroke-width="1" fill-rule="evenodd">
5
+ <path d="M8,0 C3.57818181,0 0,3.57818181 0,8 C0,12.4218182 3.57818183,16 8,16 C12.4218182,16 16,12.4218182 16,8 C16,3.57818183 12.4218182,0 8,0 Z M7.12727274,3.05454544 C7.12727274,2.57454545 7.52,2.18181818 8,2.18181818 C8.48,2.18181818 8.87272726,2.57454545 8.87272726,3.05454544 L8.87272726,8.21818183 C8.87272726,8.69818182 8.48,9.09090909 8,9.09090909 C7.52,9.09090909 7.12727274,8.69818182 7.12727274,8.21818183 L7.12727274,3.05454544 Z M8,13.4545455 C4.9890909,13.4545455 2.54545455,11.0109091 2.54545455,8 C2.54545455,6.08727273 3.52727274,4.40727273 5.01818182,3.43272726 L5.97090909,4.77090909 C4.90181817,5.44727273 4.18181818,6.64000001 4.18181818,8 C4.18181818,10.1018182 5.89818181,11.8181818 8,11.8181818 C10.1018182,11.8181818 11.8181818,10.1018182 11.8181818,8 C11.8181818,6.64727272 11.1054546,5.45454545 10.0436364,4.77818182 L10.9963636,3.44000001 C12.4727273,4.41454545 13.4545455,6.09454546 13.4545455,8 C13.4545455,11.0109091 11.0109091,13.4545455 8,13.4545455 L8,13.4545455 Z" id="hy-icon-ops-button-shutdown-形状" fill-rule="nonzero"></path>
6
+ </g>
7
+ </symbol>`,
8
+ };
@@ -0,0 +1,8 @@
1
+ export default {
2
+ id: 'hy-icon-ops-button-volume',
3
+ symbol: `<symbol id="hy-icon-ops-button-volume" viewBox="0 0 16 16">
4
+ <g id="hy-icon-ops-button-volume-RButton/volume" stroke="none" stroke-width="1" fill-rule="evenodd">
5
+ <path d="M1.77635684e-15,6.22591963 L1.77635684e-15,9.77408037 C1.77635684e-15,10.2639791 0.397958533,10.6611205 0.888865261,10.6611205 L3.55546104,10.6611205 L6.47982776,13.5794827 C6.73412363,13.8353583 7.11827016,13.9122664 7.45178549,13.7740736 C7.78530082,13.6358808 8.00188742,13.3100576 7.9998025,12.9496842 L7.9998025,3.04144539 C8.00188742,2.68107194 7.78530082,2.3552488 7.45178549,2.21705601 C7.11827016,2.07886321 6.73412363,2.15577129 6.47982776,2.41164686 L3.55546104,5.33887945 L0.888865261,5.33887945 C0.397958533,5.33887945 1.77635684e-15,5.73602087 1.77635684e-15,6.22591963 Z M11.9996836,7.99999999 C11.9992999,6.48397432 11.1383777,5.09901723 9.77751788,4.42522808 L9.77751788,11.5659015 C11.1393256,10.8977315 12.001386,9.51438461 11.9996836,7.99999999 L11.9996836,7.99999999 Z M9.7775051,1.30284664 L9.7775051,1.48025468 C9.7846082,1.81659274 9.99564032,2.11494106 10.310837,2.23423882 C12.6738717,3.17681397 14.2235542,5.46041857 14.2235542,8 C14.2235542,10.5395814 12.6738717,12.823186 10.310837,13.7657612 C9.99324482,13.8819566 9.78087678,14.1821936 9.7775051,14.5197453 L9.7775051,14.6971534 C9.7760383,14.9587806 9.90310998,15.2045277 10.1176376,15.3549195 C10.3321652,15.5053113 10.6069197,15.5412592 10.8530448,15.4511375 C13.9518813,14.2739648 16,11.3089469 16,8 C16,4.69105314 13.9518813,1.72603525 10.8530448,0.548862478 C10.6069197,0.458740837 10.3321652,0.494688727 10.1176376,0.645080504 C9.90310998,0.795472281 9.7760383,1.04121942 9.7775051,1.30284664 L9.7775051,1.30284664 Z" id="hy-icon-ops-button-volume-形状" fill-rule="nonzero"></path>
6
+ </g>
7
+ </symbol>`,
8
+ };
@@ -0,0 +1,8 @@
1
+ export default {
2
+ id: 'hy-icon-ops-button-wifi',
3
+ symbol: `<symbol id="hy-icon-ops-button-wifi" viewBox="0 0 16 16">
4
+ <g id="hy-icon-ops-button-wifi-RButton/Wifi" stroke="none" stroke-width="1" fill-rule="evenodd">
5
+ <path d="M8.00096269,11.9956339 C8.65566806,11.9956339 9.18639957,12.5562483 9.18639957,13.247817 C9.18639957,13.9393856 8.65566806,14.5 8.00096269,14.5 C7.34625732,14.5 6.81552582,13.9393856 6.81552582,13.247817 C6.81552582,12.5562483 7.34625732,11.9956339 8.00096269,11.9956339 Z M8.00096269,8.41052121 C9.29106335,8.41052121 10.5281858,8.99031569 11.3956603,10.0006257 C11.7600448,10.4249234 11.7293044,11.08004 11.3276234,11.4649576 C11.140518,11.6453096 10.9043432,11.7337748 10.668838,11.7337748 C10.4019072,11.7337748 10.135646,11.6190398 9.94200014,11.3937643 C9.44545061,10.8146771 8.73824983,10.483648 8.00096269,10.483648 C7.25123301,10.483648 6.56234567,10.8049884 6.06123335,11.3889281 C5.69748738,11.8139331 5.07730658,11.8464043 4.67495601,11.4607959 C4.27327506,11.0758947 4.24251908,10.4207616 4.6069191,9.99715487 C5.47177739,8.98891749 6.70889988,8.41052121 8.00096269,8.41052121 Z M8.00093155,4.95527705 C10.0904698,4.95527705 12.0570464,5.81217931 13.5381612,7.36841436 C13.9228368,7.77198567 13.9241449,8.42848403 13.5420855,8.83481885 C13.3504017,9.03729538 13.0978756,9.14026906 12.8460036,9.14026906 C12.5954708,9.14026906 12.3449068,9.03936801 12.1538771,8.83827324 C11.0430332,7.67108461 9.56842783,7.02842026 8.00093155,7.02842026 C6.43018059,7.02842026 4.95492112,7.66971931 3.8460394,8.83412797 C3.46201784,9.23769928 2.84051336,9.23561019 2.45845395,8.8299827 C2.07639454,8.42433876 2.07770265,7.7678404 2.46237826,7.36426909 C3.94089241,5.81079756 5.90810748,4.95527705 8.00093155,4.95527705 Z M8.00097827,1.5 C10.8840832,1.5 13.6173792,2.66026339 15.6977763,4.7658943 C16.0889925,5.1618495 16.1020891,5.81836432 15.7272086,6.23160791 C15.5342168,6.44375673 15.2764583,6.55089213 15.0186842,6.55089213 C14.7746763,6.55089213 14.5299988,6.45484367 14.3396232,6.26273031 C12.6262423,4.5282159 10.3757607,3.5731761 8.00096269,3.5731761 C5.62160186,3.5731761 3.3697966,4.5268177 1.66100966,6.25995035 C1.27043202,6.65590555 0.648943111,6.64279532 0.273424217,6.22953528 C-0.102094676,5.81629168 -0.0890136496,5.15980977 0.301563997,4.76382167 C2.37803678,2.65888164 5.1119713,1.5 8.00097827,1.5 Z" id="hy-icon-ops-button-wifi-形状结合" fill-rule="nonzero"></path>
6
+ </g>
7
+ </symbol>`,
8
+ };
@@ -0,0 +1,8 @@
1
+ export default {
2
+ id: 'hy-icon-ops-button-yujing',
3
+ symbol: `<symbol id="hy-icon-ops-button-yujing" viewBox="0 0 16 16">
4
+ <g id="hy-icon-ops-button-yujing-RButton/yujing" stroke="none" stroke-width="1" fill-rule="evenodd">
5
+ <path d="M13.1136364,14.1363636 L14.8181818,14.1363636 C15.1947006,14.1364188 15.4999001,14.4416631 15.4999001,14.8181818 C15.4999001,15.1947006 15.1947006,15.5 14.8181818,15.5 L1.18181819,15.5 C0.805299432,15.5 0.500099938,15.1947006 0.500099938,14.8181818 C0.500099938,14.4416631 0.805299432,14.1364188 1.18181819,14.1363636 L2.88636364,14.1363636 L2.88636364,7.65909091 C2.88636364,4.835 5.17590909,2.54545455 8,2.54545455 C10.8240909,2.54545455 13.1136364,4.835 13.1136364,7.65909091 L13.1136364,14.1363636 Z M8.11528403,10.0372435 L7.16431031,12.3046052 L8.95432222,12.9137729 L10.8734905,8.33855321 L8,8.31270451 L8.95527893,6.01863247 L7.1633536,5.41377291 L5.24849052,10.0122565 L8.11528403,10.0372435 Z M6.63636364,0.5 L9.36363636,0.5 L9.36363636,1.86363636 L6.63636364,1.86363636 L6.63636364,0.5 Z M12.3390909,1.73238636 L14.2676136,3.66090909 L13.3031818,4.62534091 L11.375,2.69681819 L12.3394318,1.73238636 L12.3390909,1.73238636 Z M15.5,6.63636364 L15.5,9.36363636 L14.1363636,9.36363636 L14.1363636,6.63636364 L15.5,6.63636364 Z M0.5,9.36363636 L0.5,6.63636364 L1.86363636,6.63636364 L1.86363636,9.36363636 L0.5,9.36363636 Z M1.73238636,3.66090909 L3.66090909,1.73238636 L4.62534091,2.69681819 L2.69681819,4.625 L1.73238636,3.66090909 Z" id="hy-icon-ops-button-yujing-形状" fill-rule="nonzero"></path>
6
+ </g>
7
+ </symbol>`,
8
+ };
@@ -0,0 +1,12 @@
1
+ export default {
2
+ id: 'hy-icon-ops-list-grayout',
3
+ defs: `<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="hy-icon-ops-list-grayout-linearGradient-1">
4
+ <stop stop-color="#9DA7B2" offset="0%"></stop>
5
+ <stop stop-color="#586471" offset="100%"></stop>
6
+ </linearGradient>`,
7
+ symbol: `<symbol id="hy-icon-ops-list-grayout" viewBox="0 0 12 12">
8
+ <g id="hy-icon-ops-list-grayout-状态/置灰" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
9
+ <path d="M6.41070049,0.13446417 C7.41256421,0.928299855 9.24582936,1.54952243 10.2322378,1.88459494 L10.5663439,1.9981319 C10.8254466,2.09043838 11,2.33966586 11,2.61935448 L10.9918178,6.34715147 L10.9913632,6.48238046 L10.9909087,6.65499356 L10.9904541,6.75006923 L10.9904541,6.79206868 L10.9899995,6.8936058 L10.9899995,6.91991315 L10.989545,6.97437397 L10.989545,6.9905276 L10.989545,6.78191497 C10.8404473,8.28466438 9.77267149,9.69649192 8.90081367,10.4252515 C8.20896404,11.0040131 7.2825583,11.529237 6.12159644,12 C4.8315378,11.5273908 3.83694713,11.0026285 3.13782445,10.4252515 C2.2705123,9.70710716 1.20682758,8.32389463 1.03318333,6.84837563 L1.02636483,6.78191497 L1.02591027,7.00021978 L1.02136461,6.88345209 C1.00772762,6.50822627 1.0013637,5.962695 1,5.37793348 L1,4.78486438 C1.00181826,3.92318344 1.01136415,3.07119467 1.02000091,2.6239698 C1.02443642,2.34378038 1.2038348,2.0974544 1.46638484,2.01105481 C3.40147279,1.38567844 4.84562935,0.735840854 5.64112005,0.129848846 C5.86903761,-0.0449821758 6.18437717,-0.0430921394 6.41070049,0.13446417 Z M5.11333048,1.8845739 L5.11333048,5.11767735 C3.93204133,5.52696398 3.24184904,6.7311781 3.49888017,7.93449218 C3.7559113,9.13780626 4.88078408,9.96858759 6.13010521,9.87779871 C7.37942633,9.78700983 8.36735423,8.80269008 8.44099817,7.57534565 L8.44537175,7.43124584 L8.44099817,7.28775922 C8.38523872,6.35753042 7.79758448,5.53850531 6.92399157,5.17347771 L6.77903871,5.11829055 L6.77903871,4.31612868 L8.44537175,4.31612868 L8.44537175,2.89945564 L6.77903871,2.89945564 L6.77903871,1.8845739 L5.11333048,1.8845739 Z M6,8.39591623 C6.55228475,8.39591623 7,7.94820098 7,7.39591623 C7,6.84363148 6.55228475,6.39591623 6,6.39591623 C5.44771525,6.39591623 5,6.84363148 5,7.39591623 C5,7.94820098 5.44771525,8.39591623 6,8.39591623 Z" id="hy-icon-ops-list-grayout-状态/激活" fill="url(#hy-icon-ops-list-grayout-linearGradient-1)" fill-rule="nonzero"></path>
10
+ </g>
11
+ </symbol>`,
12
+ };
@@ -57,14 +57,10 @@ function keepTwoDecimalPlaces(value) {
57
57
  return num.toString();
58
58
  }
59
59
  function filterSpaces(row, name) {
60
- if (typeof row === "string") {
61
- this[row] = this[row].toString().replace(/[`\s]/g, "");
62
- } else {
63
- if (row[name] && row[name].length !== 0 && row[name] !== null) {
64
- row[name] += "";
65
- row[name] = row[name].replace(/[` ]/g, "");
66
- row[name] = row[name].replace(/\s/g, "");
67
- }
60
+ if (row[name] && row[name].length !== 0 && row[name] !== null) {
61
+ row[name] += "";
62
+ row[name] = row[name].replace(/[` ]/g, "");
63
+ row[name] = row[name].replace(/\s/g, "");
68
64
  }
69
65
  }
70
66
  function inputForbidden(row, name, content) {
package/es/version.mjs CHANGED
@@ -1,3 +1,3 @@
1
- const version = "0.2.56";
1
+ const version = "0.2.58";
2
2
 
3
3
  export { version };
@@ -68,11 +68,11 @@ function isDisabled(props, column) {
68
68
  return false;
69
69
  }
70
70
  function renderText(props, column = {}) {
71
- const { type, field, customRender } = column;
71
+ const { type, field, renderContent } = column;
72
72
  const { props: fieldNames } = column.attrs || {};
73
73
  const columnValue = form.getValueByProp(props.model, field);
74
- if (customRender && typeof customRender === "function") {
75
- return customRender({
74
+ if (renderContent && typeof renderContent === "function") {
75
+ return renderContent({
76
76
  column,
77
77
  model: props.model,
78
78
  value: columnValue
@@ -0,0 +1,10 @@
1
+ export default {
2
+ id: 'hy-icon-dispatch-share-charu',
3
+ symbol: `<symbol id="hy-icon-dispatch-share-charu" viewBox="0 0 24 24">
4
+ <g id="hy-icon-dispatch-share-charu-anniu/charu" stroke="none" stroke-width="1" fill-rule="evenodd">
5
+ <path d="M15.5626818,16.0095982 C15.7075371,16.0513393 15.9407787,16.1642857 16.2034824,16.3263393 C16.267317,16.365625 17.6888634,17.2053571 18.7838714,18.2390625 C19.1963409,18.6294643 19.886245,19.2850446 19.8666036,20.04375 C19.8518726,20.5618304 19.5326998,21.0823661 18.8943543,21.6323661 C18.7347679,21.7747768 17.3132216,23 15.0372743,23 C14.4136598,23 13.7728591,22.9091518 13.1345136,22.7299107 C12.4617957,22.5433036 11.779257,22.2535714 11.1040838,21.8680804 C8.4402189,20.421875 6.38523737,18.5558036 4.43337319,15.8229911 C1.08205923,11.1234375 0.986307403,7.09665179 1.00103845,6.33794643 C1.0059488,2.83660714 4.17312464,1.45915179 4.53403537,1.31428571 C5.02998073,1.103125 5.46454672,1 5.86474025,1 C6.05624391,1 6.24038204,1.02455357 6.40978912,1.07120536 C6.75842398,1.16941964 7.24454864,1.42232143 7.56863175,2.07053571 C8.01301844,2.95200893 8.43285337,4.21651786 8.72010885,5.53995536 C9.02209539,6.9125 8.18488069,7.29799107 7.37712809,7.67120536 L7.34521082,7.68348214 C7.34521082,7.68348214 5.91629893,8.23348214 5.6634159,8.32924107 C5.41544322,8.425 5.28777411,8.68035714 5.37125007,8.91607143 C5.94821621,10.5267857 6.82962405,12.1939732 7.91726661,13.7433036 C8.98772294,15.265625 10.2619588,16.6725446 11.6000292,17.809375 C11.695781,17.8904018 11.8185398,17.9345982 11.9486641,17.9345982 L11.9928572,17.9321429 C12.1328022,17.9223214 12.2653816,17.8560268 12.3537679,17.7529018 C12.5722785,17.4950893 12.9037272,17.1243304 13.2572724,16.8149554 C13.92508,16.2305804 14.5290531,15.9457589 15.1011088,15.9457589 C15.2557849,15.9457589 15.4129161,15.9678571 15.5626818,16.0095982 Z" id="hy-icon-dispatch-share-charu-路径" fill-rule="nonzero"></path>
6
+ <path d="M13,3.75 C13.6903559,3.75 14.25,4.30964406 14.25,5 L14.25,8.75 C14.25,9.30228475 14.6977153,9.75 15.25,9.75 L19,9.75 L19,9.75 C19.6472087,9.75 20.1795339,10.2418747 20.2435464,10.8721948 L20.25,11 C20.25,11.6903559 19.6903559,12.25 19,12.25 L13,12.25 C12.3096441,12.25 11.75,11.6903559 11.75,11 L11.75,5 C11.75,4.30964406 12.3096441,3.75 13,3.75 Z" id="hy-icon-dispatch-share-charu-路径-12" fill-rule="nonzero"></path>
7
+ <path d="M18,0.75 C18.6903559,0.75 19.25,1.30964406 19.25,2 L19.25,3.75 C19.25,4.30228475 19.6977153,4.75 20.25,4.75 L22,4.75 L22,4.75 C22.6472087,4.75 23.1795339,5.24187466 23.2435464,5.87219476 L23.25,6 C23.25,6.69035594 22.6903559,7.25 22,7.25 L18,7.25 C17.3096441,7.25 16.75,6.69035594 16.75,6 L16.75,2 C16.75,1.30964406 17.3096441,0.75 18,0.75 Z" id="hy-icon-dispatch-share-charu-路径-12备份" fill-rule="nonzero"></path>
8
+ </g>
9
+ </symbol>`,
10
+ };
@@ -0,0 +1,8 @@
1
+ export default {
2
+ id: 'hy-icon-dispatch-share-zhongduan',
3
+ symbol: `<symbol id="hy-icon-dispatch-share-zhongduan" viewBox="0 0 24 24">
4
+ <g id="hy-icon-dispatch-share-zhongduan-anniu/zhongduan" stroke="none" stroke-width="1" fill-rule="evenodd">
5
+ <path d="M5.86474025,1 C6.05624391,1 6.24038204,1.02455357 6.40978912,1.07120536 C6.75842398,1.16941964 7.24454864,1.42232143 7.56863175,2.07053571 C8.01301844,2.95200893 8.43285337,4.21651786 8.72010885,5.53995536 C8.98270584,6.73347244 8.38390303,7.18063521 7.69211553,7.52237524 L7.48255816,7.62237549 C7.44742314,7.63872873 7.41224777,7.65497865 7.37712809,7.67120536 L7.34521082,7.68348214 C7.34521082,7.68348214 5.91629893,8.23348214 5.6634159,8.32924107 C5.41544322,8.425 5.28777411,8.68035714 5.37125007,8.91607143 C5.94821621,10.5267857 6.82962405,12.1939732 7.91726661,13.7433036 C8.98772294,15.265625 10.2619588,16.6725446 11.6000292,17.809375 C11.695781,17.8904018 11.8185398,17.9345982 11.9486641,17.9345982 L11.9928572,17.9321429 C12.1328022,17.9223214 12.2653816,17.8560268 12.3537679,17.7529018 C12.5722785,17.4950893 12.9037272,17.1243304 13.2572724,16.8149554 C13.92508,16.2305804 14.5290531,15.9457589 15.1011088,15.9457589 C15.2557849,15.9457589 15.4129161,15.9678571 15.5626818,16.0095982 C15.7075371,16.0513393 15.9407787,16.1642857 16.2034824,16.3263393 C16.267317,16.365625 17.6888634,17.2053571 18.7838714,18.2390625 C19.1963409,18.6294643 19.886245,19.2850446 19.8666036,20.04375 C19.8518726,20.5618304 19.5326998,21.0823661 18.8943543,21.6323661 C18.7347679,21.7747768 17.3132216,23 15.0372743,23 C14.4136598,23 13.7728591,22.9091518 13.1345136,22.7299107 C12.4617957,22.5433036 11.779257,22.2535714 11.1040838,21.8680804 C8.4402189,20.421875 6.38523737,18.5558036 4.43337319,15.8229911 C1.29151635,11.4171596 1.01099342,7.602628 1.00033894,6.51786788 L1.00029006,6.38959736 C1.00047261,6.37097759 1.00073156,6.35375279 1.00103845,6.33794643 C1.0059488,2.83660714 4.17312464,1.45915179 4.53403537,1.31428571 C5.02998073,1.103125 5.46454672,1 5.86474025,1 Z M22.5543017,1.43419524 C23.1419372,2.01572041 23.1449397,2.96154916 22.5610081,3.54676289 L20.113,6 L22.5610081,8.45323711 C23.108444,9.00187498 23.1400198,9.86745965 22.6576317,10.4526766 L22.5543017,10.5658048 C21.9666663,11.1473299 21.0169236,11.1443398 20.432992,10.559126 L17.998,8.119 L15.5640081,10.559126 C14.9800765,11.1443398 14.0303338,11.1473299 13.4426984,10.5658048 C12.8550629,9.98427959 12.8520604,9.03845084 13.435992,8.45323711 L15.883,6 L13.435992,3.54676289 C12.8885561,2.99812502 12.8569803,2.13254035 13.3393684,1.54732341 L13.4426984,1.43419524 C14.0303338,0.852670067 14.9800765,0.855660232 15.5640081,1.44087396 L17.998,3.88 L20.432992,1.44087396 C21.0169236,0.855660232 21.9666663,0.852670067 22.5543017,1.43419524 Z" id="hy-icon-dispatch-share-zhongduan-形状结合" fill-rule="nonzero"></path>
6
+ </g>
7
+ </symbol>`,
8
+ };
@@ -0,0 +1,9 @@
1
+ export default {
2
+ id: 'hy-icon-ops-button-dingweishangchuan',
3
+ symbol: `<symbol id="hy-icon-ops-button-dingweishangchuan" viewBox="0 0 16 16">
4
+ <g id="hy-icon-ops-button-dingweishangchuan-RButton/dingweishangchuan" stroke="none" stroke-width="1" fill-rule="evenodd">
5
+ <path d="M7.77887592,0.000866018274 C10.9860502,-0.0470985085 13.1668096,1.90398273 14.0835506,4.19686925 C14.6925212,5.71998405 14.6086364,7.85651264 13.9947427,9.29846632 C13.4950255,10.4722579 12.6577718,11.2658512 11.8339909,12.1058733 L9.31804276,14.7019578 L8.43005178,15.6075695 C8.30310332,15.7370344 8.14633617,15.8450706 8.04526445,16 L8.01570855,16 L8.01570855,15.9698213 C7.7336398,15.7784096 7.51353857,15.4576937 7.27570731,15.2151389 C6.76265753,14.6918863 6.24960192,14.1686694 5.73654046,13.6454882 C4.5758363,12.4616786 3.23739379,11.368191 2.3622273,9.90229078 C2.12984469,9.51300311 2.02425287,9.09450101 1.85904117,8.63442727 C1.64237383,8.03104923 1.37666856,6.7794358 1.56295658,5.91759218 L1.77016323,4.83085458 C1.98831976,4.14276184 2.26748023,3.48329423 2.62863335,2.92905931 C3.37471397,1.78385712 4.49494739,0.945281479 5.82531328,0.393296562 C6.23150981,0.224760001 6.70804832,0.166723995 7.15729099,0.0611520356 C7.35218123,0.0154732345 7.62824069,0.0967593574 7.77887592,0.000866018274 Z M7.57166926,2.26487339 C7.47415406,2.32560985 7.31325224,2.29109181 7.18688193,2.32527056 C6.92152706,2.39700306 6.63407973,2.45798551 6.38769881,2.56675391 C5.24801841,3.06991716 4.42691802,3.97152883 3.96054098,5.16285625 C3.85141016,5.44160765 3.8183503,5.76878786 3.75335185,6.06846794 C3.61100349,6.72463195 3.7910019,7.530261 3.96054098,8.00042408 C4.45260204,9.3649488 5.24269239,10.2349889 6.565297,10.7474557 C7.06552229,10.9412781 7.93944487,11.1605114 8.66684938,10.988957 C10.1767056,10.632848 11.3632515,9.85084409 11.9227813,8.54380181 C12.0752035,8.18760359 12.1790784,7.80260166 12.2779777,7.3966889 C12.4871115,6.53839888 12.2290799,5.54601889 11.9819807,4.95153376 C11.2755123,3.25182879 9.96937631,2.25950237 7.57166926,2.26487339 Z" id="hy-icon-ops-button-dingweishangchuan-形状结合" fill-rule="nonzero"></path>
6
+ <path d="M10.8886817,6.44673415 C10.9549834,6.51556351 10.9922364,6.60895442 10.9922364,6.70633892 C10.9922364,6.80372342 10.9549834,6.89711433 10.8886817,6.96594368 L10.3890026,7.48339318 C10.2511545,7.62627658 10.0280183,7.62627658 9.89017032,7.48339318 L8.67734252,6.33321207 L8.67734252,9.22255439 C8.67734252,9.42495811 8.51981655,9.58952113 8.32502637,9.58952113 L7.61870024,9.58952113 C7.42398448,9.58903593 7.26638352,9.42488135 7.26638408,9.22255439 L7.26638408,6.33321207 L6.09430253,7.48251317 C5.9564545,7.62539657 5.73331832,7.62539657 5.59547029,7.48251317 L5.09579113,6.96418365 C5.02948947,6.8953543 4.99223643,6.80196339 4.99223643,6.70457889 C4.99223643,6.60719439 5.02948947,6.51380348 5.09579113,6.44497412 L7.74409067,3.69668368 C7.8819387,3.55380028 8.10507489,3.55380028 8.24292292,3.69668368 L10.8886817,6.44673415 Z" id="hy-icon-ops-button-dingweishangchuan-路径" fill-rule="nonzero"></path>
7
+ </g>
8
+ </symbol>`,
9
+ };
@@ -0,0 +1,8 @@
1
+ export default {
2
+ id: 'hy-icon-ops-button-lamp',
3
+ symbol: `<symbol id="hy-icon-ops-button-lamp" viewBox="0 0 16 16">
4
+ <g id="hy-icon-ops-button-lamp-RButton/lamp" stroke="none" stroke-width="1" fill-rule="evenodd">
5
+ <path d="M5.92883943,14.4379646 C5.48001411,14.437021 5.11640066,14.0679329 5.1154711,13.6123499 L5.1154711,13.1297885 L10.8817119,13.1297885 L10.8817119,13.6123499 C10.8817119,14.0651801 10.5178365,14.4373928 10.0689068,14.4373928 L5.92883943,14.4373928 L5.92883943,14.4379646 Z M6.39354087,15.0646083 L9.60138898,15.0646083 C9.82557222,15.0646083 10.0080731,15.2521441 10.0052889,15.4774157 L10.0052889,15.5871927 C10.0052889,15.8151799 9.82317807,16 9.59857261,16 L6.39354087,16 C6.16893541,16 5.9868567,15.8151799 5.9868567,15.5871927 L5.9868567,15.4774157 C5.9868567,15.2498571 6.16879436,15.0646083 6.39354087,15.0646083 L6.39354087,15.0646083 Z M2,6.08919383 C2,2.72555746 4.6851294,0 7.99887311,0 C11.3098004,0 13.9949298,2.72555746 14,6.08919383 C14.000601,8.31360833 12.8062031,10.3613508 10.8845282,11.4305317 L10.8845282,12.3041738 L5.1154711,12.3041738 L5.1154711,11.4305317 C3.25948172,10.3933676 2,8.39108062 2,6.08919383 L2,6.08919383 Z M8.93858464,2.07786239 C8.88357764,2.03186243 8.8306334,2.04252909 8.78043951,2.10986237 L5.2036091,6.63652571 C5.1596035,6.69252567 5.1541028,6.7431923 5.187107,6.78585893 C5.21186015,6.83119223 5.25036505,6.85252555 5.30880999,6.85252555 L7.63079313,6.85252555 L7.0972252,9.89985664 C7.0752224,9.96652326 7.1027259,10.0125232 7.18317364,10.0331899 C7.19417504,10.0445232 7.21342749,10.0498565 7.23543029,10.0498565 C7.28139828,10.049633 7.32530947,10.0313522 7.35713329,9.9991899 L10.6575535,5.47519323 C10.6686688,5.425774 10.6686688,5.37461257 10.6575535,5.32519334 C10.6334879,5.27986004 10.594983,5.25852672 10.5365381,5.25852672 L8.49096515,5.25852672 L9.02453308,2.21186229 C9.02453308,2.13386235 8.99702958,2.08786239 8.93858464,2.07786239 Z" id="hy-icon-ops-button-lamp-形状" fill-rule="nonzero"></path>
6
+ </g>
7
+ </symbol>`,
8
+ };
@@ -0,0 +1,8 @@
1
+ export default {
2
+ id: 'hy-icon-ops-button-restart',
3
+ symbol: `<symbol id="hy-icon-ops-button-restart" viewBox="0 0 16 16">
4
+ <g id="hy-icon-ops-button-restart-RButton/Restart" stroke="none" stroke-width="1" fill-rule="evenodd">
5
+ <path d="M8,16 C3.5816,16 0,12.4184 0,8 C0,3.5816 3.5816,0 8,0 C12.4184,0 16,3.5816 16,8 C16,12.4184 12.4184,16 8,16 Z M11.856,12.0608 C13.9704694,10.049625 14.1860587,6.75179958 12.3514202,4.48245886 C10.5167818,2.21311815 7.24697057,1.73304935 4.83745528,3.37926974 C2.42793998,5.02549012 1.68650073,8.24611105 3.13364176,10.7801964 C4.58078278,13.3142817 7.73135598,14.3122896 10.3736,13.0736 L9.59440001,11.6696 C7.97275039,12.3743998 6.08075213,11.9308558 4.94130202,10.5787671 C3.80185191,9.22667849 3.68532961,7.28688177 4.65473215,5.80811573 C5.62413469,4.32934969 7.44943295,3.66251012 9.14379104,4.16811957 C10.8381491,4.67372902 11.9995135,6.23181165 12,8 L9.59999999,8 L11.856,12.0608 L11.856,12.0608 Z" id="hy-icon-ops-button-restart-形状" fill-rule="nonzero"></path>
6
+ </g>
7
+ </symbol>`,
8
+ };
@@ -0,0 +1,8 @@
1
+ export default {
2
+ id: 'hy-icon-ops-button-shutdown',
3
+ symbol: `<symbol id="hy-icon-ops-button-shutdown" viewBox="0 0 16 16">
4
+ <g id="hy-icon-ops-button-shutdown-RButton/Shutdown" stroke="none" stroke-width="1" fill-rule="evenodd">
5
+ <path d="M8,0 C3.57818181,0 0,3.57818181 0,8 C0,12.4218182 3.57818183,16 8,16 C12.4218182,16 16,12.4218182 16,8 C16,3.57818183 12.4218182,0 8,0 Z M7.12727274,3.05454544 C7.12727274,2.57454545 7.52,2.18181818 8,2.18181818 C8.48,2.18181818 8.87272726,2.57454545 8.87272726,3.05454544 L8.87272726,8.21818183 C8.87272726,8.69818182 8.48,9.09090909 8,9.09090909 C7.52,9.09090909 7.12727274,8.69818182 7.12727274,8.21818183 L7.12727274,3.05454544 Z M8,13.4545455 C4.9890909,13.4545455 2.54545455,11.0109091 2.54545455,8 C2.54545455,6.08727273 3.52727274,4.40727273 5.01818182,3.43272726 L5.97090909,4.77090909 C4.90181817,5.44727273 4.18181818,6.64000001 4.18181818,8 C4.18181818,10.1018182 5.89818181,11.8181818 8,11.8181818 C10.1018182,11.8181818 11.8181818,10.1018182 11.8181818,8 C11.8181818,6.64727272 11.1054546,5.45454545 10.0436364,4.77818182 L10.9963636,3.44000001 C12.4727273,4.41454545 13.4545455,6.09454546 13.4545455,8 C13.4545455,11.0109091 11.0109091,13.4545455 8,13.4545455 L8,13.4545455 Z" id="hy-icon-ops-button-shutdown-形状" fill-rule="nonzero"></path>
6
+ </g>
7
+ </symbol>`,
8
+ };
@@ -0,0 +1,8 @@
1
+ export default {
2
+ id: 'hy-icon-ops-button-volume',
3
+ symbol: `<symbol id="hy-icon-ops-button-volume" viewBox="0 0 16 16">
4
+ <g id="hy-icon-ops-button-volume-RButton/volume" stroke="none" stroke-width="1" fill-rule="evenodd">
5
+ <path d="M1.77635684e-15,6.22591963 L1.77635684e-15,9.77408037 C1.77635684e-15,10.2639791 0.397958533,10.6611205 0.888865261,10.6611205 L3.55546104,10.6611205 L6.47982776,13.5794827 C6.73412363,13.8353583 7.11827016,13.9122664 7.45178549,13.7740736 C7.78530082,13.6358808 8.00188742,13.3100576 7.9998025,12.9496842 L7.9998025,3.04144539 C8.00188742,2.68107194 7.78530082,2.3552488 7.45178549,2.21705601 C7.11827016,2.07886321 6.73412363,2.15577129 6.47982776,2.41164686 L3.55546104,5.33887945 L0.888865261,5.33887945 C0.397958533,5.33887945 1.77635684e-15,5.73602087 1.77635684e-15,6.22591963 Z M11.9996836,7.99999999 C11.9992999,6.48397432 11.1383777,5.09901723 9.77751788,4.42522808 L9.77751788,11.5659015 C11.1393256,10.8977315 12.001386,9.51438461 11.9996836,7.99999999 L11.9996836,7.99999999 Z M9.7775051,1.30284664 L9.7775051,1.48025468 C9.7846082,1.81659274 9.99564032,2.11494106 10.310837,2.23423882 C12.6738717,3.17681397 14.2235542,5.46041857 14.2235542,8 C14.2235542,10.5395814 12.6738717,12.823186 10.310837,13.7657612 C9.99324482,13.8819566 9.78087678,14.1821936 9.7775051,14.5197453 L9.7775051,14.6971534 C9.7760383,14.9587806 9.90310998,15.2045277 10.1176376,15.3549195 C10.3321652,15.5053113 10.6069197,15.5412592 10.8530448,15.4511375 C13.9518813,14.2739648 16,11.3089469 16,8 C16,4.69105314 13.9518813,1.72603525 10.8530448,0.548862478 C10.6069197,0.458740837 10.3321652,0.494688727 10.1176376,0.645080504 C9.90310998,0.795472281 9.7760383,1.04121942 9.7775051,1.30284664 L9.7775051,1.30284664 Z" id="hy-icon-ops-button-volume-形状" fill-rule="nonzero"></path>
6
+ </g>
7
+ </symbol>`,
8
+ };
@@ -0,0 +1,8 @@
1
+ export default {
2
+ id: 'hy-icon-ops-button-wifi',
3
+ symbol: `<symbol id="hy-icon-ops-button-wifi" viewBox="0 0 16 16">
4
+ <g id="hy-icon-ops-button-wifi-RButton/Wifi" stroke="none" stroke-width="1" fill-rule="evenodd">
5
+ <path d="M8.00096269,11.9956339 C8.65566806,11.9956339 9.18639957,12.5562483 9.18639957,13.247817 C9.18639957,13.9393856 8.65566806,14.5 8.00096269,14.5 C7.34625732,14.5 6.81552582,13.9393856 6.81552582,13.247817 C6.81552582,12.5562483 7.34625732,11.9956339 8.00096269,11.9956339 Z M8.00096269,8.41052121 C9.29106335,8.41052121 10.5281858,8.99031569 11.3956603,10.0006257 C11.7600448,10.4249234 11.7293044,11.08004 11.3276234,11.4649576 C11.140518,11.6453096 10.9043432,11.7337748 10.668838,11.7337748 C10.4019072,11.7337748 10.135646,11.6190398 9.94200014,11.3937643 C9.44545061,10.8146771 8.73824983,10.483648 8.00096269,10.483648 C7.25123301,10.483648 6.56234567,10.8049884 6.06123335,11.3889281 C5.69748738,11.8139331 5.07730658,11.8464043 4.67495601,11.4607959 C4.27327506,11.0758947 4.24251908,10.4207616 4.6069191,9.99715487 C5.47177739,8.98891749 6.70889988,8.41052121 8.00096269,8.41052121 Z M8.00093155,4.95527705 C10.0904698,4.95527705 12.0570464,5.81217931 13.5381612,7.36841436 C13.9228368,7.77198567 13.9241449,8.42848403 13.5420855,8.83481885 C13.3504017,9.03729538 13.0978756,9.14026906 12.8460036,9.14026906 C12.5954708,9.14026906 12.3449068,9.03936801 12.1538771,8.83827324 C11.0430332,7.67108461 9.56842783,7.02842026 8.00093155,7.02842026 C6.43018059,7.02842026 4.95492112,7.66971931 3.8460394,8.83412797 C3.46201784,9.23769928 2.84051336,9.23561019 2.45845395,8.8299827 C2.07639454,8.42433876 2.07770265,7.7678404 2.46237826,7.36426909 C3.94089241,5.81079756 5.90810748,4.95527705 8.00093155,4.95527705 Z M8.00097827,1.5 C10.8840832,1.5 13.6173792,2.66026339 15.6977763,4.7658943 C16.0889925,5.1618495 16.1020891,5.81836432 15.7272086,6.23160791 C15.5342168,6.44375673 15.2764583,6.55089213 15.0186842,6.55089213 C14.7746763,6.55089213 14.5299988,6.45484367 14.3396232,6.26273031 C12.6262423,4.5282159 10.3757607,3.5731761 8.00096269,3.5731761 C5.62160186,3.5731761 3.3697966,4.5268177 1.66100966,6.25995035 C1.27043202,6.65590555 0.648943111,6.64279532 0.273424217,6.22953528 C-0.102094676,5.81629168 -0.0890136496,5.15980977 0.301563997,4.76382167 C2.37803678,2.65888164 5.1119713,1.5 8.00097827,1.5 Z" id="hy-icon-ops-button-wifi-形状结合" fill-rule="nonzero"></path>
6
+ </g>
7
+ </symbol>`,
8
+ };
@@ -0,0 +1,8 @@
1
+ export default {
2
+ id: 'hy-icon-ops-button-yujing',
3
+ symbol: `<symbol id="hy-icon-ops-button-yujing" viewBox="0 0 16 16">
4
+ <g id="hy-icon-ops-button-yujing-RButton/yujing" stroke="none" stroke-width="1" fill-rule="evenodd">
5
+ <path d="M13.1136364,14.1363636 L14.8181818,14.1363636 C15.1947006,14.1364188 15.4999001,14.4416631 15.4999001,14.8181818 C15.4999001,15.1947006 15.1947006,15.5 14.8181818,15.5 L1.18181819,15.5 C0.805299432,15.5 0.500099938,15.1947006 0.500099938,14.8181818 C0.500099938,14.4416631 0.805299432,14.1364188 1.18181819,14.1363636 L2.88636364,14.1363636 L2.88636364,7.65909091 C2.88636364,4.835 5.17590909,2.54545455 8,2.54545455 C10.8240909,2.54545455 13.1136364,4.835 13.1136364,7.65909091 L13.1136364,14.1363636 Z M8.11528403,10.0372435 L7.16431031,12.3046052 L8.95432222,12.9137729 L10.8734905,8.33855321 L8,8.31270451 L8.95527893,6.01863247 L7.1633536,5.41377291 L5.24849052,10.0122565 L8.11528403,10.0372435 Z M6.63636364,0.5 L9.36363636,0.5 L9.36363636,1.86363636 L6.63636364,1.86363636 L6.63636364,0.5 Z M12.3390909,1.73238636 L14.2676136,3.66090909 L13.3031818,4.62534091 L11.375,2.69681819 L12.3394318,1.73238636 L12.3390909,1.73238636 Z M15.5,6.63636364 L15.5,9.36363636 L14.1363636,9.36363636 L14.1363636,6.63636364 L15.5,6.63636364 Z M0.5,9.36363636 L0.5,6.63636364 L1.86363636,6.63636364 L1.86363636,9.36363636 L0.5,9.36363636 Z M1.73238636,3.66090909 L3.66090909,1.73238636 L4.62534091,2.69681819 L2.69681819,4.625 L1.73238636,3.66090909 Z" id="hy-icon-ops-button-yujing-形状" fill-rule="nonzero"></path>
6
+ </g>
7
+ </symbol>`,
8
+ };
@@ -0,0 +1,12 @@
1
+ export default {
2
+ id: 'hy-icon-ops-list-grayout',
3
+ defs: `<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="hy-icon-ops-list-grayout-linearGradient-1">
4
+ <stop stop-color="#9DA7B2" offset="0%"></stop>
5
+ <stop stop-color="#586471" offset="100%"></stop>
6
+ </linearGradient>`,
7
+ symbol: `<symbol id="hy-icon-ops-list-grayout" viewBox="0 0 12 12">
8
+ <g id="hy-icon-ops-list-grayout-状态/置灰" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
9
+ <path d="M6.41070049,0.13446417 C7.41256421,0.928299855 9.24582936,1.54952243 10.2322378,1.88459494 L10.5663439,1.9981319 C10.8254466,2.09043838 11,2.33966586 11,2.61935448 L10.9918178,6.34715147 L10.9913632,6.48238046 L10.9909087,6.65499356 L10.9904541,6.75006923 L10.9904541,6.79206868 L10.9899995,6.8936058 L10.9899995,6.91991315 L10.989545,6.97437397 L10.989545,6.9905276 L10.989545,6.78191497 C10.8404473,8.28466438 9.77267149,9.69649192 8.90081367,10.4252515 C8.20896404,11.0040131 7.2825583,11.529237 6.12159644,12 C4.8315378,11.5273908 3.83694713,11.0026285 3.13782445,10.4252515 C2.2705123,9.70710716 1.20682758,8.32389463 1.03318333,6.84837563 L1.02636483,6.78191497 L1.02591027,7.00021978 L1.02136461,6.88345209 C1.00772762,6.50822627 1.0013637,5.962695 1,5.37793348 L1,4.78486438 C1.00181826,3.92318344 1.01136415,3.07119467 1.02000091,2.6239698 C1.02443642,2.34378038 1.2038348,2.0974544 1.46638484,2.01105481 C3.40147279,1.38567844 4.84562935,0.735840854 5.64112005,0.129848846 C5.86903761,-0.0449821758 6.18437717,-0.0430921394 6.41070049,0.13446417 Z M5.11333048,1.8845739 L5.11333048,5.11767735 C3.93204133,5.52696398 3.24184904,6.7311781 3.49888017,7.93449218 C3.7559113,9.13780626 4.88078408,9.96858759 6.13010521,9.87779871 C7.37942633,9.78700983 8.36735423,8.80269008 8.44099817,7.57534565 L8.44537175,7.43124584 L8.44099817,7.28775922 C8.38523872,6.35753042 7.79758448,5.53850531 6.92399157,5.17347771 L6.77903871,5.11829055 L6.77903871,4.31612868 L8.44537175,4.31612868 L8.44537175,2.89945564 L6.77903871,2.89945564 L6.77903871,1.8845739 L5.11333048,1.8845739 Z M6,8.39591623 C6.55228475,8.39591623 7,7.94820098 7,7.39591623 C7,6.84363148 6.55228475,6.39591623 6,6.39591623 C5.44771525,6.39591623 5,6.84363148 5,7.39591623 C5,7.94820098 5.44771525,8.39591623 6,8.39591623 Z" id="hy-icon-ops-list-grayout-状态/激活" fill="url(#hy-icon-ops-list-grayout-linearGradient-1)" fill-rule="nonzero"></path>
10
+ </g>
11
+ </symbol>`,
12
+ };
@@ -59,14 +59,10 @@ function keepTwoDecimalPlaces(value) {
59
59
  return num.toString();
60
60
  }
61
61
  function filterSpaces(row, name) {
62
- if (typeof row === "string") {
63
- this[row] = this[row].toString().replace(/[`\s]/g, "");
64
- } else {
65
- if (row[name] && row[name].length !== 0 && row[name] !== null) {
66
- row[name] += "";
67
- row[name] = row[name].replace(/[` ]/g, "");
68
- row[name] = row[name].replace(/\s/g, "");
69
- }
62
+ if (row[name] && row[name].length !== 0 && row[name] !== null) {
63
+ row[name] += "";
64
+ row[name] = row[name].replace(/[` ]/g, "");
65
+ row[name] = row[name].replace(/\s/g, "");
70
66
  }
71
67
  }
72
68
  function inputForbidden(row, name, content) {
package/lib/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
2
 
3
- const version = "0.2.56";
3
+ const version = "0.2.58";
4
4
 
5
5
  exports.version = version;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hy-dispatch-ui-v3",
3
- "version": "0.2.57",
3
+ "version": "0.2.59",
4
4
  "main": "lib/index.js",
5
5
  "module": "es/index.mjs",
6
6
  "scripts": {