@umbraco-cms/backoffice 14.0.0--preview005-f1b84a48 → 14.0.0--preview005-011edded

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.
Files changed (25) hide show
  1. package/dist-cms/assets/lang/da-dk.js +1 -1
  2. package/dist-cms/assets/lang/da-dk.ts +1 -1
  3. package/dist-cms/assets/lang/en-us.js +1 -1
  4. package/dist-cms/assets/lang/en-us.ts +2 -2
  5. package/dist-cms/css/rte-content.css +49 -0
  6. package/dist-cms/mocks/data/data-type/data-type.data.js +1 -2
  7. package/dist-cms/mocks/data/document/document.data.js +12 -1
  8. package/dist-cms/mocks/data/health-check.data.js +0 -25
  9. package/dist-cms/mocks/handlers/install.handlers.js +1 -1
  10. package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.defaults.js +0 -2
  11. package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.element.js +1 -0
  12. package/dist-cms/packages/core/index.d.ts +0 -1
  13. package/dist-cms/packages/core/index.js +0 -1
  14. package/dist-cms/packages/core/property-editor/uis/tiny-mce/plugins/manifests.js +0 -15
  15. package/dist-cms/packages/templating/components/insert-menu/templating-insert-menu.element.js +1 -8
  16. package/dist-cms/packages/templating/modals/insert-choose-type-sidebar.element.d.ts +1 -2
  17. package/dist-cms/packages/templating/modals/insert-choose-type-sidebar.element.js +0 -1
  18. package/dist-cms/tsconfig.build.tsbuildinfo +1 -1
  19. package/package.json +1 -2
  20. package/dist-cms/packages/core/macro/index.d.ts +0 -1
  21. package/dist-cms/packages/core/macro/index.js +0 -1
  22. package/dist-cms/packages/core/macro/macro.service.d.ts +0 -26
  23. package/dist-cms/packages/core/macro/macro.service.js +0 -116
  24. package/dist-cms/packages/core/property-editor/uis/tiny-mce/plugins/tiny-mce-macropicker.plugin.d.ts +0 -6
  25. package/dist-cms/packages/core/property-editor/uis/tiny-mce/plugins/tiny-mce-macropicker.plugin.js +0 -173
@@ -2968,7 +2968,7 @@ export default {
2968
2968
  analyticsDescription: '\n In order to improve Umbraco and add new functionality based on as relevant information as possible,\n <br>we would like to collect system- and usage information from your installation.\n <br>Aggregate data will be shared on a regular basis as well as learnings from these metrics.\n <br>Hopefully, you will help us collect some valuable data.\n <br>\n <br>We <strong>WILL NOT</strong> collect any personal data such as content, code, user information, and all data will be fully anonymized.\n ',
2969
2969
  minimalLevelDescription: 'We will only send an anonymized site ID to let us know that the site exists.',
2970
2970
  basicLevelDescription: 'We will send an anonymized site ID, Umbraco version, and packages installed',
2971
- detailedLevelDescription: '\n We will send:\n <ul>\n <li>Anonymized site ID, Umbraco version, and packages installed.</li>\n <li>Number of: Root nodes, Content nodes, Macros, Media, Document Types, Templates, Languages, Domains, User Group, Users, Members, Backoffice external login providers, and Property Editors in use.</li>\n <li>System information: Webserver, server OS, server framework, server OS language, and database provider.</li>\n <li>Configuration settings: Modelsbuilder mode, if custom Umbraco path exists, ASP environment, whether the delivery API is enabled, and allows public access, and if you are in debug mode.</li>\n </ul>\n <em>We might change what we send on the Detailed level in the future. If so, it will be listed above.\n <br>By choosing "Detailed" you agree to current and future anonymized information being collected.</em>\n ',
2971
+ detailedLevelDescription: '\n We will send:\n <ul>\n <li>Anonymized site ID, Umbraco version, and packages installed.</li>\n <li>Number of: Root nodes, Content nodes, Media, Document Types, Templates, Languages, Domains, User Group, Users, Members, Backoffice external login providers, and Property Editors in use.</li>\n <li>System information: Webserver, server OS, server framework, server OS language, and database provider.</li>\n <li>Configuration settings: Modelsbuilder mode, if custom Umbraco path exists, ASP environment, whether the delivery API is enabled, and allows public access, and if you are in debug mode.</li>\n </ul>\n <em>We might change what we send on the Detailed level in the future. If so, it will be listed above.\n <br>By choosing "Detailed" you agree to current and future anonymized information being collected.</em>\n ',
2972
2972
  },
