{"version":3,"file":"labels.mjs","sources":["../src/labels.ts"],"sourcesContent":["export interface RichTextEditorLabels {\n  /** RichTextEditor.Bold control aria-label */\n  boldControlLabel: string;\n\n  /** RichTextEditor.Hr control aria-label */\n  hrControlLabel: string;\n\n  /** RichTextEditor.Italic control aria-label */\n  italicControlLabel: string;\n\n  /** RichTextEditor.Underline control aria-label */\n  underlineControlLabel: string;\n\n  /** RichTextEditor.Strike control aria-label */\n  strikeControlLabel: string;\n\n  /** RichTextEditor.ClearFormatting control aria-label */\n  clearFormattingControlLabel: string;\n\n  /** RichTextEditor.Link control aria-label */\n  linkControlLabel: string;\n\n  /** RichTextEditor.Unlink control aria-label */\n  unlinkControlLabel: string;\n\n  /** RichTextEditor.BulletList control aria-label */\n  bulletListControlLabel: string;\n\n  /** RichTextEditor.OrderedList control aria-label */\n  orderedListControlLabel: string;\n\n  /** RichTextEditor.H1 control aria-label */\n  h1ControlLabel: string;\n\n  /** RichTextEditor.H2 control aria-label */\n  h2ControlLabel: string;\n\n  /** RichTextEditor.H3 control aria-label */\n  h3ControlLabel: string;\n\n  /** RichTextEditor.H4 control aria-label */\n  h4ControlLabel: string;\n\n  /** RichTextEditor.H5 control aria-label */\n  h5ControlLabel: string;\n\n  /** RichTextEditor.H6 control aria-label */\n  h6ControlLabel: string;\n\n  /** RichTextEditor.Blockquote control aria-label */\n  blockquoteControlLabel: string;\n\n  /** RichTextEditor.AlignLeft control aria-label */\n  alignLeftControlLabel: string;\n\n  /** RichTextEditor.AlignCenter control aria-label */\n  alignCenterControlLabel: string;\n\n  /** RichTextEditor.AlignRight control aria-label */\n  alignRightControlLabel: string;\n\n  /** RichTextEditor.AlignJustify control aria-label */\n  alignJustifyControlLabel: string;\n\n  /** RichTextEditor.Code control aria-label */\n  codeControlLabel: string;\n\n  /** RichTextEditor.CodeBlock control aria-label */\n  codeBlockControlLabel: string;\n\n  /** RichTextEditor.Subscript control aria-label */\n  subscriptControlLabel: string;\n\n  /** RichTextEditor.Superscript control aria-label */\n  superscriptControlLabel: string;\n\n  /** RichTextEditor.ColorPicker control aria-label */\n  colorPickerControlLabel: string;\n\n  /** RichTextEditor.UnsetColor control aria-label */\n  unsetColorControlLabel: string;\n\n  /** RichTextEditor.Highlight control aria-label */\n  highlightControlLabel: string;\n\n  /** RichTextEditor.Undo control aria-label */\n  undoControlLabel: string;\n\n  /** RichTextEditor.Redo control aria-label */\n  redoControlLabel: string;\n\n  /** A function go get RichTextEditor.Color control aria-label based on color that control applies */\n  colorControlLabel: (color: string) => string;\n\n  /** Aria-label for link editor url input */\n  linkEditorInputLabel: string;\n\n  /** Placeholder for link editor url input */\n  linkEditorInputPlaceholder: string;\n\n  /** Content of external button tooltip in link editor when the link was chosen to open in a new tab */\n  linkEditorExternalLink: string;\n\n  /** Content of external button tooltip in link editor when the link was chosen to open in the same tab */\n  linkEditorInternalLink: string;\n\n  /** Save button content in link editor */\n  linkEditorSave: string;\n\n  /** Cancel button title text in color picker control */\n  colorPickerCancel: string;\n\n  /** Clear button title text in color picker control */\n  colorPickerClear: string;\n\n  /** Color picker button title text in color picker control */\n  colorPickerColorPicker: string;\n\n  /** Palette button title text in color picker control */\n  colorPickerPalette: string;\n\n  /** Save button title text in color picker control */\n  colorPickerSave: string;\n\n  /** Aria-label for color palette colors */\n  colorPickerColorLabel: (color: string) => string;\n\n  /** Aria-label for task list control */\n  tasksControlLabel: string;\n\n  /** Aria-label for task list sink task */\n  tasksSinkLabel: string;\n\n  /** Aria-label for task list lift task */\n  tasksLiftLabel: string;\n}\n\nexport const DEFAULT_LABELS: RichTextEditorLabels = {\n  // Controls labels\n  linkControlLabel: 'Link',\n  colorPickerControlLabel: 'Text color',\n  highlightControlLabel: 'Highlight text',\n  colorControlLabel: (color) => `Set text color ${color}`,\n  boldControlLabel: 'Bold',\n  italicControlLabel: 'Italic',\n  underlineControlLabel: 'Underline',\n  strikeControlLabel: 'Strikethrough',\n  clearFormattingControlLabel: 'Clear formatting',\n  unlinkControlLabel: 'Remove link',\n  bulletListControlLabel: 'Bullet list',\n  orderedListControlLabel: 'Ordered list',\n  h1ControlLabel: 'Heading 1',\n  h2ControlLabel: 'Heading 2',\n  h3ControlLabel: 'Heading 3',\n  h4ControlLabel: 'Heading 4',\n  h5ControlLabel: 'Heading 5',\n  h6ControlLabel: 'Heading 6',\n  blockquoteControlLabel: 'Blockquote',\n  alignLeftControlLabel: 'Align text: left',\n  alignCenterControlLabel: 'Align text: center',\n  alignRightControlLabel: 'Align text: right',\n  alignJustifyControlLabel: 'Align text: justify',\n  codeControlLabel: 'Code',\n  codeBlockControlLabel: 'Code block',\n  subscriptControlLabel: 'Subscript',\n  superscriptControlLabel: 'Superscript',\n  unsetColorControlLabel: 'Unset color',\n  hrControlLabel: 'Horizontal line',\n  undoControlLabel: 'Undo',\n  redoControlLabel: 'Redo',\n\n  // Task list\n  tasksControlLabel: 'Task list',\n  tasksSinkLabel: 'Decrease task level',\n  tasksLiftLabel: 'Increase task level',\n\n  // Link editor\n  linkEditorInputLabel: 'Enter URL',\n  linkEditorInputPlaceholder: 'https://example.com/',\n  linkEditorExternalLink: 'Open link in a new tab',\n  linkEditorInternalLink: 'Open link in the same tab',\n  linkEditorSave: 'Save',\n\n  // Color picker control\n  colorPickerCancel: 'Cancel',\n  colorPickerClear: 'Clear color',\n  colorPickerColorPicker: 'Color picker',\n  colorPickerPalette: 'Color palette',\n  colorPickerSave: 'Save',\n  colorPickerColorLabel: (color) => `Set text color ${color}`,\n};\n"],"names":["DEFAULT_LABELS","linkControlLabel","colorPickerControlLabel","highlightControlLabel","colorControlLabel","color","boldControlLabel","italicControlLabel","underlineControlLabel","strikeControlLabel","clearFormattingControlLabel","unlinkControlLabel","bulletListControlLabel","orderedListControlLabel","h1ControlLabel","h2ControlLabel","h3ControlLabel","h4ControlLabel","h5ControlLabel","h6ControlLabel","blockquoteControlLabel","alignLeftControlLabel","alignCenterControlLabel","alignRightControlLabel","alignJustifyControlLabel","codeControlLabel","codeBlockControlLabel","subscriptControlLabel","superscriptControlLabel","unsetColorControlLabel","hrControlLabel","undoControlLabel","redoControlLabel","tasksControlLabel","tasksSinkLabel","tasksLiftLabel","linkEditorInputLabel","linkEditorInputPlaceholder","linkEditorExternalLink","linkEditorInternalLink","linkEditorSave","colorPickerCancel","colorPickerClear","colorPickerColorPicker","colorPickerPalette","colorPickerSave","colorPickerColorLabel"],"mappings":"AAyIO,MAAMA,cAAA,GAAuC;AAAA;AAElDC,EAAAA,gBAAA,EAAkB,MAAA;AAClBC,EAAAA,uBAAA,EAAyB,YAAA;AACzBC,EAAAA,qBAAA,EAAuB,gBAAA;AACvBC,EAAAA,iBAAA,EAAoBC,KAAA,IAAU,CAAA,eAAA,EAAkBA,KAAK,CAAA,CAAA;AACrDC,EAAAA,gBAAA,EAAkB,MAAA;AAClBC,EAAAA,kBAAA,EAAoB,QAAA;AACpBC,EAAAA,qBAAA,EAAuB,WAAA;AACvBC,EAAAA,kBAAA,EAAoB,eAAA;AACpBC,EAAAA,2BAAA,EAA6B,kBAAA;AAC7BC,EAAAA,kBAAA,EAAoB,aAAA;AACpBC,EAAAA,sBAAA,EAAwB,aAAA;AACxBC,EAAAA,uBAAA,EAAyB,cAAA;AACzBC,EAAAA,cAAA,EAAgB,WAAA;AAChBC,EAAAA,cAAA,EAAgB,WAAA;AAChBC,EAAAA,cAAA,EAAgB,WAAA;AAChBC,EAAAA,cAAA,EAAgB,WAAA;AAChBC,EAAAA,cAAA,EAAgB,WAAA;AAChBC,EAAAA,cAAA,EAAgB,WAAA;AAChBC,EAAAA,sBAAA,EAAwB,YAAA;AACxBC,EAAAA,qBAAA,EAAuB,kBAAA;AACvBC,EAAAA,uBAAA,EAAyB,oBAAA;AACzBC,EAAAA,sBAAA,EAAwB,mBAAA;AACxBC,EAAAA,wBAAA,EAA0B,qBAAA;AAC1BC,EAAAA,gBAAA,EAAkB,MAAA;AAClBC,EAAAA,qBAAA,EAAuB,YAAA;AACvBC,EAAAA,qBAAA,EAAuB,WAAA;AACvBC,EAAAA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