Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fh-wfm-message

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fh-wfm-message - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

3

dist/message-detail.tpl.html.js

@@ -17,2 +17,5 @@ var ngModule;

' <div class="md-toolbar-tools">\n' +
' <md-button ng-click="ctrl.closeMessage($event, ctrl.message)" hide-gt-sm class="md-icon-button">\n' +
' <md-icon aria-label="Close" md-font-set="material-icons">close</md-icon>\n' +
' </md-button>\n' +
' <h3>\n' +

@@ -19,0 +22,0 @@ ' {{ctrl.message.subject}}\n' +

19

dist/message-form.tpl.html.js

@@ -32,7 +32,10 @@ var ngModule;

'<div>\n' +
' <md-input-container class="md-block">\n' +
' <label for="To">To</label>\n' +
' <md-select ng-model="ctrl.model.receiver" name="receiver" id="receiver">\n' +
' <md-input-container class="md-block" ng-class="{ \'has-error\' : messageForm.receiver.$invalid && !messageForm.receiver.$pristine }">\n' +
' <label for="selectReceiver">To</label>\n' +
' <md-select ng-model="ctrl.model.receiver" name="receiver" id="selectReceiver" required>\n' +
' <md-option ng-repeat="worker in ctrl.workers" value="{{worker}}">{{worker.name}} ({{worker.position}})</md-option>\n' +
' </md-select>\n' +
' <div ng-messages="messageForm.receiver.$error" ng-if="ctrl.submitted || messageForm.receiver.$dirty">\n' +
' <div ng-message="required">The To: field is required.</div>\n' +
' </div>\n' +
' </md-input-container>\n' +

@@ -42,4 +45,4 @@ '</div>\n' +

'<div>\n' +
' <md-input-container class="md-block">\n' +
' <label>Subject</label>\n' +
' <md-input-container class="md-block" ng-class="{ \'has-error\' : messageForm.subject.$invalid && !messageForm.subject.$pristine }">\n' +
' <label for="inputSubject">Subject</label>\n' +
' <input type="text" id="inputSubject" name="subject" ng-model="ctrl.model.subject" required>\n' +

@@ -53,8 +56,8 @@ ' <div ng-messages="messageForm.subject.$error" ng-if="ctrl.submitted || messageForm.subject.$dirty">\n' +

'<div>\n' +
' <md-input-container class="md-block" ng-class="{ \'has-error\' : messageForm.summary.$invalid && !messageForm.summary.$pristine }">\n' +
' <md-input-container class="md-block" ng-class="{ \'has-error\' : messageForm.content.$invalid && !messageForm.content.$pristine }">\n' +
' <label for="inputContent">Message</label>\n' +
' <textarea id="inputContent" name="content" ng-model="ctrl.model.content" required md-maxlength="350"></textarea>\n' +
'\n' +
' <div ng-messages="messageForm.summary.$error" ng-show="ctrl.submitted || messageForm.summary.$dirty">\n' +
' <div ng-message="required">A summary date is required.</div>\n' +
' <div ng-messages="messageForm.content.$error" ng-show="ctrl.submitted || messageForm.content.$dirty">\n' +
' <div ng-message="required">Message content is required.</div>\n' +
' </div>\n' +

@@ -61,0 +64,0 @@ ' </md-input-container>\n' +

@@ -46,14 +46,3 @@ var ngModule;

'</div>\n' +
'\n' +
'\n' +
'\n' +
'<md-list>\n' +
' <md-list-item class="md-2-line" ng-click="navigateTo(\'app.message.detail\', {messageId: message.id})" ng-repeat="message in ctrl.messages">\n' +
' <div class="md-list-item-text">\n' +
' <h3>{{user.title}}</h3>\n' +
' </div>\n' +
' <md-divider></md-divider>\n' +
' </md-list-item>\n' +
'</md-list>\n' +
'');
}]);

@@ -82,2 +82,7 @@ /**

}
self.closeMessage = function(event, message) {
mediator.publish('wfm:message:close:' + message.id);
event.preventDefault();
event.stopPropagation();
}
}

@@ -84,0 +89,0 @@ , controllerAs: 'ctrl'

{
"name": "fh-wfm-message",
"version": "0.0.5",
"version": "0.0.6",
"description": "An message module for WFM",

@@ -19,3 +19,3 @@ "main": "lib/angular/message-ng.js",

"express": "4.13.4",
"fh-wfm-sync": "0.0.9",
"fh-wfm-sync": "0.0.10",
"lodash": "4.7.0",

@@ -22,0 +22,0 @@ "ng-feedhenry": "0.2.53",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc