@inseefr/lunatic 3.7.4 → 3.7.5
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/components/Loop/Loop.d.ts +1 -0
- package/components/Loop/Loop.js +2 -2
- package/components/Loop/Loop.js.map +1 -1
- package/components/RosterForLoop/RosterForLoop.js +3 -1
- package/components/RosterForLoop/RosterForLoop.js.map +1 -1
- package/components/RosterForLoop/RosterForLoop.spec.js +12 -0
- package/components/RosterForLoop/RosterForLoop.spec.js.map +1 -1
- package/components/shared/Missing/Missing.js +3 -3
- package/components/shared/Missing/Missing.js.map +1 -1
- package/esm/components/Loop/Loop.d.ts +1 -0
- package/esm/components/Loop/Loop.js +2 -2
- package/esm/components/Loop/Loop.js.map +1 -1
- package/esm/components/RosterForLoop/RosterForLoop.js +3 -1
- package/esm/components/RosterForLoop/RosterForLoop.js.map +1 -1
- package/esm/components/RosterForLoop/RosterForLoop.spec.js +12 -0
- package/esm/components/RosterForLoop/RosterForLoop.spec.js.map +1 -1
- package/esm/components/shared/Missing/Missing.js +3 -3
- package/esm/components/shared/Missing/Missing.js.map +1 -1
- package/esm/use-lunatic/lunatic-context.d.ts +25 -23
- package/esm/use-lunatic/lunatic-context.js +11 -4
- package/esm/use-lunatic/lunatic-context.js.map +1 -1
- package/esm/use-lunatic/type.d.ts +56 -11
- package/esm/use-lunatic/use-lunatic.js +5 -1
- package/esm/use-lunatic/use-lunatic.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Loop/Loop.tsx +6 -1
- package/src/components/RosterForLoop/RosterForLoop.spec.tsx +28 -0
- package/src/components/RosterForLoop/RosterForLoop.tsx +3 -0
- package/src/components/RosterForLoop/__snapshots__/RosterForLoop.spec.tsx.snap +114 -0
- package/src/components/shared/Missing/Missing.tsx +3 -3
- package/src/stories/utils/Orchestrator.tsx +8 -1
- package/src/use-lunatic/lunatic-context.tsx +26 -14
- package/src/use-lunatic/type.ts +59 -12
- package/src/use-lunatic/use-lunatic.test.ts +4 -1
- package/src/use-lunatic/use-lunatic.ts +5 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/use-lunatic/lunatic-context.d.ts +25 -23
- package/use-lunatic/lunatic-context.js +16 -9
- package/use-lunatic/lunatic-context.js.map +1 -1
- package/use-lunatic/type.d.ts +56 -11
- package/use-lunatic/use-lunatic.js +5 -1
- package/use-lunatic/use-lunatic.js.map +1 -1
|
@@ -1,37 +1,39 @@
|
|
|
1
1
|
import { type FunctionComponent, type PropsWithChildren } from 'react';
|
|
2
|
+
import type { LunaticOptions } from './type';
|
|
3
|
+
type LunaticContextType = {
|
|
4
|
+
missingStrategy?: LunaticOptions['missingStrategy'];
|
|
5
|
+
management?: LunaticOptions['management'];
|
|
6
|
+
missing?: LunaticOptions['missing'];
|
|
7
|
+
shortcut?: LunaticOptions['shortcut'];
|
|
8
|
+
missingShortcut?: LunaticOptions['missingShortcut'];
|
|
9
|
+
dontKnowButton?: LunaticOptions['dontKnowButton'];
|
|
10
|
+
refusedButton?: LunaticOptions['refusedButton'];
|
|
11
|
+
componentsOptions?: LunaticOptions['componentsOptions'];
|
|
12
|
+
};
|
|
13
|
+
/** Expose specific Lunatic options to handle some (e.g. missing, management, components options) */
|
|
14
|
+
export declare const LunaticContext: import("react").Context<LunaticContextType>;
|
|
2
15
|
/**
|
|
3
16
|
* Provide `missing`, `missingStrategy`, `shortcut` and `missingShortcut`,
|
|
4
17
|
* `dontKnowButton`, `refusedButton` to `Missing` component to manage
|
|
5
18
|
* non-response buttons and shortcut.
|
|
6
19
|
*/
|
|
7
20
|
export declare const useLunaticMissing: () => {
|
|
8
|
-
missing: boolean;
|
|
9
|
-
missingStrategy: () => void;
|
|
10
|
-
shortcut: boolean;
|
|
21
|
+
missing: boolean | undefined;
|
|
22
|
+
missingStrategy: (() => void) | undefined;
|
|
23
|
+
shortcut: boolean | undefined;
|
|
11
24
|
missingShortcut: {
|
|
12
25
|
dontKnow: string;
|
|
13
26
|
refused: string;
|
|
14
|
-
};
|
|
15
|
-
dontKnowButton: string;
|
|
16
|
-
refusedButton: string;
|
|
27
|
+
} | undefined;
|
|
28
|
+
dontKnowButton: string | undefined;
|
|
29
|
+
refusedButton: string | undefined;
|
|
17
30
|
};
|
|
31
|
+
/** Expose the specified options to override default component behaviour. */
|
|
18
32
|
export declare const useLunaticComponentsOptions: () => {
|
|
19
|
-
detailAlwaysDisplayed
|
|
33
|
+
detailAlwaysDisplayed?: boolean;
|
|
34
|
+
disableRosterForLoopDeleteRowButton?: boolean;
|
|
20
35
|
};
|
|
21
36
|
/** Provide `management` to display data states [COLLECTED,EDITED,FORCED] */
|
|
22
|
-
export declare const useLunaticManagement: () => boolean;
|
|
23
|
-
export declare function createLunaticProvider({ management, missing, missingStrategy, shortcut, missingShortcut, dontKnowButton, refusedButton, componentsOptions, }:
|
|
24
|
-
|
|
25
|
-
missing: boolean;
|
|
26
|
-
missingStrategy: () => void;
|
|
27
|
-
shortcut: boolean;
|
|
28
|
-
missingShortcut: {
|
|
29
|
-
dontKnow: string;
|
|
30
|
-
refused: string;
|
|
31
|
-
};
|
|
32
|
-
dontKnowButton: string;
|
|
33
|
-
refusedButton: string;
|
|
34
|
-
componentsOptions: {
|
|
35
|
-
detailAlwaysDisplayed: boolean;
|
|
36
|
-
};
|
|
37
|
-
}): FunctionComponent<PropsWithChildren>;
|
|
37
|
+
export declare const useLunaticManagement: () => boolean | undefined;
|
|
38
|
+
export declare function createLunaticProvider({ management, missing, missingStrategy, shortcut, missingShortcut, dontKnowButton, refusedButton, componentsOptions, }: LunaticContextType): FunctionComponent<PropsWithChildren>;
|
|
39
|
+
export {};
|
|
@@ -3,12 +3,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.useLunaticManagement = exports.useLunaticComponentsOptions = exports.useLunaticMissing = void 0;
|
|
6
|
+
exports.useLunaticManagement = exports.useLunaticComponentsOptions = exports.useLunaticMissing = exports.LunaticContext = void 0;
|
|
7
7
|
exports.createLunaticProvider = createLunaticProvider;
|
|
8
8
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
9
9
|
const react_1 = require("react");
|
|
10
10
|
const index_1 = __importDefault(require("../i18n/index"));
|
|
11
|
-
|
|
11
|
+
/** Mandatory values used as a context's last-resort fallback. */
|
|
12
|
+
const defaultValues = {
|
|
12
13
|
missingStrategy: () => { },
|
|
13
14
|
management: false,
|
|
14
15
|
missing: false,
|
|
@@ -16,15 +17,20 @@ const LunaticContext = (0, react_1.createContext)({
|
|
|
16
17
|
missingShortcut: { dontKnow: '', refused: '' },
|
|
17
18
|
dontKnowButton: index_1.default.DK,
|
|
18
19
|
refusedButton: index_1.default.RF,
|
|
19
|
-
componentsOptions: {
|
|
20
|
-
|
|
20
|
+
componentsOptions: {
|
|
21
|
+
detailAlwaysDisplayed: false,
|
|
22
|
+
disableRosterForLoopDeleteRowButton: false,
|
|
23
|
+
},
|
|
24
|
+
};
|
|
25
|
+
/** Expose specific Lunatic options to handle some (e.g. missing, management, components options) */
|
|
26
|
+
exports.LunaticContext = (0, react_1.createContext)(defaultValues);
|
|
21
27
|
/**
|
|
22
28
|
* Provide `missing`, `missingStrategy`, `shortcut` and `missingShortcut`,
|
|
23
29
|
* `dontKnowButton`, `refusedButton` to `Missing` component to manage
|
|
24
30
|
* non-response buttons and shortcut.
|
|
25
31
|
*/
|
|
26
32
|
const useLunaticMissing = () => {
|
|
27
|
-
const { missing, missingStrategy, shortcut, missingShortcut, dontKnowButton, refusedButton, } = (0, react_1.useContext)(LunaticContext);
|
|
33
|
+
const { missing, missingStrategy, shortcut, missingShortcut, dontKnowButton, refusedButton, } = (0, react_1.useContext)(exports.LunaticContext);
|
|
28
34
|
return {
|
|
29
35
|
missing,
|
|
30
36
|
missingStrategy,
|
|
@@ -35,14 +41,15 @@ const useLunaticMissing = () => {
|
|
|
35
41
|
};
|
|
36
42
|
};
|
|
37
43
|
exports.useLunaticMissing = useLunaticMissing;
|
|
44
|
+
/** Expose the specified options to override default component behaviour. */
|
|
38
45
|
const useLunaticComponentsOptions = () => {
|
|
39
|
-
const { componentsOptions } = (0, react_1.useContext)(LunaticContext);
|
|
40
|
-
return componentsOptions;
|
|
46
|
+
const { componentsOptions } = (0, react_1.useContext)(exports.LunaticContext);
|
|
47
|
+
return componentsOptions ?? {};
|
|
41
48
|
};
|
|
42
49
|
exports.useLunaticComponentsOptions = useLunaticComponentsOptions;
|
|
43
50
|
/** Provide `management` to display data states [COLLECTED,EDITED,FORCED] */
|
|
44
51
|
const useLunaticManagement = () => {
|
|
45
|
-
return (0, react_1.useContext)(LunaticContext).management;
|
|
52
|
+
return (0, react_1.useContext)(exports.LunaticContext).management;
|
|
46
53
|
};
|
|
47
54
|
exports.useLunaticManagement = useLunaticManagement;
|
|
48
55
|
function createLunaticProvider({ management, missing, missingStrategy, shortcut, missingShortcut, dontKnowButton, refusedButton, componentsOptions, }) {
|
|
@@ -57,7 +64,7 @@ function createLunaticProvider({ management, missing, missingStrategy, shortcut,
|
|
|
57
64
|
componentsOptions,
|
|
58
65
|
};
|
|
59
66
|
return function Provider({ children }) {
|
|
60
|
-
return ((0, jsx_runtime_1.jsx)(LunaticContext.Provider, { value: value, children: children }));
|
|
67
|
+
return ((0, jsx_runtime_1.jsx)(exports.LunaticContext.Provider, { value: value, children: children }));
|
|
61
68
|
};
|
|
62
69
|
}
|
|
63
70
|
//# sourceMappingURL=lunatic-context.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lunatic-context.js","sourceRoot":"","sources":["../src/use-lunatic/lunatic-context.tsx"],"names":[],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"lunatic-context.js","sourceRoot":"","sources":["../src/use-lunatic/lunatic-context.tsx"],"names":[],"mappings":";;;;;;AA0EA,sDA2BC;;AArGD,iCAKe;AAEf,0DAA8B;AAc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QAAQ,EACR,eAAe,EACf,cAAc,EACd,aAAa,EACb,iBAAiB,GACG;IACpB,MAAM,KAAK,GAAG;QACb,UAAU;QACV,OAAO;QACP,eAAe;QACf,QAAQ;QACR,eAAe;QACf,cAAc;QACd,aAAa;QACb,iBAAiB;KACjB,CAAC;IACF,OAAO,SAAS,QAAQ,CAAC,EAAE,QAAQ,EAAqB;QACvD,OAAO,CACN,uBAAC,sBAAc,CAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,YACnC,QAAQ,GACgB,CAC1B,CAAC;IACH,CAAC,CAAC;AACH,CAAC"}
|
package/use-lunatic/type.d.ts
CHANGED
|
@@ -151,14 +151,23 @@ export type LunaticReducerState = {
|
|
|
151
151
|
};
|
|
152
152
|
/** Specific behaviour options defined in the {@link useLunatic} hook. */
|
|
153
153
|
export type LunaticOptions = {
|
|
154
|
-
/**
|
|
154
|
+
/**
|
|
155
|
+
* Ignore filters.
|
|
156
|
+
* @default false
|
|
157
|
+
*/
|
|
155
158
|
disableFilters?: boolean;
|
|
156
|
-
/**
|
|
159
|
+
/**
|
|
160
|
+
* Disable filters description.
|
|
161
|
+
* @default true
|
|
162
|
+
*/
|
|
157
163
|
disableFiltersDescription?: boolean;
|
|
158
164
|
/** Enable VTL and Markdown support. */
|
|
159
165
|
features?: ('MD' | 'VTL')[];
|
|
160
166
|
preferences?: ['COLLECTED'];
|
|
161
|
-
/**
|
|
167
|
+
/**
|
|
168
|
+
* Key in which the data is saved.
|
|
169
|
+
* @default "COLLECTED"
|
|
170
|
+
*/
|
|
162
171
|
savingType?: 'COLLECTED';
|
|
163
172
|
/** Function called when a variable is changed by a user input (must be memoized as it is used in dependency of a `useCallback` by the library). */
|
|
164
173
|
onChange?: LunaticChangesHandler;
|
|
@@ -168,24 +177,43 @@ export type LunaticOptions = {
|
|
|
168
177
|
*
|
|
169
178
|
* Enable management mode which allow to handle multiple states of the same variable (used by recovery positions).
|
|
170
179
|
*
|
|
171
|
-
* The administrator can switch between `COLLECTED`, `EDITED`, `INPUTTED` modes.
|
|
180
|
+
* The administrator can switch between `COLLECTED`, `EDITED`, `INPUTTED` modes.
|
|
181
|
+
* @default false
|
|
172
182
|
*/
|
|
173
183
|
management?: boolean;
|
|
174
|
-
/**
|
|
184
|
+
/**
|
|
185
|
+
* Enable keyboard shortcuts for checkboxes, radio buttons and missing buttons.
|
|
186
|
+
* @default false
|
|
187
|
+
*/
|
|
175
188
|
shortcut?: boolean;
|
|
176
|
-
/**
|
|
189
|
+
/**
|
|
190
|
+
* Starting page at launch.
|
|
191
|
+
* @default '1'
|
|
192
|
+
*/
|
|
177
193
|
initialPage?: PageTag;
|
|
178
194
|
/** Furthest page the user ever reached. */
|
|
179
195
|
lastReachedPage?: PageTag;
|
|
180
|
-
/**
|
|
196
|
+
/**
|
|
197
|
+
* Enable the preemptive loading of suggester data on Lunatic initialization.
|
|
198
|
+
* @default false
|
|
199
|
+
*/
|
|
181
200
|
autoSuggesterLoading?: boolean;
|
|
182
201
|
/** Function called to fetch nomenclatures used by the suggesters. */
|
|
183
202
|
getReferentiel?: (name: string) => Promise<Array<IndexEntry>>;
|
|
184
|
-
/**
|
|
203
|
+
/**
|
|
204
|
+
* Enable data controls (form validation).
|
|
205
|
+
* @default false
|
|
206
|
+
*/
|
|
185
207
|
activeControls?: boolean;
|
|
186
|
-
/**
|
|
208
|
+
/**
|
|
209
|
+
* Enable overview system.
|
|
210
|
+
* @default false
|
|
211
|
+
*/
|
|
187
212
|
withOverview?: boolean;
|
|
188
|
-
/**
|
|
213
|
+
/**
|
|
214
|
+
* Enable missing system.
|
|
215
|
+
* @default false
|
|
216
|
+
*/
|
|
189
217
|
missing?: boolean;
|
|
190
218
|
/** Function triggered when a missing button is clicked. */
|
|
191
219
|
missingStrategy?: () => void;
|
|
@@ -198,11 +226,28 @@ export type LunaticOptions = {
|
|
|
198
226
|
dontKnowButton?: string;
|
|
199
227
|
/** "Refused" button label. */
|
|
200
228
|
refusedButton?: string;
|
|
201
|
-
/**
|
|
229
|
+
/**
|
|
230
|
+
* Enable change tracking to keep a track of what variable changed
|
|
231
|
+
* (allow using getChangedData()).
|
|
232
|
+
* @default false
|
|
233
|
+
*/
|
|
202
234
|
trackChanges?: boolean;
|
|
203
235
|
logger?: LunaticLogger;
|
|
236
|
+
/** Options that can be set to override default component behaviour. */
|
|
204
237
|
componentsOptions?: {
|
|
238
|
+
/**
|
|
239
|
+
* Set the details ("autre précisez") as always displayed (even if the
|
|
240
|
+
* related "other" modality is not currently selected).
|
|
241
|
+
* @since 3.4.9
|
|
242
|
+
* @default false
|
|
243
|
+
*/
|
|
205
244
|
detailAlwaysDisplayed?: boolean;
|
|
245
|
+
/**
|
|
246
|
+
* Set the "remove row" button as disabled in roster for loop.
|
|
247
|
+
* @since 3.7.5
|
|
248
|
+
* @default false
|
|
249
|
+
*/
|
|
250
|
+
disableRosterForLoopDeleteRowButton?: boolean;
|
|
206
251
|
};
|
|
207
252
|
/** Commit variable change automatically for resizing / cleaning (used for testing) **/
|
|
208
253
|
autoCommit?: boolean;
|
|
@@ -56,7 +56,10 @@ const defaultOptions = {
|
|
|
56
56
|
refusedButton: DEFAULT_REFUSED,
|
|
57
57
|
trackChanges: false,
|
|
58
58
|
logger: ConsoleLogger_1.ConsoleLogger,
|
|
59
|
-
componentsOptions: {
|
|
59
|
+
componentsOptions: {
|
|
60
|
+
detailAlwaysDisplayed: false,
|
|
61
|
+
disableRosterForLoopDeleteRowButton: false,
|
|
62
|
+
},
|
|
60
63
|
};
|
|
61
64
|
/** The first library entrypoint is the `useLunatic` hook. */
|
|
62
65
|
function useLunatic(
|
|
@@ -102,6 +105,7 @@ argOptions = empty) {
|
|
|
102
105
|
dontKnowButton,
|
|
103
106
|
refusedButton,
|
|
104
107
|
componentsOptions.detailAlwaysDisplayed,
|
|
108
|
+
componentsOptions.disableRosterForLoopDeleteRowButton,
|
|
105
109
|
]);
|
|
106
110
|
const compileControls = () => {
|
|
107
111
|
return (0, compile_controls_1.compileControls)(state);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-lunatic.js","sourceRoot":"","sources":["../src/use-lunatic/use-lunatic.ts"],"names":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"use-lunatic.js","sourceRoot":"","sources":["../src/use-lunatic/use-lunatic.ts"],"names":[],"mappings":";;;;;AA4EA,gCAqLC;AAjQD,iCAAyD;AACzD,uCAKmB;AACnB,uCAAwD;AAExD,mDAAwB;AACxB,kDAA+C;AAC/C,uDAA0D;AAS1D,iEAAmF;AACnF,mEAA8D;AAC9D,uFAAkF;AAClF,kEAA6D;AAC7D,yEAAmE;AACnE,qDAAkD;AAClD,qEAAkE;AAClE,mFAA6E;AAC7E,+EAA2E;AAC3E,+CAA4C;AAC5C,4CAA+C;AAC/C,oDAAiD;AACjD,0DAAuD;AACvD,+DAA4D;AAC5D,6EAA0E;AAC1E,wDAAqD;AAErD,MAAM,KAAK,GAAG,EAAE,CAAC,CAAC,4EAA4E;AAC9F,MAAM,YAAY,GAAG,KAAoB,CAAC;AAC1C,MAAM,gBAAgB,GAAG,CAAC,KAAK,EAAE,IAAI,CAAkB,CAAC;AACxD,MAAM,mBAAmB,GAAG,CAAC,qBAAS,CAAkB,CAAC;AACzD,MAAM,gBAAgB,GAAG,EAAE,QAAQ,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;AAEvD,MAAM,iBAAiB,GAAG,cAAC,CAAC,EAAE,CAAC;AAC/B,MAAM,eAAe,GAAG,cAAC,CAAC,EAAE,CAAC;AAE7B,MAAM,cAAc,GAAG;IACtB,cAAc,EAAE,KAAK;IACrB,yBAAyB,EAAE,IAAI;IAC/B,QAAQ,EAAE,gBAAgB;IAC1B,WAAW,EAAE,mBAAmB;IAChC,UAAU,EAAE,qBAAS;IACrB,QAAQ,EAAE,GAAG,EAAE,GAAE,CAAC;IAClB,gBAAgB,EAAE,GAAG,EAAE,GAAE,CAAC;IAC1B,UAAU,EAAE,KAAK;IACjB,QAAQ,EA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