fng-bootstrap-datetime 0.12.0-beta.217 → 0.12.0-beta.219

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -383,8 +383,8 @@ angular.module('ui.bootstrap.datetimepicker', ["ui.bootstrap.dateparser", "ui.bo
383
383
  uiBootstrapDateModule.controller('fngUiBootstrapDatetimePickerCtrl',['$scope', function($scope) {
384
384
  $scope.dateOptions = {};
385
385
  }])
386
- .directive('fngUiBootstrapDatetimePicker', ['$compile', 'pluginHelper',
387
- function ($compile, pluginHelper) {
386
+ .directive('fngUiBootstrapDatetimePicker', ['$compile', 'PluginHelperService',
387
+ function ($compile, PluginHelperService) {
388
388
  return {
389
389
  restrict: 'E',
390
390
  replace: true,
@@ -392,7 +392,7 @@ angular.module('ui.bootstrap.datetimepicker', ["ui.bootstrap.dateparser", "ui.bo
392
392
  priority: 1,
393
393
  link: function (scope, element, attrs) {
394
394
  var template;
395
- var processedAttrs = pluginHelper.extractFromAttr(attrs, 'fngUiBootstrapDatetimePicker');
395
+ var processedAttrs = PluginHelperService.extractFromAttr(attrs, 'fngUiBootstrapDatetimePicker');
396
396
  var overriddenDefaults = {
397
397
  'show-button-bar': false,
398
398
  'show-meridian': false,
@@ -423,7 +423,7 @@ angular.module('ui.bootstrap.datetimepicker', ["ui.bootstrap.dateparser", "ui.bo
423
423
  scope.dateOptions = Object.assign({}, overriddenDateDefaults, jsonDateOptions);
424
424
 
425
425
  const isArray = processedAttrs.info.array;
426
- template = pluginHelper.buildInputMarkup(
426
+ template = PluginHelperService.buildInputMarkup(
427
427
  scope,
428
428
  attrs,
429
429
  {
@@ -438,7 +438,7 @@ angular.module('ui.bootstrap.datetimepicker', ["ui.bootstrap.dateparser", "ui.bo
438
438
  str += ` ${opt}="${overriddenDefaults[opt]}"`;
439
439
  }
440
440
  }
441
- str += " " + pluginHelper.genDateTimePickerDisabledStr(scope, processedAttrs, "");
441
+ str += " " + PluginHelperService.genDateTimePickerDisabledStr(scope, processedAttrs, "");
442
442
  str += ' date-options="dateOptions"></datetimepicker></div>';
443
443
  return str;
444
444
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fng-bootstrap-datetime",
3
- "version": "0.12.0-beta.217",
3
+ "version": "0.12.0-beta.219",
4
4
  "description": "datetime input plugin for forms-angular",
5
5
  "main": "fng-bootstrap-datetime.js",
6
6
  "scripts": {