Skip to content

Commit

Permalink
fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
edeustace committed Mar 1, 2016
2 parents f43924a + b64fdd7 commit 02806f3
Show file tree
Hide file tree
Showing 50 changed files with 125 additions and 106 deletions.
2 changes: 1 addition & 1 deletion corespring-components
Submodule corespring-components updated 88 files
+1 −0 README.md
+1 −1 components/corespring/canvas/src/client/canvas-render-scope-extension.js
+43 −34 components/corespring/canvas/src/client/canvas-templates.js
+2 −3 components/corespring/canvas/src/client/index.js
+11 −3 components/corespring/canvas/src/client/jsxgraph.js
+32 −2 components/corespring/canvas/src/client/styles.less
+3 −3 components/corespring/choice-templates/src/client/index.js
+0 −5 components/corespring/dnd-categorize-lib/package.json
+1 −3 components/corespring/dnd-categorize-lib/src/client/category-label-corespring-dnd-categorize.js
+7 −4 components/corespring/dnd-categorize-lib/src/client/choice-corespring-dnd-categorize.js
+1 −3 components/corespring/dnd-categorize-lib/src/client/label-editor-corespring-dnd-categorize.js
+6 −3 components/corespring/dnd-categorize/package.json
+85 −65 components/corespring/dnd-categorize/src/client/configure.js
+5 −5 components/corespring/dnd-categorize/src/client/defaultData.json
+64 −23 components/corespring/dnd-categorize/src/client/render.js
+34 −21 components/corespring/dnd-categorize/src/client/styles.less
+11 −0 components/corespring/dnd-categorize/test/client/configure-test.js
+73 −8 components/corespring/dnd-categorize/test/client/render-test.js
+2 −5 components/corespring/drag-and-drop-categorize/src/client/configure.js
+3 −3 components/corespring/drag-and-drop-categorize/src/client/defaultData.json
+5 −1 components/corespring/drag-and-drop-inline/package.json
+67 −33 components/corespring/drag-and-drop-inline/src/client/configure.js
+4 −4 components/corespring/drag-and-drop-inline/src/client/defaultData.json
+23 −1 components/corespring/drag-and-drop-inline/src/client/styles.less
+60 −0 components/corespring/drag-and-drop-inline/test/client/configure-test.js
+5 −2 components/corespring/extended-text-entry/src/client/configure.js
+3 −1 components/corespring/extended-text-entry/src/client/styles.less
+1 −2 components/corespring/feedback-templates/src/client/feedbackSelector.js
+5 −0 components/corespring/feedback-templates/src/client/styles.less
+30 −22 components/corespring/function-entry/src/client/configure.js
+2 −2 components/corespring/function-entry/src/client/defaultData.json
+8 −0 components/corespring/function-entry/src/client/styles.less
+3 −3 components/corespring/graphic-gap-match/src/client/defaultData.json
+2 −1 components/corespring/image-service/src/client/component-image-service.js
+5 −1 components/corespring/inline-choice/package.json
+28 −33 components/corespring/inline-choice/src/client/configure.js
+5 −5 components/corespring/inline-choice/src/client/defaultData.json
+37 −0 components/corespring/inline-choice/src/client/styles.less
+6 −6 components/corespring/inline-choice/src/server/index.js
+1 −1 components/corespring/inline-choice/test/server/index-test.js
+ components/corespring/line/icon.png
+4 −0 components/corespring/line/package.json
+35 −28 components/corespring/line/src/client/configure.js
+2 −2 components/corespring/line/src/client/defaultData.json
+1 −1 components/corespring/line/src/client/render.js
+45 −14 components/corespring/line/src/client/styles.less
+4 −0 components/corespring/match/package.json
+111 −181 components/corespring/match/src/client/configure.js
+3 −3 components/corespring/match/src/client/defaultData.json
+10 −9 components/corespring/match/src/client/render.js
+15 −6 components/corespring/match/src/client/styles.less
+8 −0 components/corespring/match/test/client/render-test.js
+5 −4 components/corespring/mini-wiggi-lib/src/client/mini-wiggi-scope-extension.js
+3 −10 components/corespring/multiple-choice/package.json
+65 −84 components/corespring/multiple-choice/src/client/configure.js
+54 −7 components/corespring/multiple-choice/src/client/styles.less
+ components/corespring/multiple-line/icon.png
+4 −0 components/corespring/multiple-line/package.json
+26 −20 components/corespring/multiple-line/src/client/configure.js
+3 −3 components/corespring/multiple-line/src/client/defaultData.json
+9 −12 components/corespring/multiple-line/src/client/render.js
+57 −9 components/corespring/multiple-line/src/client/styles.less
+0 −83 components/corespring/navigator/src/client/styles.css
+83 −0 components/corespring/navigator/src/client/styles.less
+4 −0 components/corespring/number-line/package.json
+97 −43 components/corespring/number-line/src/client/configure.js
+3 −3 components/corespring/number-line/src/client/defaultData.json
+18 −12 components/corespring/number-line/src/client/styles.less
+4 −0 components/corespring/ordering/package.json
+402 −392 components/corespring/ordering/src/client/configure.js
+9 −8 components/corespring/ordering/src/client/defaultData.json
+8 −3 components/corespring/ordering/src/client/render.js
+32 −5 components/corespring/ordering/src/client/styles.less
+111 −0 components/corespring/ordering/test/client/configure-test.js
+4 −0 components/corespring/point-intercept/package.json
+50 −51 components/corespring/point-intercept/src/client/configure.js
+3 −3 components/corespring/point-intercept/src/client/defaultData.json
+49 −34 components/corespring/point-intercept/src/client/render.js
+76 −29 components/corespring/point-intercept/src/client/styles.less
+54 −3 components/corespring/point-intercept/test/client/point-render-test.js
+18 −3 components/corespring/select-text/src/client/configure.js
+13 −18 components/corespring/select-text/test/client/configure-test.js
+1 −1 components/corespring/select-text/test/client/render-test.js
+4 −0 components/corespring/text-entry/package.json
+45 −45 components/corespring/text-entry/src/client/configure.js
+8 −2 components/corespring/text-entry/src/client/defaultData.json
+9 −5 components/corespring/text-entry/src/client/styles.less
+3 −3 docs/component-blueprint/src/client/defaultData.json
20 changes: 14 additions & 6 deletions modules/container-client/grunt/config/devEditor.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,24 @@ _ = require 'lodash'

