ns-base-module 2.0.42 → 2.0.43
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.
|
@@ -7,7 +7,7 @@ export interface IclassFilter {
|
|
|
7
7
|
statusTagCounts?: Record<string, number>;
|
|
8
8
|
}
|
|
9
9
|
declare const Index: ({ classFilter, ...props }: IclassFilter) => React.JSX.Element | null;
|
|
10
|
-
export declare const getCountClassName: (count?: number) => "num-txt-dot" | "num-txt-dot
|
|
11
|
-
export declare const renderCountContent: (count?: number) => number | React.JSX.Element
|
|
10
|
+
export declare const getCountClassName: (count?: number) => "num-txt-dot num-txt-single" | "num-txt-dot";
|
|
11
|
+
export declare const renderCountContent: (count?: number) => number | React.JSX.Element;
|
|
12
12
|
export default Index;
|
|
13
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,yCAAyC,CAAC;AAMjD,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE,GAAG,EAAE,CAAC;IACnB,WAAW,CAAC,EAAE,CACZ,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACzB,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,KAChC,IAAI,CAAC;IACV,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACpC,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC1C;AACD,QAAA,MAAM,KAAK,8BAA+B,YAAY,6BAsHrD,CAAC;AASF,eAAO,MAAM,iBAAiB,WAAY,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,yCAAyC,CAAC;AAMjD,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE,GAAG,EAAE,CAAC;IACnB,WAAW,CAAC,EAAE,CACZ,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACzB,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,KAChC,IAAI,CAAC;IACV,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACpC,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC1C;AACD,QAAA,MAAM,KAAK,8BAA+B,YAAY,6BAsHrD,CAAC;AASF,eAAO,MAAM,iBAAiB,WAAY,MAAM,iDAG/C,CAAC;AAEF,eAAO,MAAM,kBAAkB,WAAY,MAAM,+BAoBhD,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -121,16 +121,16 @@ var getCountDisplay = function getCountDisplay(count) {
|
|
|
121
121
|
if (typeof count == "number" || typeof count == "string") {
|
|
122
122
|
return Number(count);
|
|
123
123
|
}
|
|
124
|
-
return
|
|
124
|
+
return 0;
|
|
125
125
|
};
|
|
126
126
|
export var getCountClassName = function getCountClassName(count) {
|
|
127
127
|
var displayCount = getCountDisplay(count);
|
|
128
|
-
if (!displayCount) return "num-txt-dot";
|
|
129
128
|
return displayCount < 10 ? "num-txt-dot num-txt-single" : "num-txt-dot";
|
|
130
129
|
};
|
|
131
130
|
export var renderCountContent = function renderCountContent(count) {
|
|
132
131
|
var displayCount = getCountDisplay(count);
|
|
133
|
-
if (!displayCount) return null;
|
|
132
|
+
// if (!displayCount) return null;
|
|
133
|
+
|
|
134
134
|
if (/^[0-9]$/.test(displayCount)) {
|
|
135
135
|
return /*#__PURE__*/React.createElement(Icon, {
|
|
136
136
|
type: "icon-a-".concat(displayCount),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { EntryType } from './data.d';
|
|
3
|
-
export declare const initialValueEunm: (type: EntryType) => "
|
|
3
|
+
export declare const initialValueEunm: (type: EntryType) => "Equals" | "Contains" | "In" | "BeforeThan" | "Between";
|
|
4
4
|
export declare const entryCriteriaHidden: (type: EntryType, criteriaTypeItems?: {
|
|
5
5
|
label: string;
|
|
6
6
|
value: string;
|