nutella_framework 0.7.3 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile +1 -1
- data/VERSION +1 -1
- data/framework_components/order.json +1 -6
- data/nutella_framework.gemspec +7 -507
- metadata +5 -505
- data/framework_components/beacon-cloud-bot/README.md +0 -27
- data/framework_components/beacon-cloud-bot/beacon_cloud_bot.rb +0 -150
- data/framework_components/beacon-cloud-bot/beacons.json +0 -1
- data/framework_components/beacon-cloud-bot/startup +0 -5
- data/framework_components/logging_bot/logging_bot.rb +0 -42
- data/framework_components/logging_bot/startup +0 -5
- data/framework_components/logging_bot/utils.rb +0 -8
- data/framework_components/monitoring-bot/.gitignore +0 -34
- data/framework_components/monitoring-bot/README.md +0 -1
- data/framework_components/monitoring-bot/monitoring-bot.rb +0 -472
- data/framework_components/monitoring-bot/nutella.json +0 -6
- data/framework_components/monitoring-bot/startup +0 -6
- data/framework_components/monitoring-interface/.gitignore +0 -2
- data/framework_components/monitoring-interface/README.md +0 -1
- data/framework_components/monitoring-interface/bower.json +0 -29
- data/framework_components/monitoring-interface/bower_components/bower-mqttws/.bower.json +0 -23
- data/framework_components/monitoring-interface/bower_components/bower-mqttws/bower.json +0 -14
- data/framework_components/monitoring-interface/bower_components/bower-mqttws/mqttws31.js +0 -2081
- data/framework_components/monitoring-interface/bower_components/bower-mqttws/readme.md +0 -4
- data/framework_components/monitoring-interface/bower_components/nutella_lib/.bower.json +0 -37
- data/framework_components/monitoring-interface/bower_components/nutella_lib/LICENSE +0 -21
- data/framework_components/monitoring-interface/bower_components/nutella_lib/README.md +0 -15
- data/framework_components/monitoring-interface/bower_components/nutella_lib/bower.json +0 -28
- data/framework_components/monitoring-interface/bower_components/nutella_lib/examples/browser/mqtt_client_hello_world.html +0 -23
- data/framework_components/monitoring-interface/bower_components/nutella_lib/examples/browser/nutella_hello_world.html +0 -52
- data/framework_components/monitoring-interface/bower_components/nutella_lib/examples/node/mqtt_client_hello_world.js +0 -14
- data/framework_components/monitoring-interface/bower_components/nutella_lib/examples/node/nutella_hello_world.js +0 -38
- data/framework_components/monitoring-interface/bower_components/nutella_lib/nutella_lib.js +0 -789
- data/framework_components/monitoring-interface/bower_components/nutella_lib/package.json +0 -30
- data/framework_components/monitoring-interface/css/Monitoring Interface.html +0 -215
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/animations.js +0 -27
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/application-view-controller.js +0 -232
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/applications-model.js +0 -61
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/bootstrap.min.js +0 -7
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/cursor.css +0 -7
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/d3.v3.min.js +0 -5
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/graphics.js +0 -156
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/grid-layout.js +0 -103
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/highlight.min.js +0 -2
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/instance-view-controller.js +0 -104
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/jquery-1.10.0.min.js +0 -6
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/notification-center.js +0 -63
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/notifications.js +0 -14
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/page.css +0 -33
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/radial-layout.js +0 -175
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/tab-table.js +0 -8
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/ui-application.css +0 -0
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/ui-application.js +0 -320
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/ui-connection-view.css +0 -10
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/ui-connection-view.js +0 -426
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/ui-element.js +0 -205
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/ui-notification.js +0 -94
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/ui-tab.js +0 -229
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/underscore-min.js +0 -5
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/view-controller.js +0 -68
- data/framework_components/monitoring-interface/css/Monitoring Interface_files/window-view-controller.js +0 -169
- data/framework_components/monitoring-interface/css/alerts.css +0 -3
- data/framework_components/monitoring-interface/css/bootstrap.min.css +0 -5
- data/framework_components/monitoring-interface/css/cursor.css +0 -7
- data/framework_components/monitoring-interface/css/highlight.default.min.css +0 -1
- data/framework_components/monitoring-interface/css/page.css +0 -41
- data/framework_components/monitoring-interface/css/ui-application.css +0 -0
- data/framework_components/monitoring-interface/css/ui-connection-view.css +0 -10
- data/framework_components/monitoring-interface/css/ui-legend-view.css +0 -7
- data/framework_components/monitoring-interface/data/alert.json +0 -8
- data/framework_components/monitoring-interface/data/data.json +0 -2118
- data/framework_components/monitoring-interface/data/data2.json +0 -814
- data/framework_components/monitoring-interface/data/data3.json +0 -823
- data/framework_components/monitoring-interface/data/data4.json +0 -848
- data/framework_components/monitoring-interface/data/message.json +0 -999
- data/framework_components/monitoring-interface/gulpfile.js +0 -29
- data/framework_components/monitoring-interface/img/arrow_white.svg +0 -120
- data/framework_components/monitoring-interface/img/arrow_white_right.svg +0 -104
- data/framework_components/monitoring-interface/img/back.svg +0 -164
- data/framework_components/monitoring-interface/img/cross_red_border_white.svg +0 -143
- data/framework_components/monitoring-interface/img/cross_red_border_white_mouseover.svg +0 -143
- data/framework_components/monitoring-interface/img/email.svg +0 -89
- data/framework_components/monitoring-interface/img/email_highlighted.svg +0 -89
- data/framework_components/monitoring-interface/index.html +0 -144
- data/framework_components/monitoring-interface/js/d3/layout/grid-layout.js +0 -103
- data/framework_components/monitoring-interface/js/d3/layout/radial-layout.js +0 -184
- data/framework_components/monitoring-interface/js/d3/plugin/graphics.js +0 -156
- data/framework_components/monitoring-interface/js/d3/plugin/tab-table.js +0 -8
- data/framework_components/monitoring-interface/js/d3/ui/animations.js +0 -27
- data/framework_components/monitoring-interface/js/d3/ui/ui-application.js +0 -471
- data/framework_components/monitoring-interface/js/d3/ui/ui-connection-view.js +0 -861
- data/framework_components/monitoring-interface/js/d3/ui/ui-element.js +0 -245
- data/framework_components/monitoring-interface/js/d3/ui/ui-legend.js +0 -174
- data/framework_components/monitoring-interface/js/d3/ui/ui-notification.js +0 -90
- data/framework_components/monitoring-interface/js/d3/ui/ui-tab.js +0 -309
- data/framework_components/monitoring-interface/js/lib/JSXTransformer-0.12.2.js +0 -15199
- data/framework_components/monitoring-interface/js/lib/bootstrap.min.js +0 -7
- data/framework_components/monitoring-interface/js/lib/d3.v3.min.js +0 -5
- data/framework_components/monitoring-interface/js/lib/highlight.min.js +0 -2
- data/framework_components/monitoring-interface/js/lib/jquery-1.10.0.min.js +0 -6
- data/framework_components/monitoring-interface/js/lib/nutella_lib.js +0 -5121
- data/framework_components/monitoring-interface/js/lib/react-with-addons-0.12.2.js +0 -19822
- data/framework_components/monitoring-interface/js/lib/underscore-min.js +0 -5
- data/framework_components/monitoring-interface/js/model/alerts-model.js +0 -74
- data/framework_components/monitoring-interface/js/model/applications-model.js +0 -78
- data/framework_components/monitoring-interface/js/model/messages-model.js +0 -112
- data/framework_components/monitoring-interface/js/notification/notification-center.js +0 -63
- data/framework_components/monitoring-interface/js/notification/notifications.js +0 -21
- data/framework_components/monitoring-interface/js/react/dist/ui-alerts.js +0 -178
- data/framework_components/monitoring-interface/js/react/dist/ui-message-send.js +0 -389
- data/framework_components/monitoring-interface/js/react/dist/ui-messages.js +0 -103
- data/framework_components/monitoring-interface/js/react/src/ui-alerts.js +0 -178
- data/framework_components/monitoring-interface/js/react/src/ui-message-send.js +0 -389
- data/framework_components/monitoring-interface/js/react/src/ui-messages.js +0 -103
- data/framework_components/monitoring-interface/js/view-controller/application-view-controller.js +0 -259
- data/framework_components/monitoring-interface/js/view-controller/instance-view-controller.js +0 -112
- data/framework_components/monitoring-interface/js/view-controller/view-controller.js +0 -74
- data/framework_components/monitoring-interface/js/view-controller/window-view-controller.js +0 -169
- data/framework_components/monitoring-interface/nutella.json +0 -6
- data/framework_components/room-places-beacon-cloud-interface/LICENSE +0 -21
- data/framework_components/room-places-beacon-cloud-interface/Readme.md +0 -0
- data/framework_components/room-places-beacon-cloud-interface/bower.json +0 -29
- data/framework_components/room-places-beacon-cloud-interface/bower_components/bower-mqttws/.bower.json +0 -23
- data/framework_components/room-places-beacon-cloud-interface/bower_components/bower-mqttws/bower.json +0 -14
- data/framework_components/room-places-beacon-cloud-interface/bower_components/bower-mqttws/mqttws31.js +0 -2081
- data/framework_components/room-places-beacon-cloud-interface/bower_components/bower-mqttws/readme.md +0 -4
- data/framework_components/room-places-beacon-cloud-interface/bower_components/nutella_lib/.bower.json +0 -37
- data/framework_components/room-places-beacon-cloud-interface/bower_components/nutella_lib/LICENSE +0 -21
- data/framework_components/room-places-beacon-cloud-interface/bower_components/nutella_lib/README.md +0 -15
- data/framework_components/room-places-beacon-cloud-interface/bower_components/nutella_lib/bower.json +0 -28
- data/framework_components/room-places-beacon-cloud-interface/bower_components/nutella_lib/examples/browser/mqtt_client_hello_world.html +0 -23
- data/framework_components/room-places-beacon-cloud-interface/bower_components/nutella_lib/examples/browser/nutella_hello_world.html +0 -52
- data/framework_components/room-places-beacon-cloud-interface/bower_components/nutella_lib/examples/node/mqtt_client_hello_world.js +0 -14
- data/framework_components/room-places-beacon-cloud-interface/bower_components/nutella_lib/examples/node/nutella_hello_world.js +0 -38
- data/framework_components/room-places-beacon-cloud-interface/bower_components/nutella_lib/nutella_lib.js +0 -789
- data/framework_components/room-places-beacon-cloud-interface/bower_components/nutella_lib/package.json +0 -30
- data/framework_components/room-places-beacon-cloud-interface/bower_components/nutella_lib/simple-js-mqtt-client.js +0 -428
- data/framework_components/room-places-beacon-cloud-interface/css/animation.css +0 -17
- data/framework_components/room-places-beacon-cloud-interface/css/cursor.css +0 -16
- data/framework_components/room-places-beacon-cloud-interface/css/page_layout.css +0 -73
- data/framework_components/room-places-beacon-cloud-interface/index.html +0 -157
- data/framework_components/room-places-beacon-cloud-interface/js/lib/nutella_lib.js +0 -5121
- data/framework_components/room-places-beacon-cloud-interface/js/react/beacon-add.js +0 -102
- data/framework_components/room-places-beacon-cloud-interface/js/react/beacon-table.js +0 -73
- data/framework_components/room-places-beacon-cloud-interface/js/react/beacon.js +0 -97
- data/framework_components/room-places-beacon-cloud-interface/nutella.json +0 -6
- data/framework_components/room-places-bot/.gitignore +0 -4
- data/framework_components/room-places-bot/Gemfile +0 -3
- data/framework_components/room-places-bot/README.md +0 -66
- data/framework_components/room-places-bot/nutella.json +0 -6
- data/framework_components/room-places-bot/room_places_bot.rb +0 -766
- data/framework_components/room-places-bot/startup +0 -6
- data/framework_components/room-places-bot/virtual_beacons.rb +0 -124
- data/framework_components/room-places-interface/.gitignore +0 -3
- data/framework_components/room-places-interface/LICENSE +0 -21
- data/framework_components/room-places-interface/Readme.md +0 -0
- data/framework_components/room-places-interface/bower.json +0 -29
- data/framework_components/room-places-interface/bower_components/bower-mqttws/.bower.json +0 -23
- data/framework_components/room-places-interface/bower_components/bower-mqttws/bower.json +0 -14
- data/framework_components/room-places-interface/bower_components/bower-mqttws/mqttws31.js +0 -2081
- data/framework_components/room-places-interface/bower_components/bower-mqttws/readme.md +0 -4
- data/framework_components/room-places-interface/bower_components/nutella_lib/.bower.json +0 -37
- data/framework_components/room-places-interface/bower_components/nutella_lib/LICENSE +0 -21
- data/framework_components/room-places-interface/bower_components/nutella_lib/README.md +0 -15
- data/framework_components/room-places-interface/bower_components/nutella_lib/bower.json +0 -28
- data/framework_components/room-places-interface/bower_components/nutella_lib/examples/browser/mqtt_client_hello_world.html +0 -23
- data/framework_components/room-places-interface/bower_components/nutella_lib/examples/browser/nutella_hello_world.html +0 -52
- data/framework_components/room-places-interface/bower_components/nutella_lib/examples/node/mqtt_client_hello_world.js +0 -14
- data/framework_components/room-places-interface/bower_components/nutella_lib/examples/node/nutella_hello_world.js +0 -38
- data/framework_components/room-places-interface/bower_components/nutella_lib/nutella_lib.js +0 -789
- data/framework_components/room-places-interface/bower_components/nutella_lib/package.json +0 -30
- data/framework_components/room-places-interface/css/animation.css +0 -22
- data/framework_components/room-places-interface/css/bootstrap.min.css +0 -5
- data/framework_components/room-places-interface/css/cursor.css +0 -22
- data/framework_components/room-places-interface/css/font-awesome/css/font-awesome.css +0 -1801
- data/framework_components/room-places-interface/css/font-awesome/css/font-awesome.min.css +0 -4
- data/framework_components/room-places-interface/css/font-awesome/fonts/FontAwesome.otf +0 -0
- data/framework_components/room-places-interface/css/font-awesome/fonts/fontawesome-webfont.eot +0 -0
- data/framework_components/room-places-interface/css/font-awesome/fonts/fontawesome-webfont.svg +0 -565
- data/framework_components/room-places-interface/css/font-awesome/fonts/fontawesome-webfont.ttf +0 -0
- data/framework_components/room-places-interface/css/font-awesome/fonts/fontawesome-webfont.woff +0 -0
- data/framework_components/room-places-interface/css/font-awesome/fonts/fontawesome-webfont.woff2 +0 -0
- data/framework_components/room-places-interface/css/font-awesome/less/animated.less +0 -34
- data/framework_components/room-places-interface/css/font-awesome/less/bordered-pulled.less +0 -16
- data/framework_components/room-places-interface/css/font-awesome/less/core.less +0 -13
- data/framework_components/room-places-interface/css/font-awesome/less/fixed-width.less +0 -6
- data/framework_components/room-places-interface/css/font-awesome/less/font-awesome.less +0 -17
- data/framework_components/room-places-interface/css/font-awesome/less/icons.less +0 -596
- data/framework_components/room-places-interface/css/font-awesome/less/larger.less +0 -13
- data/framework_components/room-places-interface/css/font-awesome/less/list.less +0 -19
- data/framework_components/room-places-interface/css/font-awesome/less/mixins.less +0 -27
- data/framework_components/room-places-interface/css/font-awesome/less/path.less +0 -15
- data/framework_components/room-places-interface/css/font-awesome/less/rotated-flipped.less +0 -20
- data/framework_components/room-places-interface/css/font-awesome/less/stacked.less +0 -20
- data/framework_components/room-places-interface/css/font-awesome/less/variables.less +0 -606
- data/framework_components/room-places-interface/css/font-awesome/scss/_animated.scss +0 -34
- data/framework_components/room-places-interface/css/font-awesome/scss/_bordered-pulled.scss +0 -16
- data/framework_components/room-places-interface/css/font-awesome/scss/_core.scss +0 -13
- data/framework_components/room-places-interface/css/font-awesome/scss/_fixed-width.scss +0 -6
- data/framework_components/room-places-interface/css/font-awesome/scss/_icons.scss +0 -596
- data/framework_components/room-places-interface/css/font-awesome/scss/_larger.scss +0 -13
- data/framework_components/room-places-interface/css/font-awesome/scss/_list.scss +0 -19
- data/framework_components/room-places-interface/css/font-awesome/scss/_mixins.scss +0 -27
- data/framework_components/room-places-interface/css/font-awesome/scss/_path.scss +0 -15
- data/framework_components/room-places-interface/css/font-awesome/scss/_rotated-flipped.scss +0 -20
- data/framework_components/room-places-interface/css/font-awesome/scss/_stacked.scss +0 -20
- data/framework_components/room-places-interface/css/font-awesome/scss/_variables.scss +0 -606
- data/framework_components/room-places-interface/css/font-awesome/scss/font-awesome.scss +0 -17
- data/framework_components/room-places-interface/css/icomoon.css +0 -57
- data/framework_components/room-places-interface/css/page_layout.css +0 -82
- data/framework_components/room-places-interface/fonts/glyphicons-halflings-regular.eot +0 -0
- data/framework_components/room-places-interface/fonts/glyphicons-halflings-regular.svg +0 -288
- data/framework_components/room-places-interface/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/framework_components/room-places-interface/fonts/glyphicons-halflings-regular.woff +0 -0
- data/framework_components/room-places-interface/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/framework_components/room-places-interface/fonts/icomoon.eot +0 -0
- data/framework_components/room-places-interface/fonts/icomoon.svg +0 -17
- data/framework_components/room-places-interface/fonts/icomoon.ttf +0 -0
- data/framework_components/room-places-interface/fonts/icomoon.woff +0 -0
- data/framework_components/room-places-interface/gulpfile.js +0 -24
- data/framework_components/room-places-interface/index.html +0 -73
- data/framework_components/room-places-interface/index2.html +0 -1753
- data/framework_components/room-places-interface/js/component.js +0 -438
- data/framework_components/room-places-interface/js/lib/JSXTransformer-0.12.2.js +0 -15199
- data/framework_components/room-places-interface/js/lib/bootstrap.min.js +0 -7
- data/framework_components/room-places-interface/js/lib/d3.v3.min.js +0 -5
- data/framework_components/room-places-interface/js/lib/jquery-1.10.0.min.js +0 -6
- data/framework_components/room-places-interface/js/lib/nutella_lib.js +0 -4145
- data/framework_components/room-places-interface/js/lib/react-with-addons-0.12.2.js +0 -19822
- data/framework_components/room-places-interface/js/lib/underscore.js +0 -6
- data/framework_components/room-places-interface/js/map.js +0 -1593
- data/framework_components/room-places-interface/js/position.js +0 -6
- data/framework_components/room-places-interface/js/react/dist/beacon.js +0 -30
- data/framework_components/room-places-interface/js/react/dist/discrete.js +0 -282
- data/framework_components/room-places-interface/js/react/dist/interactive-label.js +0 -54
- data/framework_components/room-places-interface/js/react/dist/resource-add.js +0 -203
- data/framework_components/room-places-interface/js/react/dist/resource-table.js +0 -227
- data/framework_components/room-places-interface/js/react/dist/resource.js +0 -433
- data/framework_components/room-places-interface/js/react/src/beacon.js +0 -30
- data/framework_components/room-places-interface/js/react/src/discrete.js +0 -282
- data/framework_components/room-places-interface/js/react/src/interactive-label.js +0 -54
- data/framework_components/room-places-interface/js/react/src/resource-add.js +0 -203
- data/framework_components/room-places-interface/js/react/src/resource-table.js +0 -227
- data/framework_components/room-places-interface/js/react/src/resource.js +0 -433
- data/framework_components/room-places-interface/js/room.js +0 -65
- data/framework_components/room-places-interface/nutella.json +0 -6
- data/framework_components/roomcast-bot/data/default/channels.json +0 -1
- data/framework_components/roomcast-bot/data/default/configs.json +0 -1
- data/framework_components/roomcast-bot/roomcast_bot.rb +0 -284
- data/framework_components/roomcast-bot/startup +0 -6
- data/framework_components/roomcast-channel-creator/.gitignore +0 -2
- data/framework_components/roomcast-channel-creator/README.md +0 -9
- data/framework_components/roomcast-channel-creator/dist/app.js +0 -44376
- data/framework_components/roomcast-channel-creator/dist/css/font-awesome.min.css +0 -4
- data/framework_components/roomcast-channel-creator/dist/css/ionicons.min.css +0 -11
- data/framework_components/roomcast-channel-creator/dist/fonts/FontAwesome.otf +0 -0
- data/framework_components/roomcast-channel-creator/dist/fonts/fontawesome-webfont.eot +0 -0
- data/framework_components/roomcast-channel-creator/dist/fonts/fontawesome-webfont.svg +0 -565
- data/framework_components/roomcast-channel-creator/dist/fonts/fontawesome-webfont.ttf +0 -0
- data/framework_components/roomcast-channel-creator/dist/fonts/fontawesome-webfont.woff +0 -0
- data/framework_components/roomcast-channel-creator/dist/fonts/fontawesome-webfont.woff2 +0 -0
- data/framework_components/roomcast-channel-creator/dist/fonts/ionicons.eot +0 -0
- data/framework_components/roomcast-channel-creator/dist/fonts/ionicons.svg +0 -2230
- data/framework_components/roomcast-channel-creator/dist/fonts/ionicons.ttf +0 -0
- data/framework_components/roomcast-channel-creator/dist/fonts/ionicons.woff +0 -0
- data/framework_components/roomcast-channel-creator/dist/main.css +0 -3310
- data/framework_components/roomcast-channel-creator/dist/nutella_lib.js +0 -5128
- data/framework_components/roomcast-channel-creator/gulp/config.js +0 -51
- data/framework_components/roomcast-channel-creator/gulp/tasks/browserify.js +0 -77
- data/framework_components/roomcast-channel-creator/gulp/tasks/build.js +0 -3
- data/framework_components/roomcast-channel-creator/gulp/tasks/css.js +0 -7
- data/framework_components/roomcast-channel-creator/gulp/tasks/default.js +0 -3
- data/framework_components/roomcast-channel-creator/gulp/tasks/fonts.js +0 -7
- data/framework_components/roomcast-channel-creator/gulp/tasks/less.js +0 -16
- data/framework_components/roomcast-channel-creator/gulp/tasks/mui-fonts.js +0 -7
- data/framework_components/roomcast-channel-creator/gulp/tasks/nutella.js +0 -7
- data/framework_components/roomcast-channel-creator/gulp/tasks/setWatch.js +0 -5
- data/framework_components/roomcast-channel-creator/gulp/tasks/svgs.js +0 -7
- data/framework_components/roomcast-channel-creator/gulp/tasks/watch.js +0 -12
- data/framework_components/roomcast-channel-creator/gulp/util/bundleLogger.js +0 -21
- data/framework_components/roomcast-channel-creator/gulp/util/handleErrors.js +0 -15
- data/framework_components/roomcast-channel-creator/gulpfile.js +0 -16
- data/framework_components/roomcast-channel-creator/index.html +0 -40
- data/framework_components/roomcast-channel-creator/nutella.json +0 -6
- data/framework_components/roomcast-channel-creator/package.json +0 -38
- data/framework_components/roomcast-channel-creator/roomcast-default.png +0 -0
- data/framework_components/roomcast-channel-creator/src/app/app.js +0 -28
- data/framework_components/roomcast-channel-creator/src/app/components/AnimationMixin.js +0 -44
- data/framework_components/roomcast-channel-creator/src/app/components/CataloguePage.js +0 -148
- data/framework_components/roomcast-channel-creator/src/app/components/Channel.js +0 -406
- data/framework_components/roomcast-channel-creator/src/app/components/ColorCell.js +0 -28
- data/framework_components/roomcast-channel-creator/src/app/components/ColorPicker.js +0 -53
- data/framework_components/roomcast-channel-creator/src/app/components/DetailPage.js +0 -66
- data/framework_components/roomcast-channel-creator/src/app/components/NutellaMixin.js +0 -40
- data/framework_components/roomcast-channel-creator/src/app/components/PageSliderMixin.js +0 -68
- data/framework_components/roomcast-channel-creator/src/app/components/Router.js +0 -52
- data/framework_components/roomcast-channel-creator/src/app/components/TopBar.js +0 -86
- data/framework_components/roomcast-channel-creator/src/app/components/UploadingScreen.js +0 -74
- data/framework_components/roomcast-channel-creator/src/app/components/main.js +0 -342
- data/framework_components/roomcast-channel-creator/src/css/font-awesome.min.css +0 -4
- data/framework_components/roomcast-channel-creator/src/css/ionicons.min.css +0 -11
- data/framework_components/roomcast-channel-creator/src/fonts/FontAwesome.otf +0 -0
- data/framework_components/roomcast-channel-creator/src/fonts/fontawesome-webfont.eot +0 -0
- data/framework_components/roomcast-channel-creator/src/fonts/fontawesome-webfont.svg +0 -565
- data/framework_components/roomcast-channel-creator/src/fonts/fontawesome-webfont.ttf +0 -0
- data/framework_components/roomcast-channel-creator/src/fonts/fontawesome-webfont.woff +0 -0
- data/framework_components/roomcast-channel-creator/src/fonts/fontawesome-webfont.woff2 +0 -0
- data/framework_components/roomcast-channel-creator/src/fonts/ionicons.eot +0 -0
- data/framework_components/roomcast-channel-creator/src/fonts/ionicons.svg +0 -2230
- data/framework_components/roomcast-channel-creator/src/fonts/ionicons.ttf +0 -0
- data/framework_components/roomcast-channel-creator/src/fonts/ionicons.woff +0 -0
- data/framework_components/roomcast-channel-creator/src/less/main.less +0 -506
- data/framework_components/roomcast-channel-creator/src/less/my_overrides.less +0 -14
- data/framework_components/roomcast-channel-creator/upload.svg +0 -216
- data/framework_components/roomcast-main-app/.gitignore +0 -2
- data/framework_components/roomcast-main-app/README.md +0 -9
- data/framework_components/roomcast-main-app/dist/LICENSE +0 -21
- data/framework_components/roomcast-main-app/dist/app.js +0 -54373
- data/framework_components/roomcast-main-app/dist/assets/Logo.png +0 -0
- data/framework_components/roomcast-main-app/dist/assets/Logo_alpha.png +0 -0
- data/framework_components/roomcast-main-app/dist/assets/Logo_grid.svg +0 -216
- data/framework_components/roomcast-main-app/dist/css/ionicons.min.css +0 -11
- data/framework_components/roomcast-main-app/dist/fonts/ionicons.eot +0 -0
- data/framework_components/roomcast-main-app/dist/fonts/ionicons.svg +0 -2230
- data/framework_components/roomcast-main-app/dist/fonts/ionicons.ttf +0 -0
- data/framework_components/roomcast-main-app/dist/fonts/ionicons.woff +0 -0
- data/framework_components/roomcast-main-app/dist/main.css +0 -3234
- data/framework_components/roomcast-main-app/gulp/config.js +0 -47
- data/framework_components/roomcast-main-app/gulp/tasks/browserify.js +0 -77
- data/framework_components/roomcast-main-app/gulp/tasks/build.js +0 -3
- data/framework_components/roomcast-main-app/gulp/tasks/css.js +0 -7
- data/framework_components/roomcast-main-app/gulp/tasks/default.js +0 -3
- data/framework_components/roomcast-main-app/gulp/tasks/fonts.js +0 -7
- data/framework_components/roomcast-main-app/gulp/tasks/less.js +0 -16
- data/framework_components/roomcast-main-app/gulp/tasks/markup.js +0 -7
- data/framework_components/roomcast-main-app/gulp/tasks/setWatch.js +0 -5
- data/framework_components/roomcast-main-app/gulp/tasks/svgs.js +0 -7
- data/framework_components/roomcast-main-app/gulp/tasks/watch.js +0 -12
- data/framework_components/roomcast-main-app/gulp/util/bundleLogger.js +0 -21
- data/framework_components/roomcast-main-app/gulp/util/handleErrors.js +0 -15
- data/framework_components/roomcast-main-app/gulpfile.js +0 -16
- data/framework_components/roomcast-main-app/index.html +0 -37
- data/framework_components/roomcast-main-app/nutella.json +0 -6
- data/framework_components/roomcast-main-app/package.json +0 -47
- data/framework_components/roomcast-main-app/roomcast-default.png +0 -0
- data/framework_components/roomcast-main-app/src/app/app.js +0 -15
- data/framework_components/roomcast-main-app/src/app/components/NutellaMixin.js +0 -56
- data/framework_components/roomcast-main-app/src/app/components/app/Channel.js +0 -68
- data/framework_components/roomcast-main-app/src/app/components/app/Player.js +0 -139
- data/framework_components/roomcast-main-app/src/app/components/app/iOSMixin.js +0 -22
- data/framework_components/roomcast-main-app/src/app/components/app/main.js +0 -567
- data/framework_components/roomcast-main-app/src/app/components/app/material-ui/menu-item.jsx +0 -79
- data/framework_components/roomcast-main-app/src/app/components/app/material-ui/menu.jsx +0 -177
- data/framework_components/roomcast-main-app/src/app/components/app/material-ui/overlay.jsx +0 -21
- data/framework_components/roomcast-main-app/src/app/components/app/material-ui/right-nav.jsx +0 -108
- data/framework_components/roomcast-main-app/src/app/components/identity-selector/IdentitiesGrid.js +0 -95
- data/framework_components/roomcast-main-app/src/app/components/identity-selector/IdentityCard.js +0 -103
- data/framework_components/roomcast-main-app/src/app/components/identity-selector/iOSMixin.js +0 -19
- data/framework_components/roomcast-main-app/src/app/components/identity-selector/main.js +0 -109
- data/framework_components/roomcast-main-app/src/app/components/login/AppIdPage.js +0 -97
- data/framework_components/roomcast-main-app/src/app/components/login/BrokerPage.js +0 -139
- data/framework_components/roomcast-main-app/src/app/components/login/IdentitiesGrid.js +0 -93
- data/framework_components/roomcast-main-app/src/app/components/login/IdentityCard.js +0 -99
- data/framework_components/roomcast-main-app/src/app/components/login/RunIdPage.js +0 -78
- data/framework_components/roomcast-main-app/src/app/components/login/iOSMixin.js +0 -23
- data/framework_components/roomcast-main-app/src/app/components/login/main.js +0 -125
- data/framework_components/roomcast-main-app/src/app/components/main.js +0 -64
- data/framework_components/roomcast-main-app/src/less/main.less +0 -365
- data/framework_components/roomcast-main-app/src/less/my_overrides.less +0 -53
- data/framework_components/roomcast-main-app/src/less/right-nav.less +0 -31
- data/framework_components/roomcast-package-creator/.gitignore +0 -2
- data/framework_components/roomcast-package-creator/README.md +0 -9
- data/framework_components/roomcast-package-creator/dist/app.js +0 -51196
- data/framework_components/roomcast-package-creator/dist/css/font-awesome.min.css +0 -4
- data/framework_components/roomcast-package-creator/dist/css/ionicons.min.css +0 -11
- data/framework_components/roomcast-package-creator/dist/fonts/FontAwesome.otf +0 -0
- data/framework_components/roomcast-package-creator/dist/fonts/fontawesome-webfont.eot +0 -0
- data/framework_components/roomcast-package-creator/dist/fonts/fontawesome-webfont.svg +0 -565
- data/framework_components/roomcast-package-creator/dist/fonts/fontawesome-webfont.ttf +0 -0
- data/framework_components/roomcast-package-creator/dist/fonts/fontawesome-webfont.woff +0 -0
- data/framework_components/roomcast-package-creator/dist/fonts/fontawesome-webfont.woff2 +0 -0
- data/framework_components/roomcast-package-creator/dist/fonts/ionicons.eot +0 -0
- data/framework_components/roomcast-package-creator/dist/fonts/ionicons.svg +0 -2230
- data/framework_components/roomcast-package-creator/dist/fonts/ionicons.ttf +0 -0
- data/framework_components/roomcast-package-creator/dist/fonts/ionicons.woff +0 -0
- data/framework_components/roomcast-package-creator/dist/fonts/material-ui-icons.eot +0 -0
- data/framework_components/roomcast-package-creator/dist/fonts/material-ui-icons.svg +0 -14
- data/framework_components/roomcast-package-creator/dist/fonts/material-ui-icons.ttf +0 -0
- data/framework_components/roomcast-package-creator/dist/fonts/material-ui-icons.woff +0 -0
- data/framework_components/roomcast-package-creator/dist/main.css +0 -5682
- data/framework_components/roomcast-package-creator/dist/nutella_lib.js +0 -5128
- data/framework_components/roomcast-package-creator/gulp/config.js +0 -51
- data/framework_components/roomcast-package-creator/gulp/tasks/browserify.js +0 -77
- data/framework_components/roomcast-package-creator/gulp/tasks/build.js +0 -3
- data/framework_components/roomcast-package-creator/gulp/tasks/css.js +0 -7
- data/framework_components/roomcast-package-creator/gulp/tasks/default.js +0 -3
- data/framework_components/roomcast-package-creator/gulp/tasks/fonts.js +0 -7
- data/framework_components/roomcast-package-creator/gulp/tasks/less.js +0 -16
- data/framework_components/roomcast-package-creator/gulp/tasks/mui-fonts.js +0 -7
- data/framework_components/roomcast-package-creator/gulp/tasks/nutella.js +0 -7
- data/framework_components/roomcast-package-creator/gulp/tasks/setWatch.js +0 -5
- data/framework_components/roomcast-package-creator/gulp/tasks/svgs.js +0 -7
- data/framework_components/roomcast-package-creator/gulp/tasks/watch.js +0 -12
- data/framework_components/roomcast-package-creator/gulp/util/bundleLogger.js +0 -21
- data/framework_components/roomcast-package-creator/gulp/util/handleErrors.js +0 -15
- data/framework_components/roomcast-package-creator/gulpfile.js +0 -16
- data/framework_components/roomcast-package-creator/index.html +0 -38
- data/framework_components/roomcast-package-creator/nutella.json +0 -6
- data/framework_components/roomcast-package-creator/package.json +0 -39
- data/framework_components/roomcast-package-creator/roomcast-default.png +0 -0
- data/framework_components/roomcast-package-creator/src/app/app.js +0 -30
- data/framework_components/roomcast-package-creator/src/app/components/ButtonInteractionsMixin.js +0 -45
- data/framework_components/roomcast-package-creator/src/app/components/ChannelCard.js +0 -100
- data/framework_components/roomcast-package-creator/src/app/components/ChannelItem.js +0 -71
- data/framework_components/roomcast-package-creator/src/app/components/ChannelsCatalogue.js +0 -51
- data/framework_components/roomcast-package-creator/src/app/components/ChannelsPanel.js +0 -127
- data/framework_components/roomcast-package-creator/src/app/components/ConfigField.js +0 -50
- data/framework_components/roomcast-package-creator/src/app/components/ConfigurationsPanel.js +0 -112
- data/framework_components/roomcast-package-creator/src/app/components/ContextButton.js +0 -37
- data/framework_components/roomcast-package-creator/src/app/components/GlobalButton.js +0 -28
- data/framework_components/roomcast-package-creator/src/app/components/NutellaMixin.js +0 -58
- data/framework_components/roomcast-package-creator/src/app/components/PoolHeader.js +0 -67
- data/framework_components/roomcast-package-creator/src/app/components/PoolRow.js +0 -160
- data/framework_components/roomcast-package-creator/src/app/components/ResourceFamilyPool.js +0 -168
- data/framework_components/roomcast-package-creator/src/app/components/ResourcesPanel.js +0 -76
- data/framework_components/roomcast-package-creator/src/app/components/main.js +0 -239
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/dialog_.jsx +0 -66
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/drop-down-menu.jsx +0 -159
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/enhanced-textarea.jsx +0 -113
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/floating-action-button_.jsx +0 -73
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/menu-item.jsx +0 -100
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/menu.jsx +0 -211
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/overlay.jsx +0 -21
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/raised-button_.jsx +0 -72
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/right-nav.jsx +0 -108
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/ripple.jsx +0 -52
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/svg-icons/drop-down-arrow.jsx +0 -17
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/svg-icons/navigation-chevron-left.jsx +0 -16
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/svg-icons/navigation-chevron-right.jsx +0 -17
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/svg-icons/navigation-menu.jsx +0 -16
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/svg-icons/svg-icon.jsx +0 -23
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/svg-icons/toggle-check-box-checked.jsx +0 -16
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/svg-icons/toggle-check-box-outline-blank.jsx +0 -16
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/svg-icons/toggle-radio-button-off.jsx +0 -16
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/svg-icons/toggle-radio-button-on.jsx +0 -16
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/text-field.jsx +0 -215
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/utils/css-event.js +0 -52
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/utils/date-time.js +0 -132
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/utils/dom.js +0 -71
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/utils/events.js +0 -34
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/utils/key-code.js +0 -10
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/utils/key-line.js +0 -13
- data/framework_components/roomcast-package-creator/src/app/components/material-ui/utils/unique-id.js +0 -7
- data/framework_components/roomcast-package-creator/src/css/font-awesome.min.css +0 -4
- data/framework_components/roomcast-package-creator/src/css/ionicons.min.css +0 -11
- data/framework_components/roomcast-package-creator/src/fonts/FontAwesome.otf +0 -0
- data/framework_components/roomcast-package-creator/src/fonts/fontawesome-webfont.eot +0 -0
- data/framework_components/roomcast-package-creator/src/fonts/fontawesome-webfont.svg +0 -565
- data/framework_components/roomcast-package-creator/src/fonts/fontawesome-webfont.ttf +0 -0
- data/framework_components/roomcast-package-creator/src/fonts/fontawesome-webfont.woff +0 -0
- data/framework_components/roomcast-package-creator/src/fonts/fontawesome-webfont.woff2 +0 -0
- data/framework_components/roomcast-package-creator/src/fonts/ionicons.eot +0 -0
- data/framework_components/roomcast-package-creator/src/fonts/ionicons.svg +0 -2230
- data/framework_components/roomcast-package-creator/src/fonts/ionicons.ttf +0 -0
- data/framework_components/roomcast-package-creator/src/fonts/ionicons.woff +0 -0
- data/framework_components/roomcast-package-creator/src/less/drop-down-icon.less +0 -43
- data/framework_components/roomcast-package-creator/src/less/drop-down-menu.less +0 -77
- data/framework_components/roomcast-package-creator/src/less/enhanced-textarea.less +0 -16
- data/framework_components/roomcast-package-creator/src/less/main.less +0 -514
- data/framework_components/roomcast-package-creator/src/less/menu-item.less +0 -71
- data/framework_components/roomcast-package-creator/src/less/menu.less +0 -50
- data/framework_components/roomcast-package-creator/src/less/my_overrides.less +0 -15
- data/framework_components/roomcast-package-creator/src/less/svg-icon.less +0 -11
- data/framework_components/roomcast-package-creator/src/less/text-field.less +0 -168
- data/framework_components/roomcast-teacher-controls/.gitignore +0 -2
- data/framework_components/roomcast-teacher-controls/README.md +0 -9
- data/framework_components/roomcast-teacher-controls/dist/app.js +0 -43614
- data/framework_components/roomcast-teacher-controls/dist/main.css +0 -3043
- data/framework_components/roomcast-teacher-controls/dist/nutella_lib.js +0 -5128
- data/framework_components/roomcast-teacher-controls/gulp/config.js +0 -51
- data/framework_components/roomcast-teacher-controls/gulp/tasks/browserify.js +0 -77
- data/framework_components/roomcast-teacher-controls/gulp/tasks/build.js +0 -3
- data/framework_components/roomcast-teacher-controls/gulp/tasks/css.js +0 -7
- data/framework_components/roomcast-teacher-controls/gulp/tasks/default.js +0 -3
- data/framework_components/roomcast-teacher-controls/gulp/tasks/fonts.js +0 -7
- data/framework_components/roomcast-teacher-controls/gulp/tasks/less.js +0 -16
- data/framework_components/roomcast-teacher-controls/gulp/tasks/mui-fonts.js +0 -7
- data/framework_components/roomcast-teacher-controls/gulp/tasks/nutella.js +0 -7
- data/framework_components/roomcast-teacher-controls/gulp/tasks/setWatch.js +0 -5
- data/framework_components/roomcast-teacher-controls/gulp/tasks/svgs.js +0 -7
- data/framework_components/roomcast-teacher-controls/gulp/tasks/watch.js +0 -12
- data/framework_components/roomcast-teacher-controls/gulp/util/bundleLogger.js +0 -21
- data/framework_components/roomcast-teacher-controls/gulp/util/handleErrors.js +0 -15
- data/framework_components/roomcast-teacher-controls/gulpfile.js +0 -16
- data/framework_components/roomcast-teacher-controls/index.html +0 -37
- data/framework_components/roomcast-teacher-controls/nutella.json +0 -6
- data/framework_components/roomcast-teacher-controls/package.json +0 -38
- data/framework_components/roomcast-teacher-controls/src/app/app.js +0 -28
- data/framework_components/roomcast-teacher-controls/src/app/components/ActivitiesGrid.js +0 -87
- data/framework_components/roomcast-teacher-controls/src/app/components/ActivityCard.js +0 -183
- data/framework_components/roomcast-teacher-controls/src/app/components/Footer.js +0 -37
- data/framework_components/roomcast-teacher-controls/src/app/components/NutellaMixin.js +0 -58
- data/framework_components/roomcast-teacher-controls/src/app/components/main.js +0 -125
- data/framework_components/roomcast-teacher-controls/src/less/main.less +0 -196
- data/framework_components/roomcast-teacher-controls/src/less/my_overrides.less +0 -14
@@ -1,113 +0,0 @@
|
|
1
|
-
var React = require('react');
|
2
|
-
var Classable = require('../../../../node_modules/material-ui/src/js/mixins/classable');
|
3
|
-
|
4
|
-
var EnhancedTextarea = React.createClass({
|
5
|
-
|
6
|
-
mixins: [Classable],
|
7
|
-
|
8
|
-
propTypes: {
|
9
|
-
onChange: React.PropTypes.func,
|
10
|
-
onHeightChange: React.PropTypes.func,
|
11
|
-
textareaClassName: React.PropTypes.string,
|
12
|
-
rows: React.PropTypes.number
|
13
|
-
},
|
14
|
-
|
15
|
-
getDefaultProps: function() {
|
16
|
-
return {
|
17
|
-
rows: 1
|
18
|
-
};
|
19
|
-
},
|
20
|
-
|
21
|
-
getInitialState: function() {
|
22
|
-
return {
|
23
|
-
height: this.props.rows * 24
|
24
|
-
};
|
25
|
-
},
|
26
|
-
|
27
|
-
componentDidMount: function() {
|
28
|
-
this._syncHeightWithShadow();
|
29
|
-
},
|
30
|
-
|
31
|
-
render: function() {
|
32
|
-
|
33
|
-
var {
|
34
|
-
className,
|
35
|
-
onChange,
|
36
|
-
onHeightChange,
|
37
|
-
textareaClassName,
|
38
|
-
rows,
|
39
|
-
valueLink,
|
40
|
-
...other,
|
41
|
-
} = this.props;
|
42
|
-
|
43
|
-
var classes = this.getClasses('mui-enhanced-textarea');
|
44
|
-
var textareaClassName = 'mui-enhanced-textarea-input';
|
45
|
-
var style = {
|
46
|
-
height: this.state.height + 'px'
|
47
|
-
};
|
48
|
-
|
49
|
-
if (this.props.textareaClassName) {
|
50
|
-
textareaClassName += ' ' + this.props.textareaClassName;
|
51
|
-
}
|
52
|
-
|
53
|
-
if (this.props.hasOwnProperty('valueLink')) {
|
54
|
-
other.value = this.props.valueLink.value;
|
55
|
-
}
|
56
|
-
|
57
|
-
return (
|
58
|
-
<div className={classes}>
|
59
|
-
<textarea
|
60
|
-
ref="shadow"
|
61
|
-
className="mui-enhanced-textarea-shadow"
|
62
|
-
tabIndex="-1"
|
63
|
-
rows={this.props.rows}
|
64
|
-
defaultValue={this.props.defaultValue}
|
65
|
-
readOnly={true}
|
66
|
-
value={this.props.value} />
|
67
|
-
<textarea
|
68
|
-
{...other}
|
69
|
-
ref="input"
|
70
|
-
className={textareaClassName}
|
71
|
-
rows={this.props.rows}
|
72
|
-
style={style}
|
73
|
-
onChange={this._handleChange} />
|
74
|
-
</div>
|
75
|
-
);
|
76
|
-
},
|
77
|
-
|
78
|
-
getInputNode: function() {
|
79
|
-
return this.refs.input.getDOMNode();
|
80
|
-
},
|
81
|
-
|
82
|
-
_syncHeightWithShadow: function(newValue, e) {
|
83
|
-
var shadow = this.refs.shadow.getDOMNode();
|
84
|
-
var currentHeight = this.state.height;
|
85
|
-
var newHeight;
|
86
|
-
|
87
|
-
if (newValue !== undefined) shadow.value = newValue;
|
88
|
-
newHeight = shadow.scrollHeight;
|
89
|
-
|
90
|
-
if (currentHeight !== newHeight) {
|
91
|
-
this.setState({height: newHeight});
|
92
|
-
if (this.props.onHeightChange) this.props.onHeightChange(e, newHeight);
|
93
|
-
}
|
94
|
-
},
|
95
|
-
|
96
|
-
_handleChange: function(e) {
|
97
|
-
this._syncHeightWithShadow(e.target.value);
|
98
|
-
|
99
|
-
if (this.props.hasOwnProperty('valueLink')) {
|
100
|
-
this.props.valueLink.requestChange(e.target.value);
|
101
|
-
}
|
102
|
-
|
103
|
-
if (this.props.onChange) this.props.onChange(e);
|
104
|
-
},
|
105
|
-
|
106
|
-
componentWillReceiveProps: function(nextProps) {
|
107
|
-
if (nextProps.value != this.props.value) {
|
108
|
-
this._syncHeightWithShadow(nextProps.value);
|
109
|
-
}
|
110
|
-
}
|
111
|
-
});
|
112
|
-
|
113
|
-
module.exports = EnhancedTextarea;
|
@@ -1,73 +0,0 @@
|
|
1
|
-
var React = require('react');
|
2
|
-
var CssEvent = require('../../../../node_modules/material-ui/src/js/utils/css-event.js');
|
3
|
-
var Classable = require('../../../../node_modules/material-ui/src/js/mixins/classable.js');
|
4
|
-
var EnhancedButton = require('../../../../node_modules/material-ui/src/js/enhanced-button.jsx');
|
5
|
-
var Icon = require('../../../../node_modules/material-ui/src/js/icon.jsx');
|
6
|
-
var Paper = require('../../../../node_modules/material-ui/src/js/paper.jsx');
|
7
|
-
var Ripple = require('./ripple.jsx');
|
8
|
-
|
9
|
-
var FloatingActionButton_ = React.createClass({
|
10
|
-
|
11
|
-
mixins: [Classable],
|
12
|
-
|
13
|
-
propTypes: {
|
14
|
-
className: React.PropTypes.string,
|
15
|
-
icon: React.PropTypes.string.isRequired,
|
16
|
-
mini: React.PropTypes.bool,
|
17
|
-
onTouchTap: React.PropTypes.func,
|
18
|
-
secondary: React.PropTypes.bool
|
19
|
-
},
|
20
|
-
|
21
|
-
getInitialState: function() {
|
22
|
-
var zDepth = 1;
|
23
|
-
return {
|
24
|
-
zDepth: zDepth,
|
25
|
-
initialZDepth: zDepth
|
26
|
-
};
|
27
|
-
},
|
28
|
-
|
29
|
-
render: function() {
|
30
|
-
var {
|
31
|
-
className,
|
32
|
-
icon,
|
33
|
-
mini,
|
34
|
-
onTouchTap,
|
35
|
-
...other } = this.props,
|
36
|
-
classes = this.getClasses('mui-floating-action-button', {
|
37
|
-
'mui-is-mini': this.props.mini,
|
38
|
-
'mui-is-secondary': this.props.secondary
|
39
|
-
});
|
40
|
-
|
41
|
-
return (
|
42
|
-
<Paper className={classes} innerClassName="mui-floating-action-button-inner" zDepth={this.state.zDepth} circle={true}>
|
43
|
-
<EnhancedButton
|
44
|
-
{...other}
|
45
|
-
className="mui-floating-action-button-container"
|
46
|
-
onTouchTap={this._onTouchTap}>
|
47
|
-
|
48
|
-
|
49
|
-
<Ripple className="mui-floating-action-button-focus-ripple" />
|
50
|
-
<Icon className="mui-floating-action-button-icon" icon={this.props.icon} />
|
51
|
-
|
52
|
-
</EnhancedButton>
|
53
|
-
<Ripple ref="ripple" className="mui-floating-action-button-ripple" />
|
54
|
-
</Paper>
|
55
|
-
);
|
56
|
-
},
|
57
|
-
|
58
|
-
_onTouchTap: function(e) {
|
59
|
-
if (!this.props.disabled) this._animateButtonClick(e);
|
60
|
-
if (this.props.onTouchTap) this.props.onTouchTap(e);
|
61
|
-
},
|
62
|
-
|
63
|
-
_animateButtonClick: function(e) {
|
64
|
-
var el = this.getDOMNode();
|
65
|
-
|
66
|
-
//animate the ripple
|
67
|
-
this.refs.ripple.animateFromCenter();
|
68
|
-
|
69
|
-
}
|
70
|
-
|
71
|
-
});
|
72
|
-
|
73
|
-
module.exports = FloatingActionButton_;
|
data/framework_components/roomcast-package-creator/src/app/components/material-ui/menu-item.jsx
DELETED
@@ -1,100 +0,0 @@
|
|
1
|
-
var React = require('react');
|
2
|
-
|
3
|
-
var MenuItem = React.createClass({
|
4
|
-
|
5
|
-
propTypes: {
|
6
|
-
index: React.PropTypes.number.isRequired,
|
7
|
-
iconClassName: React.PropTypes.string,
|
8
|
-
iconRightClassName: React.PropTypes.string,
|
9
|
-
attribute: React.PropTypes.string,
|
10
|
-
number: React.PropTypes.string,
|
11
|
-
data: React.PropTypes.string,
|
12
|
-
toggle: React.PropTypes.bool,
|
13
|
-
onTouchTap: React.PropTypes.func,
|
14
|
-
onClick: React.PropTypes.func,
|
15
|
-
onToggle: React.PropTypes.func,
|
16
|
-
selected: React.PropTypes.bool
|
17
|
-
},
|
18
|
-
|
19
|
-
getDefaultProps: function() {
|
20
|
-
return {
|
21
|
-
toggle: false
|
22
|
-
};
|
23
|
-
},
|
24
|
-
|
25
|
-
render: function() {
|
26
|
-
var classes = 'mui-menu-item';
|
27
|
-
if(this.props.selected) {
|
28
|
-
classes += ' mui-is-selected';
|
29
|
-
}
|
30
|
-
if(this.props.currentSelected) {
|
31
|
-
classes += ' mui-is-current-selected';
|
32
|
-
}
|
33
|
-
|
34
|
-
var icon;
|
35
|
-
var data;
|
36
|
-
var iconRight;
|
37
|
-
var attribute;
|
38
|
-
var number;
|
39
|
-
|
40
|
-
if (this.props.iconClassName) icon = <FontIcon className={'mui-menu-item-icon ' + this.props.iconClassName} />;
|
41
|
-
if (this.props.iconRightClassName) iconRight = <FontIcon className={'mui-menu-item-icon-right ' + this.props.iconRightClassName} />;
|
42
|
-
if (this.props.data) data = <span className="mui-menu-item-data">{this.props.data}</span>;
|
43
|
-
if (this.props.number !== undefined) number = <span className="mui-menu-item-number">{this.props.number}</span>;
|
44
|
-
if (this.props.attribute !== undefined) attribute = <span className="mui-menu-item-attribute">{this.props.attribute}</span>;
|
45
|
-
|
46
|
-
var useIcon;
|
47
|
-
var deleteIcon;
|
48
|
-
|
49
|
-
var hiddenStyle = {
|
50
|
-
color: 'transparent',
|
51
|
-
cursor: 'default'
|
52
|
-
};
|
53
|
-
|
54
|
-
if(!this.props.lastConfig && !this.props.lastItem) {
|
55
|
-
useIcon = <div className='check-config-icon' onTouchTap={this.handleChangeConfig} > <i className="fa fa-check"></i> </div>;
|
56
|
-
deleteIcon = <div className='delete-config-icon'> <i className="fa fa-times" onTouchTap={this.handleDeleteConfig}></i> </div>;
|
57
|
-
}
|
58
|
-
if(this.props.lastConfig && !this.props.lastItem) {
|
59
|
-
useIcon = <div className='check-config-icon' onTouchTap={this.handleChangeConfig} > <i className="fa fa-check"></i> </div>
|
60
|
-
deleteIcon = <div className='delete-config-icon' style={hiddenStyle} > <i className="fa fa-times" style={hiddenStyle} ></i> </div>;
|
61
|
-
}
|
62
|
-
if(this.props.lastItem) {
|
63
|
-
useIcon = <div className='check-config-icon' onTouchTap={this.handleAddEmptyConfig} > <i className="fa fa-check"></i> </div>
|
64
|
-
deleteIcon = <div className='delete-config-icon' style={hiddenStyle} > <i className="fa fa-times" style={hiddenStyle} ></i> </div>;
|
65
|
-
}
|
66
|
-
|
67
|
-
return (
|
68
|
-
<div
|
69
|
-
key={this.props.index}
|
70
|
-
className={classes} >
|
71
|
-
|
72
|
-
{icon}
|
73
|
-
{this.props.children}
|
74
|
-
{data}
|
75
|
-
{attribute}
|
76
|
-
{number}
|
77
|
-
{iconRight}
|
78
|
-
|
79
|
-
{deleteIcon}
|
80
|
-
{useIcon}
|
81
|
-
|
82
|
-
</div>
|
83
|
-
);
|
84
|
-
},
|
85
|
-
|
86
|
-
handleChangeConfig: function(e) {
|
87
|
-
if (this.props.onTouchTap) this.props.onTouchTap(e, this.props.index, 'change');
|
88
|
-
},
|
89
|
-
|
90
|
-
handleDeleteConfig: function(e) {
|
91
|
-
if (this.props.onTouchTap) this.props.onTouchTap(e, this.props.index, 'delete');
|
92
|
-
},
|
93
|
-
|
94
|
-
handleAddEmptyConfig: function(e) {
|
95
|
-
if (this.props.onTouchTap) this.props.onTouchTap(e, this.props.index, 'add');
|
96
|
-
}
|
97
|
-
|
98
|
-
});
|
99
|
-
|
100
|
-
module.exports = MenuItem;
|
@@ -1,211 +0,0 @@
|
|
1
|
-
var React = require('react');
|
2
|
-
var Mui = require('material-ui');
|
3
|
-
var Paper = Mui.Paper;
|
4
|
-
var Dom = require('../../../../node_modules/material-ui/src/js/utils/dom');
|
5
|
-
var KeyLine = require('../../../../node_modules/material-ui/src/js/utils/key-line');
|
6
|
-
var MenuItem = require('./menu-item.jsx');
|
7
|
-
var ConfigField = require('../ConfigField');
|
8
|
-
|
9
|
-
var Menu = React.createClass({
|
10
|
-
|
11
|
-
propTypes: {
|
12
|
-
autoWidth: React.PropTypes.bool,
|
13
|
-
onItemTap: React.PropTypes.func,
|
14
|
-
onItemClick: React.PropTypes.func,
|
15
|
-
onToggleClick: React.PropTypes.func,
|
16
|
-
menuItems: React.PropTypes.array.isRequired,
|
17
|
-
selectedIndex: React.PropTypes.number,
|
18
|
-
hideable: React.PropTypes.bool,
|
19
|
-
visible: React.PropTypes.bool,
|
20
|
-
zDepth: React.PropTypes.number
|
21
|
-
},
|
22
|
-
|
23
|
-
getInitialState: function() {
|
24
|
-
return { hasToUpdateValues: false }
|
25
|
-
},
|
26
|
-
|
27
|
-
getDefaultProps: function() {
|
28
|
-
return {
|
29
|
-
autoWidth: true,
|
30
|
-
hideable: false,
|
31
|
-
visible: true,
|
32
|
-
zDepth: 1
|
33
|
-
};
|
34
|
-
},
|
35
|
-
|
36
|
-
componentDidMount: function() {
|
37
|
-
var el = this.getDOMNode();
|
38
|
-
|
39
|
-
//Set the menu with
|
40
|
-
//this._setKeyWidth(el);
|
41
|
-
var menuWidth = document.getElementsByClassName('resources-panel')[0].offsetWidth / 2.4;
|
42
|
-
//Update the menu width
|
43
|
-
el.style.width = menuWidth + 'px';
|
44
|
-
var dropdownWidth = document.getElementsByClassName('mui-drop-down-menu')[0];
|
45
|
-
dropdownWidth.style.width = menuWidth + 'px';
|
46
|
-
|
47
|
-
//Save the initial menu height and item height for later
|
48
|
-
this._initialMenuHeight = el.offsetHeight + KeyLine.Desktop.GUTTER_LESS;
|
49
|
-
this._itemHeight = el.offsetHeight / (this.props.menuItems.length);
|
50
|
-
|
51
|
-
//Show or Hide the menu according to visibility
|
52
|
-
this._renderVisibility();
|
53
|
-
},
|
54
|
-
|
55
|
-
componentDidUpdate: function(prevProps, prevState) {
|
56
|
-
this.updateHeight(this.props.menuItems.length);
|
57
|
-
if (this.props.visible !== prevProps.visible) this._renderVisibility();
|
58
|
-
},
|
59
|
-
|
60
|
-
updateHeight: function(numItems) {
|
61
|
-
if(this.props.visible) {
|
62
|
-
|
63
|
-
// Compute new height
|
64
|
-
this._initialMenuHeight = this._itemHeight * numItems + KeyLine.Desktop.GUTTER_LESS;
|
65
|
-
|
66
|
-
// Update menu height
|
67
|
-
this.getDOMNode().style.height = this._initialMenuHeight + 'px';
|
68
|
-
|
69
|
-
}
|
70
|
-
},
|
71
|
-
|
72
|
-
render: function() {
|
73
|
-
|
74
|
-
var classes = 'mui-menu';
|
75
|
-
if(this.props.hideable) {
|
76
|
-
classes += ' mui-menu-hideable';
|
77
|
-
}
|
78
|
-
if(this.props.visible) {
|
79
|
-
classes += ' mui-visible';
|
80
|
-
}
|
81
|
-
|
82
|
-
return (
|
83
|
-
<Paper ref="paperContainer" zDepth={this.props.zDepth} className={classes}>
|
84
|
-
{this._getChildren()}
|
85
|
-
</Paper>
|
86
|
-
);
|
87
|
-
|
88
|
-
},
|
89
|
-
|
90
|
-
_getChildren: function() {
|
91
|
-
var children = [],
|
92
|
-
menuItem,
|
93
|
-
itemComponent,
|
94
|
-
isSelected;
|
95
|
-
|
96
|
-
for (var i=0; i < this.props.menuItems.length; i++) {
|
97
|
-
menuItem = this.props.menuItems[i];
|
98
|
-
isSelected = i === this.props.selectedIndex;
|
99
|
-
|
100
|
-
var {
|
101
|
-
icon,
|
102
|
-
data,
|
103
|
-
attribute,
|
104
|
-
number,
|
105
|
-
toggle,
|
106
|
-
onClick,
|
107
|
-
...other
|
108
|
-
} = menuItem;
|
109
|
-
|
110
|
-
var menuContent;
|
111
|
-
|
112
|
-
if(this.props.configMenu) {
|
113
|
-
|
114
|
-
var lastItem = i === this.props.menuItems.length - 1;
|
115
|
-
|
116
|
-
menuContent = ( <ConfigField ref={'configField_' + lastItem}
|
117
|
-
placeholder={menuItem.lastSavedName}
|
118
|
-
value={menuItem.text}
|
119
|
-
configId={menuItem.configId}
|
120
|
-
hasToUpdateValues={this.state.hasToUpdateValues}
|
121
|
-
lastItem={lastItem}
|
122
|
-
onUpdatedValues={this.handleUpdatedValues}
|
123
|
-
onChange={this.handleInputChange} /> );
|
124
|
-
|
125
|
-
} else {
|
126
|
-
menuContent = menuItem.text;
|
127
|
-
}
|
128
|
-
|
129
|
-
itemComponent = (
|
130
|
-
<MenuItem
|
131
|
-
{...other}
|
132
|
-
selected={isSelected}
|
133
|
-
key={i}
|
134
|
-
index={i}
|
135
|
-
icon={menuItem.icon}
|
136
|
-
data={menuItem.data}
|
137
|
-
attribute={menuItem.attribute}
|
138
|
-
number={menuItem.number}
|
139
|
-
toggle={menuItem.toggle}
|
140
|
-
onTouchTap={this._onItemTap}
|
141
|
-
lastItem={lastItem}
|
142
|
-
lastConfig={this.props.menuItems.length === 2} >
|
143
|
-
|
144
|
-
{menuContent}
|
145
|
-
|
146
|
-
</MenuItem>
|
147
|
-
);
|
148
|
-
|
149
|
-
children.push(itemComponent);
|
150
|
-
}
|
151
|
-
|
152
|
-
this._numItems = children.length;
|
153
|
-
return children;
|
154
|
-
},
|
155
|
-
|
156
|
-
_setKeyWidth: function(el) {
|
157
|
-
var menuWidth = this.props.autoWidth ?
|
158
|
-
KeyLine.getIncrementalDim(el.offsetWidth) + 'px' :
|
159
|
-
'100%';
|
160
|
-
|
161
|
-
//Update the menu width
|
162
|
-
Dom.withoutTransition(el, function() {
|
163
|
-
el.style.width = menuWidth;
|
164
|
-
});
|
165
|
-
},
|
166
|
-
|
167
|
-
_renderVisibility: function() {
|
168
|
-
var el;
|
169
|
-
|
170
|
-
if (this.props.hideable) {
|
171
|
-
el = this.getDOMNode();
|
172
|
-
var innerContainer = this.refs.paperContainer.getInnerContainer().getDOMNode();
|
173
|
-
|
174
|
-
if (this.props.visible) {
|
175
|
-
|
176
|
-
//Open the menu
|
177
|
-
el.style.height = this._initialMenuHeight + 'px';
|
178
|
-
//This is to account for fast clicks
|
179
|
-
if (this.props.visible) {
|
180
|
-
innerContainer.style.overflow = 'visible';
|
181
|
-
}
|
182
|
-
|
183
|
-
} else {
|
184
|
-
|
185
|
-
//Close the menu
|
186
|
-
el.style.height = '0px';
|
187
|
-
|
188
|
-
//Set the overflow to hidden so that animation works properly
|
189
|
-
innerContainer.style.overflow = 'hidden';
|
190
|
-
}
|
191
|
-
}
|
192
|
-
},
|
193
|
-
|
194
|
-
handleInputChange: function(id, value) {
|
195
|
-
this.props.onInputChange(id, value);
|
196
|
-
},
|
197
|
-
|
198
|
-
_onItemTap: function(e, index, action) {
|
199
|
-
// if(action === 'delete' || action === 'add') {
|
200
|
-
this.setState({hasToUpdateValues: true});
|
201
|
-
// }
|
202
|
-
if (this.props.onItemTap) this.props.onItemTap(e, index, this.props.menuItems[index], action);
|
203
|
-
},
|
204
|
-
|
205
|
-
handleUpdatedValues: function() {
|
206
|
-
this.setState({hasToUpdateValues: false});
|
207
|
-
}
|
208
|
-
|
209
|
-
});
|
210
|
-
|
211
|
-
module.exports = Menu;
|