cnhis-design-vue 3.1.42-beta.31 → 3.1.42-beta.32

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.
@@ -0,0 +1,3 @@
1
+ export const __esModule: true;
2
+ export function highLightSetPlugin(): iho_table_1.TablePlugin;
3
+ import iho_table_1 = require("../../../../../../es/components/iho-table");
@@ -1 +1 @@
1
- import{isFunction as o}from"lodash-es";import"../../index.js";import{useUUIDMap as r}from"../utils/index.js";import{defineTablePlugin as t}from"../hooks/useTablePlugin.js";function e(){const e="highLightSetPlugin",{getItemFromUUID:i,removeItemFromUUID:n,setItemFromUUID:u}=r((()=>!1));return t({name:e,apply(r){r.dataHooks.data.tapPromise(e,(async(o,r)=>{r.uuid&&(o.rowColor||o.fontColor)&&u(r.uuid,!0)})),r.dataHooks.dataEnd.tap(e,(r=>{if(!r.uuid||!i(r.uuid))return;const t=r.rowStyle;r.rowStyle=function(r){const e={backgroundColor:r.row.rowColor,color:r.row.fontColor};return o(t)?Object.assign(e,t(r)):e},n(r.uuid)}))}})}export{e as highLightSetPlugin};
1
+ import{isFunction as o}from"lodash-es";import"../../index.js";import{useUUIDMap as r}from"../utils/index.js";import t from"xe-utils";import"moment";import{defineTablePlugin as e}from"../hooks/useTablePlugin.js";function i(){const i="highLightSetPlugin",{getItemFromUUID:n,removeItemFromUUID:m,setItemFromUUID:u}=r((()=>!1));return e({name:i,apply(r){r.dataHooks.data.tapPromise(i,(async(o,r)=>{r.uuid&&(o.rowColor||o.fontColor)&&u(r.uuid,!0)})),r.dataHooks.dataEnd.tap(i,(r=>{if(!r.uuid||!n(r.uuid))return;const e=r.rowStyle;r.rowStyle=function(r){const i=t.hexToRGBA(r.row.rowColor,.2),n={backgroundColor:`rgba(${i.r}, ${i.g}, ${i.b}, ${i.a})`,color:r.row.fontColor};return o(e)?Object.assign(n,e(r)):n},m(r.uuid)}))}})}export{i as highLightSetPlugin};
@@ -0,0 +1,3 @@
1
+ export const __esModule: true;
2
+ export function defaultRendererPlugin(): iho_table_1.TablePlugin;
3
+ import iho_table_1 = require("../../../../../../../../es/components/iho-table");
@@ -0,0 +1,3 @@
1
+ export const __esModule: true;
2
+ export function seqRendererPlugin(): iho_table_1.TablePlugin;
3
+ import iho_table_1 = require("../../../../../../../../es/components/iho-table");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cnhis-design-vue",
3
- "version": "3.1.42-beta.31",
3
+ "version": "3.1.42-beta.32",
4
4
  "license": "ISC",
5
5
  "module": "./es/components/index.js",
6
6
  "main": "./es/components/index.js",
@@ -61,5 +61,5 @@
61
61
  "iOS 7",
62
62
  "last 3 iOS versions"
63
63
  ],
64
- "gitHead": "6794090c6c9bb9216ff38a2e0ec839fa3b81ff76"
64
+ "gitHead": "24498e925be134d3405be502e6d2e4759d294b15"
65
65
  }