@codingame/monaco-vscode-walkthrough-service-override 10.0.0 → 10.0.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-walkthrough-service-override",
3
- "version": "10.0.0",
3
+ "version": "10.0.2",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -26,7 +26,7 @@
26
26
  }
27
27
  },
28
28
  "dependencies": {
29
- "vscode": "npm:@codingame/monaco-vscode-api@10.0.0",
29
+ "vscode": "npm:@codingame/monaco-vscode-api@10.0.2",
30
30
  "marked": "~14.0.0"
31
31
  }
32
32
  }
@@ -121,7 +121,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
121
121
  this.container = $('.gettingStartedContainer', {
122
122
  role: 'document',
123
123
  tabindex: 0,
124
- 'aria-label': ( localize(7546, "Overview of how to get up to speed with your editor."))
124
+ 'aria-label': ( localize(7545, "Overview of how to get up to speed with your editor."))
125
125
  });
126
126
  this.stepMediaComponent = $('.getting-started-media');
127
127
  this.stepMediaComponent.id = generateUuid();
@@ -399,7 +399,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
399
399
  label: x.title,
400
400
  detail: x.description,
401
401
  description: x.source,
402
- })))), { canPickMany: false, matchOnDescription: true, matchOnDetail: true, title: ( localize(7547, "Open Walkthrough...")) });
402
+ })))), { canPickMany: false, matchOnDescription: true, matchOnDetail: true, title: ( localize(7546, "Open Walkthrough...")) });
403
403
  if (selection) {
404
404
  this.runDispatchCommand('selectCategory', selection.id);
405
405
  }
@@ -584,8 +584,8 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
584
584
  provideScreenReaderUpdate() {
585
585
  if (this.configurationService.getValue("accessibility.verbosity.walkthrough" )) {
586
586
  const kbLabel = this.keybindingService.lookupKeybinding(AccessibleViewAction.id)?.getAriaLabel();
587
- return kbLabel ? ( localize(7548, "Inspect this in the accessible view ({0}).\n", kbLabel)) : ( localize(
588
- 7549,
587
+ return kbLabel ? ( localize(7547, "Inspect this in the accessible view ({0}).\n", kbLabel)) : ( localize(
588
+ 7548,
589
589
  "Inspect this in the accessible view via the command Open Accessible View which is currently not triggerable via keybinding.\n"
590
590
  ));
591
591
  }
@@ -637,7 +637,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
637
637
  this.categoriesPageScrollbar.dispose();
638
638
  }
639
639
  this.categoriesSlide = $('.gettingStartedSlideCategories.gettingStartedSlide');
640
- const prevButton = $('button.prev-button.button-link', { 'x-dispatch': 'scrollPrev' }, $('span.scroll-button.codicon.codicon-chevron-left'), $('span.moreText', {}, ( localize(7550, "Go Back"))));
640
+ const prevButton = $('button.prev-button.button-link', { 'x-dispatch': 'scrollPrev' }, $('span.scroll-button.codicon.codicon-chevron-left'), $('span.moreText', {}, ( localize(7549, "Go Back"))));
641
641
  this.stepsSlide = $('.gettingStartedSlideDetails.gettingStartedSlide', {}, prevButton);
642
642
  this.stepsContent = $('.gettingStartedDetailsContent', {});
643
643
  this.detailsPageScrollbar = this._register(( (new DomScrollableElement(this.stepsContent, { className: 'full-height-scrollable' }))));
@@ -658,11 +658,11 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
658
658
  icon: Codicon.check,
659
659
  actionClassName: 'getting-started-checkbox',
660
660
  isChecked: this.configurationService.getValue(configurationKey) === 'welcomePage',
661
- title: ( localize(7551, "When checked, this page will be shown on startup.")),
661
+ title: ( localize(7550, "When checked, this page will be shown on startup.")),
662
662
  ...defaultToggleStyles
663
663
  })));
664
664
  showOnStartupCheckbox.domNode.id = 'showOnStartup';