editorSrcs = [
'bower_components/angular-animate/angular-animate(.min).js',
'bower_components/angular-bootstrap/ui-bootstrap-tpls(.min).js',
'bower_components/angular-route/angular-route(.min).js',
'bower_components/angular-ui-ace/ui-ace(.min).js',
'bower_components/angular-ui-router/release/angular-ui-router(.min).js',
'bower_components/wiggi-wiz/dist/wiggi-wiz.js',
'bower_components/select2/select2(.min).js',
'bower_components/angular-ui-select2/src/select2.js',
'bower_components/angular-ui/build/angular-ui(.min).js',
'bower_components/angular-bootstrap/ui-bootstrap-tpls(.min).js',
'bower_components/angular-ui-ace/ui-ace(.min).js',
'bower_components/jquery.browser/dist/jquery.browser(.min).js',
'bower_components/select2/select2(.min).js',
'bower_components/undo.js/undo.js',
'bower_components/wiggi-wiz/dist/wiggi-wiz.js',
'js/corespring/core-library.js',
'js/corespring/server/init-core-library.js',
'js/dev-editor/**/*.js',
'js/editing/**/*.js',
'js/editor/**/*.js',
'js/render/services/**/*.js',
'js/render/directives/**/*.js',
'js/render/controllers/**/*.js'
'js/render/directives/**/*.js',
'js/render/services/**/*.js',
]

