@mediafly/js-ui 50.0.1-beta.1 → 50.0.1-beta.2

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.
@@ -5,7 +5,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const angular_1 = __importDefault(require("angular"));
7
7
  const typeahead_match_template_html_1 = __importDefault(require("./typeahead-match.template.html"));
8
- angular_1.default.module('app').run(($templateCache) => {
9
- $templateCache.put('/components/metadata-form/typeahead-match.template.html', typeahead_match_template_html_1.default);
10
- });
8
+ // Manually annotate this because otherwise Viewer's annotation setup has trouble with it.
9
+ angular_1.default.module('app').run(['$templateCache', ($templateCache) => {
10
+ $templateCache.put('/components/metadata-form/typeahead-match.template.html', typeahead_match_template_html_1.default);
11
+ }]);
11
12
  //# sourceMappingURL=template-cache.run.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"template-cache.run.js","sourceRoot":"","sources":["../../src/components/metadata-form/template-cache.run.ts"],"names":[],"mappings":";;;;;AAAA,sDAA6B;AAC7B,oGAA4D;AAG5D,iBAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,cAAwC,EAAE,EAAE;IAEtE,cAAc,CAAC,GAAG,CAAC,yDAAyD,EAAE,uCAAc,CAAC,CAAA;AAC9F,CAAC,CAAC,CAAA"}
1
+ {"version":3,"file":"template-cache.run.js","sourceRoot":"","sources":["../../src/components/metadata-form/template-cache.run.ts"],"names":[],"mappings":";;;;;AAAA,sDAA6B;AAC7B,oGAA4D;AAE5D,0FAA0F;AAC1F,iBAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,gBAAgB,EAAE,CAAC,cAAwC,EAAE,EAAE;QAEzF,cAAc,CAAC,GAAG,CAAC,yDAAyD,EAAE,uCAAc,CAAC,CAAA;IAC9F,CAAC,CAAC,CAAC,CAAA"}
@@ -1122,7 +1122,7 @@
1122
1122
  "affectsGlobalScope": false
1123
1123
  },
1124
1124
  "../src/components/metadata-form/template-cache.run.ts": {
1125
- "version": "6ca82defc7f880ec2810b91c292a430e507d06560f4b72bb52dff4a1ca9de18d",
1125
+ "version": "8049094fa4e39226f005040c405188eae954d3befd39ba5f01060cbc75e0d5ec",
1126
1126
  "signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
1127
1127
  "affectsGlobalScope": false
1128
1128
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mediafly/js-ui",
3
- "version": "50.0.1-beta.1",
3
+ "version": "50.0.1-beta.2",
4
4
  "license": "UNLICENSED",
5
5
  "description": "UI components for Mediafly Angular applications",
6
6
  "repository": {
@@ -1,8 +1,8 @@
1
1
  import angular from 'angular'
2
2
  import lookupTemplate from './typeahead-match.template.html'
3
3
 
4
-
5
- angular.module('app').run(($templateCache: ng.ITemplateCacheService) => {
4
+ // Manually annotate this because otherwise Viewer's annotation setup has trouble with it.
5
+ angular.module('app').run(['$templateCache', ($templateCache: ng.ITemplateCacheService) => {
6
6
 
7
7
  $templateCache.put('/components/metadata-form/typeahead-match.template.html', lookupTemplate)
8
- })
8
+ }])