665
- const showOnStartupLabel = $('label.caption', { for: 'showOnStartup' }, ( localize(7552, "Show welcome page on startup")));
665
+ const showOnStartupLabel = $('label.caption', { for: 'showOnStartup' }, ( localize(7551, "Show welcome page on startup")));
666
666
  const onShowOnStartupChanged = () => {
667
667
  if (showOnStartupCheckbox.checked) {
668
668
  this.telemetryService.publicLog2('gettingStarted.ActionExecuted', { command: 'showOnStartupChecked', argument: undefined, walkthroughId: this.currentWalkthrough?.id });
@@ -681,7 +681,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
681
681
  showOnStartupCheckbox.checked = !showOnStartupCheckbox.checked;
682
682
  onShowOnStartupChanged();
683
683
  }));
684
- const header = $('.header', {}, $('h1.product-name.caption', {}, this.productService.nameLong), $('p.subtitle.description', {}, ( localize(7553, "Editing evolved"))));
684
+ const header = $('.header', {}, $('h1.product-name.caption', {}, this.productService.nameLong), $('p.subtitle.description', {}, ( localize(7552, "Editing evolved"))));
685
685
  const leftColumn = $('.categories-column.categories-column-left', {});
686
686
  const rightColumn = $('.categories-column.categories-column-right', {});
687
687
  const startList = this.buildStartList();
@@ -775,7 +775,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
775
775
  const link = $('button.button-link');
776
776
  link.innerText = name;
777
777
  link.title = fullPath;
778
- link.setAttribute('aria-label', ( localize(7554, "Open folder {0} with path {1}", name, parentPath)));
778
+ link.setAttribute('aria-label', ( localize(7553, "Open folder {0} with path {1}", name, parentPath)));
779
779
  link.addEventListener('click', e => {
780
780
  this.telemetryService.publicLog2('gettingStarted.ActionExecuted', { command: 'openRecent', argument: undefined, walkthroughId: this.currentWalkthrough?.id });
781
781
  this.hostService.openWindow([windowOpenable], {
@@ -798,18 +798,18 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
798
798
  this.recentlyOpenedList.dispose();
799
799
  }
800
800
  const recentlyOpenedList = this.recentlyOpenedList = ( (new GettingStartedIndexList({
801
- title: ( localize(7555, "Recent")),
801
+ title: ( localize(7554, "Recent")),
802
802
  klass: 'recently-opened',
803
803
  limit: 5,
804
- empty: $('.empty-recent', {}, ( localize(7556, "You have no recent folders,")), $('button.button-link', { 'x-dispatch': 'openFolder' }, ( localize(7557, "open a folder"))), ( localize(7558, "to start."))),
804
+ empty: $('.empty-recent', {}, ( localize(7555, "You have no recent folders,")), $('button.button-link', { 'x-dispatch': 'openFolder' }, ( localize(7556, "open a folder"))), ( localize(7557, "to start."))),
805
805
  more: $('.more', {}, $('button.button-link', {
806
806
  'x-dispatch': 'showMoreRecents',
807
807
  title: ( localize(
808
- 7559,
808
+ 7558,
809
809
  "Show All Recent Folders {0}",
810
810
  this.getKeybindingLabel(OpenRecentAction.ID)
811
811
  ))
812
- }, ( localize(7560, "More...")))),
812
+ }, ( localize(7559, "More...")))),
813
813
  renderElement: renderRecent,
814
814
  contextService: this.contextService
815
815
  })));
@@ -837,7 +837,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
837
837
  this.startList.dispose();
838
838
  }
