@piedata/pieui 1.1.19 → 1.1.21
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/cli.js +6 -4
- package/dist/components/Common/IOEventsCard/types/index.d.ts +6 -3
- package/dist/components/Common/IOEventsCard/types/index.d.ts.map +1 -1
- package/dist/components/Common/IOEventsCard/ui/IOEventsCard.d.ts.map +1 -1
- package/dist/components/Containers/TableCard/index.d.ts +2 -0
- package/dist/components/Containers/TableCard/index.d.ts.map +1 -0
- package/dist/components/Containers/TableCard/types/index.d.ts +21 -0
- package/dist/components/Containers/TableCard/types/index.d.ts.map +1 -0
- package/dist/components/Containers/TableCard/ui/ContentCell.d.ts +6 -0
- package/dist/components/Containers/TableCard/ui/ContentCell.d.ts.map +1 -0
- package/dist/components/Containers/TableCard/ui/StringCell.d.ts +6 -0
- package/dist/components/Containers/TableCard/ui/StringCell.d.ts.map +1 -0
- package/dist/components/Containers/TableCard/ui/TableCard.d.ts +4 -0
- package/dist/components/Containers/TableCard/ui/TableCard.d.ts.map +1 -0
- package/dist/components/index.esm.js +31 -31
- package/dist/components/index.js +44 -44
- package/dist/index.esm.js +42 -42
- package/dist/index.js +53 -53
- package/dist/pieui.components.json +103 -0
- package/dist/util/initializeComponents.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -302,7 +302,7 @@ var require_concat_map = __commonJS((exports2, module2) => {
|
|
|
302
302
|
};
|
|
303
303
|
});
|
|
304
304
|
|
|
305
|
-
// node_modules/balanced-match/index.js
|
|
305
|
+
// node_modules/typescript-json-schema/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/index.js
|
|
306
306
|
var require_balanced_match = __commonJS((exports2, module2) => {
|
|
307
307
|
module2.exports = balanced;
|
|
308
308
|
function balanced(a, b, str) {
|
|
@@ -359,7 +359,7 @@ var require_balanced_match = __commonJS((exports2, module2) => {
|
|
|
359
359
|
}
|
|
360
360
|
});
|
|
361
361
|
|
|
362
|
-
// node_modules/brace-expansion/index.js
|
|
362
|
+
// node_modules/typescript-json-schema/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js
|
|
363
363
|
var require_brace_expansion = __commonJS((exports2, module2) => {
|
|
364
364
|
var concatMap = require_concat_map();
|
|
365
365
|
var balanced = require_balanced_match();
|
|
@@ -184303,7 +184303,7 @@ var Zs = (n2) => {
|
|
|
184303
184303
|
}, unescape: (s, i = {}) => t.unescape(s, N(n2, i)), escape: (s, i = {}) => t.escape(s, N(n2, i)), filter: (s, i = {}) => t.filter(s, N(n2, i)), defaults: (s) => t.defaults(N(n2, s)), makeRe: (s, i = {}) => t.makeRe(s, N(n2, i)), braceExpand: (s, i = {}) => t.braceExpand(s, N(n2, i)), match: (s, i, r = {}) => t.match(s, i, N(n2, r)), sep: t.sep, GLOBSTAR: A });
|
|
184304
184304
|
};
|
|
184305
184305
|
O.defaults = Zs;
|
|
184306
|
-
var ke = (n2, t = {}) => (at(n2), t.nobrace || !/\{(?:(?!\{).)*\}/.test(n2) ? [n2] : ge(n2));
|
|
184306
|
+
var ke = (n2, t = {}) => (at(n2), t.nobrace || !/\{(?:(?!\{).)*\}/.test(n2) ? [n2] : ge(n2, { max: t.braceExpandMax }));
|
|
184307
184307
|
O.braceExpand = ke;
|
|
184308
184308
|
var Qs = (n2, t = {}) => new D(n2, t).makeRe();
|
|
184309
184309
|
O.makeRe = Qs;
|
|
@@ -184333,7 +184333,9 @@ var D = class {
|
|
|
184333
184333
|
windowsNoMagicRoot;
|
|
184334
184334
|
regexp;
|
|
184335
184335
|
constructor(t, e = {}) {
|
|
184336
|
-
at(t), e = e || {}, this.options = e, this.pattern = t, this.platform = e.platform || Ae, this.isWindows = this.platform === "win32"
|
|
184336
|
+
at(t), e = e || {}, this.options = e, this.pattern = t, this.platform = e.platform || Ae, this.isWindows = this.platform === "win32";
|
|
184337
|
+
let s = "allowWindowsEscape";
|
|
184338
|
+
this.windowsPathsNoEscape = !!e.windowsPathsNoEscape || e[s] === false, this.windowsPathsNoEscape && (this.pattern = this.pattern.replace(/\\/g, "/")), this.preserveMultipleSlashes = !!e.preserveMultipleSlashes, this.regexp = null, this.negate = false, this.nonegate = !!e.nonegate, this.comment = false, this.empty = false, this.partial = !!e.partial, this.nocase = !!this.options.nocase, this.windowsNoMagicRoot = e.windowsNoMagicRoot !== undefined ? e.windowsNoMagicRoot : !!(this.isWindows && this.nocase), this.globSet = [], this.globParts = [], this.set = [], this.make();
|
|
184337
184339
|
}
|
|
184338
184340
|
hasMagic() {
|
|
184339
184341
|
if (this.options.magicalBraces && this.set.length > 1)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PieSimpleComponentProps } from
|
|
2
|
-
import { ToastOptions } from
|
|
3
|
-
import { CSSProperties } from
|
|
1
|
+
import { PieSimpleComponentProps } from '../../../../types';
|
|
2
|
+
import { ToastOptions } from 'react-toastify';
|
|
3
|
+
import { CSSProperties } from 'react';
|
|
4
4
|
export interface IOEventsCardData {
|
|
5
5
|
name: string;
|
|
6
6
|
useSocketioSupport?: boolean;
|
|
@@ -13,6 +13,9 @@ export interface IOEventData extends Omit<ToastOptions, 'transition' | 'style' |
|
|
|
13
13
|
transition: 'bounce' | 'slide' | 'zoom' | 'flip';
|
|
14
14
|
sx: CSSProperties;
|
|
15
15
|
}
|
|
16
|
+
export interface NotificationEvent extends NotificationOptions {
|
|
17
|
+
title: string;
|
|
18
|
+
}
|
|
16
19
|
export interface IOEventsCardProps extends PieSimpleComponentProps<IOEventsCardData> {
|
|
17
20
|
}
|
|
18
21
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Common/IOEventsCard/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Common/IOEventsCard/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAA;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAErC,MAAM,WAAW,gBAAgB;IAC7B,IAAI,EAAE,MAAM,CAAA;IACZ,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC7B;AAED,MAAM,WAAW,WAAY,SAAQ,IAAI,CACrC,YAAY,EACZ,YAAY,GAAG,OAAO,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAC1E;IACG,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAA;IAChD,EAAE,EAAE,aAAa,CAAA;CACpB;AAED,MAAM,WAAW,iBAAkB,SAAQ,mBAAmB;IAC1D,KAAK,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,iBAAkB,SAAQ,uBAAuB,CAAC,gBAAgB,CAAC;CAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IOEventsCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/Common/IOEventsCard/ui/IOEventsCard.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAe,iBAAiB,
|
|
1
|
+
{"version":3,"file":"IOEventsCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/Common/IOEventsCard/ui/IOEventsCard.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAe,iBAAiB,EAAqB,MAAM,UAAU,CAAA;AAiB5E,QAAA,MAAM,YAAY,GAAI,UAAU,iBAAiB,4CA2HhD,CAAA;AAED,eAAe,YAAY,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Containers/TableCard/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { PieComplexComponentProps, UIConfigType } from '../../../../types';
|
|
3
|
+
export interface TableCardDataType {
|
|
4
|
+
name: string;
|
|
5
|
+
headers: (string | UIConfigType)[][];
|
|
6
|
+
rows: (string | UIConfigType)[][];
|
|
7
|
+
rowUrls: (string | null)[];
|
|
8
|
+
useSocketioSupport: boolean;
|
|
9
|
+
useCentrifugeSupport: boolean;
|
|
10
|
+
useMittSupport: boolean;
|
|
11
|
+
centrifugeChannel?: string;
|
|
12
|
+
columns: string[];
|
|
13
|
+
content: {
|
|
14
|
+
[key: string]: any;
|
|
15
|
+
};
|
|
16
|
+
sx?: CSSProperties;
|
|
17
|
+
sxMap: Record<'row' | 'cell' | 'table', any>;
|
|
18
|
+
}
|
|
19
|
+
export interface TableCardProps extends PieComplexComponentProps<TableCardDataType> {
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Containers/TableCard/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AACrC,OAAO,EAAE,wBAAwB,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAE1E,MAAM,WAAW,iBAAiB;IAC9B,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,CAAC,MAAM,GAAG,YAAY,CAAC,EAAE,EAAE,CAAA;IACpC,IAAI,EAAE,CAAC,MAAM,GAAG,YAAY,CAAC,EAAE,EAAE,CAAA;IACjC,OAAO,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,EAAE,CAAA;IAE1B,kBAAkB,EAAE,OAAO,CAAA;IAC3B,oBAAoB,EAAE,OAAO,CAAA;IAC7B,cAAc,EAAE,OAAO,CAAA;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAE1B,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,OAAO,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAA;IAC/B,EAAE,CAAC,EAAE,aAAa,CAAA;IAClB,KAAK,EAAE,MAAM,CAAC,KAAK,GAAG,MAAM,GAAG,OAAO,EAAE,GAAG,CAAC,CAAA;CAC/C;AAED,MAAM,WAAW,cAAe,SAAQ,wBAAwB,CAAC,iBAAiB,CAAC;CAAG"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { SetUiAjaxConfigurationType, UIConfigType } from '../../../../types';
|
|
2
|
+
export declare const ContentCell: ({ data, setUiAjaxConfiguration, }: {
|
|
3
|
+
data: UIConfigType;
|
|
4
|
+
setUiAjaxConfiguration?: SetUiAjaxConfigurationType;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
//# sourceMappingURL=ContentCell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentCell.d.ts","sourceRoot":"","sources":["../../../../../src/components/Containers/TableCard/ui/ContentCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAG5E,eAAO,MAAM,WAAW,GAAI,mCAGzB;IACC,IAAI,EAAE,YAAY,CAAA;IAClB,sBAAsB,CAAC,EAAE,0BAA0B,CAAA;CACtD,4CAIA,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { SetUiAjaxConfigurationType } from '../../../../types';
|
|
2
|
+
export declare const StringCell: ({ data, }: {
|
|
3
|
+
data: string;
|
|
4
|
+
setUiAjaxConfiguration?: SetUiAjaxConfigurationType;
|
|
5
|
+
}) => string | import("react").JSX.Element | import("react").JSX.Element[];
|
|
6
|
+
//# sourceMappingURL=StringCell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StringCell.d.ts","sourceRoot":"","sources":["../../../../../src/components/Containers/TableCard/ui/StringCell.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAA;AAE9D,eAAO,MAAM,UAAU,GAAI,WAExB;IACC,IAAI,EAAE,MAAM,CAAA;IACZ,sBAAsB,CAAC,EAAE,0BAA0B,CAAA;CACtD,yEAEA,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/Containers/TableCard/ui/TableCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAiJzC,QAAA,MAAM,SAAS,GAAI,kCAAkC,cAAc,4CAoFlE,CAAA;AAED,eAAe,SAAS,CAAA"}
|