bhl-forms 0.0.46 → 0.0.47

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.
@@ -11314,6 +11314,21 @@ var theme = {
11314
11314
  week: textClassification
11315
11315
  };
11316
11316
  var index = "";
11317
+ if (!Object.fromEntries) {
11318
+ Object.defineProperty(Object, "fromEntries", {
11319
+ value(entries) {
11320
+ if (!entries || !entries[Symbol.iterator]) {
11321
+ throw new Error("Object.fromEntries() requires a single iterable argument");
11322
+ }
11323
+ const o2 = {};
11324
+ Object.keys(entries).forEach((key) => {
11325
+ const [k2, v] = entries[key];
11326
+ o2[k2] = v;
11327
+ });
11328
+ return o2;
11329
+ }
11330
+ });
11331
+ }
11317
11332
  function toInteger(dirtyNumber) {
11318
11333
  if (dirtyNumber === null || dirtyNumber === true || dirtyNumber === false) {
11319
11334
  return NaN;
@@ -15603,6 +15618,11 @@ const init = () => {
15603
15618
  data.submitUrl = data.submitUrl || defaultSubmitUrl;
15604
15619
  data.prepData = data.prepData || prepData;
15605
15620
  data.fireStepEvent = data.fireStepEvent || fireStepEvent;
15621
+ data.onEnter = (callback) => (e2) => {
15622
+ if (e2.key === "Enter" || e2.keyCode === 13) {
15623
+ callback();
15624
+ }
15625
+ };
15606
15626
  const app = createApp(_sfc_main$1, { schema: schemaObj, data }).use(plugin$1, defaultConfig({
15607
15627
  inputs: {
15608
15628
  DatePicker: createInput(_sfc_main)