2973
2973
  umbId: {
2974
2974
  editProfile: 'Edit your Umbraco ID profile',
@@ -3217,7 +3217,7 @@ export default {
3217
3217
  minimalLevelDescription: 'We will only send an anonymized site ID to let us know that the site exists.',
3218
3218
  basicLevelDescription: 'We will send an anonymized site ID, Umbraco version, and packages installed',
3219
3219
  detailedLevelDescription:
3220
- '\n We will send:\n <ul>\n <li>Anonymized site ID, Umbraco version, and packages installed.</li>\n <li>Number of: Root nodes, Content nodes, Macros, Media, Document Types, Templates, Languages, Domains, User Group, Users, Members, Backoffice external login providers, and Property Editors in use.</li>\n <li>System information: Webserver, server OS, server framework, server OS language, and database provider.</li>\n <li>Configuration settings: Modelsbuilder mode, if custom Umbraco path exists, ASP environment, whether the delivery API is enabled, and allows public access, and if you are in debug mode.</li>\n </ul>\n <em>We might change what we send on the Detailed level in the future. If so, it will be listed above.\n <br>By choosing "Detailed" you agree to current and future anonymized information being collected.</em>\n ',
3220
+ '\n We will send:\n <ul>\n <li>Anonymized site ID, Umbraco version, and packages installed.</li>\n <li>Number of: Root nodes, Content nodes, Media, Document Types, Templates, Languages, Domains, User Group, Users, Members, Backoffice external login providers, and Property Editors in use.</li>\n <li>System information: Webserver, server OS, server framework, server OS language, and database provider.</li>\n <li>Configuration settings: Modelsbuilder mode, if custom Umbraco path exists, ASP environment, whether the delivery API is enabled, and allows public access, and if you are in debug mode.</li>\n </ul>\n <em>We might change what we send on the Detailed level in the future. If so, it will be listed above.\n <br>By choosing "Detailed" you agree to current and future anonymized information being collected.</em>\n ',
3221
3221
  },
3222
3222
  umbId: {
3223
3223
  editProfile: 'Edit your Umbraco ID profile',
@@ -2266,7 +2266,7 @@ export default {
2266
2266
  analyticsDescription: '\n In order to improve Umbraco and add new functionality based on as relevant information as possible,\n <br>we would like to collect system- and usage information from your installation.\n <br>Aggregate data will be shared on a regular basis as well as learnings from these metrics.\n <br>Hopefully, you will help us collect some valuable data.\n <br>\n <br>We <strong>WILL NOT</strong> collect any personal data such as content, code, user information, and all data will be fully anonymized.\n ',
2267
2267
  minimalLevelDescription: 'We will only send an anonymized site ID to let us know that the site exists.',
2268
2268
  basicLevelDescription: 'We will send an anonymized site ID, Umbraco version, and packages installed',
2269
- detailedLevelDescription: '\n We will send:\n <ul>\n <li>Anonymized site ID, Umbraco version, and packages installed.</li>\n <li>Number of: Root nodes, Content nodes, Macros, Media, Document Types, Templates, Languages, Domains, User Group, Users, Members, Backoffice external login providers, and Property Editors in use.</li>\n <li>System information: Webserver, server OS, server framework, server OS language, and database provider.</li>\n <li>Configuration settings: Modelsbuilder mode, if custom Umbraco path exists, ASP environment, whether the delivery API is enabled, and allows public access, and if you are in debug mode.</li>\n </ul>\n <em>We might change what we send on the Detailed level in the future. If so, it will be listed above.\n <br>By choosing "Detailed" you agree to current and future anonymized information being collected.</em>\n ',
2269
+ detailedLevelDescription: '\n We will send:\n <ul>\n <li>Anonymized site ID, Umbraco version, and packages installed.</li>\n <li>Number of: Root nodes, Content nodes, Media, Document Types, Templates, Languages, Domains, User Group, Users, Members, Backoffice external login providers, and Property Editors in use.</li>\n <li>System information: Webserver, server OS, server framework, server OS language, and database provider.</li>\n <li>Configuration settings: Modelsbuilder mode, if custom Umbraco path exists, ASP environment, whether the delivery API is enabled, and allows public access, and if you are in debug mode.</li>\n </ul>\n <em>We might change what we send on the Detailed level in the future. If so, it will be listed above.\n <br>By choosing "Detailed" you agree to current and future anonymized information being collected.</em>\n ',
2270
2270
  },
2271
2271
  umbId: {
2272
2272
  editProfile: 'Edit your Umbraco ID profile',
@@ -1522,7 +1522,7 @@ export default {
1522
1522
  addGroup: 'Add group',
1523
1523
  inheritedFrom: 'Inherited from',
1524
1524
  addProperty: 'Add property',
1525
- editProperty : 'Edit property',
1525
+ editProperty: 'Edit property',
1526
1526
  requiredLabel: 'Required label',
1527
1527
  enableListViewHeading: 'Enable list view',
1528
1528
  enableListViewDescription:
@@ -2470,7 +2470,7 @@ export default {
2470
2470
  minimalLevelDescription: 'We will only send an anonymized site ID to let us know that the site exists.',
2471
2471
  basicLevelDescription: 'We will send an anonymized site ID, Umbraco version, and packages installed',
2472
2472
  detailedLevelDescription:
2473
- '\n We will send:\n <ul>\n <li>Anonymized site ID, Umbraco version, and packages installed.</li>\n <li>Number of: Root nodes, Content nodes, Macros, Media, Document Types, Templates, Languages, Domains, User Group, Users, Members, Backoffice external login providers, and Property Editors in use.</li>\n <li>System information: Webserver, server OS, server framework, server OS language, and database provider.</li>\n <li>Configuration settings: Modelsbuilder mode, if custom Umbraco path exists, ASP environment, whether the delivery API is enabled, and allows public access, and if you are in debug mode.</li>\n </ul>\n <em>We might change what we send on the Detailed level in the future. If so, it will be listed above.\n <br>By choosing "Detailed" you agree to current and future anonymized information being collected.</em>\n ',
2473
+ '\n We will send:\n <ul>\n <li>Anonymized site ID, Umbraco version, and packages installed.</li>\n <li>Number of: Root nodes, Content nodes, Media, Document Types, Templates, Languages, Domains, User Group, Users, Members, Backoffice external login providers, and Property Editors in use.</li>\n <li>System information: Webserver, server OS, server framework, server OS language, and database provider.</li>\n <li>Configuration settings: Modelsbuilder mode, if custom Umbraco path exists, ASP environment, whether the delivery API is enabled, and allows public access, and if you are in debug mode.</li>\n </ul>\n <em>We might change what we send on the Detailed level in the future. If so, it will be listed above.\n <br>By choosing "Detailed" you agree to current and future anonymized information being collected.</em>\n ',
2474
2474
  },
2475
2475
  umbId: {
2476
2476
  editProfile: 'Edit your Umbraco ID profile',
@@ -0,0 +1,49 @@
1
+ .umb-macro-holder {
2
+ border: 3px dotted red;
3
+ padding: 7px;
4
+ margin: 3px;
5
+ display: block;
6
+ position: relative;
7
+ }
8
+
9
+ .umb-macro-holder::after {
10
+ content: 'Macros are no longer supported. Please use the block picker instead.';
11
+ position: absolute;
12
+ top: 50%;
13
+ left: 50%;
14
+ transform: translate(-50%, -50%);
15
+ color: white;
16
+ background-color: rgba(0, 0, 0, 0.7);
17
+ padding: 10px;
18
+ border-radius: 5px;
19
+ }
20
+
21
+ .umb-embed-holder {
22
+ position: relative;
23
+ }
24
+
25
+ .umb-embed-holder > * {
26
+ user-select: none;
27
+ pointer-events: none;
28
+ }
29
+
30
+ .umb-embed-holder[data-mce-selected] {
31
+ outline: 2px solid var(--uui-palette-spanish-pink-light);
32
+ }
33
+
34
+ .umb-embed-holder::before {
35
+ z-index: 1000;
36
+ width: 100%;
37
+ height: 100%;
38
+ position: absolute;
39
+ content: ' ';
40
+ }
41
+
42
+ .umb-embed-holder[data-mce-selected]::before {
43
+ background: rgba(0, 0, 0, 0.025);
44
+ }
45
+
46
+ *[data-mce-selected='inline-boundary'] {
47
+ background: rgba(0, 0, 0, 0.025);
48
+ outline: 2px solid var(--uui-palette-spanish-pink-light);
49
+ }
@@ -716,7 +716,7 @@ export const data = [
716
716
  value: '+a[id|style|rel|data-id|data-udi|rev|charset|hreflang|dir|lang|tabindex|accesskey|type|name|href|target|title|class|onfocus|onblur|onclick|ondblclick|onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|onkeydown|onkeyup],-strong/-b[class|style],-em/-i[class|style],-strike[class|style],-s[class|style],-u[class|style],#p[id|style|dir|class|align],-ol[class|reversed|start|style|type],-ul[class|style],-li[class|style],br[class],img[id|dir|lang|longdesc|usemap|style|class|src|onmouseover|onmouseout|border|alt=|title|hspace|vspace|width|height|align|umbracoorgwidth|umbracoorgheight|onresize|onresizestart|onresizeend|rel|data-id],-sub[style|class],-sup[style|class],-blockquote[dir|style|class],-table[border=0|cellspacing|cellpadding|width|height|class|align|summary|style|dir|id|lang|bgcolor|background|bordercolor],-tr[id|lang|dir|class|rowspan|width|height|align|valign|style|bgcolor|background|bordercolor],tbody[id|class],thead[id|class],tfoot[id|class],#td[id|lang|dir|class|colspan|rowspan|width|height|align|valign|style|bgcolor|background|bordercolor|scope],-th[id|lang|dir|class|colspan|rowspan|width|height|align|valign|style|scope],caption[id|lang|dir|class|style],-div[id|dir|class|align|style],-span[class|align|style],-pre[class|align|style],address[class|align|style],-h1[id|dir|class|align|style],-h2[id|dir|class|align|style],-h3[id|dir|class|align|style],-h4[id|dir|class|align|style],-h5[id|dir|class|align|style],-h6[id|style|dir|class|align|style],hr[class|style],small[class|style],dd[id|class|title|style|dir|lang],dl[id|class|title|style|dir|lang],dt[id|class|title|style|dir|lang],object[class|id|width|height|codebase|*],param[name|value|_value|class],embed[type|width|height|src|class|*],map[name|class],area[shape|coords|href|alt|target|class],bdo[class],button[class],iframe[*],figure,figcaption,video[*],audio[*],picture[*],source[*],canvas[*]',
717
717
  },
718
718
  { alias: 'invalidElements', value: 'font' },
719
- // { alias: 'stylesheets', value: ['/css/rte-content.css'] },
719
+ { alias: 'stylesheets', value: [] },
720
720
  {
721
721
  alias: 'toolbar',
722
722
  value: [
@@ -738,7 +738,6 @@ export const data = [
738
738
  'anchor',
739
739
  'table',
740
740
  'umbmediapicker',
741
- 'umbmacro',
742
741
  'umbembeddialog',
743
742
  ],
744
743
  },
@@ -24,7 +24,18 @@ export const data = [
24
24
  alias: 'richTextEditor',
25
25
  culture: null,
26
26
  segment: null,
27
- value: 'Some value for the RTE with an <a href="http://foo.com">external link</a> and an <a href="/{localLink:umb://document/c05da24d7740447b9cdcbd8ce2172e38}">internal link</a> foo foo <div class="umb-macro-holder TestMacro umb-macro-mce_1 mceNonEditable"><!-- <?UMBRACO_MACRO macroAlias="TestMacro" /> --><ins>Macro alias: <strong>TestMacro</strong></ins></div>',
27
+ value: {
28
+ blocks: {},
29
+ markup: `
30
+ <p>
31
+ Some value for the RTE with an <a href="https://google.com">external link</a> and an <a href="/{localLink:umb://document/c05da24d7740447b9cdcbd8ce2172e38}">internal link</a> foo foo
32
+ </p>
33
+ <div class="umb-macro-holder TestMacro umb-macro-mce_1 mceNonEditable"><!-- <?UMBRACO_MACRO macroAlias="TestMacro" /> --><ins>Macro alias: <strong>TestMacro</strong></ins></div>
34
+ <p>The following tests the embed plugin:</p>
35
+ <div class="mceNonEditable umb-embed-holder" data-embed-height="240" data-embed-width="360" data-embed-constrain="false"><iframe width="360" height="240" src="https://www.youtube.com/embed/QRIWz9SotY4?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen="allowfullscreen" title="Sleep Token - The Summoning"></iframe></div>
36
+ <p>End of test content</p>
37
+ `,
38
+ },
28
39
  },
29
40
  {
30
41
  alias: 'email',
@@ -9,26 +9,6 @@ export const healthGroups = [
9
9
  {
10
10
  name: 'Configuration',
11
11
  checks: [
12
- {
13
- id: '1c6c0a39-d673-4794-b734-1bec45d6a363',
14
- results: [
15
- {
16
- message: `MacroErrors are set to 'Throw' which will prevent some or all pages in your site from loading
17
- completely if there are any errors in macros. Rectifying this will set the value to 'Inline'. `,
18
- resultType: StatusResultTypeModel.ERROR,
19
- readMoreLink: 'https://umbra.co/healthchecks-macro-errors',
20
- actions: [
21
- {
22
- healthCheckId: 'id123',
23
- name: 'Action name',
24
- alias: 'Action alias',
25
- description: 'Action description',
26
- valueRequired: true,
27
- },
28
- ],
29
- },
30
- ],
31
- },
32
12
  {
33
13
  id: '3e2f7b14-4b41-452b-9a30-e67fbc8e1206',
34
14
  results: [
@@ -209,11 +189,6 @@ export const healthGroupsWithoutResult = [
209
189
  {
210
190
  name: 'Configuration',
211
191
  checks: [
212
- {
213
- id: 'd0f7599e-9b2a-4d9e-9883-81c7edc5616f',
214
- name: 'Macro errors',
215
- description: 'Checks to make sure macro errors are not set to throw a YSOD (yellow screen of death), which would prevent certain or all pages from loading completely.',
216
- },
217
192
  {
218
193
  id: '3e2f7b14-4b41-452b-9a30-e67fbc8e1206',
219
194
  name: 'Notification Email Settings',
@@ -20,7 +20,7 @@ export const handlers = [
20
20
  },
21
21
  {
22
22
  level: TelemetryLevelModel.DETAILED,
23
- description: 'We will send:<ul><li>Anonymized site ID, umbraco version, and packages installed.</li><li>Number of: Root nodes, Content nodes, Macros, Media, Document Types, Templates, Languages, Domains, User Group, Users, Members, and Property Editors in use.</li><li>System information: Webserver, server OS, server framework, server OS language, and database provider.</li><li>Configuration settings: Modelsbuilder mode, if custom Umbraco path exists, ASP environment, and if you are in debug mode.</li></ul><i>We might change what we send on the Detailed level in the future. If so, it will be listed above.<br>By choosing "Detailed" you agree to current and future anonymized information being collected.</i>',
23
+ description: 'We will send:<ul><li>Anonymized site ID, umbraco version, and packages installed.</li><li>Number of: Root nodes, Content nodes, Media, Document Types, Templates, Languages, Domains, User Group, Users, Members, and Property Editors in use.</li><li>System information: Webserver, server OS, server framework, server OS language, and database provider.</li><li>Configuration settings: Modelsbuilder mode, if custom Umbraco path exists, ASP environment, and if you are in debug mode.</li></ul><i>We might change what we send on the Detailed level in the future. If so, it will be listed above.<br>By choosing "Detailed" you agree to current and future anonymized information being collected.</i>',
24
24
  },
25
25
  ],
26
26
  },
@@ -1,4 +1,3 @@
1
- //These are absolutely required in order for the macros to render inline
2
1
  //we put these as extended elements because they get merged on top of the normal allowed elements by tiny mce
3
2
  //so we don't have to specify all the normal elements again
4
3
  export const defaultFallbackConfig = {
@@ -19,7 +18,6 @@ export const defaultFallbackConfig = {
19
18
  'indent',
20
19
  'link',
21
20
  'umbmediapicker',
22
- 'umbmacro',
23
21
  'umbembeddialog',
24
22
  ],
25
23
  style_formats: [
@@ -170,6 +170,7 @@ _UmbInputTinyMceElement_setTinyConfig = async function _UmbInputTinyMceElement_s
170
170
  const styleFormats = await this.getFormatStyles(stylesheetPaths);
171
171
  // Map the stylesheets with server url
172
172
  const stylesheets = stylesheetPaths?.map((stylesheetPath) => `${__classPrivateFieldGet(this, _UmbInputTinyMceElement_serverUrl, "f")}/css/${stylesheetPath.replace(/\\/g, '/')}`) ?? [];
173
+ stylesheets.push('/umbraco/backoffice/css/rte-content.css');
173
174
  // create an object by merging the configuration onto the fallback config
174
175
  const configurationOptions = {
175
176
  ...defaultFallbackConfig,
@@ -9,7 +9,6 @@ export * from './entity-action/index.js';
9
9
  export * from './entity-bulk-action/index.js';
10
10
  export * from './extension-registry/index.js';
11
11
  export * from './id/index.js';
12
- export * from './macro/index.js';
13
12
  export * from './menu/index.js';
14
13
  export * from './modal/index.js';
15
14
  export * from './notification/index.js';
@@ -14,7 +14,6 @@ export * from './entity-action/index.js';
14
14
  export * from './entity-bulk-action/index.js';
15
15
  export * from './extension-registry/index.js';
16
16
  export * from './id/index.js';
17
- export * from './macro/index.js';
18
17
  export * from './menu/index.js';
19
18
  export * from './modal/index.js';
20
19
  export * from './notification/index.js';
@@ -64,20 +64,5 @@ const pluginManifests = [
64
64
  ],
65
65
  },
66
66
  },
67
- {
68
- type: 'tinyMcePlugin',
69
- alias: 'Umb.TinyMcePlugin.MacroPicker',
70
- name: 'Macro Picker TinyMCE Plugin',
71
- js: () => import('./tiny-mce-macropicker.plugin.js'),
72
- meta: {
73
- toolbar: [
74
- {
75
- alias: 'umbmacro',
76
- label: 'Macro',
77
- icon: 'preferences',
78
- },
79
- ],
80
- },
81
- },
82
67
  ];
83
68
  export const manifests = [...pluginManifests];
@@ -22,7 +22,7 @@ import { CodeSnippetType } from '../../modals/insert-choose-type-sidebar.element
22
22
  import { UmbDictionaryRepository } from '../../../dictionary/dictionary/index.js';
23
23
  import { customElement, property, css, html } from '../../../../external/lit/index.js';
24
24
  import { UmbTextStyles } from '../../../../shared/style/index.js';
25
- import { UMB_DICTIONARY_ITEM_PICKER_MODAL, UMB_MODAL_MANAGER_CONTEXT, UMB_PARTIAL_VIEW_PICKER_MODAL, UmbModalToken } from '../../../core/modal/index.js';
25
+ import { UMB_DICTIONARY_ITEM_PICKER_MODAL, UMB_MODAL_MANAGER_CONTEXT, UMB_PARTIAL_VIEW_PICKER_MODAL, UmbModalToken, } from '../../../core/modal/index.js';
26
26
  import { UmbLitElement } from '../../../../shared/lit-element/index.js';
27
27
  export const UMB_MODAL_TEMPLATING_INSERT_CHOOSE_TYPE_SIDEBAR_MODAL = new UmbModalToken(UMB_MODAL_TEMPLATING_INSERT_CHOOSE_TYPE_SIDEBAR_ALIAS, {
28
28
  modal: {
@@ -74,9 +74,6 @@ let UmbTemplatingInsertMenuElement = class UmbTemplatingInsertMenuElement extend
74
74
  __classPrivateFieldGet(this, _UmbTemplatingInsertMenuElement_instances, "m", _UmbTemplatingInsertMenuElement_dispatchInsertEvent).call(this);
75
75
  break;
76
76
  }
77
- case CodeSnippetType.macro: {
78
- throw new Error('Not implemented');
79
- }
80
77
  }
81
78
  }
82
79
  render() {
@@ -92,10 +89,6 @@ let UmbTemplatingInsertMenuElement = class UmbTemplatingInsertMenuElement extend
92
89
  title="Dictionary item"
93
90
  @click=${__classPrivateFieldGet(this, _UmbTemplatingInsertMenuElement_instances, "m", _UmbTemplatingInsertMenuElement_openInsertDictionaryItemModal)}>
94
91
  </uui-menu-item>
95
-
96
- <!-- <li>
97
- <uui-menu-item class="insert-menu-item" label="Macro" title="Macro"> </uui-menu-item>
98
- </li> -->
99
92
  </umb-dropdown>
100
93
  </uui-button-group>
101
94
  `;
@@ -5,8 +5,7 @@ export interface ChooseInsertTypeModalData {
5
5
  }
6
6
  export declare enum CodeSnippetType {
7
7
  partialView = "partialView",
8
- dictionaryItem = "dictionaryItem",
9
- macro = "macro"
8
+ dictionaryItem = "dictionaryItem"
10
9
  }
11
10
  export interface UmbChooseInsertTypeModalValue {
12
11
  value: string | UmbDictionaryItemPickerModalValue;
@@ -23,7 +23,6 @@ export var CodeSnippetType;
23
23
  (function (CodeSnippetType) {
24
24
  CodeSnippetType["partialView"] = "partialView";
25
25
  CodeSnippetType["dictionaryItem"] = "dictionaryItem";
26
- CodeSnippetType["macro"] = "macro";
27
26
  })(CodeSnippetType || (CodeSnippetType = {}));
28
27
  let UmbChooseInsertTypeModalElement = class UmbChooseInsertTypeModalElement extends UmbModalBaseElement {
29
28
  _close() {