@frontile/forms-legacy 0.18.9 → 0.18.11

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.
@@ -6,7 +6,7 @@ import FormField from './form-field.js';
6
6
  import { hash } from '@ember/helper';
7
7
  import { precompileTemplate } from '@ember/template-compilation';
8
8
  import { setComponentTemplate } from '@ember/component';
9
- import { d as decorateFieldV2, i as initializeDeferredDecorator } from '../runtime--fcdnjmJ-BIE-iFEC.js';
9
+ import { d as decorateFieldV2, i as initializeDeferredDecorator } from '../runtime--fcdnjmJ-iQ7N8oRa.js';
10
10
 
11
11
  class FormCheckboxGroup extends Component {
12
12
  static {
@@ -6,7 +6,7 @@ import { useStyles } from '@frontile/theme';
6
6
  import FormField from './form-field.js';
7
7
  import { precompileTemplate } from '@ember/template-compilation';
8
8
  import { setComponentTemplate } from '@ember/component';
9
- import { d as decorateFieldV2, i as initializeDeferredDecorator } from '../runtime--fcdnjmJ-BIE-iFEC.js';
9
+ import { d as decorateFieldV2, i as initializeDeferredDecorator } from '../runtime--fcdnjmJ-iQ7N8oRa.js';
10
10
 
11
11
  class FormInputBase extends Component {
12
12
  static {
@@ -6,7 +6,7 @@ import FormField from './form-field.js';
6
6
  import { useStyles } from '@frontile/theme';
7
7
  import { precompileTemplate } from '@ember/template-compilation';
8
8
  import { setComponentTemplate } from '@ember/component';
9
- import { d as decorateFieldV2, i as initializeDeferredDecorator } from '../runtime--fcdnjmJ-BIE-iFEC.js';
9
+ import { d as decorateFieldV2, i as initializeDeferredDecorator } from '../runtime--fcdnjmJ-iQ7N8oRa.js';
10
10
 
11
11
  class FormRadioGroup extends Component {
12
12
  static {
@@ -7,7 +7,7 @@ import { concat } from '@ember/helper';
7
7
  import { useStyles } from '@frontile/theme';
8
8
  import { precompileTemplate } from '@ember/template-compilation';
9
9
  import { setComponentTemplate } from '@ember/component';
10
- import { d as decorateFieldV2, i as initializeDeferredDecorator } from '../runtime--fcdnjmJ-BIE-iFEC.js';
10
+ import { d as decorateFieldV2, i as initializeDeferredDecorator } from '../runtime--fcdnjmJ-iQ7N8oRa.js';
11
11
 
12
12
  class FormSelect extends Component {
13
13
  static {
@@ -50,4 +50,4 @@ function initializeDeferredDecorator(target, prop) {
50
50
  }
51
51
 
52
52
  export { decorateFieldV2 as d, initializeDeferredDecorator as i };
53
- //# sourceMappingURL=runtime--fcdnjmJ-BIE-iFEC.js.map
53
+ //# sourceMappingURL=runtime--fcdnjmJ-iQ7N8oRa.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"runtime--fcdnjmJ-BIE-iFEC.js","sources":["../../../node_modules/.pnpm/decorator-transforms@2.4.0_@babel+core@7.29.7/node_modules/decorator-transforms/dist/runtime--fcdnjmJ.js"],"sourcesContent":["const deferred = /* @__PURE__ */ new WeakMap();\nfunction deferDecorator(proto, prop, desc) {\n let map = deferred.get(proto);\n if (!map) {\n map = /* @__PURE__ */ new Map();\n deferred.set(proto, map);\n }\n map.set(prop, desc);\n}\nfunction findDeferredDecorator(target, prop) {\n var _a;\n let cursor = target.prototype;\n while (cursor) {\n let desc = (_a = deferred.get(cursor)) == null ? void 0 : _a.get(prop);\n if (desc) {\n return desc;\n }\n cursor = Object.getPrototypeOf(cursor);\n }\n}\nfunction decorateFieldV1(target, prop, decorators, initializer) {\n return decorateFieldV2(target.prototype, prop, decorators, initializer);\n}\nfunction decorateFieldV2(prototype, prop, decorators, initializer) {\n let desc = {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n };\n if (initializer) {\n desc.initializer = initializer;\n }\n for (let decorator of decorators) {\n desc = decorator(prototype, prop, desc) || desc;\n }\n if (desc.initializer === void 0) {\n Object.defineProperty(prototype, prop, desc);\n } else {\n deferDecorator(prototype, prop, desc);\n }\n}\nfunction decorateMethodV1({ prototype }, prop, decorators) {\n return decorateMethodV2(prototype, prop, decorators);\n}\nfunction decorateMethodV2(prototype, prop, decorators) {\n const origDesc = Object.getOwnPropertyDescriptor(prototype, prop);\n let desc = { ...origDesc };\n for (let decorator of decorators) {\n desc = decorator(prototype, prop, desc) || desc;\n }\n if (desc.initializer !== void 0) {\n desc.value = desc.initializer ? desc.initializer.call(prototype) : void 0;\n desc.initializer = void 0;\n }\n Object.defineProperty(prototype, prop, desc);\n}\nfunction initializeDeferredDecorator(target, prop) {\n let desc = findDeferredDecorator(target.constructor, prop);\n if (desc) {\n Object.defineProperty(target, prop, {\n enumerable: desc.enumerable,\n configurable: desc.configurable,\n writable: desc.writable,\n value: desc.initializer ? desc.initializer.call(target) : void 0\n });\n }\n}\nfunction decorateClass(target, decorators) {\n return decorators.reduce(\n (accum, decorator) => decorator(accum) || accum,\n target\n );\n}\nfunction decoratePOJO(pojo, decorated) {\n for (let [type, prop, decorators] of decorated) {\n if (type === \"field\") {\n decoratePojoField(pojo, prop, decorators);\n } else {\n decorateMethodV2(pojo, prop, decorators);\n }\n }\n return pojo;\n}\nfunction decoratePojoField(pojo, prop, decorators) {\n let desc = {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: () => {\n var _a;\n return (_a = Object.getOwnPropertyDescriptor(pojo, prop)) == null ? void 0 : _a.value;\n }\n };\n for (let decorator of decorators) {\n desc = decorator(pojo, prop, desc) || desc;\n }\n if (desc.initializer) {\n desc.value = desc.initializer.call(pojo);\n delete desc.initializer;\n }\n Object.defineProperty(pojo, prop, desc);\n}\nconst runtime = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n c: decorateClass,\n f: decorateFieldV1,\n g: decorateFieldV2,\n i: initializeDeferredDecorator,\n m: decorateMethodV1,\n n: decorateMethodV2,\n p: decoratePOJO\n}, Symbol.toStringTag, { value: \"Module\" }));\nexport {\n decorateFieldV1 as a,\n decorateFieldV2 as b,\n decorateMethodV1 as c,\n decorateClass as d,\n decorateMethodV2 as e,\n decoratePOJO as f,\n initializeDeferredDecorator as i,\n runtime as r\n};\n//# sourceMappingURL=runtime--fcdnjmJ.js.map\n"],"names":["deferred","WeakMap","deferDecorator","proto","prop","desc","map","get","Map","set","findDeferredDecorator","target","_a","cursor","prototype","Object","getPrototypeOf","decorateFieldV2","decorators","initializer","configurable","enumerable","writable","decorator","defineProperty","initializeDeferredDecorator","constructor","value","call"],"mappings":"AAuBA,MAAMA,QAAA,sBAGEC,OAAA,EAAA;AAER,SAASC,eACPC,KAAA,EACAC,IAAA,EACAC,IAAA,EACM;AACN,EAAA,IAAIC,GAAA,GAAMN,QAAA,CAASO,GAAA,CAAIJ,KAAK,CAAA;EAC5B,IAAI,CAACG,GAAA,EAAK;AACRA,IAAAA,GAAA,sBAAUE,GAAA,EAAA;AACVR,IAAAA,QAAA,CAASS,GAAA,CAAIN,KAAA,EAAOG,GAAG,CAAA;AACzB,EAAA;AACAA,EAAAA,GAAA,CAAIG,GAAA,CAAIL,IAAA,EAAMC,IAAI,CAAA;AACpB;AAEA,SAASK,qBAAAA,CACPC,MAAA,EACAP,IAAA,EACwB;AArB1B,EAAA,IAAAQ,EAAA;AAsBE,EAAA,IAAIC,MAAA,GAAkBF,MAAA,CAAeG,SAAA;AACrC,EAAA,OAAOD,MAAA,EAAQ;AACb,IAAA,IAAIR,IAAA,GAAA,CAAOO,EAAA,GAAAZ,QAAA,CAASO,GAAA,CAAIM,MAAM,MAAnB,IAAA,GAAA,MAAA,GAAAD,EAAA,CAAsBL,GAAA,CAAIH,IAAA,CAAA;AACrC,IAAA,IAAIC,IAAA,EAAM;AACR,MAAA,OAAOA,IAAA;AACT,IAAA;AACAQ,IAAAA,MAAA,GAASE,MAAA,CAAOC,cAAA,CAAeH,MAAM,CAAA;AACvC,EAAA;AACF;AAWA,SAASI,eAAAA,CACPH,SAAA,EACAV,IAAA,EACAc,UAAA,EACAC,WAAA,EACM;AACN,EAAA,IAAId,IAAA,GAAmB;AACrBe,IAAAA,YAAA,EAAc,IAAA;AACdC,IAAAA,UAAA,EAAY,IAAA;AACZC,IAAAA,QAAA,EAAU,IAAA;AACVH,IAAAA,WAAA,EAAa;AAAA,GAAA;AAEf,EAAA,IAAIA,WAAA,EAAa;IACfd,IAAA,CAAKc,WAAA,GAAcA,WAAA;AACrB,EAAA;EACA,KAAA,IAASI,SAAA,IAAaL,UAAA,EAAY;IAChCb,IAAA,GAAOkB,SAAA,CAAUT,SAAA,EAAWV,IAAA,EAAMC,IAAI,CAAA,IAAKA,IAAA;AAC7C,EAAA;AACA,EAAA,IAAIA,IAAA,CAAKc,WAAA,KAAgB,MAAA,EAAW;AAClCJ,IAAAA,MAAA,CAAOS,cAAA,CAAeV,SAAA,EAAWV,IAAA,EAAMC,IAAI,CAAA;EAC7C,CAAA,MAAO;AACLH,IAAAA,cAAA,CAAeY,SAAA,EAAWV,IAAA,EAAMC,IAAI,CAAA;AACtC,EAAA;AACF;AA2BA,SAASoB,2BAAAA,CACPd,MAAA,EACAP,IAAA,EACM;EACN,IAAIC,IAAA,GAAOK,qBAAA,CAAsBC,MAAA,CAAOe,WAAA,EAAatB,IAAI,CAAA;AACzD,EAAA,IAAIC,IAAA,EAAM;AACRU,IAAAA,MAAA,CAAOS,cAAA,CAAeb,MAAA,EAAQP,IAAA,EAAM;MAClCiB,UAAA,EAAYhB,IAAA,CAAKgB,UAAA;MACjBD,YAAA,EAAcf,IAAA,CAAKe,YAAA;MACnBE,QAAA,EAAUjB,IAAA,CAAKiB,QAAA;AACfK,MAAAA,KAAA,EAAOtB,IAAA,CAAKc,WAAA,GAAcd,IAAA,CAAKc,WAAA,CAAYS,IAAA,CAAKjB,MAAM,CAAA,GAAI;KAC3D,CAAA;AACH,EAAA;AACF;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"runtime--fcdnjmJ-iQ7N8oRa.js","sources":["../../../node_modules/.pnpm/decorator-transforms@2.4.0_@babel+core@7.29.7/node_modules/decorator-transforms/dist/runtime--fcdnjmJ.js"],"sourcesContent":["const deferred = /* @__PURE__ */ new WeakMap();\nfunction deferDecorator(proto, prop, desc) {\n let map = deferred.get(proto);\n if (!map) {\n map = /* @__PURE__ */ new Map();\n deferred.set(proto, map);\n }\n map.set(prop, desc);\n}\nfunction findDeferredDecorator(target, prop) {\n var _a;\n let cursor = target.prototype;\n while (cursor) {\n let desc = (_a = deferred.get(cursor)) == null ? void 0 : _a.get(prop);\n if (desc) {\n return desc;\n }\n cursor = Object.getPrototypeOf(cursor);\n }\n}\nfunction decorateFieldV1(target, prop, decorators, initializer) {\n return decorateFieldV2(target.prototype, prop, decorators, initializer);\n}\nfunction decorateFieldV2(prototype, prop, decorators, initializer) {\n let desc = {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n };\n if (initializer) {\n desc.initializer = initializer;\n }\n for (let decorator of decorators) {\n desc = decorator(prototype, prop, desc) || desc;\n }\n if (desc.initializer === void 0) {\n Object.defineProperty(prototype, prop, desc);\n } else {\n deferDecorator(prototype, prop, desc);\n }\n}\nfunction decorateMethodV1({ prototype }, prop, decorators) {\n return decorateMethodV2(prototype, prop, decorators);\n}\nfunction decorateMethodV2(prototype, prop, decorators) {\n const origDesc = Object.getOwnPropertyDescriptor(prototype, prop);\n let desc = { ...origDesc };\n for (let decorator of decorators) {\n desc = decorator(prototype, prop, desc) || desc;\n }\n if (desc.initializer !== void 0) {\n desc.value = desc.initializer ? desc.initializer.call(prototype) : void 0;\n desc.initializer = void 0;\n }\n Object.defineProperty(prototype, prop, desc);\n}\nfunction initializeDeferredDecorator(target, prop) {\n let desc = findDeferredDecorator(target.constructor, prop);\n if (desc) {\n Object.defineProperty(target, prop, {\n enumerable: desc.enumerable,\n configurable: desc.configurable,\n writable: desc.writable,\n value: desc.initializer ? desc.initializer.call(target) : void 0\n });\n }\n}\nfunction decorateClass(target, decorators) {\n return decorators.reduce(\n (accum, decorator) => decorator(accum) || accum,\n target\n );\n}\nfunction decoratePOJO(pojo, decorated) {\n for (let [type, prop, decorators] of decorated) {\n if (type === \"field\") {\n decoratePojoField(pojo, prop, decorators);\n } else {\n decorateMethodV2(pojo, prop, decorators);\n }\n }\n return pojo;\n}\nfunction decoratePojoField(pojo, prop, decorators) {\n let desc = {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: () => {\n var _a;\n return (_a = Object.getOwnPropertyDescriptor(pojo, prop)) == null ? void 0 : _a.value;\n }\n };\n for (let decorator of decorators) {\n desc = decorator(pojo, prop, desc) || desc;\n }\n if (desc.initializer) {\n desc.value = desc.initializer.call(pojo);\n delete desc.initializer;\n }\n Object.defineProperty(pojo, prop, desc);\n}\nconst runtime = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n c: decorateClass,\n f: decorateFieldV1,\n g: decorateFieldV2,\n i: initializeDeferredDecorator,\n m: decorateMethodV1,\n n: decorateMethodV2,\n p: decoratePOJO\n}, Symbol.toStringTag, { value: \"Module\" }));\nexport {\n decorateFieldV1 as a,\n decorateFieldV2 as b,\n decorateMethodV1 as c,\n decorateClass as d,\n decorateMethodV2 as e,\n decoratePOJO as f,\n initializeDeferredDecorator as i,\n runtime as r\n};\n//# sourceMappingURL=runtime--fcdnjmJ.js.map\n"],"names":["deferred","WeakMap","deferDecorator","proto","prop","desc","map","get","Map","set","findDeferredDecorator","target","_a","cursor","prototype","Object","getPrototypeOf","decorateFieldV2","decorators","initializer","configurable","enumerable","writable","decorator","defineProperty","initializeDeferredDecorator","constructor","value","call"],"mappings":"AAuBA,MAAMA,QAAA,sBAGEC,OAAA,EAAA;AAER,SAASC,eACPC,KAAA,EACAC,IAAA,EACAC,IAAA,EACM;AACN,EAAA,IAAIC,GAAA,GAAMN,QAAA,CAASO,GAAA,CAAIJ,KAAK,CAAA;EAC5B,IAAI,CAACG,GAAA,EAAK;AACRA,IAAAA,GAAA,sBAAUE,GAAA,EAAA;AACVR,IAAAA,QAAA,CAASS,GAAA,CAAIN,KAAA,EAAOG,GAAG,CAAA;AACzB,EAAA;AACAA,EAAAA,GAAA,CAAIG,GAAA,CAAIL,IAAA,EAAMC,IAAI,CAAA;AACpB;AAEA,SAASK,qBAAAA,CACPC,MAAA,EACAP,IAAA,E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AAatB,IAAI,CAAA;AACzD,EAAA,IAAIC,IAAA,EAAM;AACRU,IAAAA,MAAA,CAAOS,cAAA,CAAeb,MAAA,EAAQP,IAAA,EAAM;MAClCiB,UAAA,EAAYhB,IAAA,CAAKgB,UAAA;MACjBD,YAAA,EAAcf,IAAA,CAAKe,YAAA;MACnBE,QAAA,EAAUjB,IAAA,CAAKiB,QAAA;AACfK,MAAAA,KAAA,EAAOtB,IAAA,CAAKc,WAAA,GAAcd,IAAA,CAAKc,WAAA,CAAYS,IAAA,CAAKjB,MAAM,CAAA,GAAI;KAC3D,CAAA;AACH,EAAA;AACF;;","x_google_ignoreList":[0]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontile/forms-legacy",
3
- "version": "0.18.9",
3
+ "version": "0.18.11",
4
4
  "description": "Component Library for Ember Octane apps: Forms",
5
5
  "keywords": [
6
6
  "ember-addon",
@@ -52,30 +52,30 @@
52
52
  "test": "echo 'A v2 addon does not have tests, run tests in test-app'"
53
53
  },
54
54
  "dependencies": {
55
- "@embroider/addon-shim": "^1.10.3",
56
- "@frontile/theme": "^0.18.9",
57
- "@glint/template": "^1.9.0",
55
+ "@embroider/addon-shim": "^1.11.0",
56
+ "@frontile/theme": "^0.18.11",
57
+ "@glint/template": "^1.11.1",
58
58
  "ember-basic-dropdown": "^9.0.0",
59
- "ember-power-select": "^9.0.2"
59
+ "ember-power-select": "^9.0.6"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@babel/core": "7.29.6",
63
63
  "@babel/plugin-transform-typescript": "^7.29.7",
64
64
  "@ember/library-tsconfig": "^3.0.0",
65
- "@embroider/addon-dev": "8.4.2",
66
- "@glimmer/component": "^2.1.1",
65
+ "@embroider/addon-dev": "8.5.0",
66
+ "@glimmer/component": "^2.2.1",
67
67
  "@glimmer/tracking": "^1.1.2",
68
- "@glint/ember-tsc": "^1.11.6",
68
+ "@glint/ember-tsc": "^1.14.3",
69
69
  "@rollup/plugin-babel": "^7.1.0",
70
70
  "@rollup/plugin-node-resolve": "^16.0.3",
71
71
  "babel-plugin-ember-template-compilation": "^4.0.1",
72
- "concurrently": "^10.0.6",
72
+ "concurrently": "^10.0.7",
73
73
  "decorator-transforms": "^2.4.0",
74
74
  "ember-concurrency": "^5.3.0",
75
- "ember-source": "^7.3.0",
76
- "rollup": "^4.64.5",
75
+ "ember-source": "^7.4.0",
76
+ "rollup": "^4.68.3",
77
77
  "rollup-plugin-copy": "^3.5.0",
78
- "tailwindcss": "^4.3.3",
78
+ "tailwindcss": "^4.3.5",
79
79
  "typescript": "^6.0.3"
80
80
  },
81
81
  "peerDependencies": {
@@ -113,5 +113,5 @@
113
113
  "./components/form-textarea.js": "./dist/_app_/components/form-textarea.js"
114
114
  }
115
115
  },
116
- "gitHead": "2ce08b2dc60b21fbc4b2df41ed7f8e019104741d"
116
+ "gitHead": "8917634ae5457b8fca832a471e439418008752d9"
117
117
  }