@teamkeel/functions-runtime 0.422.3 → 0.423.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.
- package/dist/index.cjs +8 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -4
- package/dist/index.d.ts +13 -4
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2901,7 +2901,8 @@ var print = /* @__PURE__ */ __name(async (options) => {
|
|
|
2901
2901
|
title: options.title,
|
|
2902
2902
|
description: options.description,
|
|
2903
2903
|
data,
|
|
2904
|
-
autoPrint: options.autoPrint ?? false
|
|
2904
|
+
autoPrint: options.autoPrint ?? false,
|
|
2905
|
+
autoContinue: options.autoContinue ?? false
|
|
2905
2906
|
}
|
|
2906
2907
|
};
|
|
2907
2908
|
}, "print");
|
|
@@ -2918,6 +2919,7 @@ var pickList = /* @__PURE__ */ __name((name, options) => {
|
|
|
2918
2919
|
manual: true
|
|
2919
2920
|
},
|
|
2920
2921
|
duplicateHandling: options.duplicateHandling,
|
|
2922
|
+
autoContinue: options.autoContinue ?? false,
|
|
2921
2923
|
data: options.data.map((item) => {
|
|
2922
2924
|
const rendered = options.render(item);
|
|
2923
2925
|
return {
|
|
@@ -2960,6 +2962,7 @@ var NonRetriableError = class extends Error {
|
|
|
2960
2962
|
|
|
2961
2963
|
// src/flows/ui/elements/input/scan.ts
|
|
2962
2964
|
var isMultiMode = /* @__PURE__ */ __name((opts) => opts && opts.mode === "multi", "isMultiMode");
|
|
2965
|
+
var isSingleMode = /* @__PURE__ */ __name((opts) => opts && opts.mode === "single", "isSingleMode");
|
|
2963
2966
|
var scan = /* @__PURE__ */ __name((name, options) => {
|
|
2964
2967
|
return {
|
|
2965
2968
|
__type: "input",
|
|
@@ -2971,10 +2974,14 @@ var scan = /* @__PURE__ */ __name((name, options) => {
|
|
|
2971
2974
|
unit: options?.unit ?? void 0,
|
|
2972
2975
|
mode: options?.mode ?? "single",
|
|
2973
2976
|
duplicateHandling: "none",
|
|
2977
|
+
autoContinue: false,
|
|
2974
2978
|
...isMultiMode(options) ? {
|
|
2975
2979
|
max: options.max ?? void 0,
|
|
2976
2980
|
min: options.min ?? void 0,
|
|
2977
2981
|
duplicateHandling: options.duplicateHandling ?? "none"
|
|
2982
|
+
} : {},
|
|
2983
|
+
...isSingleMode(options) ? {
|
|
2984
|
+
autoContinue: options.autoContinue
|
|
2978
2985
|
} : {}
|
|
2979
2986
|
},
|
|
2980
2987
|
validate: /* @__PURE__ */ __name(async (data) => {
|