From 0d510e615e463ce48662e4ebbf71cfd75828b8ee Mon Sep 17 00:00:00 2001 From: Samuel Padgett Date: Tue, 12 Sep 2017 20:51:46 -0400 Subject: [PATCH] Bump origin-web-common to 0.0.55 https://github.com/openshift/origin-web-common/releases/tag/v0.0.55 --- bower.json | 2 +- dist/scripts/vendor.js | 45 +++++++++++++++++++++++++++++++----------- 2 files changed, 34 insertions(+), 13 deletions(-) diff --git a/bower.json b/bower.json index c589c07ff3..58bbd150f5 100644 --- a/bower.json +++ b/bower.json @@ -46,7 +46,7 @@ "angular-moment": "1.0.0", "angular-utf8-base64": "0.0.5", "file-saver": "1.3.3", - "origin-web-common": "0.0.54", + "origin-web-common": "0.0.55", "origin-web-catalog": "0.0.44" }, "devDependencies": { diff --git a/dist/scripts/vendor.js b/dist/scripts/vendor.js index 94836ccc51..8646d3d07b 100644 --- a/dist/scripts/vendor.js +++ b/dist/scripts/vendor.js @@ -72753,7 +72753,7 @@ e.put("src/components/binding/bindServiceForm.html", '
\n e.put("src/components/create-project/createProject.html", '
\n
\n
\n \n \n \n \n
\n A unique name for the project.\n
\n
\n \n Name is required.\n \n
\n
\n \n Name must have at least two characters.\n \n
\n
\n \n Project names may only contain lower-case letters, numbers, and dashes.\n They may not start or end with a dash.\n \n
\n
\n \n This name is already in use. Please choose a different name.\n \n
\n
\n\n
\n \n \n
\n\n
\n \n \n
\n\n
\n \n \n Cancel\n \n
\n
\n
\n'), e.put("src/components/delete-project/delete-project-button.html", '
\n \x3c!-- Avoid whitespace inside the link --\x3e\n Delete Project {{projectName}}\n
\n'), e.put("src/components/delete-project/delete-project-modal.html", '
\n \x3c!-- Use a form so that the enter key submits when typing a project name to confirm. --\x3e\n
\n \n \n
\n
\n'), e.put("src/components/delete-project/delete-project.html", '{{label || \'Delete\'}}\n'), e.put("src/components/edit-project/editProject.html", '
\n
\n
\n \n \n
\n\n
\n \n \n
\n\n
\n \n \n Cancel\n \n
\n
\n
\n'), -e.put("src/components/origin-modal-popup/origin-modal-popup.html", '
\n

\n {{$ctrl.modalTitle}}\n

\n
\n \n \n \n
\n'), e.put("src/components/toast-notifications/toast-notifications.html", '
\n
\n
\n \n \n {{notification.type}}\n {{notification.message}}\n
\n \n \n
\n \n {{link.label}}\n {{link.label}}\n |\n \n
\n
\n
\n'), +e.put("src/components/origin-modal-popup/origin-modal-popup.html", '
\n

\n {{$ctrl.modalTitle}}\n

\n
\n \n \n \n
\n'), e.put("src/components/toast-notifications/toast-notifications.html", '
\n
\n
\n \n \n {{notification.type}}\n {{notification.message}}\n
\n \n \n
\n \n {{link.label}}\n {{link.label}}\n |\n \n
\n
\n
\n'), e.put("src/components/truncate-long-text/truncateLongText.html", '\x3c!--\n Do not remove class `truncated-content` (here or below) even though it\'s not\n styled directly in origin-web-common. `truncated-content` is used by\n origin-web-console in certain contexts.\n--\x3e\n\n\n \n \n …\n \n See All\n \n \n
\n Collapse\n \n
\n \n Collapse\n \n \n
\n
\n'); } ]), angular.module("openshiftCommonUI").component("bindApplicationForm", { controllerAs: "ctrl", @@ -73605,6 +73605,27 @@ availableKinds: function(e) { return e ? m : g; } }; +} ]), angular.module("openshiftCommonServices").service("ApplicationsService", [ "$filter", "$q", "DataService", function(e, t, n) { +return { +getApplications: function(i) { +var r = t.defer(), o = []; +return o.push(n.list("deploymentconfigs", i)), o.push(n.list("replicationcontrollers", i)), o.push(n.list({ +group: "apps", +resource: "deployments" +}, i)), o.push(n.list({ +group: "extensions", +resource: "replicasets" +}, i)), o.push(n.list({ +group: "apps", +resource: "statefulsets" +}, i)), t.all(o).then(_.spread(function(t, n, i, o, a) { +var s = _.toArray(t.by("metadata.name")), l = _.reject(n.by("metadata.name"), e("hasDeploymentConfig")), c = _.toArray(i.by("metadata.name")), u = _.reject(o.by("metadata.name"), e("hasDeployment")), d = _.toArray(a.by("metadata.name")), h = s.concat(c).concat(l).concat(u).concat(d); +r.resolve(_.sortBy(h, [ "metadata.name", "kind" ])); +}), function(e) { +r.reject(e); +}), r.promise; +} +}; } ]), angular.module("openshiftCommonServices").provider("AuthService", function() { var e = ""; this.UserStore = function(t) { @@ -73837,7 +73858,7 @@ stringData: {} }; return i.stringData.parameters = JSON.stringify(t), i; }, d = function(e, t, n) { -var n, i = e.metadata.name, r = { +var n, i = e.metadata.name, r = c(e.metadata.name + "-credentials-"), o = { kind: "Binding", apiVersion: "servicecatalog.k8s.io/v1alpha1", metadata: { @@ -73847,22 +73868,22 @@ spec: { instanceRef: { name: i }, -secretName: c(e.metadata.name + "-credentials-") +secretName: r } }; -n && (r.spec.parametersFrom = [ { +n && (o.spec.parametersFrom = [ { secretKeyRef: { name: n, key: "parameters" } } ]); -var o = _.get(t, "spec.selector"); -return o && (o.matchLabels || o.matchExpressions || (o = { -matchLabels: o -}), r.spec.alphaPodPresetTemplate = { -name: relatedObjName, -selector: o -}), r; +var a = _.get(t, "spec.selector"); +return a && (a.matchLabels || a.matchExpressions || (a = { +matchLabels: a +}), o.spec.alphaPodPresetTemplate = { +name: r, +selector: a +}), o; }, h = function(e, t) { var n = a(e, t); if (_.get(e, "metadata.deletionTimestamp")) return !1; @@ -75049,7 +75070,7 @@ this.dismissDelay = 8e3, this.autoDismissTypes = [ "info", "success" ], this.$ge var t = [], n = this.dismissDelay, i = this.autoDismissTypes, r = function(e, t) { return t ? "hide/notification/" + t + "/" + e : "hide/notification/" + e; }, o = function(n) { -n.id = n.id || _.uniqueId("notification-") + Date.now(), n.timestamp = new Date().toISOString(), a(n) || s(n) || (t.push(n), e.$emit("NotificationsService.onNotificationAdded", n)); +n.trackByID = _.uniqueId("notification-") + Date.now(), n.timestamp = new Date().toISOString(), a(n) || s(n) || (t.push(n), e.$emit("NotificationsService.onNotificationAdded", n)); }, a = function(e) { if (!e.id) return !1; var t = r(e.id, e.namespace);