@kwiz/fluentui 1.0.112 → 1.0.113
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.
@@ -10,7 +10,7 @@ interface IProps {
|
|
10
10
|
label?: string;
|
11
11
|
}
|
12
12
|
export declare const PleaseWait: React.FunctionComponent<React.PropsWithChildren<IProps>>;
|
13
|
-
export declare const PleaseWaitPrompt: (props
|
13
|
+
export declare const PleaseWaitPrompt: (props?: {
|
14
14
|
message: string;
|
15
15
|
step?: number;
|
16
16
|
max?: number;
|
@@ -9,8 +9,7 @@ export const PleaseWait = (props) => {
|
|
9
9
|
: _jsx(Prompter, { hideOk: true, hideCancel: !isFunction(props.onCancel), cancelButtonText: props.cancelText || 'cancel', onCancel: props.onCancel, children: field }));
|
10
10
|
};
|
11
11
|
export const PleaseWaitPrompt = (props) => ({
|
12
|
-
//title: 'please wait...',
|
13
12
|
hideOk: true, hideCancel: true,
|
14
|
-
children: _jsx(Field, { validationMessage: props.message, validationState: "none", children: _jsx(ProgressBar, { value: props.step, max: props.max }) })
|
13
|
+
children: _jsx(Field, { validationMessage: (props === null || props === void 0 ? void 0 : props.message) || "please wait...", validationState: "none", children: _jsx(ProgressBar, { value: props === null || props === void 0 ? void 0 : props.step, max: props === null || props === void 0 ? void 0 : props.max }) })
|
15
14
|
});
|
16
15
|
//# sourceMappingURL=please-wait.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"please-wait.js","sourceRoot":"","sources":["../../src/controls/please-wait.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAkB,QAAQ,EAAE,MAAM,UAAU,CAAC;AAUpD,MAAM,CAAC,MAAM,UAAU,GAA6D,CAAC,KAAK,EAAE,EAAE;IAC1F,MAAM,KAAK,GAAG,KAAC,KAAK,IAAC,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