@mikezimm/fps-core-v7 1.0.112 → 1.0.114
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/lib/PackageVersion.d.ts.map +1 -1
- package/lib/PackageVersion.js +3 -3
- package/lib/PackageVersion.js.map +1 -1
- package/lib/components/molecules/SourcePage/ISourceRowRender.d.ts +54 -0
- package/lib/components/molecules/SourcePage/ISourceRowRender.d.ts.map +1 -1
- package/lib/components/molecules/SourcePage/ISourceRowRender.js +29 -1
- package/lib/components/molecules/SourcePage/ISourceRowRender.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PackageVersion.d.ts","sourceRoot":"","sources":["../src/PackageVersion.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,iBAAiB,EAAE,MAAsB,CAAC;AACvD,eAAO,MAAM,oBAAoB,EAAE,MAAkB,CAAC;AACtD,eAAO,MAAM,yBAAyB,EAAE,MAA8B,CAAC;AACvE,eAAO,MAAM,wBAAwB,EAAE,
|
|
1
|
+
{"version":3,"file":"PackageVersion.d.ts","sourceRoot":"","sources":["../src/PackageVersion.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,iBAAiB,EAAE,MAAsB,CAAC;AACvD,eAAO,MAAM,oBAAoB,EAAE,MAAkB,CAAC;AACtD,eAAO,MAAM,yBAAyB,EAAE,MAA8B,CAAC;AACvE,eAAO,MAAM,wBAAwB,EAAE,MAAmC,CAAC"}
|
package/lib/PackageVersion.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export const PackageNameFpsCv7 = 'fps-core-v7';
|
|
2
|
-
export const PackageVersionFpsCv7 = '1.0.
|
|
3
|
-
export const PackageVersionLabelFpsCv7 = 'fps-core-v7@1.0.
|
|
4
|
-
export const PackageVersionTimeFpsCv7 = '
|
|
2
|
+
export const PackageVersionFpsCv7 = '1.0.114';
|
|
3
|
+
export const PackageVersionLabelFpsCv7 = 'fps-core-v7@1.0.114';
|
|
4
|
+
export const PackageVersionTimeFpsCv7 = '3/4/2025, 8:25:20 PM EST';
|
|
5
5
|
//# sourceMappingURL=PackageVersion.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PackageVersion.js","sourceRoot":"","sources":["../src/PackageVersion.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,iBAAiB,GAAW,aAAa,CAAC;AACvD,MAAM,CAAC,MAAM,oBAAoB,GAAW,SAAS,CAAC;AACtD,MAAM,CAAC,MAAM,yBAAyB,GAAW,qBAAqB,CAAC;AACvE,MAAM,CAAC,MAAM,wBAAwB,GAAW,
|
|
1
|
+
{"version":3,"file":"PackageVersion.js","sourceRoot":"","sources":["../src/PackageVersion.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,iBAAiB,GAAW,aAAa,CAAC;AACvD,MAAM,CAAC,MAAM,oBAAoB,GAAW,SAAS,CAAC;AACtD,MAAM,CAAC,MAAM,yBAAyB,GAAW,qBAAqB,CAAC;AACvE,MAAM,CAAC,MAAM,wBAAwB,GAAW,0BAA0B,CAAC"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* Update:: import { IAnySourceItem } to '@mikezimm/fps-core-v7/lib/components/molecules/AnyContent/IAnyContent;'
|
|
4
4
|
|
|
5
5
|
*/
|
|
6
|
+
import { IReactCSSProperties } from "../../../types/react/IReactCSSTypes";
|
|
6
7
|
import { IMinReactMouseEvent } from "../../../types/react/IReactEvents";
|
|
7
8
|
import { IAnySourceItem } from "../AnyContent/IAnyContent";
|
|
8
9
|
/**
|
|
@@ -10,6 +11,36 @@ import { IAnySourceItem } from "../AnyContent/IAnyContent";
|
|
|
10
11
|
* Update:: import { IAnySourceItem } to '@mikezimm/fps-core-v7/lib/components/molecules/AnyContent/IAnyContent;'
|
|
11
12
|
|
|
12
13
|
*/
|
|
14
|
+
/**
|
|
15
|
+
* Based on RTF Fixer Expand button logic
|
|
16
|
+
* Apply height dynamically based on the state of isExpanded
|
|
17
|
+
const RichTextHeight: React.CSSProperties = {
|
|
18
|
+
height: isExpanded ? 'auto' : `${ 6 + ReplaceOWizard.changes.length }em`,
|
|
19
|
+
display: isExpanded ? 'table-cell' : '-webkit-box', // Adjust display property to suit content flow
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
So each 'option' would look like ( where 'auto' eq full height ):
|
|
23
|
+
height: 'auto' OR '6em' OR '3em'
|
|
24
|
+
*/
|
|
25
|
+
export declare const SourceRowRenderExpandDefaults: ISourceRowRenderExpandOption[];
|
|
26
|
+
/**
|
|
27
|
+
* Important note about ISourceRowRenderExpandOption
|
|
28
|
+
* The buttonLabel is the text on the button indicating what will happen.
|
|
29
|
+
* HOWEVER, the styles on the button are what the current setting should be.
|
|
30
|
+
* This means that the label might say Expand but the styles would be height: '3em'
|
|
31
|
+
*/
|
|
32
|
+
export interface ISourceRowRenderExpandOption {
|
|
33
|
+
buttonLabel: string;
|
|
34
|
+
iconName?: string;
|
|
35
|
+
styles: IReactCSSProperties;
|
|
36
|
+
}
|
|
37
|
+
export interface ISourceRowRenderExpand {
|
|
38
|
+
enable: boolean;
|
|
39
|
+
className?: string;
|
|
40
|
+
styles?: IReactCSSProperties;
|
|
41
|
+
options: ISourceRowRenderExpandOption[];
|
|
42
|
+
defaultOptionIdx?: number;
|
|
43
|
+
}
|
|
13
44
|
export interface ISourceRowRender {
|
|
14
45
|
item: IAnySourceItem;
|
|
15
46
|
searchText: string;
|
|
@@ -28,5 +59,28 @@ export interface ISourceRowRender {
|
|
|
28
59
|
sendItemToParent?: (command: string, Id: number, type: string, item: IAnySourceItem, event?: IMinReactMouseEvent<HTMLElement>) => void;
|
|
29
60
|
details: boolean;
|
|
30
61
|
showItemType: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* 2025-03-01: Added options for:
|
|
64
|
+
* expand: https://github.com/fps-solutions/Rtf-Fixer/issues/79
|
|
65
|
+
* openitem: https://github.com/fps-solutions/Rtf-Fixer/issues/80
|
|
66
|
+
*/
|
|
67
|
+
expand?: ISourceRowRenderExpand;
|
|
68
|
+
openItemButton?: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* 2025-03-01: Added these so I can more easily pass in some typed custom parameters
|
|
71
|
+
* which can be used in custom row rendering more easily
|
|
72
|
+
*/
|
|
73
|
+
rowParamBoo1?: boolean;
|
|
74
|
+
rowParamBoo2?: boolean;
|
|
75
|
+
rowParamBoo3?: boolean;
|
|
76
|
+
rowParamStr1?: string;
|
|
77
|
+
rowParamStr2?: string;
|
|
78
|
+
rowParamStr3?: string;
|
|
79
|
+
rowParamNum1?: number;
|
|
80
|
+
rowParamNum2?: number;
|
|
81
|
+
rowParamNum3?: number;
|
|
82
|
+
rowParamObj1?: any;
|
|
83
|
+
rowParamObj2?: any;
|
|
84
|
+
rowParamObj3?: any;
|
|
31
85
|
}
|
|
32
86
|
//# sourceMappingURL=ISourceRowRender.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ISourceRowRender.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/SourcePage/ISourceRowRender.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D;;;;GAIG;
|
|
1
|
+
{"version":3,"file":"ISourceRowRender.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/SourcePage/ISourceRowRender.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D;;;;GAIG;AAKH;;;;;;;;;;GAUG;AACD,eAAO,MAAM,6BAA6B,EAAE,4BAA4B,EAWzE,CAAC;AAEF;;;;;GA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*/
|
|
6
|
-
|
|
6
|
+
/**
|
|
7
|
+
* CodeAnalizerComment: Updated 1 imports on 2024-09-21 23:07:24
|
|
8
|
+
* Update:: import { IAnySourceItem } to '@mikezimm/fps-core-v7/lib/components/molecules/AnyContent/IAnyContent;'
|
|
9
|
+
|
|
10
|
+
*/
|
|
11
|
+
// import { IAnySourceItem, } from '@mikezimm/fps-core-v7/lib/components/molecules/AnyContent/IAnyContent'; // ./AnyContent/IAnyContent';
|
|
12
|
+
/**
|
|
13
|
+
* Based on RTF Fixer Expand button logic
|
|
14
|
+
* Apply height dynamically based on the state of isExpanded
|
|
15
|
+
const RichTextHeight: React.CSSProperties = {
|
|
16
|
+
height: isExpanded ? 'auto' : `${ 6 + ReplaceOWizard.changes.length }em`,
|
|
17
|
+
display: isExpanded ? 'table-cell' : '-webkit-box', // Adjust display property to suit content flow
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
So each 'option' would look like ( where 'auto' eq full height ):
|
|
21
|
+
height: 'auto' OR '6em' OR '3em'
|
|
22
|
+
*/
|
|
23
|
+
export const SourceRowRenderExpandDefaults = [
|
|
24
|
+
{
|
|
25
|
+
buttonLabel: 'expand',
|
|
26
|
+
iconName: 'ChevronDown',
|
|
27
|
+
styles: { height: '5em' }, //
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
buttonLabel: 'collapse',
|
|
31
|
+
iconName: 'ChevronUp',
|
|
32
|
+
styles: { height: 'auto' }, //
|
|
33
|
+
}
|
|
34
|
+
];
|
|
7
35
|
//# sourceMappingURL=ISourceRowRender.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ISourceRowRender.js","sourceRoot":"","sources":["../../../../src/components/molecules/SourcePage/ISourceRowRender.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
|
|
1
|
+
{"version":3,"file":"ISourceRowRender.js","sourceRoot":"","sources":["../../../../src/components/molecules/SourcePage/ISourceRowRender.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH;;;;GAIG;AAEH,yIAAyI;AAGzI;;;;;;;;;;GAUG;AACD,MAAM,CAAC,MAAM,6BAA6B,GAAmC;IAC7E;QACE,WAAW,EAAE,QAAQ;QACrB,QAAQ,EAAE,aAAa;QACvB,MAAM,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE;KAC9B;IACD;QACE,WAAW,EAAE,UAAU;QACvB,QAAQ,EAAE,WAAW;QACrB,MAAM,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE;KAC/B;CACF,CAAC"}
|
package/package.json
CHANGED