@knapsack/renderer-web-components 4.69.13--canary.4739.37477c8.0 → 4.69.13--canary.4821.022ca72.0

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,20 @@
1
+ # v4.69.12 (Thu Sep 26 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Merge branch 'latest' into feature/ksp-5560-replace-schema-forms-in-content-blocks ([@GormanDesign](https://github.com/GormanDesign))
6
+
7
+ #### 🏠 Internal
8
+
9
+ - chore(deps): update dependency @types/node to ^20.16.6 [#4846](https://github.com/knapsack-labs/app-monorepo/pull/4846) ([@renovate[bot]](https://github.com/renovate[bot]))
10
+
11
+ #### Authors: 2
12
+
13
+ - [@renovate[bot]](https://github.com/renovate[bot])
14
+ - Matt Gorman ([@GormanDesign](https://github.com/GormanDesign))
15
+
16
+ ---
17
+
1
18
  # v4.69.11 (Fri Sep 20 2024)
2
19
 
3
20
  #### 🏠 Internal
@@ -1 +1 @@
1
- {"version":3,"file":"renderer-web-components.d.ts","sourceRoot":"","sources":["../src/renderer-web-components.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EACR,YAAY,EACZ,UAAU,EAEX,MAAM,yBAAyB,CAAC;AA2BjC,qBAAa,4BACX,SAAQ,YACR,YAAW,UAAU;;gBAKT,EACV,+BAA+B,GAChC,GAAE;QACD;;;;WAIG;QACH,+BAA+B,CAAC,EAAE,MAAM,CAAC;KACrC;IAsCN,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAUxB;IAEF,QAAQ,EAAE,QAAQ,CAAC,UAAU,CAAC,CAsK5B;IAEI,SAAS,CAAC,EAAE,QAAQ,EAAE,EAAE,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IAQlE,sBAAsB,EAAE,QAAQ,CAAC,wBAAwB,CAAC,CAWxD;IAEO,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC,CAY/B;IAEF,OAAO,EAAE,QAAQ,CAAC,SAAS,CAAC,CA2BzB;IAEH,eAAe,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAyE1C;IAEF,sBAAsB,EAAE,QAAQ,CAAC,wBAAwB,CAAC,CAwBxD;CACH"}
1
+ {"version":3,"file":"renderer-web-components.d.ts","sourceRoot":"","sources":["../src/renderer-web-components.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EACR,YAAY,EACZ,UAAU,EAEX,MAAM,yBAAyB,CAAC;AAyBjC,qBAAa,4BACX,SAAQ,YACR,YAAW,UAAU;;gBAKT,EACV,+BAA+B,GAChC,GAAE;QACD;;;;WAIG;QACH,+BAA+B,CAAC,EAAE,MAAM,CAAC;KACrC;IAqCN,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAUxB;IAEF,QAAQ,EAAE,QAAQ,CAAC,UAAU,CAAC,CA2J5B;IAEI,SAAS,CAAC,EAAE,QAAQ,EAAE,EAAE,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IAQlE,sBAAsB,EAAE,QAAQ,CAAC,wBAAwB,CAAC,CAexD;IAEO,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC,CAY/B;IAEF,OAAO,EAAE,QAAQ,CAAC,SAAS,CAAC,CA2BzB;IAEH,eAAe,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAyE1C;IAEF,sBAAsB,EAAE,QAAQ,CAAC,wBAAwB,CAAC,CAwBxD;CACH"}
@@ -32,7 +32,6 @@ class KnapsackWebComponentRenderer extends renderers_1.RendererBase {
32
32
  super({
33
33
  id: types_1.rendererIds['web-components'],
34
34
  language: 'html',
35
- extension: '.html',
36
35
  });
37
36
  _KnapsackWebComponentRenderer_instances.add(this);
38
37
  _KnapsackWebComponentRenderer_customElementManifestSchemaPath.set(this, void 0);
@@ -47,31 +46,28 @@ class KnapsackWebComponentRenderer extends renderers_1.RendererBase {
47
46
  }),
48
47
  };
49
48
  };
50
- this.getUsage = async (opt) => {
51
- const { pattern, template, demo,
52
- /**
53
- * The Patterns class
54
- */
55
- patternManifest, } = opt;
49
+ this.getUsage = async ({ demo, patternId, templateId, state, }) => {
56
50
  if (!demo) {
57
- return (0, utils_1.getUsage)({
58
- templateName: template.alias,
59
- });
51
+ throw new Error(`No demo provide when rendering ${patternId} ${templateId}`);
52
+ }
53
+ const pattern = state.patterns[patternId];
54
+ if (!pattern) {
55
+ throw new Error(`Cannot find pattern ${patternId}`);
60
56
  }
61
57
  switch (demo.type) {
62
58
  case 'template': {
63
59
  const { templateInfo } = demo;
64
- const { absolutePath, exists } = await (0, file_utils_1.resolvePath)({
65
- path: demo.templateInfo.path,
66
- pkgPathAliases: this.pkgPathAliases,
67
- resolveFromDir: this.dataDir,
68
- });
60
+ const { absolutePath, exists } = await this.resolvePath(templateInfo.path);
69
61
  if (!exists) {
70
62
  throw new Error(`Cannot find template demo at ${absolutePath}`);
71
63
  }
72
64
  return (0, file_utils_1.readFile)(absolutePath);
73
65
  }
74
66
  case 'data': {
67
+ const template = pattern.templates.find((t) => t.id === templateId);
68
+ if (!template) {
69
+ throw new Error(`Cannot find template ${templateId} in pattern ${patternId}`);
70
+ }
75
71
  const { data: { props, slots, slotsOptionsComputed }, } = demo;
76
72
  if (!slots) {
77
73
  return (0, utils_1.getUsage)({
@@ -92,7 +88,6 @@ class KnapsackWebComponentRenderer extends renderers_1.RendererBase {
92
88
  if (slottedTemplate.type === 'template-reference') {
93
89
  throw new Error(`Cannot handle slotted template references in ${JSON.stringify({
94
90
  patternId: pattern.id,
95
- templateId: template.id,
96
91
  demoId: demo.id,
97
92
  slottedTemplate,
98
93
  })}`);
@@ -105,17 +100,11 @@ class KnapsackWebComponentRenderer extends renderers_1.RendererBase {
105
100
  content: '',
106
101
  };
107
102
  }
108
- const thisPattern = patternManifest.getPattern(slottedTemplate.patternId);
109
- const thisTemplate = thisPattern.templates.find((t) => t.id === slottedTemplate.templateId);
110
- if (!thisTemplate) {
111
- throw new Error(`Cannot find template id "${slottedTemplate.templateId}" in "${slottedTemplate.patternId}"`);
112
- }
113
103
  const usage = await this.getUsage({
114
- pattern: thisPattern,
115
- template: thisTemplate,
116
- patternManifest,
117
- demo: slottedTemplate.demo ||
118
- this.patterns.demosById[slottedTemplate.demoId],
104
+ demo: slottedTemplate.demo,
105
+ state,
106
+ patternId: slottedTemplate.demo.patternId,
107
+ templateId: slottedTemplate.demo.templateId,
119
108
  });
120
109
  return {
121
110
  slottedTemplate,
@@ -160,25 +149,27 @@ class KnapsackWebComponentRenderer extends renderers_1.RendererBase {
160
149
  });
161
150
  return usage;
162
151
  }
163
- default:
164
- throw new Error(`Must pass in a known demo.type, received ${
165
- // @ts-expect-error - demo.type *should of* been handled...
166
- demo.type}`);
152
+ default: {
153
+ const _exhaustiveCheck = demo;
154
+ throw new Error(`Must pass in a known demo.type, received ${JSON.stringify(demo)}`);
155
+ }
167
156
  }
168
157
  };
169
- this.getTemplateSuggestions = async () => {
158
+ this.getTemplateSuggestions = async ({ state, }) => {
170
159
  var _a;
171
160
  if (!__classPrivateFieldGet(this, _KnapsackWebComponentRenderer_customElementManifestSchemaPath, "f"))
172
161
  return { suggestions: [] };
173
162
  const tagNames = ((_a = __classPrivateFieldGet(this, _KnapsackWebComponentRenderer_customElementManifestSchema, "f").tags) === null || _a === void 0 ? void 0 : _a.map(({ name }) => name)) || [];
174
- const usedNames = this.getMyTemplates().allTemplates.map(({ alias }) => alias);
163
+ const usedNames = Object.values(state.patterns).flatMap((p) => p.templates
164
+ .filter((t) => t.templateLanguageId === this.id)
165
+ .map((t) => t.alias));
175
166
  const unusedNames = tagNames.filter((name) => !usedNames.includes(name));
176
167
  return {
177
168
  suggestions: unusedNames.map((name) => ({ alias: name, path: '' })),
178
169
  };
179
170
  };
180
171
  this.watch = async () => {
181
- super.watch({ templatePaths: [] });
172
+ super.watch();
182
173
  if (!__classPrivateFieldGet(this, _KnapsackWebComponentRenderer_customElementManifestSchemaPath, "f"))
183
174
  return;
184
175
  const watcher = chokidar_1.default.watch(__classPrivateFieldGet(this, _KnapsackWebComponentRenderer_customElementManifestSchemaPath, "f"), {
@@ -310,7 +301,7 @@ class KnapsackWebComponentRenderer extends renderers_1.RendererBase {
310
301
  return newFiles;
311
302
  };
312
303
  if (customElementManifestSchemaPath) {
313
- const { absolutePath, exists } = (0, file_utils_1.resolvePathSync)({
304
+ const { absolutePath, exists } = this.resolvePathSync({
314
305
  path: customElementManifestSchemaPath,
315
306
  resolveFromDir: this.userConfigDir,
316
307
  });
@@ -1 +1 @@
1
- {"version":3,"file":"renderer-web-components.js","sourceRoot":"","sources":["../src/renderer-web-components.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,wDAAgC;AAChC,uCAAoD;AACpD,uDAKiC;AACjC,2CAKyB;AAKzB,+BAA4B;AAC5B,qDAO8B;AAC9B,qCAA8C;AAC9C,mCAAgF;AAChF,6CAAyC;AAEzC,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,IAAA,yBAAY,EAAC,IAAA,WAAI,EAAC,SAAS,EAAE,iBAAiB,CAAC,CAAC,CAAC,CAAC;AACzE,SAAG,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC;AAE7B,MAAa,4BACX,SAAQ,wBAAY;IAMpB,YAAY,EACV,+BAA+B,MAQ7B,EAAE;QACJ,KAAK,CAAC;YACJ,EAAE,EAAE,mBAAW,CAAC,gBAAgB,CAAC;YACjC,QAAQ,EAAE,MAAM;YAChB,SAAS,EAAE,OAAO;SACnB,CAAC,CAAC;;QAjBL,gFAA0C;QAC1C,4EAAqD;QAiDrD,WAAM,GAAuB,KAAK,EAAE,GAAG,EAAE,EAAE;YACzC,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;YAEvC,OAAO;gBACL,EAAE,EAAE,IAAI;gBACR,IAAI,EAAE,MAAM,IAAA,uBAAU,EAAC;oBACrB,QAAQ,EAAE,KAAK;oBACf,IAAI,EAAE,Q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D,oEAsYC;;IAjWG,IAAI,CAAC,uBAAA,IAAI,qEAAiC;QAAE,OAAO;IACnD,MAAM,2BAA2B,GAAG,IAAA,yBAAY,EAC9C,uBAAA,IAAI,qEAAiC,CACtC,CAAC;IACF,IAAI,CAAC;QACH,MAAM,IAAI,GAAG,4BAAoB,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAAC;QACrE,uBAAA,IAAI,6DAAgC,IAAI,MAAA,CAAC;IAC3C,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,MAAM,IAAI,KAAK,CACb,4DACE,uBAAA,IAAI,qEACN,MAAM,CAAC,CAAC,OAAO,EAAE,CAClB,CAAC;IACJ,CAAC;AACH,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@knapsack/renderer-web-components",
3
3
  "description": "Render Web Components",
4
- "version": "4.69.13--canary.4739.37477c8.0",
4
+ "version": "4.69.13--canary.4821.022ca72.0",
5
5
  "main": "dist/renderer-web-components.js",
6
6
  "types": "dist/renderer-web-components.d.ts",
7
7
  "sideEffects": false,
@@ -15,19 +15,19 @@
15
15
  },
16
16
  "author": "Knapsack (https://www.knapsack.cloud)",
17
17
  "dependencies": {
18
- "@knapsack/app": "4.69.13--canary.4739.37477c8.0",
19
- "@knapsack/file-utils": "4.69.13--canary.4739.37477c8.0",
20
- "@knapsack/types": "4.69.13--canary.4739.37477c8.0",
21
- "@knapsack/utils": "4.69.13--canary.4739.37477c8.0",
18
+ "@knapsack/app": "4.69.13--canary.4821.022ca72.0",
19
+ "@knapsack/file-utils": "4.69.13--canary.4821.022ca72.0",
20
+ "@knapsack/types": "4.69.13--canary.4821.022ca72.0",
21
+ "@knapsack/utils": "4.69.13--canary.4821.022ca72.0",
22
22
  "cheerio": "^1.0.0",
23
23
  "chokidar": "^3.6.0",
24
24
  "ejs": "^3.1.10",
25
25
  "zod": "^3.23.8"
26
26
  },
27
27
  "devDependencies": {
28
- "@knapsack/eslint-config-starter": "4.69.13--canary.4739.37477c8.0",
29
- "@knapsack/test-ava": "4.69.13--canary.4739.37477c8.0",
30
- "@knapsack/typescript-config-starter": "4.69.13--canary.4739.37477c8.0",
28
+ "@knapsack/eslint-config-starter": "4.69.13--canary.4821.022ca72.0",
29
+ "@knapsack/test-ava": "4.69.13--canary.4821.022ca72.0",
30
+ "@knapsack/typescript-config-starter": "4.69.13--canary.4821.022ca72.0",
31
31
  "@types/node": "^20.16.6",
32
32
  "ava": "^6.1.3",
33
33
  "eslint": "^8.57.0",
@@ -42,5 +42,5 @@
42
42
  "directory": "apps/client/renderers/renderer-web-components",
43
43
  "type": "git"
44
44
  },
45
- "gitHead": "37477c8999118bdbe0775dda4dd0c9c640800d46"
45
+ "gitHead": "022ca7204e5f4c2b093821657e1a6cf0743301e4"
46
46
  }