839
839
  const startList = this.startList = ( (new GettingStartedIndexList({
840
- title: ( localize(7561, "Start")),
840
+ title: ( localize(7560, "Start")),
841
841
  klass: 'start-container',
842
842
  limit: 10,
843
843
  renderElement: renderStartEntry,
@@ -853,10 +853,10 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
853
853
  const renderNewBadge = (category.newItems || category.newEntry) && !category.isFeatured;
854
854
  const newBadge = $('.new-badge', {});
855
855
  if (category.newEntry) {
856
- reset(newBadge, $('.new-category', {}, ( localize(7562, "New"))));
856
+ reset(newBadge, $('.new-category', {}, ( localize(7561, "New"))));
857
857
  }
858
858
  else if (category.newItems) {
859
- reset(newBadge, $('.new-items', {}, ( localize(7563, "Updated"))));
859
+ reset(newBadge, $('.new-items', {}, ( localize(7562, "Updated"))));
860
860
  }
861
861
  const featuredBadge = $('.featured-badge', {});
862
862
  const descriptionContent = $('.description-content', {});
@@ -872,9 +872,9 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
872
872
  }, featuredBadge, $('.main-content', {}, this.iconWidgetFor(category), titleContent, renderNewBadge ? newBadge : $('.no-badge'), $('a.codicon.codicon-close.hide-category-button', {
873
873
  'tabindex': 0,
874
874
  'x-dispatch': 'hideCategory:' + category.id,
875
- 'title': ( localize(7564, "Hide")),
875
+ 'title': ( localize(7563, "Hide")),
876
876
  'role': 'button',
877
- 'aria-label': ( localize(7565, "Hide")),
877
+ 'aria-label': ( localize(7564, "Hide")),
878
878
  })), descriptionContent, $('.category-progress', { 'x-data-category-id': category.id, }, $('.progress-bar-outer', { 'role': 'progressbar' }, $('.progress-bar-inner'))));
879
879
  };
880
880
  if (this.gettingStartedList) {
@@ -900,10 +900,10 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
900
900
  return rank;
901
901
  };
902
902
  const gettingStartedList = this.gettingStartedList = ( (new GettingStartedIndexList({
903
- title: ( localize(7566, "Walkthroughs")),
903
+ title: ( localize(7565, "Walkthroughs")),
904
904
  klass: 'getting-started',
905
905
  limit: 5,
906
- footer: $('span.button-link.see-all-walkthroughs', { 'x-dispatch': 'seeAllWalkthroughs', 'tabindex': 0 }, ( localize(7560, "More..."))),
906
+ footer: $('span.button-link.see-all-walkthroughs', { 'x-dispatch': 'seeAllWalkthroughs', 'tabindex': 0 }, ( localize(7559, "More..."))),
907
907
  renderElement: renderGetttingStaredWalkthrough,
908
908
  rankElement: rankWalkthrough,
909
909
  contextService: this.contextService,
@@ -956,10 +956,10 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
956
956
  bar.style.width = `${progress}%`;
957
957
  element.parentElement.classList.toggle('no-progress', stats.stepsComplete === 0);
958
958
  if (stats.stepsTotal === stats.stepsComplete) {
959
- bar.title = ( localize(7567, "All {0} steps complete!", stats.stepsComplete));
959
+ bar.title = ( localize(7566, "All {0} steps complete!", stats.stepsComplete));
960
960
  }
961
961
  else {
962
- bar.title = ( localize(7568, "{0} of {1} steps complete", stats.stepsComplete, stats.stepsTotal));
962
+ bar.title = ( localize(7567, "{0} of {1} steps complete", stats.stepsComplete, stats.stepsTotal));
963
963
  }
964
964
  });
965
965
  }
@@ -1081,7 +1081,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
1081
1081
  if (isCommand) {
1082
1082
  const keybindingLabel = this.getKeybindingLabel(command);
1083
1083
  if (keybindingLabel) {
1084
- container.appendChild($('span.shortcut-message', {}, ( localize(7569, 'Tip: Use keyboard shortcut ')), $('span.keybinding', {}, keybindingLabel)));
1084
+ container.appendChild($('span.shortcut-message', {}, ( localize(7568, 'Tip: Use keyboard shortcut ')), $('span.keybinding', {}, keybindingLabel)));
1085
1085
  }
1086
1086
  }
1087
1087
  this.detailsPageDisposables.add(button);
@@ -1171,7 +1171,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
1171
1171
  reset(stepTitle, ...renderLabelWithIcons(step.title));
1172
1172
  const stepDescription = $('.step-container', {}, stepTitle, container);
1173
1173
  if (step.media.type === 'image') {
1174
- stepDescription.appendChild($('.image-description', { 'aria-label': ( localize(7570, "Image showing {0}", step.media.altText)) }));
1174
+ stepDescription.appendChild($('.image-description', { 'aria-label': ( localize(7569, "Image showing {0}", step.media.altText)) }));
1175
1175
  }
1176
1176
  return $('button.getting-started-step', {
1177
1177
  'x-dispatch': 'selectTask:' + step.id,
@@ -1191,8 +1191,8 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
1191
1191
  }
1192
1192
  }));