exports.js =
Expand Down Expand Up @@ -51,6 +52,13 @@ exports.ngModules = _.union(player.ngModules, [
'corespring-dev-editor.controllers',
'corespring-dev-editor.directives',
'corespring-dev-editor.services',
'corespring-editing.controllers',
'corespring-editing.directives',
'corespring-editing.services',
'corespring-editing.wiggi-wiz-features',
'corespring-editing.wiggi-wiz-features.cs-image',
'corespring-editing.wiggi-wiz-features.link',
'corespring-editing.wiggi-wiz-features.mathjax',
'corespring-editor.controllers',
'corespring-editor.directives',
'corespring-editor.services',
Expand Down
29 changes: 18 additions & 11 deletions modules/container-client/grunt/config/editor.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,28 @@ _ = require 'lodash'

editorSrcs = [
'bower_components/angular-animate/angular-animate(.min).js',
'bower_components/angular-bootstrap/ui-bootstrap-tpls(.min).js',
'bower_components/angular-debounce/dist/angular-debounce(.min).js',
'bower_components/angular-route/angular-route(.min).js',
'bower_components/angular-ui-ace/ui-ace(.min).js',
'bower_components/angular-ui-router/release/angular-ui-router(.min).js',
'bower_components/wiggi-wiz/dist/wiggi-wiz.js',
'bower_components/select2/select2(.min).js',
'bower_components/angular-ui-select2/src/select2.js',
'bower_components/angular-ui/build/angular-ui(.min).js',
'bower_components/angular-ui-ace/ui-ace(.min).js',
'bower_components/angular-bootstrap/ui-bootstrap-tpls(.min).js',
'bower_components/angular-debounce/dist/angular-debounce(.min).js',
'bower_components/jquery.browser/dist/jquery.browser(.min).js',
'bower_components/undo.js/undo.js',
'bower_components/corespring-checkbox/src/directive.js',
'bower_components/corespring-radio/src/directive.js',
'bower_components/jquery.browser/dist/jquery.browser(.min).js',
'bower_components/select2/select2(.min).js',
'bower_components/undo.js/undo.js',
'bower_components/wiggi-wiz/dist/wiggi-wiz.js',
'js/catalog/**/*.js',
'js/common/**/*.js',
'js/corespring/core-library.js',
'js/corespring/server/init-core-library.js',
'js/common/**/*.js',
'js/editing/**/*.js',
'js/editor/**/*.js',
'js/catalog/**/*.js',
'js/render/services/**/*.js',
'js/render/directives/**/*.js',
'js/render/controllers/**/*.js'
'js/render/directives/**/*.js',
'js/render/services/**/*.js'
]

exports.js =
Expand Down Expand Up @@ -53,6 +54,12 @@ exports.css =

exports.ngModules = _.union(player.ngModules, [
'corespring-common.supporting-materials',
'corespring-editing.controllers',
'corespring-editing.directives',
'corespring-editing.services',
'corespring-editing.wiggi-wiz-features.cs-image',
'corespring-editing.wiggi-wiz-features.link',
'corespring-editing.wiggi-wiz-features.mathjax',
'corespring-editor.controllers',
'corespring-editor.directives',
'corespring-editor.profile.controllers',
Expand Down
50 changes: 24 additions & 26 deletions modules/container-client/grunt/config/singleComponentEditor.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,25 @@ baseName = "singleComponentEditor"

editorSrcs = [
'bower_components/angular-animate/angular-animate(.min).js',
'bower_components/wiggi-wiz/dist/wiggi-wiz.js',
'bower_components/undo.js/undo.js',
'bower_components/select2/select2(.min).js',
'bower_components/angular-ui-select2/src/select2.js',
'bower_components/angular-ui/build/angular-ui(.min).js',
'bower_components/angular-ui-ace/ui-ace(.min).js',
'bower_components/angular-bootstrap/ui-bootstrap-tpls(.min).js',
'bower_components/angular-debounce/dist/angular-debounce(.min).js',
'bower_components/jquery.browser/dist/jquery.browser(.min).js',
'bower_components/angular-ui-ace/ui-ace(.min).js',
'bower_components/angular-ui-select2/src/select2.js',
'bower_components/angular-ui/build/angular-ui(.min).js',
'bower_components/corespring-checkbox/src/directive.js',
'bower_components/corespring-radio/src/directive.js',
'js/corespring/core-library.js',
'js/corespring/server/init-core-library.js',
'bower_components/jquery.browser/dist/jquery.browser(.min).js',
'bower_components/select2/select2(.min).js',
'bower_components/undo.js/undo.js',
'bower_components/wiggi-wiz/dist/wiggi-wiz.js',
'js/common/**/*.js',
# it would be better to pull out the js we need here instead
'js/rig/**/*.js',
'js/editor/**/*.js',
'js/component-editor/**/*.js',
'js/render/services/**/*.js',
'js/corespring/core-library.js',
'js/corespring/server/init-core-library.js',
'js/editing/**/*.js',
'js/render/controllers/**/*.js',
'js/render/directives/**/*.js',
'js/render/controllers/**/*.js'
'js/render/services/**/*.js'
]

exports.js =
Expand All @@ -53,18 +51,18 @@ exports.css =
report: "#{baseName}-css-report.json"

exports.ngModules = _.union(player.ngModules, [
'corespring.wiggi-wiz',
'corespring-editor.directives',
'corespring-editor.controllers',
'corespring-rig.directives',
'corespring-editor.services',
'ui.bootstrap.tabs',
'ui.ace',
'wiggi-wiz.features.core',
'corespring.wiggi-wiz-features.mathjax',
'corespring.wiggi-wiz-features.link',
'corespring.wiggi-wiz-features.cs-image',
'corespring-editing.controllers',
'corespring-editing.directives',
'corespring-editing.services',
'corespring-editing.wiggi-wiz-features',
'corespring-editing.wiggi-wiz-features.cs-image',
'corespring-editing.wiggi-wiz-features.link',
'corespring-editing.wiggi-wiz-features.mathjax',
'corespring-singleComponentEditor.controllers',
'corespring-singleComponentEditor.services',
'corespring-singleComponentEditor.directives'
'corespring-singleComponentEditor.services',
'corespring.wiggi-wiz',
'ui.ace',
'ui.bootstrap.tabs',
'wiggi-wiz.features.core'
])
25 changes: 12 additions & 13 deletions modules/container-client/src/css/single-component-editor.less
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
@import "../bower_components/bootstrap/less/bootstrap";
@import "../components/wiggi-wiz/dist/wiggi-wiz.css";
@import "../components/components-font-awesome/css/font-awesome.css";

@import "app";
@import "bootstrap-override";
@import "common/base";

@import "editor/modal";
@import "editor/nav";
@import "editor/question";
Expand All @@ -29,12 +27,12 @@
@import "editor/question-information";
@import "editor/profile-preview";
@import "editor/help";

@import "player/player-core-mixin";

.wiggi-wiz-editable{
.wiggi-wiz-editable {
.player-core-mixin();
}

@import "player/player-container";
@import "player/corespring-player";

Expand All @@ -57,9 +55,9 @@ body {

@profile-summary-feedback-panel-bg: @darker-blue;

.btn{
.btn {
&:focus, &:active:focus, &:active {
outline:none;
outline: none;
}
}

Expand Down Expand Up @@ -89,25 +87,25 @@ body {
.bar {
padding-left: 10px;
}

.pane-header {
text-transform: uppercase;
font-size: 16px;
font-weight: 600;
color: #da1c5c;
text-transform: uppercase;
padding: 0.8em 0 0 0;
font-family: 'Whitney SSm A','Whitney SSm B', sans-serif;
font-family: 'Whitney SSm A', 'Whitney SSm B', sans-serif;
-webkit-font-smoothing: antialiased;
-font-smoothing: antialiased;
}

.pane-sub-header {
font-size: 14px;
}
}

.vertical-divider {
border-left: 1px solid #eeeeee;
border-left: 1px solid #eeeeee;
width: 1px;
font-size: 1px;
margin-left: 15px;
Expand All @@ -117,9 +115,10 @@ body {
}

.config-pane {
width: 670px;
max-width: 670px;
min-width: 670px;
@config-pane-width: 550px;
width: @config-pane-width;
max-width: @config-pane-width;
min-width: @config-pane-width;
}

.preview-right {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
angular.module('corespring-editing.controllers', [ ]);
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
angular.module('corespring-editor.controllers')
angular.module('corespring-editing.controllers')
.controller('ClientSidePreview', [
'$log',
'$scope',
'ComponentData',
'ClientSidePlayerService',
'STATIC_PATHS',
'ComponentData',
'EDITOR_EVENTS',
'STATIC_PATHS',
function ClientSidePreview(
$log,
$scope,
ClientSidePlayerServiceDef,
ComponentData,
ClientSidePlayerServiceDef,
STATIC_PATHS,
EDITOR_EVENTS) {
EDITOR_EVENTS,
STATIC_PATHS
) {

$scope.playerLabelImg = STATIC_PATHS.assets + '/item-player-label.png';

Expand Down Expand Up @@ -114,6 +115,3 @@ angular.module('corespring-editor.controllers')

}]);

angular.module('corespring-editor.controllers').constant('EDITOR_EVENTS', {
CONTENT_ADDED_TO_EDITOR: 'content.added.to.editor'
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
angular.module('corespring-editing.controllers').constant('EDITOR_EVENTS', {
CONTENT_ADDED_TO_EDITOR: 'content.added.to.editor'
});
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
angular.module('corespring-editing.directives', [ ]);
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
angular.module('corespring-editor.directives')
.directive('previewPlayerControlPanel', ['$log',
angular.module('corespring-editing.directives')
.directive('previewPlayerControlPanel', [
'$log',
function($log){

function link($scope, $element, $attrs){
Expand Down Expand Up @@ -29,7 +30,7 @@ angular.module('corespring-editor.directives')
mode: '=',
score: '='
},
templateUrl: '/editor/question/directives/preview-player-control-panel.html'
templateUrl: '/editing/directives/preview-player-control-panel.html'
};
}
]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Non optimized preview player for the editor
*/
angular.module('corespring-editor.directives')
angular.module('corespring-editing.directives')
.directive('previewPlayer', ['$log', 'ComponentRegister', 'ComponentData',
function($log, ComponentRegister, ComponentData) {

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
angular.module('corespring-editing.services', [ ]);
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
angular.module('corespring-editor.services')
angular.module('corespring-editing.services')
.service('ComponentData', [
'$timeout',
'LogFactory',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
angular.module('corespring-editor.services')
angular.module('corespring-editing.services')
.service('ComponentDefaultData', [
'LogFactory',
function(LogFactory) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
angular.module('corespring-editor.services')
angular.module('corespring-editing.services')
.service('EditorDialogTemplate', [function() {

function EditorDialogTemplate() {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
angular.module('corespring-editing.wiggi-wiz-features', [
'corespring-editing.wiggi-wiz-features.cs-image',
'corespring-editing.wiggi-wiz-features.footnotes',
'corespring-editing.wiggi-wiz-features.link',
'corespring-editing.wiggi-wiz-features.mathjax'
]);
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
angular.module('corespring-editing.wiggi-wiz-features.cs-image', []);
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
angular.module('corespring.wiggi-wiz-features.cs-image').factory('ImageFeature', [
angular.module('corespring-editing.wiggi-wiz-features.cs-image').factory('ImageFeature', [
'Image',
'TemplateUtils',
function(ImageDef, TemplateUtils) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
angular.module('corespring.wiggi-wiz-features.cs-image').directive('imageHolder', ['$log', 'ImageFeature',
angular.module('corespring-editing.wiggi-wiz-features.cs-image').directive('imageHolder', ['$log', 'ImageFeature',

function($log, ImageFeature) {

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
angular.module('corespring-editing.wiggi-wiz-features.footnotes', []);
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
angular.module('corespring.wiggi-wiz-features.footnotes').factory('WiggiFootnotesFeatureDef', [
angular.module('corespring-editing.wiggi-wiz-features.footnotes').factory('WiggiFootnotesFeatureDef', [
'LogFactory',
function(LogFactory) {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
angular.module('corespring.wiggi-wiz-features.footnotes').directive('footnotesDialog', [
angular.module('corespring-editing.wiggi-wiz-features.footnotes').directive('footnotesDialog', [
'LogFactory',
function(LogFactory) {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
angular.module('corespring.wiggi-wiz-features.footnotes').directive('footnotesHolder', [
angular.module('corespring-editing.wiggi-wiz-features.footnotes').directive('footnotesHolder', [
'LogFactory',
function(LogFactory) {

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
angular.module('corespring-editing.wiggi-wiz-features.link', []);
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
angular.module('corespring.wiggi-wiz-features.link').factory('WiggiLinkFeatureDef', [ '$compile', '$timeout',
angular.module('corespring-editing.wiggi-wiz-features.link').factory('WiggiLinkFeatureDef', [ '$compile', '$timeout',

function($compile, $timeout) {

Expand Down
Loading

0 comments on commit 02806f3

Please sign in to comment.