@webiny/app-audit-logs 5.39.1-beta.0 → 5.39.1
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.
|
@@ -3,11 +3,11 @@ export declare const AuditLogsListConfig: (({ children }: {
|
|
|
3
3
|
children: import("react").ReactNode;
|
|
4
4
|
}) => JSX.Element) & {
|
|
5
5
|
Browser: {
|
|
6
|
-
Filter:
|
|
7
|
-
original:
|
|
6
|
+
Filter: ((args_0: import("./Browser/Filter").FilterProps) => JSX.Element | null) & {
|
|
7
|
+
original: (args_0: import("./Browser/Filter").FilterProps) => JSX.Element | null;
|
|
8
8
|
originalName: string;
|
|
9
9
|
} & {
|
|
10
|
-
createDecorator: (decorator: import("@webiny/react-composition").Decorator<import("./Browser/Filter").FilterProps>) => (props: {
|
|
10
|
+
createDecorator: (decorator: import("@webiny/react-composition").Decorator<(args_0: import("./Browser/Filter").FilterProps) => JSX.Element | null>) => (props: {
|
|
11
11
|
name: string;
|
|
12
12
|
}) => JSX.Element;
|
|
13
13
|
};
|
|
@@ -10,11 +10,11 @@ export interface FilterProps {
|
|
|
10
10
|
before?: string;
|
|
11
11
|
after?: string;
|
|
12
12
|
}
|
|
13
|
-
export declare const Filter:
|
|
14
|
-
original:
|
|
13
|
+
export declare const Filter: ((args_0: FilterProps) => JSX.Element | null) & {
|
|
14
|
+
original: (args_0: FilterProps) => JSX.Element | null;
|
|
15
15
|
originalName: string;
|
|
16
16
|
} & {
|
|
17
|
-
createDecorator: (decorator: import("@webiny/app-admin").Decorator<FilterProps>) => (props: {
|
|
17
|
+
createDecorator: (decorator: import("@webiny/app-admin").Decorator<(args_0: FilterProps) => JSX.Element | null>) => (props: {
|
|
18
18
|
name: string;
|
|
19
19
|
}) => JSX.Element;
|
|
20
20
|
};
|
|
@@ -8,7 +8,7 @@ exports.Filter = void 0;
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _reactProperties = require("@webiny/react-properties");
|
|
10
10
|
var _appAdmin = require("@webiny/app-admin");
|
|
11
|
-
var BaseFilter = (0, _appAdmin.
|
|
11
|
+
var BaseFilter = (0, _appAdmin.makeDecoratable)("Filter", function (_ref) {
|
|
12
12
|
var name = _ref.name,
|
|
13
13
|
element = _ref.element,
|
|
14
14
|
_ref$after = _ref.after,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactProperties","_appAdmin","BaseFilter","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactProperties","_appAdmin","BaseFilter","makeDecoratable","_ref","name","element","_ref$after","after","undefined","_ref$before","before","_ref$remove","remove","getId","useIdGenerator","placeAfter","placeBefore","default","createElement","Property","id","array","value","createDecorator","createDecoratorFactory","decoratorProps","componentProps","Filter","Object","assign","exports"],"sources":["Filter.tsx"],"sourcesContent":["import React from \"react\";\nimport { Property, useIdGenerator } from \"@webiny/react-properties\";\nimport { createDecoratorFactory, makeDecoratable } from \"@webiny/app-admin\";\n\nexport interface FilterConfig {\n name: string;\n element: React.ReactElement;\n}\n\nexport interface FilterProps {\n name: string;\n element?: React.ReactElement<unknown>;\n remove?: boolean;\n before?: string;\n after?: string;\n}\n\nconst BaseFilter = makeDecoratable(\n \"Filter\",\n ({ name, element, after = undefined, before = undefined, remove = false }: FilterProps) => {\n const getId = useIdGenerator(\"filter\");\n\n const placeAfter = after !== undefined ? getId(after) : undefined;\n const placeBefore = before !== undefined ? getId(before) : undefined;\n\n return (\n <Property id=\"browser\" name={\"browser\"}>\n <Property\n id={getId(name)}\n name={\"filters\"}\n remove={remove}\n array={true}\n before={placeBefore}\n after={placeAfter}\n >\n <Property id={getId(name, \"name\")} name={\"name\"} value={name} />\n {element ? (\n <Property id={getId(name, \"element\")} name={\"element\"} value={element} />\n ) : null}\n </Property>\n </Property>\n );\n }\n);\n\nconst createDecorator = createDecoratorFactory<{ name: string }>()(\n BaseFilter,\n (decoratorProps, componentProps) => {\n if (decoratorProps.name === \"*\") {\n return true;\n }\n\n return decoratorProps.name === componentProps.name;\n }\n);\n\nexport const Filter = Object.assign(BaseFilter, { createDecorator });\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,gBAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AAeA,IAAMG,UAAU,GAAG,IAAAC,yBAAe,EAC9B,QAAQ,EACR,UAAAC,IAAA,EAA2F;EAAA,IAAxFC,IAAI,GAAAD,IAAA,CAAJC,IAAI;IAAEC,OAAO,GAAAF,IAAA,CAAPE,OAAO;IAAAC,UAAA,GAAAH,IAAA,CAAEI,KAAK;IAALA,KAAK,GAAAD,UAAA,cAAGE,SAAS,GAAAF,UAAA;IAAAG,WAAA,GAAAN,IAAA,CAAEO,MAAM;IAANA,MAAM,GAAAD,WAAA,cAAGD,SAAS,GAAAC,WAAA;IAAAE,WAAA,GAAAR,IAAA,CAAES,MAAM;IAANA,MAAM,GAAAD,WAAA,cAAG,KAAK,GAAAA,WAAA;EACnE,IAAME,KAAK,GAAG,IAAAC,+BAAc,EAAC,QAAQ,CAAC;EAEtC,IAAMC,UAAU,GAAGR,KAAK,KAAKC,SAAS,GAAGK,KAAK,CAACN,KAAK,CAAC,GAAGC,SAAS;EACjE,IAAMQ,WAAW,GAAGN,MAAM,KAAKF,SAAS,GAAGK,KAAK,CAACH,MAAM,CAAC,GAAGF,SAAS;EAEpE,oBACIZ,MAAA,CAAAqB,OAAA,CAAAC,aAAA,CAACnB,gBAAA,CAAAoB,QAAQ;IAACC,EAAE,EAAC,SAAS;IAAChB,IAAI,EAAE;EAAU,gBACnCR,MAAA,CAAAqB,OAAA,CAAAC,aAAA,CAACnB,gBAAA,CAAAoB,QAAQ;IACLC,EAAE,EAAEP,KAAK,CAACT,IAAI,CAAE;IAChBA,IAAI,EAAE,SAAU;IAChBQ,MAAM,EAAEA,MAAO;IACfS,KAAK,EAAE,IAAK;IACZX,MAAM,EAAEM,WAAY;IACpBT,KAAK,EAAEQ;EAAW,gBAElBnB,MAAA,CAAAqB,OAAA,CAAAC,aAAA,CAACnB,gBAAA,CAAAoB,QAAQ;IAACC,EAAE,EAAEP,KAAK,CAACT,IAAI,EAAE,MAAM,CAAE;IAACA,IAAI,EAAE,MAAO;IAACkB,KAAK,EAAElB;EAAK,CAAE,CAAC,EAC/DC,OAAO,gBACJT,MAAA,CAAAqB,OAAA,CAAAC,aAAA,CAACnB,gBAAA,CAAAoB,QAAQ;IAACC,EAAE,EAAEP,KAAK,CAACT,IAAI,EAAE,SAAS,CAAE;IAACA,IAAI,EAAE,SAAU;IAACkB,KAAK,EAAEjB;EAAQ,CAAE,CAAC,GACzE,IACE,CACJ,CAAC;AAEnB,CACJ,CAAC;AAED,IAAMkB,eAAe,GAAG,IAAAC,gCAAsB,EAAmB,CAAC,CAC9DvB,UAAU,EACV,UAACwB,cAAc,EAAEC,cAAc,EAAK;EAChC,IAAID,cAAc,CAACrB,IAAI,KAAK,GAAG,EAAE;IAC7B,OAAO,IAAI;EACf;EAEA,OAAOqB,cAAc,CAACrB,IAAI,KAAKsB,cAAc,CAACtB,IAAI;AACtD,CACJ,CAAC;AAEM,IAAMuB,MAAM,GAAGC,MAAM,CAACC,MAAM,CAAC5B,UAAU,EAAE;EAAEsB,eAAe,EAAfA;AAAgB,CAAC,CAAC;AAACO,OAAA,CAAAH,MAAA,GAAAA,MAAA"}
|
|
@@ -6,11 +6,11 @@ export interface BrowserConfig {
|
|
|
6
6
|
filtersToWhere: FiltersToWhereConverter[];
|
|
7
7
|
}
|
|
8
8
|
export declare const Browser: {
|
|
9
|
-
Filter:
|
|
10
|
-
original:
|
|
9
|
+
Filter: ((args_0: import("./Filter").FilterProps) => JSX.Element | null) & {
|
|
10
|
+
original: (args_0: import("./Filter").FilterProps) => JSX.Element | null;
|
|
11
11
|
originalName: string;
|
|
12
12
|
} & {
|
|
13
|
-
createDecorator: (decorator: import("@webiny/react-composition").Decorator<import("./Filter").FilterProps>) => (props: {
|
|
13
|
+
createDecorator: (decorator: import("@webiny/react-composition").Decorator<(args_0: import("./Filter").FilterProps) => JSX.Element | null>) => (props: {
|
|
14
14
|
name: string;
|
|
15
15
|
}) => JSX.Element;
|
|
16
16
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/app-audit-logs",
|
|
3
|
-
"version": "5.39.1
|
|
3
|
+
"version": "5.39.1",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
"@babel/runtime": "7.23.2",
|
|
14
14
|
"@emotion/react": "11.10.8",
|
|
15
15
|
"@emotion/styled": "11.10.6",
|
|
16
|
-
"@webiny/api-audit-logs": "5.39.1
|
|
17
|
-
"@webiny/app": "5.39.1
|
|
18
|
-
"@webiny/app-aco": "5.39.1
|
|
19
|
-
"@webiny/app-admin": "5.39.1
|
|
20
|
-
"@webiny/app-security": "5.39.1
|
|
21
|
-
"@webiny/form": "5.39.1
|
|
22
|
-
"@webiny/plugins": "5.39.1
|
|
23
|
-
"@webiny/react-properties": "5.39.1
|
|
24
|
-
"@webiny/react-router": "5.39.1
|
|
25
|
-
"@webiny/ui": "5.39.1
|
|
16
|
+
"@webiny/api-audit-logs": "5.39.1",
|
|
17
|
+
"@webiny/app": "5.39.1",
|
|
18
|
+
"@webiny/app-aco": "5.39.1",
|
|
19
|
+
"@webiny/app-admin": "5.39.1",
|
|
20
|
+
"@webiny/app-security": "5.39.1",
|
|
21
|
+
"@webiny/form": "5.39.1",
|
|
22
|
+
"@webiny/plugins": "5.39.1",
|
|
23
|
+
"@webiny/react-properties": "5.39.1",
|
|
24
|
+
"@webiny/react-router": "5.39.1",
|
|
25
|
+
"@webiny/ui": "5.39.1",
|
|
26
26
|
"date-fns": "2.29.3",
|
|
27
27
|
"emotion": "10.0.27",
|
|
28
28
|
"graphql-tag": "2.12.6",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"@material-design-icons/svg": "0.14.3",
|
|
41
41
|
"@material-symbols/svg-400": "0.4.3",
|
|
42
42
|
"@types/react": "17.0.39",
|
|
43
|
-
"@webiny/cli": "5.39.1
|
|
44
|
-
"@webiny/project-utils": "5.39.1
|
|
43
|
+
"@webiny/cli": "5.39.1",
|
|
44
|
+
"@webiny/project-utils": "5.39.1",
|
|
45
45
|
"execa": "5.1.1",
|
|
46
46
|
"rimraf": "3.0.2",
|
|
47
47
|
"ttypescript": "1.5.15",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"build": "yarn webiny run build",
|
|
56
56
|
"watch": "yarn webiny run watch"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "6fc74b45740bd4123dcf9b5890bfacee594208bf"
|
|
59
59
|
}
|