1193
1193
  const showNextCategory = this.gettingStartedCategories.find(_category => _category.id === category.next);
1194
- const stepsContainer = $('.getting-started-detail-container', { 'role': 'list' }, stepListContainer, $('.done-next-container', {}, $('button.button-link.all-done', { 'x-dispatch': 'allDone' }, $('span.codicon.codicon-check-all'), ( localize(7571, "Mark Done"))), ...(showNextCategory
1195
- ? [$('button.button-link.next', { 'x-dispatch': 'nextSection' }, ( localize(7572, "Next Section")), $('span.codicon.codicon-arrow-right'))]
1194
+ const stepsContainer = $('.getting-started-detail-container', { 'role': 'list' }, stepListContainer, $('.done-next-container', {}, $('button.button-link.all-done', { 'x-dispatch': 'allDone' }, $('span.codicon.codicon-check-all'), ( localize(7570, "Mark Done"))), ...(showNextCategory
1195
+ ? [$('button.button-link.next', { 'x-dispatch': 'nextSection' }, ( localize(7571, "Next Section")), $('span.codicon.codicon-arrow-right'))]
1196
1196
  : [])));
1197
1197
  this.detailsScrollbar = this._register(( (new DomScrollableElement(stepsContainer, { className: 'steps-container' }))));
1198
1198
  const stepListComponent = this.detailsScrollbar.getDomNode();
@@ -1209,12 +1209,12 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
1209
1209
  }
1210
1210
  buildTelemetryFooter(parent) {
1211
1211
  const mdRenderer = this.instantiationService.createInstance(MarkdownRenderer, {});
1212
- const privacyStatementCopy = ( localize(7573, "privacy statement"));
1212
+ const privacyStatementCopy = ( localize(7572, "privacy statement"));
1213
1213
  const privacyStatementButton = `[${privacyStatementCopy}](command:workbench.action.openPrivacyStatementUrl)`;
1214
- const optOutCopy = ( localize(7574, "opt out"));
1214
+ const optOutCopy = ( localize(7573, "opt out"));
1215
1215
  const optOutButton = `[${optOutCopy}](command:settings.filterByTelemetry)`;
1216
1216
  const text = ( localize(
1217
- 7575,
1217
+ 7574,
1218
1218
  "{0} collects usage data. Read our {1} and learn how to {2}.",
1219
1219
  this.productService.nameShort,
1220
1220
  privacyStatementButton,
@@ -1281,7 +1281,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
1281
1281
  const prevButton = this.container.querySelector('.prev-button.button-link');
1282
1282
  prevButton.style.display = this.editorInput.showWelcome || this.prevWalkthrough ? 'block' : 'none';
1283
1283
  const moreTextElement = prevButton.querySelector('.moreText');
1284
- moreTextElement.textContent = firstLaunch ? ( localize(7576, "Welcome")) : ( localize(7550, "Go Back"));
1284
+ moreTextElement.textContent = firstLaunch ? ( localize(7575, "Welcome")) : ( localize(7549, "Go Back"));
1285
1285
  this.container.querySelector('.gettingStartedSlideDetails').querySelectorAll('button').forEach(button => button.disabled = false);
1286
1286
  this.container.querySelector('.gettingStartedSlideCategories').querySelectorAll('button').forEach(button => button.disabled = true);
1287
1287
  this.container.querySelector('.gettingStartedSlideCategories').querySelectorAll('input').forEach(button => button.disabled = true);
@@ -43,7 +43,7 @@ class GettingStartedInput extends EditorInput {
43
43
  this.showWelcome = options.showWelcome ?? true;
44
44
  }
45
45
  getName() {
46
- return ( localize(7545, "Welcome"));
46
+ return ( localize(7576, "Welcome"));
47
47
  }
48
48
  }
49
49