camunda-bpmn-js 4.3.2 → 4.3.3

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.
@@ -97451,6 +97451,7 @@
97451
97451
  function FeelEditor({
97452
97452
  extensions: editorExtensions = [],
97453
97453
  container,
97454
+ contentAttributes = {},
97454
97455
  tooltipContainer,
97455
97456
  onChange = () => {},
97456
97457
  onKeyDown = () => {},
@@ -97502,6 +97503,7 @@
97502
97503
  bracketMatching(),
97503
97504
  changeHandler,
97504
97505
  closeBrackets(),
97506
+ EditorView.contentAttributes.of(contentAttributes),
97505
97507
  indentOnInput(),
97506
97508
  keyHandler,
97507
97509
  keymap.of([
@@ -100011,6 +100013,7 @@
100011
100013
  };
100012
100014
  const CodeEditor = N((props, ref) => {
100013
100015
  const {
100016
+ contentAttributes,
100014
100017
  enableGutters,
100015
100018
  value,
100016
100019
  onInput,
@@ -100056,7 +100059,8 @@
100056
100059
  tooltipContainer: tooltipContainer,
100057
100060
  value: localValue,
100058
100061
  variables: variables,
100059
- extensions: [...(enableGutters ? [lineNumbers()] : []), EditorView.lineWrapping]
100062
+ extensions: [...(enableGutters ? [lineNumbers()] : []), EditorView.lineWrapping],
100063
+ contentAttributes
100060
100064
  });
100061
100065
  setEditor(editor);
100062
100066
  return () => {
@@ -134628,45 +134632,45 @@
134628
134632
  removeTemplateReplaceProvider: [ 'type', RemoveTemplateReplaceProvider ]
134629
134633
  };
134630
134634
 
134631
- /**
134632
- * @typedef {import('bpmn-js/lib/BaseViewer').BaseViewerOptions} BaseViewerOptions
134633
- */
134634
-
134635
- /**
134636
- * @param {BaseViewerOptions} options
134637
- */
134638
- function Modeler(options = {}) {
134639
-
134640
- options = {
134641
- ...options,
134642
- moddleExtensions: {
134643
- ...commonModdleExtensions,
134644
- ...options.moddleExtensions
134645
- },
134646
- propertiesPanel: {
134647
- tooltip: TooltipProvider,
134648
- ...options.propertiesPanel
134649
- }
134650
- };
134651
-
134652
- Modeler$1.call(this, options);
134653
- }
134654
-
134655
- e$7(Modeler, Modeler$1);
134656
-
134657
- Modeler.prototype._camundaPlatformModules = [
134658
- behaviorsModule,
134659
- index$4,
134660
- index,
134661
- colorPickerModule,
134662
- index$1,
134663
- CamundaVariableResolverModule,
134664
- RemoveTemplatesModule
134665
- ];
134666
-
134667
- Modeler.prototype._modules = [].concat(
134668
- Modeler$1.prototype._modules,
134669
- Modeler.prototype._camundaPlatformModules
134635
+ /**
134636
+ * @typedef {import('bpmn-js/lib/BaseViewer').BaseViewerOptions} BaseViewerOptions
134637
+ */
134638
+
134639
+ /**
134640
+ * @param {BaseViewerOptions} options
134641
+ */
134642
+ function Modeler(options = {}) {
134643
+
134644
+ options = {
134645
+ ...options,
134646
+ moddleExtensions: {
134647
+ ...commonModdleExtensions,
134648
+ ...options.moddleExtensions
134649
+ },
134650
+ propertiesPanel: {
134651
+ tooltip: TooltipProvider,
134652
+ ...options.propertiesPanel
134653
+ }
134654
+ };
134655
+
134656
+ Modeler$1.call(this, options);
134657
+ }
134658
+
134659
+ e$7(Modeler, Modeler$1);
134660
+
134661
+ Modeler.prototype._camundaPlatformModules = [
134662
+ behaviorsModule,
134663
+ index$4,
134664
+ index,
134665
+ colorPickerModule,
134666
+ index$1,
134667
+ CamundaVariableResolverModule,
134668
+ RemoveTemplatesModule
134669
+ ];
134670
+
134671
+ Modeler.prototype._modules = [].concat(
134672
+ Modeler$1.prototype._modules,
134673
+ Modeler.prototype._camundaPlatformModules
134670
134674
  );
134671
134675
 
134672
134676
  return Modeler;