mirror of
https://github.com/google/blockly.git
synced 2026-01-07 00:50:27 +01:00
refactor: Migrate to named exports (#5623)
* refactor: Migrate to named exports * fix: Sort requires * fix: Remove duplicate deps
This commit is contained in:
@@ -15,41 +15,41 @@
|
||||
*/
|
||||
goog.module('Blockly.blockRendering');
|
||||
|
||||
const BottomRow = goog.require('Blockly.blockRendering.BottomRow');
|
||||
const Connection = goog.require('Blockly.blockRendering.Connection');
|
||||
const ConstantProvider = goog.require('Blockly.blockRendering.ConstantProvider');
|
||||
const Debug = goog.require('Blockly.blockRendering.Debug');
|
||||
const Drawer = goog.require('Blockly.blockRendering.Drawer');
|
||||
const ExternalValueInput = goog.require('Blockly.blockRendering.ExternalValueInput');
|
||||
const Field = goog.require('Blockly.blockRendering.Field');
|
||||
const Hat = goog.require('Blockly.blockRendering.Hat');
|
||||
const Icon = goog.require('Blockly.blockRendering.Icon');
|
||||
const InRowSpacer = goog.require('Blockly.blockRendering.InRowSpacer');
|
||||
const InlineInput = goog.require('Blockly.blockRendering.InlineInput');
|
||||
const InputConnection = goog.require('Blockly.blockRendering.InputConnection');
|
||||
const InputRow = goog.require('Blockly.blockRendering.InputRow');
|
||||
const IPathObject = goog.require('Blockly.blockRendering.IPathObject');
|
||||
const JaggedEdge = goog.require('Blockly.blockRendering.JaggedEdge');
|
||||
const MarkerSvg = goog.require('Blockly.blockRendering.MarkerSvg');
|
||||
const Measurable = goog.require('Blockly.blockRendering.Measurable');
|
||||
const NextConnection = goog.require('Blockly.blockRendering.NextConnection');
|
||||
const OutputConnection = goog.require('Blockly.blockRendering.OutputConnection');
|
||||
const PathObject = goog.require('Blockly.blockRendering.PathObject');
|
||||
const PreviousConnection = goog.require('Blockly.blockRendering.PreviousConnection');
|
||||
const Renderer = goog.require('Blockly.blockRendering.Renderer');
|
||||
const RenderInfo = goog.require('Blockly.blockRendering.RenderInfo');
|
||||
const RoundCorner = goog.require('Blockly.blockRendering.RoundCorner');
|
||||
const Row = goog.require('Blockly.blockRendering.Row');
|
||||
const SpacerRow = goog.require('Blockly.blockRendering.SpacerRow');
|
||||
const SquareCorner = goog.require('Blockly.blockRendering.SquareCorner');
|
||||
const StatementInput = goog.require('Blockly.blockRendering.StatementInput');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Theme = goog.requireType('Blockly.Theme');
|
||||
const TopRow = goog.require('Blockly.blockRendering.TopRow');
|
||||
const Types = goog.require('Blockly.blockRendering.Types');
|
||||
const debug = goog.require('Blockly.blockRendering.debug');
|
||||
const deprecation = goog.require('Blockly.utils.deprecation');
|
||||
const registry = goog.require('Blockly.registry');
|
||||
const {BottomRow} = goog.require('Blockly.blockRendering.BottomRow');
|
||||
const {Connection} = goog.require('Blockly.blockRendering.Connection');
|
||||
const {ConstantProvider} = goog.require('Blockly.blockRendering.ConstantProvider');
|
||||
const {Debug} = goog.require('Blockly.blockRendering.Debug');
|
||||
const {Drawer} = goog.require('Blockly.blockRendering.Drawer');
|
||||
const {ExternalValueInput} = goog.require('Blockly.blockRendering.ExternalValueInput');
|
||||
const {Field} = goog.require('Blockly.blockRendering.Field');
|
||||
const {Hat} = goog.require('Blockly.blockRendering.Hat');
|
||||
const {IPathObject} = goog.require('Blockly.blockRendering.IPathObject');
|
||||
const {Icon} = goog.require('Blockly.blockRendering.Icon');
|
||||
const {InRowSpacer} = goog.require('Blockly.blockRendering.InRowSpacer');
|
||||
const {InlineInput} = goog.require('Blockly.blockRendering.InlineInput');
|
||||
const {InputConnection} = goog.require('Blockly.blockRendering.InputConnection');
|
||||
const {InputRow} = goog.require('Blockly.blockRendering.InputRow');
|
||||
const {JaggedEdge} = goog.require('Blockly.blockRendering.JaggedEdge');
|
||||
const {MarkerSvg} = goog.require('Blockly.blockRendering.MarkerSvg');
|
||||
const {Measurable} = goog.require('Blockly.blockRendering.Measurable');
|
||||
const {NextConnection} = goog.require('Blockly.blockRendering.NextConnection');
|
||||
const {OutputConnection} = goog.require('Blockly.blockRendering.OutputConnection');
|
||||
const {PathObject} = goog.require('Blockly.blockRendering.PathObject');
|
||||
const {PreviousConnection} = goog.require('Blockly.blockRendering.PreviousConnection');
|
||||
const {RenderInfo} = goog.require('Blockly.blockRendering.RenderInfo');
|
||||
const {Renderer} = goog.require('Blockly.blockRendering.Renderer');
|
||||
const {RoundCorner} = goog.require('Blockly.blockRendering.RoundCorner');
|
||||
const {Row} = goog.require('Blockly.blockRendering.Row');
|
||||
const {SpacerRow} = goog.require('Blockly.blockRendering.SpacerRow');
|
||||
const {SquareCorner} = goog.require('Blockly.blockRendering.SquareCorner');
|
||||
const {StatementInput} = goog.require('Blockly.blockRendering.StatementInput');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Theme} = goog.requireType('Blockly.Theme');
|
||||
const {TopRow} = goog.require('Blockly.blockRendering.TopRow');
|
||||
const {Types} = goog.require('Blockly.blockRendering.Types');
|
||||
|
||||
/**
|
||||
* Returns whether the debugger is turned on.
|
||||
|
||||
@@ -15,11 +15,6 @@
|
||||
*/
|
||||
goog.module('Blockly.blockRendering.ConstantProvider');
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const RenderedConnection = goog.requireType('Blockly.RenderedConnection');
|
||||
const Svg = goog.require('Blockly.utils.Svg');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Theme = goog.requireType('Blockly.Theme');
|
||||
const colour = goog.require('Blockly.utils.colour');
|
||||
const dom = goog.require('Blockly.utils.dom');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
@@ -27,6 +22,11 @@ const svgPaths = goog.require('Blockly.utils.svgPaths');
|
||||
const userAgent = goog.require('Blockly.utils.userAgent');
|
||||
const utils = goog.require('Blockly.utils');
|
||||
const {ConnectionType} = goog.require('Blockly.ConnectionType');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {RenderedConnection} = goog.requireType('Blockly.RenderedConnection');
|
||||
const {Svg} = goog.require('Blockly.utils.Svg');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Theme} = goog.requireType('Blockly.Theme');
|
||||
|
||||
|
||||
/**
|
||||
@@ -1224,4 +1224,4 @@ ConstantProvider.prototype.getCSS_ = function(selector) {
|
||||
];
|
||||
};
|
||||
|
||||
exports = ConstantProvider;
|
||||
exports.ConstantProvider = ConstantProvider;
|
||||
|
||||
@@ -15,25 +15,25 @@
|
||||
*/
|
||||
goog.module('Blockly.blockRendering.Debug');
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const FieldLabel = goog.require('Blockly.FieldLabel');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const InRowSpacer = goog.requireType('Blockly.blockRendering.InRowSpacer');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Measurable = goog.requireType('Blockly.blockRendering.Measurable');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const RenderedConnection = goog.requireType('Blockly.RenderedConnection');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const RenderInfo = goog.requireType('Blockly.blockRendering.RenderInfo');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Row = goog.requireType('Blockly.blockRendering.Row');
|
||||
const Svg = goog.require('Blockly.utils.Svg');
|
||||
const Types = goog.require('Blockly.blockRendering.Types');
|
||||
const dom = goog.require('Blockly.utils.dom');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {BlockSvg} = goog.requireType('Blockly.BlockSvg');
|
||||
const {ConnectionType} = goog.require('Blockly.ConnectionType');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const {FieldLabel} = goog.require('Blockly.FieldLabel');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {InRowSpacer} = goog.requireType('Blockly.blockRendering.InRowSpacer');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Measurable} = goog.requireType('Blockly.blockRendering.Measurable');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {RenderInfo} = goog.requireType('Blockly.blockRendering.RenderInfo');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {RenderedConnection} = goog.requireType('Blockly.RenderedConnection');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Row} = goog.requireType('Blockly.blockRendering.Row');
|
||||
const {Svg} = goog.require('Blockly.utils.Svg');
|
||||
const {Types} = goog.require('Blockly.blockRendering.Types');
|
||||
|
||||
|
||||
/**
|
||||
@@ -432,4 +432,4 @@ Debug.prototype.drawRender = function(svgPath) {
|
||||
}, 100);
|
||||
};
|
||||
|
||||
exports = Debug;
|
||||
exports.Debug = Debug;
|
||||
|
||||
@@ -15,23 +15,23 @@
|
||||
*/
|
||||
goog.module('Blockly.blockRendering.Drawer');
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Field = goog.requireType('Blockly.blockRendering.Field');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Icon = goog.requireType('Blockly.blockRendering.Icon');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const InlineInput = goog.requireType('Blockly.blockRendering.InlineInput');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const RenderInfo = goog.requireType('Blockly.blockRendering.RenderInfo');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Row = goog.requireType('Blockly.blockRendering.Row');
|
||||
const Types = goog.require('Blockly.blockRendering.Types');
|
||||
const debug = goog.require('Blockly.blockRendering.debug');
|
||||
const svgPaths = goog.require('Blockly.utils.svgPaths');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {BlockSvg} = goog.requireType('Blockly.BlockSvg');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Field} = goog.requireType('Blockly.blockRendering.Field');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Icon} = goog.requireType('Blockly.blockRendering.Icon');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {InlineInput} = goog.requireType('Blockly.blockRendering.InlineInput');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {RenderInfo} = goog.requireType('Blockly.blockRendering.RenderInfo');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Row} = goog.requireType('Blockly.blockRendering.Row');
|
||||
const {Types} = goog.require('Blockly.blockRendering.Types');
|
||||
|
||||
|
||||
/**
|
||||
@@ -462,4 +462,4 @@ Drawer.prototype.positionOutputConnection_ = function() {
|
||||
}
|
||||
};
|
||||
|
||||
exports = Drawer;
|
||||
exports.Drawer = Drawer;
|
||||
|
||||
@@ -18,12 +18,12 @@
|
||||
*/
|
||||
goog.module('Blockly.blockRendering.IPathObject');
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Theme = goog.requireType('Blockly.Theme');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Block} = goog.requireType('Blockly.Block');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Theme} = goog.requireType('Blockly.Theme');
|
||||
|
||||
|
||||
/**
|
||||
@@ -159,4 +159,4 @@ IPathObject.prototype.updateMovable;
|
||||
*/
|
||||
IPathObject.prototype.updateReplacementFade;
|
||||
|
||||
exports = IPathObject;
|
||||
exports.IPathObject = IPathObject;
|
||||
|
||||
@@ -15,40 +15,40 @@
|
||||
*/
|
||||
goog.module('Blockly.blockRendering.RenderInfo');
|
||||
|
||||
const BottomRow = goog.require('Blockly.blockRendering.BottomRow');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const ExternalValueInput = goog.require('Blockly.blockRendering.ExternalValueInput');
|
||||
const Field = goog.require('Blockly.blockRendering.Field');
|
||||
const Hat = goog.require('Blockly.blockRendering.Hat');
|
||||
const Icon = goog.require('Blockly.blockRendering.Icon');
|
||||
const InlineInput = goog.require('Blockly.blockRendering.InlineInput');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Input = goog.requireType('Blockly.Input');
|
||||
const InputRow = goog.require('Blockly.blockRendering.InputRow');
|
||||
const InRowSpacer = goog.require('Blockly.blockRendering.InRowSpacer');
|
||||
const JaggedEdge = goog.require('Blockly.blockRendering.JaggedEdge');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Measurable = goog.requireType('Blockly.blockRendering.Measurable');
|
||||
const NextConnection = goog.require('Blockly.blockRendering.NextConnection');
|
||||
const OutputConnection = goog.require('Blockly.blockRendering.OutputConnection');
|
||||
const PreviousConnection = goog.require('Blockly.blockRendering.PreviousConnection');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const RenderedConnection = goog.requireType('Blockly.RenderedConnection');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Renderer = goog.requireType('Blockly.blockRendering.Renderer');
|
||||
const RoundCorner = goog.require('Blockly.blockRendering.RoundCorner');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Row = goog.requireType('Blockly.blockRendering.Row');
|
||||
const SpacerRow = goog.require('Blockly.blockRendering.SpacerRow');
|
||||
const SquareCorner = goog.require('Blockly.blockRendering.SquareCorner');
|
||||
const StatementInput = goog.require('Blockly.blockRendering.StatementInput');
|
||||
const TopRow = goog.require('Blockly.blockRendering.TopRow');
|
||||
const Types = goog.require('Blockly.blockRendering.Types');
|
||||
const constants = goog.require('Blockly.constants');
|
||||
const inputTypes = goog.require('Blockly.inputTypes');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {BlockSvg} = goog.requireType('Blockly.BlockSvg');
|
||||
const {BottomRow} = goog.require('Blockly.blockRendering.BottomRow');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const {ExternalValueInput} = goog.require('Blockly.blockRendering.ExternalValueInput');
|
||||
const {Field} = goog.require('Blockly.blockRendering.Field');
|
||||
const {Hat} = goog.require('Blockly.blockRendering.Hat');
|
||||
const {Icon} = goog.require('Blockly.blockRendering.Icon');
|
||||
const {InRowSpacer} = goog.require('Blockly.blockRendering.InRowSpacer');
|
||||
const {InlineInput} = goog.require('Blockly.blockRendering.InlineInput');
|
||||
const {InputRow} = goog.require('Blockly.blockRendering.InputRow');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Input} = goog.requireType('Blockly.Input');
|
||||
const {JaggedEdge} = goog.require('Blockly.blockRendering.JaggedEdge');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Measurable} = goog.requireType('Blockly.blockRendering.Measurable');
|
||||
const {NextConnection} = goog.require('Blockly.blockRendering.NextConnection');
|
||||
const {OutputConnection} = goog.require('Blockly.blockRendering.OutputConnection');
|
||||
const {PreviousConnection} = goog.require('Blockly.blockRendering.PreviousConnection');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {RenderedConnection} = goog.requireType('Blockly.RenderedConnection');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Renderer} = goog.requireType('Blockly.blockRendering.Renderer');
|
||||
const {RoundCorner} = goog.require('Blockly.blockRendering.RoundCorner');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Row} = goog.requireType('Blockly.blockRendering.Row');
|
||||
const {SpacerRow} = goog.require('Blockly.blockRendering.SpacerRow');
|
||||
const {SquareCorner} = goog.require('Blockly.blockRendering.SquareCorner');
|
||||
const {StatementInput} = goog.require('Blockly.blockRendering.StatementInput');
|
||||
const {TopRow} = goog.require('Blockly.blockRendering.TopRow');
|
||||
const {Types} = goog.require('Blockly.blockRendering.Types');
|
||||
const {inputTypes} = goog.require('Blockly.inputTypes');
|
||||
|
||||
|
||||
/**
|
||||
@@ -764,4 +764,4 @@ RenderInfo.prototype.finalize_ = function() {
|
||||
this.bottomRow.baseline = yCursor - this.bottomRow.descenderHeight;
|
||||
};
|
||||
|
||||
exports = RenderInfo;
|
||||
exports.RenderInfo = RenderInfo;
|
||||
|
||||
@@ -16,19 +16,6 @@
|
||||
*/
|
||||
goog.module('Blockly.blockRendering.MarkerSvg');
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Connection = goog.requireType('Blockly.Connection');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Field = goog.requireType('Blockly.Field');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const IASTNodeLocationSvg = goog.requireType('Blockly.IASTNodeLocationSvg');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const RenderedConnection = goog.requireType('Blockly.RenderedConnection');
|
||||
const Svg = goog.require('Blockly.utils.Svg');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const WorkspaceSvg = goog.requireType('Blockly.WorkspaceSvg');
|
||||
const dom = goog.require('Blockly.utils.dom');
|
||||
const eventUtils = goog.require('Blockly.Events.utils');
|
||||
const svgPaths = goog.require('Blockly.utils.svgPaths');
|
||||
@@ -37,7 +24,20 @@ const {ASTNode} = goog.require('Blockly.ASTNode');
|
||||
const {BlockSvg} = goog.requireType('Blockly.BlockSvg');
|
||||
const {ConnectionType} = goog.require('Blockly.ConnectionType');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Connection} = goog.requireType('Blockly.Connection');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Field} = goog.requireType('Blockly.Field');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {IASTNodeLocationSvg} = goog.requireType('Blockly.IASTNodeLocationSvg');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Marker} = goog.requireType('Blockly.Marker');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {RenderedConnection} = goog.requireType('Blockly.RenderedConnection');
|
||||
const {Svg} = goog.require('Blockly.utils.Svg');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {WorkspaceSvg} = goog.requireType('Blockly.WorkspaceSvg');
|
||||
/** @suppress {extraRequire} */
|
||||
goog.require('Blockly.Events.MarkerMove');
|
||||
|
||||
@@ -681,4 +681,4 @@ MarkerSvg.prototype.dispose = function() {
|
||||
}
|
||||
};
|
||||
|
||||
exports = MarkerSvg;
|
||||
exports.MarkerSvg = MarkerSvg;
|
||||
|
||||
@@ -16,18 +16,18 @@
|
||||
*/
|
||||
goog.module('Blockly.blockRendering.PathObject');
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Connection = goog.requireType('Blockly.Connection');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const IPathObject = goog.require('Blockly.blockRendering.IPathObject');
|
||||
const Svg = goog.require('Blockly.utils.Svg');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Theme = goog.requireType('Blockly.Theme');
|
||||
const dom = goog.require('Blockly.utils.dom');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Block} = goog.requireType('Blockly.Block');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Connection} = goog.requireType('Blockly.Connection');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {IPathObject} = goog.require('Blockly.blockRendering.IPathObject');
|
||||
const {Svg} = goog.require('Blockly.utils.Svg');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Theme} = goog.requireType('Blockly.Theme');
|
||||
|
||||
|
||||
/**
|
||||
@@ -277,4 +277,4 @@ PathObject.prototype.updateShapeForInputHighlight = function(_conn, _enable) {
|
||||
// NOP
|
||||
};
|
||||
|
||||
exports = PathObject;
|
||||
exports.PathObject = PathObject;
|
||||
|
||||
@@ -15,34 +15,34 @@
|
||||
*/
|
||||
goog.module('Blockly.blockRendering.Renderer');
|
||||
|
||||
const Connection = goog.require('Blockly.Connection');
|
||||
const ConstantProvider = goog.require('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Debug = goog.requireType('Blockly.blockRendering.Debug');
|
||||
const Drawer = goog.require('Blockly.blockRendering.Drawer');
|
||||
const InsertionMarkerManager = goog.require('Blockly.InsertionMarkerManager');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const IRegistrable = goog.require('Blockly.IRegistrable');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const IPathObject = goog.requireType('Blockly.blockRendering.IPathObject');
|
||||
const MarkerSvg = goog.require('Blockly.blockRendering.MarkerSvg');
|
||||
const PathObject = goog.require('Blockly.blockRendering.PathObject');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const RenderedConnection = goog.requireType('Blockly.RenderedConnection');
|
||||
const RenderInfo = goog.require('Blockly.blockRendering.RenderInfo');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Theme = goog.requireType('Blockly.Theme');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const WorkspaceSvg = goog.requireType('Blockly.WorkspaceSvg');
|
||||
const debug = goog.require('Blockly.blockRendering.debug');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Block} = goog.requireType('Blockly.Block');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {BlockSvg} = goog.requireType('Blockly.BlockSvg');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Block} = goog.requireType('Blockly.Block');
|
||||
const {ConnectionType} = goog.require('Blockly.ConnectionType');
|
||||
const {Connection} = goog.require('Blockly.Connection');
|
||||
const {ConstantProvider} = goog.require('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Debug} = goog.requireType('Blockly.blockRendering.Debug');
|
||||
const {Drawer} = goog.require('Blockly.blockRendering.Drawer');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {IPathObject} = goog.requireType('Blockly.blockRendering.IPathObject');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {IRegistrable} = goog.require('Blockly.IRegistrable');
|
||||
const {InsertionMarkerManager} = goog.require('Blockly.InsertionMarkerManager');
|
||||
const {MarkerSvg} = goog.require('Blockly.blockRendering.MarkerSvg');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Marker} = goog.requireType('Blockly.Marker');
|
||||
const {PathObject} = goog.require('Blockly.blockRendering.PathObject');
|
||||
const {RenderInfo} = goog.require('Blockly.blockRendering.RenderInfo');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {RenderedConnection} = goog.requireType('Blockly.RenderedConnection');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Theme} = goog.requireType('Blockly.Theme');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {WorkspaceSvg} = goog.requireType('Blockly.WorkspaceSvg');
|
||||
|
||||
|
||||
/**
|
||||
@@ -182,7 +182,7 @@ Renderer.prototype.makeDrawer_ = function(block, info) {
|
||||
* @protected
|
||||
*/
|
||||
Renderer.prototype.makeDebugger_ = function() {
|
||||
const Debug = goog.module.get('Blockly.blockRendering.Debug');
|
||||
const {Debug} = goog.module.get('Blockly.blockRendering.Debug');
|
||||
if (!Debug) {
|
||||
throw Error('Missing require for Blockly.blockRendering.Debug');
|
||||
}
|
||||
@@ -300,4 +300,4 @@ Renderer.prototype.render = function(block) {
|
||||
this.makeDrawer_(block, info).draw();
|
||||
};
|
||||
|
||||
exports = Renderer;
|
||||
exports.Renderer = Renderer;
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
goog.module('Blockly.geras.ConstantProvider');
|
||||
|
||||
const BaseConstantProvider = goog.require('Blockly.blockRendering.ConstantProvider');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
const {ConstantProvider: BaseConstantProvider} = goog.require('Blockly.blockRendering.ConstantProvider');
|
||||
|
||||
|
||||
/**
|
||||
@@ -71,4 +71,4 @@ ConstantProvider.prototype.getCSS_ = function(selector) {
|
||||
]);
|
||||
};
|
||||
|
||||
exports = ConstantProvider;
|
||||
exports.ConstantProvider = ConstantProvider;
|
||||
|
||||
@@ -15,17 +15,17 @@
|
||||
*/
|
||||
goog.module('Blockly.geras.Drawer');
|
||||
|
||||
const BaseDrawer = goog.require('Blockly.blockRendering.Drawer');
|
||||
const Highlighter = goog.require('Blockly.geras.Highlighter');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const PathObject = goog.requireType('Blockly.geras.PathObject');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const RenderInfo = goog.requireType('Blockly.geras.RenderInfo');
|
||||
const debug = goog.require('Blockly.blockRendering.debug');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
const svgPaths = goog.require('Blockly.utils.svgPaths');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {BlockSvg} = goog.requireType('Blockly.BlockSvg');
|
||||
const {Drawer: BaseDrawer} = goog.require('Blockly.blockRendering.Drawer');
|
||||
const {Highlighter} = goog.require('Blockly.geras.Highlighter');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {PathObject} = goog.requireType('Blockly.geras.PathObject');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {RenderInfo} = goog.requireType('Blockly.geras.RenderInfo');
|
||||
|
||||
|
||||
/**
|
||||
@@ -209,4 +209,4 @@ Drawer.prototype.positionNextConnection_ = function() {
|
||||
}
|
||||
};
|
||||
|
||||
exports = Drawer;
|
||||
exports.Drawer = Drawer;
|
||||
|
||||
@@ -15,15 +15,15 @@
|
||||
*/
|
||||
goog.module('Blockly.geras');
|
||||
|
||||
const ConstantProvider = goog.require('Blockly.geras.ConstantProvider');
|
||||
const Drawer = goog.require('Blockly.geras.Drawer');
|
||||
const HighlightConstantProvider = goog.require('Blockly.geras.HighlightConstantProvider');
|
||||
const Highlighter = goog.require('Blockly.geras.Highlighter');
|
||||
const InlineInput = goog.require('Blockly.geras.InlineInput');
|
||||
const PathObject = goog.require('Blockly.geras.PathObject');
|
||||
const RenderInfo = goog.require('Blockly.geras.RenderInfo');
|
||||
const Renderer = goog.require('Blockly.geras.Renderer');
|
||||
const StatementInput = goog.require('Blockly.geras.StatementInput');
|
||||
const {ConstantProvider} = goog.require('Blockly.geras.ConstantProvider');
|
||||
const {Drawer} = goog.require('Blockly.geras.Drawer');
|
||||
const {HighlightConstantProvider} = goog.require('Blockly.geras.HighlightConstantProvider');
|
||||
const {Highlighter} = goog.require('Blockly.geras.Highlighter');
|
||||
const {InlineInput} = goog.require('Blockly.geras.InlineInput');
|
||||
const {PathObject} = goog.require('Blockly.geras.PathObject');
|
||||
const {RenderInfo} = goog.require('Blockly.geras.RenderInfo');
|
||||
const {Renderer} = goog.require('Blockly.geras.Renderer');
|
||||
const {StatementInput} = goog.require('Blockly.geras.StatementInput');
|
||||
|
||||
exports.ConstantProvider = ConstantProvider;
|
||||
exports.Drawer = Drawer;
|
||||
|
||||
@@ -15,9 +15,9 @@
|
||||
*/
|
||||
goog.module('Blockly.geras.HighlightConstantProvider');
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const svgPaths = goog.require('Blockly.utils.svgPaths');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
|
||||
|
||||
/**
|
||||
@@ -287,4 +287,4 @@ HighlightConstantProvider.prototype.makeStartHat = function() {
|
||||
};
|
||||
};
|
||||
|
||||
exports = HighlightConstantProvider;
|
||||
exports.HighlightConstantProvider = HighlightConstantProvider;
|
||||
|
||||
@@ -17,16 +17,16 @@
|
||||
*/
|
||||
goog.module('Blockly.geras.Highlighter');
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const HighlightConstantProvider = goog.requireType('Blockly.geras.HighlightConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Renderer = goog.requireType('Blockly.geras.Renderer');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const RenderInfo = goog.requireType('Blockly.geras.RenderInfo');
|
||||
const Types = goog.require('Blockly.blockRendering.Types');
|
||||
const svgPaths = goog.require('Blockly.utils.svgPaths');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {HighlightConstantProvider} = goog.requireType('Blockly.geras.HighlightConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {RenderInfo} = goog.requireType('Blockly.geras.RenderInfo');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Renderer} = goog.requireType('Blockly.geras.Renderer');
|
||||
const {Types} = goog.require('Blockly.blockRendering.Types');
|
||||
|
||||
|
||||
/**
|
||||
@@ -256,4 +256,4 @@ Highlighter.prototype.drawInlineInput = function(input) {
|
||||
}
|
||||
};
|
||||
|
||||
exports = Highlighter;
|
||||
exports.Highlighter = Highlighter;
|
||||
|
||||
@@ -17,22 +17,22 @@
|
||||
*/
|
||||
goog.module('Blockly.geras.RenderInfo');
|
||||
|
||||
const BaseRenderInfo = goog.require('Blockly.blockRendering.RenderInfo');
|
||||
const ExternalValueInput = goog.require('Blockly.blockRendering.ExternalValueInput');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Field = goog.requireType('Blockly.blockRendering.Field');
|
||||
const InlineInput = goog.require('Blockly.geras.InlineInput');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const InputRow = goog.requireType('Blockly.blockRendering.InputRow');
|
||||
const InRowSpacer = goog.require('Blockly.blockRendering.InRowSpacer');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Renderer = goog.requireType('Blockly.geras.Renderer');
|
||||
const StatementInput = goog.require('Blockly.geras.StatementInput');
|
||||
const Types = goog.require('Blockly.blockRendering.Types');
|
||||
const inputTypes = goog.require('Blockly.inputTypes');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {BlockSvg} = goog.requireType('Blockly.BlockSvg');
|
||||
const {ExternalValueInput} = goog.require('Blockly.blockRendering.ExternalValueInput');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Field} = goog.requireType('Blockly.blockRendering.Field');
|
||||
const {InRowSpacer} = goog.require('Blockly.blockRendering.InRowSpacer');
|
||||
const {InlineInput} = goog.require('Blockly.geras.InlineInput');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {InputRow} = goog.requireType('Blockly.blockRendering.InputRow');
|
||||
const {RenderInfo: BaseRenderInfo} = goog.require('Blockly.blockRendering.RenderInfo');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Renderer} = goog.requireType('Blockly.geras.Renderer');
|
||||
const {StatementInput} = goog.require('Blockly.geras.StatementInput');
|
||||
const {Types} = goog.require('Blockly.blockRendering.Types');
|
||||
const {inputTypes} = goog.require('Blockly.inputTypes');
|
||||
|
||||
|
||||
/**
|
||||
@@ -462,4 +462,4 @@ RenderInfo.prototype.finalize_ = function() {
|
||||
this.startY = this.topRow.capline;
|
||||
};
|
||||
|
||||
exports = RenderInfo;
|
||||
exports.RenderInfo = RenderInfo;
|
||||
|
||||
@@ -17,12 +17,12 @@
|
||||
*/
|
||||
goog.module('Blockly.geras.InlineInput');
|
||||
|
||||
const BaseInlineInput = goog.require('Blockly.blockRendering.InlineInput');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Input = goog.requireType('Blockly.Input');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const {InlineInput: BaseInlineInput} = goog.require('Blockly.blockRendering.InlineInput');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Input} = goog.requireType('Blockly.Input');
|
||||
|
||||
|
||||
/**
|
||||
@@ -49,4 +49,4 @@ const InlineInput = function(constants, input) {
|
||||
};
|
||||
object.inherits(InlineInput, BaseInlineInput);
|
||||
|
||||
exports = InlineInput;
|
||||
exports.InlineInput = InlineInput;
|
||||
|
||||
@@ -17,12 +17,12 @@
|
||||
*/
|
||||
goog.module('Blockly.geras.StatementInput');
|
||||
|
||||
const BaseStatementInput = goog.require('Blockly.blockRendering.StatementInput');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Input = goog.requireType('Blockly.Input');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Input} = goog.requireType('Blockly.Input');
|
||||
const {StatementInput: BaseStatementInput} = goog.require('Blockly.blockRendering.StatementInput');
|
||||
|
||||
|
||||
/**
|
||||
@@ -48,4 +48,4 @@ const StatementInput = function(constants, input) {
|
||||
};
|
||||
object.inherits(StatementInput, BaseStatementInput);
|
||||
|
||||
exports = StatementInput;
|
||||
exports.StatementInput = StatementInput;
|
||||
|
||||
@@ -16,15 +16,15 @@
|
||||
*/
|
||||
goog.module('Blockly.geras.PathObject');
|
||||
|
||||
const BasePathObject = goog.require('Blockly.blockRendering.PathObject');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.geras.ConstantProvider');
|
||||
const Svg = goog.require('Blockly.utils.Svg');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Theme = goog.requireType('Blockly.Theme');
|
||||
const colour = goog.require('Blockly.utils.colour');
|
||||
const dom = goog.require('Blockly.utils.dom');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.geras.ConstantProvider');
|
||||
const {PathObject: BasePathObject} = goog.require('Blockly.blockRendering.PathObject');
|
||||
const {Svg} = goog.require('Blockly.utils.Svg');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Theme} = goog.requireType('Blockly.Theme');
|
||||
|
||||
|
||||
/**
|
||||
@@ -178,4 +178,4 @@ PathObject.prototype.updateDisabled_ = function(disabled) {
|
||||
}
|
||||
};
|
||||
|
||||
exports = PathObject;
|
||||
exports.PathObject = PathObject;
|
||||
|
||||
@@ -15,22 +15,22 @@
|
||||
*/
|
||||
goog.module('Blockly.geras.Renderer');
|
||||
|
||||
const BaseRenderer = goog.require('Blockly.blockRendering.Renderer');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const BaseRenderInfo = goog.requireType('Blockly.blockRendering.RenderInfo');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const BaseConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const ConstantProvider = goog.require('Blockly.geras.ConstantProvider');
|
||||
const Drawer = goog.require('Blockly.geras.Drawer');
|
||||
const HighlightConstantProvider = goog.require('Blockly.geras.HighlightConstantProvider');
|
||||
const PathObject = goog.require('Blockly.geras.PathObject');
|
||||
const RenderInfo = goog.require('Blockly.geras.RenderInfo');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Theme = goog.requireType('Blockly.Theme');
|
||||
const blockRendering = goog.require('Blockly.blockRendering');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {BlockSvg} = goog.requireType('Blockly.BlockSvg');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider: BaseConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const {ConstantProvider} = goog.require('Blockly.geras.ConstantProvider');
|
||||
const {Drawer} = goog.require('Blockly.geras.Drawer');
|
||||
const {HighlightConstantProvider} = goog.require('Blockly.geras.HighlightConstantProvider');
|
||||
const {PathObject} = goog.require('Blockly.geras.PathObject');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {RenderInfo: BaseRenderInfo} = goog.requireType('Blockly.blockRendering.RenderInfo');
|
||||
const {RenderInfo} = goog.require('Blockly.geras.RenderInfo');
|
||||
const {Renderer: BaseRenderer} = goog.require('Blockly.blockRendering.Renderer');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Theme} = goog.requireType('Blockly.Theme');
|
||||
|
||||
|
||||
/**
|
||||
@@ -148,4 +148,4 @@ Renderer.prototype.getHighlightConstants = function() {
|
||||
|
||||
blockRendering.register('geras', Renderer);
|
||||
|
||||
exports = Renderer;
|
||||
exports.Renderer = Renderer;
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
goog.module('Blockly.blockRendering.Measurable');
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const Types = goog.require('Blockly.blockRendering.Types');
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const {Types} = goog.require('Blockly.blockRendering.Types');
|
||||
|
||||
|
||||
/**
|
||||
@@ -49,4 +49,4 @@ const Measurable = function(constants) {
|
||||
this.notchOffset = this.constants_.NOTCH_OFFSET_LEFT;
|
||||
};
|
||||
|
||||
exports = Measurable;
|
||||
exports.Measurable = Measurable;
|
||||
|
||||
@@ -16,15 +16,15 @@
|
||||
*/
|
||||
goog.module('Blockly.blockRendering.BottomRow');
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const NextConnection = goog.requireType('Blockly.blockRendering.NextConnection');
|
||||
const Row = goog.require('Blockly.blockRendering.Row');
|
||||
const Types = goog.require('Blockly.blockRendering.Types');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {BlockSvg} = goog.requireType('Blockly.BlockSvg');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {NextConnection} = goog.requireType('Blockly.blockRendering.NextConnection');
|
||||
const {Row} = goog.require('Blockly.blockRendering.Row');
|
||||
const {Types} = goog.require('Blockly.blockRendering.Types');
|
||||
|
||||
|
||||
/**
|
||||
@@ -132,4 +132,4 @@ BottomRow.prototype.endsWithElemSpacer = function() {
|
||||
return false;
|
||||
};
|
||||
|
||||
exports = BottomRow;
|
||||
exports.BottomRow = BottomRow;
|
||||
|
||||
@@ -16,13 +16,13 @@
|
||||
*/
|
||||
goog.module('Blockly.blockRendering.Connection');
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const Measurable = goog.require('Blockly.blockRendering.Measurable');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const RenderedConnection = goog.requireType('Blockly.RenderedConnection');
|
||||
const Types = goog.require('Blockly.blockRendering.Types');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const {Measurable} = goog.require('Blockly.blockRendering.Measurable');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {RenderedConnection} = goog.requireType('Blockly.RenderedConnection');
|
||||
const {Types} = goog.require('Blockly.blockRendering.Types');
|
||||
|
||||
|
||||
/**
|
||||
@@ -46,4 +46,4 @@ const Connection = function(constants, connectionModel) {
|
||||
};
|
||||
object.inherits(Connection, Measurable);
|
||||
|
||||
exports = Connection;
|
||||
exports.Connection = Connection;
|
||||
|
||||
@@ -16,13 +16,13 @@
|
||||
*/
|
||||
goog.module('Blockly.blockRendering.ExternalValueInput');
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Input = goog.requireType('Blockly.Input');
|
||||
const InputConnection = goog.require('Blockly.blockRendering.InputConnection');
|
||||
const Types = goog.require('Blockly.blockRendering.Types');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const {InputConnection} = goog.require('Blockly.blockRendering.InputConnection');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Input} = goog.requireType('Blockly.Input');
|
||||
const {Types} = goog.require('Blockly.blockRendering.Types');
|
||||
|
||||
|
||||
/**
|
||||
@@ -54,4 +54,4 @@ const ExternalValueInput = function(constants, input) {
|
||||
};
|
||||
object.inherits(ExternalValueInput, InputConnection);
|
||||
|
||||
exports = ExternalValueInput;
|
||||
exports.ExternalValueInput = ExternalValueInput;
|
||||
|
||||
@@ -16,15 +16,15 @@
|
||||
*/
|
||||
goog.module('Blockly.blockRendering.Field');
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const BlocklyField = goog.requireType('Blockly.Field');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Input = goog.requireType('Blockly.Input');
|
||||
const Measurable = goog.require('Blockly.blockRendering.Measurable');
|
||||
const Types = goog.require('Blockly.blockRendering.Types');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Field: BlocklyField} = goog.requireType('Blockly.Field');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Input} = goog.requireType('Blockly.Input');
|
||||
const {Measurable} = goog.require('Blockly.blockRendering.Measurable');
|
||||
const {Types} = goog.require('Blockly.blockRendering.Types');
|
||||
|
||||
|
||||
/**
|
||||
@@ -53,4 +53,4 @@ const Field = function(constants, field, parentInput) {
|
||||
};
|
||||
object.inherits(Field, Measurable);
|
||||
|
||||
exports = Field;
|
||||
exports.Field = Field;
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
*/
|
||||
goog.module('Blockly.blockRendering.Hat');
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const Measurable = goog.require('Blockly.blockRendering.Measurable');
|
||||
const Types = goog.require('Blockly.blockRendering.Types');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const {Measurable} = goog.require('Blockly.blockRendering.Measurable');
|
||||
const {Types} = goog.require('Blockly.blockRendering.Types');
|
||||
|
||||
|
||||
/**
|
||||
@@ -42,4 +42,4 @@ const Hat = function(constants) {
|
||||
};
|
||||
object.inherits(Hat, Measurable);
|
||||
|
||||
exports = Hat;
|
||||
exports.Hat = Hat;
|
||||
|
||||
@@ -16,13 +16,13 @@
|
||||
*/
|
||||
goog.module('Blockly.blockRendering.Icon');
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const BlocklyIcon = goog.requireType('Blockly.Icon');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const Measurable = goog.require('Blockly.blockRendering.Measurable');
|
||||
const Types = goog.require('Blockly.blockRendering.Types');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Icon: BlocklyIcon} = goog.requireType('Blockly.Icon');
|
||||
const {Measurable} = goog.require('Blockly.blockRendering.Measurable');
|
||||
const {Types} = goog.require('Blockly.blockRendering.Types');
|
||||
|
||||
|
||||
/**
|
||||
@@ -48,4 +48,4 @@ const Icon = function(constants, icon) {
|
||||
};
|
||||
object.inherits(Icon, Measurable);
|
||||
|
||||
exports = Icon;
|
||||
exports.Icon = Icon;
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
*/
|
||||
goog.module('Blockly.blockRendering.InRowSpacer');
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const Measurable = goog.require('Blockly.blockRendering.Measurable');
|
||||
const Types = goog.require('Blockly.blockRendering.Types');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const {Measurable} = goog.require('Blockly.blockRendering.Measurable');
|
||||
const {Types} = goog.require('Blockly.blockRendering.Types');
|
||||
|
||||
|
||||
/**
|
||||
@@ -42,4 +42,4 @@ const InRowSpacer = function(constants, width) {
|
||||
};
|
||||
object.inherits(InRowSpacer, Measurable);
|
||||
|
||||
exports = InRowSpacer;
|
||||
exports.InRowSpacer = InRowSpacer;
|
||||
|
||||
@@ -16,13 +16,13 @@
|
||||
*/
|
||||
goog.module('Blockly.blockRendering.InlineInput');
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Input = goog.requireType('Blockly.Input');
|
||||
const InputConnection = goog.require('Blockly.blockRendering.InputConnection');
|
||||
const Types = goog.require('Blockly.blockRendering.Types');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const {InputConnection} = goog.require('Blockly.blockRendering.InputConnection');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Input} = goog.requireType('Blockly.Input');
|
||||
const {Types} = goog.require('Blockly.blockRendering.Types');
|
||||
|
||||
|
||||
/**
|
||||
@@ -67,4 +67,4 @@ const InlineInput = function(constants, input) {
|
||||
};
|
||||
object.inherits(InlineInput, InputConnection);
|
||||
|
||||
exports = InlineInput;
|
||||
exports.InlineInput = InlineInput;
|
||||
|
||||
@@ -14,13 +14,13 @@
|
||||
*/
|
||||
goog.module('Blockly.blockRendering.InputConnection');
|
||||
|
||||
const Connection = goog.require('Blockly.blockRendering.Connection');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Input = goog.requireType('Blockly.Input');
|
||||
const Types = goog.require('Blockly.blockRendering.Types');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
const {Connection} = goog.require('Blockly.blockRendering.Connection');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Input} = goog.requireType('Blockly.Input');
|
||||
const {Types} = goog.require('Blockly.blockRendering.Types');
|
||||
|
||||
|
||||
/**
|
||||
@@ -59,4 +59,4 @@ const InputConnection = function(constants, input) {
|
||||
};
|
||||
object.inherits(InputConnection, Connection);
|
||||
|
||||
exports = InputConnection;
|
||||
exports.InputConnection = InputConnection;
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
*/
|
||||
goog.module('Blockly.blockRendering.InputRow');
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const Row = goog.require('Blockly.blockRendering.Row');
|
||||
const Types = goog.require('Blockly.blockRendering.Types');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const {Row} = goog.require('Blockly.blockRendering.Row');
|
||||
const {Types} = goog.require('Blockly.blockRendering.Types');
|
||||
|
||||
|
||||
/**
|
||||
@@ -79,4 +79,4 @@ InputRow.prototype.endsWithElemSpacer = function() {
|
||||
return !this.hasExternalInput && !this.hasStatement;
|
||||
};
|
||||
|
||||
exports = InputRow;
|
||||
exports.InputRow = InputRow;
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
*/
|
||||
goog.module('Blockly.blockRendering.JaggedEdge');
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const Measurable = goog.require('Blockly.blockRendering.Measurable');
|
||||
const Types = goog.require('Blockly.blockRendering.Types');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const {Measurable} = goog.require('Blockly.blockRendering.Measurable');
|
||||
const {Types} = goog.require('Blockly.blockRendering.Types');
|
||||
|
||||
|
||||
/**
|
||||
@@ -41,4 +41,4 @@ const JaggedEdge = function(constants) {
|
||||
};
|
||||
object.inherits(JaggedEdge, Measurable);
|
||||
|
||||
exports = JaggedEdge;
|
||||
exports.JaggedEdge = JaggedEdge;
|
||||
|
||||
@@ -16,13 +16,13 @@
|
||||
*/
|
||||
goog.module('Blockly.blockRendering.NextConnection');
|
||||
|
||||
const Connection = goog.require('Blockly.blockRendering.Connection');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const RenderedConnection = goog.requireType('Blockly.RenderedConnection');
|
||||
const Types = goog.require('Blockly.blockRendering.Types');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
const {Connection} = goog.require('Blockly.blockRendering.Connection');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {RenderedConnection} = goog.requireType('Blockly.RenderedConnection');
|
||||
const {Types} = goog.require('Blockly.blockRendering.Types');
|
||||
|
||||
|
||||
/**
|
||||
@@ -45,4 +45,4 @@ const NextConnection = function(constants, connectionModel) {
|
||||
};
|
||||
object.inherits(NextConnection, Connection);
|
||||
|
||||
exports = NextConnection;
|
||||
exports.NextConnection = NextConnection;
|
||||
|
||||
@@ -17,13 +17,13 @@
|
||||
*/
|
||||
goog.module('Blockly.blockRendering.OutputConnection');
|
||||
|
||||
const Connection = goog.require('Blockly.blockRendering.Connection');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const RenderedConnection = goog.requireType('Blockly.RenderedConnection');
|
||||
const Types = goog.require('Blockly.blockRendering.Types');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
const {Connection} = goog.require('Blockly.blockRendering.Connection');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {RenderedConnection} = goog.requireType('Blockly.RenderedConnection');
|
||||
const {Types} = goog.require('Blockly.blockRendering.Types');
|
||||
|
||||
|
||||
/**
|
||||
@@ -52,4 +52,4 @@ const OutputConnection = function(constants, connectionModel) {
|
||||
};
|
||||
object.inherits(OutputConnection, Connection);
|
||||
|
||||
exports = OutputConnection;
|
||||
exports.OutputConnection = OutputConnection;
|
||||
|
||||
@@ -16,13 +16,13 @@
|
||||
*/
|
||||
goog.module('Blockly.blockRendering.PreviousConnection');
|
||||
|
||||
const Connection = goog.require('Blockly.blockRendering.Connection');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const RenderedConnection = goog.requireType('Blockly.RenderedConnection');
|
||||
const Types = goog.require('Blockly.blockRendering.Types');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
const {Connection} = goog.require('Blockly.blockRendering.Connection');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {RenderedConnection} = goog.requireType('Blockly.RenderedConnection');
|
||||
const {Types} = goog.require('Blockly.blockRendering.Types');
|
||||
|
||||
|
||||
/**
|
||||
@@ -46,4 +46,4 @@ const PreviousConnection = function(constants, connectionModel) {
|
||||
};
|
||||
object.inherits(PreviousConnection, Connection);
|
||||
|
||||
exports = PreviousConnection;
|
||||
exports.PreviousConnection = PreviousConnection;
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
*/
|
||||
goog.module('Blockly.blockRendering.RoundCorner');
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const Measurable = goog.require('Blockly.blockRendering.Measurable');
|
||||
const Types = goog.require('Blockly.blockRendering.Types');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const {Measurable} = goog.require('Blockly.blockRendering.Measurable');
|
||||
const {Types} = goog.require('Blockly.blockRendering.Types');
|
||||
|
||||
|
||||
/**
|
||||
@@ -47,4 +47,4 @@ const RoundCorner = function(constants, opt_position) {
|
||||
};
|
||||
object.inherits(RoundCorner, Measurable);
|
||||
|
||||
exports = RoundCorner;
|
||||
exports.RoundCorner = RoundCorner;
|
||||
|
||||
@@ -15,14 +15,14 @@
|
||||
goog.module('Blockly.blockRendering.Row');
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const InputConnection = goog.requireType('Blockly.blockRendering.InputConnection');
|
||||
const {InRowSpacer} = goog.requireType('Blockly.blockRendering.InRowSpacer');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const InRowSpacer = goog.requireType('Blockly.blockRendering.InRowSpacer');
|
||||
const {InputConnection} = goog.requireType('Blockly.blockRendering.InputConnection');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Measurable = goog.requireType('Blockly.blockRendering.Measurable');
|
||||
const Types = goog.require('Blockly.blockRendering.Types');
|
||||
const {Measurable} = goog.requireType('Blockly.blockRendering.Measurable');
|
||||
const {Types} = goog.require('Blockly.blockRendering.Types');
|
||||
|
||||
|
||||
/**
|
||||
@@ -228,4 +228,4 @@ Row.prototype.getLastSpacer = function() {
|
||||
return null;
|
||||
};
|
||||
|
||||
exports = Row;
|
||||
exports.Row = Row;
|
||||
|
||||
@@ -14,12 +14,12 @@
|
||||
*/
|
||||
goog.module('Blockly.blockRendering.SpacerRow');
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const InRowSpacer = goog.require('Blockly.blockRendering.InRowSpacer');
|
||||
const Row = goog.require('Blockly.blockRendering.Row');
|
||||
const Types = goog.require('Blockly.blockRendering.Types');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const {InRowSpacer} = goog.require('Blockly.blockRendering.InRowSpacer');
|
||||
const {Row} = goog.require('Blockly.blockRendering.Row');
|
||||
const {Types} = goog.require('Blockly.blockRendering.Types');
|
||||
|
||||
|
||||
/**
|
||||
@@ -51,4 +51,4 @@ SpacerRow.prototype.measure = function() {
|
||||
// NOP. Width and height were set at creation.
|
||||
};
|
||||
|
||||
exports = SpacerRow;
|
||||
exports.SpacerRow = SpacerRow;
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
*/
|
||||
goog.module('Blockly.blockRendering.SquareCorner');
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const Measurable = goog.require('Blockly.blockRendering.Measurable');
|
||||
const Types = goog.require('Blockly.blockRendering.Types');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const {Measurable} = goog.require('Blockly.blockRendering.Measurable');
|
||||
const {Types} = goog.require('Blockly.blockRendering.Types');
|
||||
|
||||
|
||||
/**
|
||||
@@ -45,4 +45,4 @@ const SquareCorner = function(constants, opt_position) {
|
||||
};
|
||||
object.inherits(SquareCorner, Measurable);
|
||||
|
||||
exports = SquareCorner;
|
||||
exports.SquareCorner = SquareCorner;
|
||||
|
||||
@@ -16,13 +16,13 @@
|
||||
*/
|
||||
goog.module('Blockly.blockRendering.StatementInput');
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Input = goog.requireType('Blockly.Input');
|
||||
const InputConnection = goog.require('Blockly.blockRendering.InputConnection');
|
||||
const Types = goog.require('Blockly.blockRendering.Types');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const {InputConnection} = goog.require('Blockly.blockRendering.InputConnection');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Input} = goog.requireType('Blockly.Input');
|
||||
const {Types} = goog.require('Blockly.blockRendering.Types');
|
||||
|
||||
|
||||
/**
|
||||
@@ -53,4 +53,4 @@ const StatementInput = function(constants, input) {
|
||||
};
|
||||
object.inherits(StatementInput, InputConnection);
|
||||
|
||||
exports = StatementInput;
|
||||
exports.StatementInput = StatementInput;
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
*/
|
||||
goog.module('Blockly.blockRendering.TopRow');
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const PreviousConnection = goog.requireType('Blockly.blockRendering.PreviousConnection');
|
||||
const Row = goog.require('Blockly.blockRendering.Row');
|
||||
const Types = goog.require('Blockly.blockRendering.Types');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {BlockSvg} = goog.requireType('Blockly.BlockSvg');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {PreviousConnection} = goog.requireType('Blockly.blockRendering.PreviousConnection');
|
||||
const {Row} = goog.require('Blockly.blockRendering.Row');
|
||||
const {Types} = goog.require('Blockly.blockRendering.Types');
|
||||
|
||||
|
||||
/**
|
||||
@@ -137,4 +137,4 @@ TopRow.prototype.endsWithElemSpacer = function() {
|
||||
return false;
|
||||
};
|
||||
|
||||
exports = TopRow;
|
||||
exports.TopRow = TopRow;
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
goog.module('Blockly.blockRendering.Types');
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Measurable = goog.requireType('Blockly.blockRendering.Measurable');
|
||||
const {Measurable} = goog.requireType('Blockly.blockRendering.Measurable');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Row = goog.requireType('Blockly.blockRendering.Row');
|
||||
const {Row} = goog.requireType('Blockly.blockRendering.Row');
|
||||
|
||||
|
||||
/**
|
||||
@@ -350,4 +350,4 @@ Types.isInputRow = function(row) {
|
||||
return row.type & Types.INPUT_ROW;
|
||||
};
|
||||
|
||||
exports = Types;
|
||||
exports.Types = Types;
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
*/
|
||||
goog.module('Blockly.minimalist.ConstantProvider');
|
||||
|
||||
const BaseConstantProvider = goog.require('Blockly.blockRendering.ConstantProvider');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
const {ConstantProvider: BaseConstantProvider} = goog.require('Blockly.blockRendering.ConstantProvider');
|
||||
|
||||
|
||||
/**
|
||||
@@ -33,4 +33,4 @@ const ConstantProvider = function() {
|
||||
};
|
||||
object.inherits(ConstantProvider, BaseConstantProvider);
|
||||
|
||||
exports = ConstantProvider;
|
||||
exports.ConstantProvider = ConstantProvider;
|
||||
|
||||
@@ -15,12 +15,12 @@
|
||||
*/
|
||||
goog.module('Blockly.minimalist.Drawer');
|
||||
|
||||
const BaseDrawer = goog.require('Blockly.blockRendering.Drawer');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const RenderInfo = goog.requireType('Blockly.minimalist.RenderInfo');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {BlockSvg} = goog.requireType('Blockly.BlockSvg');
|
||||
const {Drawer: BaseDrawer} = goog.require('Blockly.blockRendering.Drawer');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {RenderInfo} = goog.requireType('Blockly.minimalist.RenderInfo');
|
||||
|
||||
|
||||
/**
|
||||
@@ -38,4 +38,4 @@ const Drawer = function(block, info) {
|
||||
};
|
||||
object.inherits(Drawer, BaseDrawer);
|
||||
|
||||
exports = Drawer;
|
||||
exports.Drawer = Drawer;
|
||||
|
||||
@@ -15,12 +15,12 @@
|
||||
*/
|
||||
goog.module('Blockly.minimalist.RenderInfo');
|
||||
|
||||
const BaseRenderInfo = goog.require('Blockly.blockRendering.RenderInfo');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Renderer = goog.requireType('Blockly.minimalist.Renderer');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {BlockSvg} = goog.requireType('Blockly.BlockSvg');
|
||||
const {RenderInfo: BaseRenderInfo} = goog.require('Blockly.blockRendering.RenderInfo');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Renderer} = goog.requireType('Blockly.minimalist.Renderer');
|
||||
|
||||
|
||||
/**
|
||||
@@ -51,4 +51,4 @@ RenderInfo.prototype.getRenderer = function() {
|
||||
return /** @type {!Renderer} */ (this.renderer_);
|
||||
};
|
||||
|
||||
exports = RenderInfo;
|
||||
exports.RenderInfo = RenderInfo;
|
||||
|
||||
@@ -15,10 +15,10 @@
|
||||
*/
|
||||
goog.module('Blockly.minimalist');
|
||||
|
||||
const ConstantProvider = goog.require('Blockly.minimalist.ConstantProvider');
|
||||
const Drawer = goog.require('Blockly.minimalist.Drawer');
|
||||
const RenderInfo = goog.require('Blockly.minimalist.RenderInfo');
|
||||
const Renderer = goog.require('Blockly.minimalist.Renderer');
|
||||
const {ConstantProvider} = goog.require('Blockly.minimalist.ConstantProvider');
|
||||
const {Drawer} = goog.require('Blockly.minimalist.Drawer');
|
||||
const {RenderInfo} = goog.require('Blockly.minimalist.RenderInfo');
|
||||
const {Renderer} = goog.require('Blockly.minimalist.Renderer');
|
||||
|
||||
exports.ConstantProvider = ConstantProvider;
|
||||
exports.Drawer = Drawer;
|
||||
|
||||
@@ -15,16 +15,16 @@
|
||||
*/
|
||||
goog.module('Blockly.minimalist.Renderer');
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const BaseRenderInfo = goog.requireType('Blockly.blockRendering.RenderInfo');
|
||||
const BaseRenderer = goog.require('Blockly.blockRendering.Renderer');
|
||||
const ConstantProvider = goog.require('Blockly.minimalist.ConstantProvider');
|
||||
const Drawer = goog.require('Blockly.minimalist.Drawer');
|
||||
const RenderInfo = goog.require('Blockly.minimalist.RenderInfo');
|
||||
const blockRendering = goog.require('Blockly.blockRendering');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {BlockSvg} = goog.requireType('Blockly.BlockSvg');
|
||||
const {ConstantProvider} = goog.require('Blockly.minimalist.ConstantProvider');
|
||||
const {Drawer} = goog.require('Blockly.minimalist.Drawer');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {RenderInfo: BaseRenderInfo} = goog.requireType('Blockly.blockRendering.RenderInfo');
|
||||
const {RenderInfo} = goog.require('Blockly.minimalist.RenderInfo');
|
||||
const {Renderer: BaseRenderer} = goog.require('Blockly.blockRendering.Renderer');
|
||||
|
||||
|
||||
/**
|
||||
@@ -76,4 +76,4 @@ Renderer.prototype.makeDrawer_ = function(block, info) {
|
||||
|
||||
blockRendering.register('minimalist', Renderer);
|
||||
|
||||
exports = Renderer;
|
||||
exports.Renderer = Renderer;
|
||||
|
||||
@@ -17,16 +17,16 @@
|
||||
*/
|
||||
goog.module('Blockly.thrasos.RenderInfo');
|
||||
|
||||
const BaseRenderInfo = goog.require('Blockly.blockRendering.RenderInfo');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Field = goog.requireType('Blockly.blockRendering.Field');
|
||||
const InRowSpacer = goog.require('Blockly.blockRendering.InRowSpacer');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Renderer = goog.requireType('Blockly.thrasos.Renderer');
|
||||
const Types = goog.require('Blockly.blockRendering.Types');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {BlockSvg} = goog.requireType('Blockly.BlockSvg');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Field} = goog.requireType('Blockly.blockRendering.Field');
|
||||
const {InRowSpacer} = goog.require('Blockly.blockRendering.InRowSpacer');
|
||||
const {RenderInfo: BaseRenderInfo} = goog.require('Blockly.blockRendering.RenderInfo');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Renderer} = goog.requireType('Blockly.thrasos.Renderer');
|
||||
const {Types} = goog.require('Blockly.blockRendering.Types');
|
||||
|
||||
|
||||
/**
|
||||
@@ -326,4 +326,4 @@ RenderInfo.prototype.finalize_ = function() {
|
||||
this.startY = this.topRow.capline;
|
||||
};
|
||||
|
||||
exports = RenderInfo;
|
||||
exports.RenderInfo = RenderInfo;
|
||||
|
||||
@@ -15,12 +15,12 @@
|
||||
*/
|
||||
goog.module('Blockly.thrasos.Renderer');
|
||||
|
||||
const BaseRenderer = goog.require('Blockly.blockRendering.Renderer');
|
||||
const RenderInfo = goog.require('Blockly.thrasos.RenderInfo');
|
||||
const blockRendering = goog.require('Blockly.blockRendering');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {BlockSvg} = goog.requireType('Blockly.BlockSvg');
|
||||
const {RenderInfo} = goog.require('Blockly.thrasos.RenderInfo');
|
||||
const {Renderer: BaseRenderer} = goog.require('Blockly.blockRendering.Renderer');
|
||||
|
||||
|
||||
/**
|
||||
@@ -50,4 +50,4 @@ Renderer.prototype.makeRenderInfo_ = function(block) {
|
||||
|
||||
blockRendering.register('thrasos', Renderer);
|
||||
|
||||
exports = Renderer;
|
||||
exports.Renderer = Renderer;
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
*/
|
||||
goog.module('Blockly.thrasos');
|
||||
|
||||
const RenderInfo = goog.require('Blockly.thrasos.RenderInfo');
|
||||
const Renderer = goog.require('Blockly.thrasos.Renderer');
|
||||
const {RenderInfo} = goog.require('Blockly.thrasos.RenderInfo');
|
||||
const {Renderer} = goog.require('Blockly.thrasos.Renderer');
|
||||
|
||||
exports.RenderInfo = RenderInfo;
|
||||
exports.Renderer = Renderer;
|
||||
|
||||
@@ -17,13 +17,13 @@
|
||||
*/
|
||||
goog.module('Blockly.zelos.ConstantProvider');
|
||||
|
||||
const BaseConstantProvider = goog.require('Blockly.blockRendering.ConstantProvider');
|
||||
const Svg = goog.require('Blockly.utils.Svg');
|
||||
const dom = goog.require('Blockly.utils.dom');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
const svgPaths = goog.require('Blockly.utils.svgPaths');
|
||||
const utilsColour = goog.require('Blockly.utils.colour');
|
||||
const {ConnectionType} = goog.require('Blockly.ConnectionType');
|
||||
const {ConstantProvider: BaseConstantProvider} = goog.require('Blockly.blockRendering.ConstantProvider');
|
||||
const {Svg} = goog.require('Blockly.utils.Svg');
|
||||
|
||||
|
||||
/**
|
||||
@@ -946,4 +946,4 @@ ConstantProvider.prototype.getCSS_ = function(selector) {
|
||||
];
|
||||
};
|
||||
|
||||
exports = ConstantProvider;
|
||||
exports.ConstantProvider = ConstantProvider;
|
||||
|
||||
@@ -15,18 +15,18 @@
|
||||
*/
|
||||
goog.module('Blockly.zelos.Drawer');
|
||||
|
||||
const BaseDrawer = goog.require('Blockly.blockRendering.Drawer');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const PathObject = goog.requireType('Blockly.zelos.PathObject');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const RenderInfo = goog.requireType('Blockly.zelos.RenderInfo');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Row = goog.requireType('Blockly.blockRendering.Row');
|
||||
const debug = goog.require('Blockly.blockRendering.debug');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
const svgPaths = goog.require('Blockly.utils.svgPaths');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {BlockSvg} = goog.requireType('Blockly.BlockSvg');
|
||||
const {Drawer: BaseDrawer} = goog.require('Blockly.blockRendering.Drawer');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {PathObject} = goog.requireType('Blockly.zelos.PathObject');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {RenderInfo} = goog.requireType('Blockly.zelos.RenderInfo');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Row} = goog.requireType('Blockly.blockRendering.Row');
|
||||
|
||||
|
||||
/**
|
||||
@@ -230,4 +230,4 @@ Drawer.prototype.drawStatementInput_ = function(row) {
|
||||
this.positionStatementInputConnection_(row);
|
||||
};
|
||||
|
||||
exports = Drawer;
|
||||
exports.Drawer = Drawer;
|
||||
|
||||
@@ -16,27 +16,27 @@
|
||||
*/
|
||||
goog.module('Blockly.zelos.RenderInfo');
|
||||
|
||||
const BaseRenderInfo = goog.require('Blockly.blockRendering.RenderInfo');
|
||||
const BottomRow = goog.require('Blockly.zelos.BottomRow');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.zelos.ConstantProvider');
|
||||
const FieldImage = goog.require('Blockly.FieldImage');
|
||||
const FieldLabel = goog.require('Blockly.FieldLabel');
|
||||
const FieldTextInput = goog.require('Blockly.FieldTextInput');
|
||||
const InRowSpacer = goog.require('Blockly.blockRendering.InRowSpacer');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Measurable = goog.requireType('Blockly.blockRendering.Measurable');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Renderer = goog.requireType('Blockly.zelos.Renderer');
|
||||
const RightConnectionShape = goog.require('Blockly.zelos.RightConnectionShape');
|
||||
const StatementInput = goog.require('Blockly.zelos.StatementInput');
|
||||
const TopRow = goog.require('Blockly.zelos.TopRow');
|
||||
const Types = goog.require('Blockly.blockRendering.Types');
|
||||
const constants = goog.require('Blockly.constants');
|
||||
const inputTypes = goog.require('Blockly.inputTypes');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {BlockSvg} = goog.requireType('Blockly.BlockSvg');
|
||||
const {BottomRow} = goog.require('Blockly.zelos.BottomRow');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.zelos.ConstantProvider');
|
||||
const {FieldImage} = goog.require('Blockly.FieldImage');
|
||||
const {FieldLabel} = goog.require('Blockly.FieldLabel');
|
||||
const {FieldTextInput} = goog.require('Blockly.FieldTextInput');
|
||||
const {InRowSpacer} = goog.require('Blockly.blockRendering.InRowSpacer');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Measurable} = goog.requireType('Blockly.blockRendering.Measurable');
|
||||
const {RenderInfo: BaseRenderInfo} = goog.require('Blockly.blockRendering.RenderInfo');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Renderer} = goog.requireType('Blockly.zelos.Renderer');
|
||||
const {RightConnectionShape} = goog.require('Blockly.zelos.RightConnectionShape');
|
||||
const {StatementInput} = goog.require('Blockly.zelos.StatementInput');
|
||||
const {TopRow} = goog.require('Blockly.zelos.TopRow');
|
||||
const {Types} = goog.require('Blockly.blockRendering.Types');
|
||||
const {inputTypes} = goog.require('Blockly.inputTypes');
|
||||
|
||||
|
||||
/**
|
||||
@@ -599,4 +599,4 @@ RenderInfo.prototype.finalize_ = function() {
|
||||
}
|
||||
};
|
||||
|
||||
exports = RenderInfo;
|
||||
exports.RenderInfo = RenderInfo;
|
||||
|
||||
@@ -15,14 +15,6 @@
|
||||
*/
|
||||
goog.module('Blockly.zelos.MarkerSvg');
|
||||
|
||||
const BaseMarkerSvg = goog.require('Blockly.blockRendering.MarkerSvg');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Connection = goog.requireType('Blockly.Connection');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const Svg = goog.require('Blockly.utils.Svg');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const WorkspaceSvg = goog.requireType('Blockly.WorkspaceSvg');
|
||||
const dom = goog.require('Blockly.utils.dom');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
@@ -30,7 +22,15 @@ const {ASTNode} = goog.requireType('Blockly.ASTNode');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {BlockSvg} = goog.requireType('Blockly.BlockSvg');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Connection} = goog.requireType('Blockly.Connection');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const {MarkerSvg: BaseMarkerSvg} = goog.require('Blockly.blockRendering.MarkerSvg');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Marker} = goog.requireType('Blockly.Marker');
|
||||
const {Svg} = goog.require('Blockly.utils.Svg');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {WorkspaceSvg} = goog.requireType('Blockly.WorkspaceSvg');
|
||||
|
||||
|
||||
/**
|
||||
@@ -162,4 +162,4 @@ MarkerSvg.prototype.applyColour_ = function(curNode) {
|
||||
}
|
||||
};
|
||||
|
||||
exports = MarkerSvg;
|
||||
exports.MarkerSvg = MarkerSvg;
|
||||
|
||||
@@ -15,10 +15,10 @@
|
||||
*/
|
||||
goog.module('Blockly.zelos.BottomRow');
|
||||
|
||||
const BaseBottomRow = goog.require('Blockly.blockRendering.BottomRow');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
const {BottomRow: BaseBottomRow} = goog.require('Blockly.blockRendering.BottomRow');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
|
||||
|
||||
/**
|
||||
@@ -62,4 +62,4 @@ BottomRow.prototype.hasRightSquareCorner = function(block) {
|
||||
!block.nextConnection;
|
||||
};
|
||||
|
||||
exports = BottomRow;
|
||||
exports.BottomRow = BottomRow;
|
||||
|
||||
@@ -16,12 +16,12 @@
|
||||
*/
|
||||
goog.module('Blockly.zelos.StatementInput');
|
||||
|
||||
const BaseStatementInput = goog.require('Blockly.blockRendering.StatementInput');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Input = goog.requireType('Blockly.Input');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Input} = goog.requireType('Blockly.Input');
|
||||
const {StatementInput: BaseStatementInput} = goog.require('Blockly.blockRendering.StatementInput');
|
||||
|
||||
|
||||
/**
|
||||
@@ -53,4 +53,4 @@ const StatementInput = function(constants, input) {
|
||||
};
|
||||
object.inherits(StatementInput, BaseStatementInput);
|
||||
|
||||
exports = StatementInput;
|
||||
exports.StatementInput = StatementInput;
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
*/
|
||||
goog.module('Blockly.zelos.RightConnectionShape');
|
||||
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const Measurable = goog.require('Blockly.blockRendering.Measurable');
|
||||
const Types = goog.require('Blockly.blockRendering.Types');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const {Measurable} = goog.require('Blockly.blockRendering.Measurable');
|
||||
const {Types} = goog.require('Blockly.blockRendering.Types');
|
||||
|
||||
|
||||
/**
|
||||
@@ -42,4 +42,4 @@ const RightConnectionShape = function(constants) {
|
||||
};
|
||||
object.inherits(RightConnectionShape, Measurable);
|
||||
|
||||
exports = RightConnectionShape;
|
||||
exports.RightConnectionShape = RightConnectionShape;
|
||||
|
||||
@@ -15,10 +15,10 @@
|
||||
*/
|
||||
goog.module('Blockly.zelos.TopRow');
|
||||
|
||||
const BaseTopRow = goog.require('Blockly.blockRendering.TopRow');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.blockRendering.ConstantProvider');
|
||||
const {TopRow: BaseTopRow} = goog.require('Blockly.blockRendering.TopRow');
|
||||
|
||||
|
||||
/**
|
||||
@@ -67,4 +67,4 @@ TopRow.prototype.hasRightSquareCorner = function(block) {
|
||||
!block.nextConnection;
|
||||
};
|
||||
|
||||
exports = TopRow;
|
||||
exports.TopRow = TopRow;
|
||||
|
||||
@@ -16,14 +16,14 @@
|
||||
*/
|
||||
goog.module('Blockly.zelos.PathObject');
|
||||
|
||||
const BasePathObject = goog.require('Blockly.blockRendering.PathObject');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const ConstantProvider = goog.requireType('Blockly.zelos.ConstantProvider');
|
||||
const Svg = goog.require('Blockly.utils.Svg');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Theme = goog.requireType('Blockly.Theme');
|
||||
const dom = goog.require('Blockly.utils.dom');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {ConstantProvider} = goog.requireType('Blockly.zelos.ConstantProvider');
|
||||
const {PathObject: BasePathObject} = goog.require('Blockly.blockRendering.PathObject');
|
||||
const {Svg} = goog.require('Blockly.utils.Svg');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Theme} = goog.requireType('Blockly.Theme');
|
||||
|
||||
|
||||
/**
|
||||
@@ -243,4 +243,4 @@ PathObject.prototype.removeOutlinePath_ = function(name) {
|
||||
delete this.outlines_[name];
|
||||
};
|
||||
|
||||
exports = PathObject;
|
||||
exports.PathObject = PathObject;
|
||||
|
||||
@@ -15,26 +15,26 @@
|
||||
*/
|
||||
goog.module('Blockly.zelos.Renderer');
|
||||
|
||||
const BaseRenderer = goog.require('Blockly.blockRendering.Renderer');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const BaseRenderInfo = goog.requireType('Blockly.blockRendering.RenderInfo');
|
||||
const ConstantProvider = goog.require('Blockly.zelos.ConstantProvider');
|
||||
const Drawer = goog.require('Blockly.zelos.Drawer');
|
||||
const InsertionMarkerManager = goog.require('Blockly.InsertionMarkerManager');
|
||||
const MarkerSvg = goog.require('Blockly.zelos.MarkerSvg');
|
||||
const PathObject = goog.require('Blockly.zelos.PathObject');
|
||||
const RenderInfo = goog.require('Blockly.zelos.RenderInfo');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const Theme = goog.requireType('Blockly.Theme');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const WorkspaceSvg = goog.requireType('Blockly.WorkspaceSvg');
|
||||
const blockRendering = goog.require('Blockly.blockRendering');
|
||||
const object = goog.require('Blockly.utils.object');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {BlockSvg} = goog.requireType('Blockly.BlockSvg');
|
||||
const {ConnectionType} = goog.require('Blockly.ConnectionType');
|
||||
const {ConstantProvider} = goog.require('Blockly.zelos.ConstantProvider');
|
||||
const {Drawer} = goog.require('Blockly.zelos.Drawer');
|
||||
const {InsertionMarkerManager} = goog.require('Blockly.InsertionMarkerManager');
|
||||
const {MarkerSvg} = goog.require('Blockly.zelos.MarkerSvg');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Marker} = goog.requireType('Blockly.Marker');
|
||||
const {PathObject} = goog.require('Blockly.zelos.PathObject');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {RenderInfo: BaseRenderInfo} = goog.requireType('Blockly.blockRendering.RenderInfo');
|
||||
const {RenderInfo} = goog.require('Blockly.zelos.RenderInfo');
|
||||
const {Renderer: BaseRenderer} = goog.require('Blockly.blockRendering.Renderer');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {Theme} = goog.requireType('Blockly.Theme');
|
||||
/* eslint-disable-next-line no-unused-vars */
|
||||
const {WorkspaceSvg} = goog.requireType('Blockly.WorkspaceSvg');
|
||||
|
||||
|
||||
/**
|
||||
@@ -145,4 +145,4 @@ Renderer.prototype.getConnectionPreviewMethod = function(
|
||||
|
||||
blockRendering.register('zelos', Renderer);
|
||||
|
||||
exports = Renderer;
|
||||
exports.Renderer = Renderer;
|
||||
|
||||
@@ -15,16 +15,16 @@
|
||||
*/
|
||||
goog.module('Blockly.zelos');
|
||||
|
||||
const BottomRow = goog.require('Blockly.zelos.BottomRow');
|
||||
const ConstantProvider = goog.require('Blockly.zelos.ConstantProvider');
|
||||
const Drawer = goog.require('Blockly.zelos.Drawer');
|
||||
const MarkerSvg = goog.require('Blockly.zelos.MarkerSvg');
|
||||
const PathObject = goog.require('Blockly.zelos.PathObject');
|
||||
const RenderInfo = goog.require('Blockly.zelos.RenderInfo');
|
||||
const Renderer = goog.require('Blockly.zelos.Renderer');
|
||||
const RightConnectionShape = goog.require('Blockly.zelos.RightConnectionShape');
|
||||
const StatementInput = goog.require('Blockly.zelos.StatementInput');
|
||||
const TopRow = goog.require('Blockly.zelos.TopRow');
|
||||
const {BottomRow} = goog.require('Blockly.zelos.BottomRow');
|
||||
const {ConstantProvider} = goog.require('Blockly.zelos.ConstantProvider');
|
||||
const {Drawer} = goog.require('Blockly.zelos.Drawer');
|
||||
const {MarkerSvg} = goog.require('Blockly.zelos.MarkerSvg');
|
||||
const {PathObject} = goog.require('Blockly.zelos.PathObject');
|
||||
const {RenderInfo} = goog.require('Blockly.zelos.RenderInfo');
|
||||
const {Renderer} = goog.require('Blockly.zelos.Renderer');
|
||||
const {RightConnectionShape} = goog.require('Blockly.zelos.RightConnectionShape');
|
||||
const {StatementInput} = goog.require('Blockly.zelos.StatementInput');
|
||||
const {TopRow} = goog.require('Blockly.zelos.TopRow');
|
||||
|
||||
exports.BottomRow = BottomRow;
|
||||
exports.ConstantProvider = ConstantProvider;
|
||||
|
||||
Reference in New Issue
Block a user