Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgraded dependency libraries. Added new widget icons. #1288

Merged
merged 1 commit into from
Apr 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export class DocumentDetailsHandlers implements IWidgetHandler {
name: widgetName,
displayName: widgetDisplayName,
category: widgetCategory,
iconClass: "paperbits-puzzle-10",
iconClass: "widget-icon widget-icon-component",
requires: ["html"],
createModel: async () => {
const model = new DocumentDetailsModel();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export class ConferenceSessionHandlers implements IWidgetHandler {
name: widgetName,
displayName: widgetDisplayName,
category: widgetCategory,
iconClass: "paperbits-puzzle-10",
iconClass: "widget-icon widget-icon-component",
requires: [],
createModel: async () => {
const model = new ConferenceSessionModel();
Expand Down
225 changes: 55 additions & 170 deletions package-lock.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@
},
"dependencies": {
"@paperbits/azure": "0.1.356-hotfix",
"@paperbits/common": "0.1.396",
"@paperbits/core": "0.1.396",
"@paperbits/prosemirror": "0.1.396",
"@paperbits/styles": "0.1.396",
"@paperbits/common": "0.1.413",
"@paperbits/core": "0.1.413",
"@paperbits/prosemirror": "0.1.413",
"@paperbits/styles": "0.1.413",
"@webcomponents/custom-elements": "1.4.2",
"@webcomponents/shadydom": "^1.7.4",
"adal-vanilla": "^1.0.18",
Expand Down
2 changes: 1 addition & 1 deletion scaffolds/widget/widgetHandlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class WidgetHandlers implements IWidgetHandler {
category: widgetCategory,
requires: [],
displayName: widgetDisplayName,
iconClass: "paperbits-puzzle-10",
iconClass: "widget-icon widget-icon-component",

/**
* This method invoked when the widget gets added to the content.
Expand Down
8 changes: 4 additions & 4 deletions src/components/apis/api-products/apiProductsHandlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ export class ApiProductsHandlers implements IWidgetHandler {
const widgetOrder: IWidgetOrder = {
name: "api-products",
category: "APIs",
displayName: "API: products",
iconClass: "paperbits-cheque-3",
displayName: "API: Products",
iconClass: "widget-icon widget-icon-api-management",
requires: ["html"],
createModel: async () => new ApiProductsModel("list")
};
Expand All @@ -21,8 +21,8 @@ export class ApiProductsTilesHandlers implements IWidgetHandler {
const widgetOrder: IWidgetOrder = {
name: "api-products-tiles",
category: "APIs",
displayName: "API: products (tiles)",
iconClass: "paperbits-cheque-3",
displayName: "API: Products (tiles)",
iconClass: "widget-icon widget-icon-api-management",
requires: ["html"],
createModel: async () => new ApiProductsModel("tiles")
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class ApiProductsViewModelBinder implements ViewModelBinder<ApiProductsMo
}));

viewModel["widgetBinding"] = {
displayName: "API: products" + (model.layout === "list" ? "" : ` (${model.layout})`),
displayName: "API: Products" + (model.layout === "list" ? "" : ` (${model.layout})`),
model: model,
draggable: true,
flow: "block",
Expand Down
4 changes: 2 additions & 2 deletions src/components/apis/details-of-api/detailsOfApiHandlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ export class DetailsOfApiHandlers implements IWidgetHandler {
const widgetOrder: IWidgetOrder = {
name: "apiDetails",
category: "APIs",
displayName: "API: details",
iconClass: "paperbits-cheque-3",
displayName: "API: Details",
iconClass: "widget-icon widget-icon-api-management",
requires: ["html"],
createModel: async () => new DetailsOfApiModel()
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class DetailsOfApiViewModelBinder implements ViewModelBinder<DetailsOfApi
}));

viewModel["widgetBinding"] = {
displayName: "API: details",
displayName: "API: Details",
model: model,
draggable: true,
flow: "block",
Expand Down
4 changes: 2 additions & 2 deletions src/components/apis/history-of-api/historyOfApiHandlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ export class HistoryOfApiHandlers implements IWidgetHandler {
const widgetOrder: IWidgetOrder = {
name: "apiHistory",
category: "APIs",
displayName: "API: history",
iconClass: "paperbits-cheque-3",
displayName: "API: Change history",
iconClass: "widget-icon widget-icon-api-management",
requires: ["html"],
createModel: async () => new HistoryOfApiModel()
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class HistoryOfApiViewModelBinder implements ViewModelBinder<HistoryOfApi
}));

viewModel["widgetBinding"] = {
displayName: "API: history",
displayName: "API: Change history",
model: model,
draggable: true,
flow: "block",
Expand Down
6 changes: 3 additions & 3 deletions src/components/apis/list-of-apis/listOfApisHandlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export class ListOfApisHandlers implements IWidgetHandler {
name: "listOfApis",
category: "APIs",
displayName: "List of APIs",
iconClass: "paperbits-cheque-3",
iconClass: "widget-icon widget-icon-api-management",
requires: ["html"],
createModel: async () => new ListOfApisModel("list")
};
Expand All @@ -21,7 +21,7 @@ export class ListOfApisTilesHandlers implements IWidgetHandler {
name: "listOfApisTiles",
category: "APIs",
displayName: "List of APIs (tiles)",
iconClass: "paperbits-cheque-3",
iconClass: "widget-icon widget-icon-api-management",
requires: ["html"],
createModel: async () => new ListOfApisModel("tiles")
};
Expand All @@ -35,7 +35,7 @@ export class ListOfApisDropdownHandlers implements IWidgetHandler {
name: "listOfApisDropdown",
category: "APIs",
displayName: "List of APIs (dropdown)",
iconClass: "paperbits-cheque-3",
iconClass: "widget-icon widget-icon-api-management",
requires: ["html"],
createModel: async () => new ListOfApisModel("dropdown")
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export class OperationDetailsViewModelBinder implements ViewModelBinder<Operatio
viewModel = new OperationDetailsViewModel();

viewModel["widgetBinding"] = {
displayName: "Operation: details",
displayName: "Operation: Details",
model: model,
draggable: true,
flow: "block",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ export class OperationDetailsHandlers implements IWidgetHandler {
const widgetOrder: IWidgetOrder = {
name: "operationDetails",
category: "Operations",
displayName: "Operation: details",
iconClass: "paperbits-cheque-3",
displayName: "Operation: Details",
iconClass: "widget-icon widget-icon-api-management",
requires: ["html"],
createModel: async () => new OperationDetailsModel()
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export class OperationListHandlers implements IWidgetHandler {
name: "operationList",
category: "Operations",
displayName: "List of operations",
iconClass: "paperbits-cheque-3",
iconClass: "widget-icon widget-icon-api-management",
requires: ["html"],
createModel: async () => new OperationListModel()
};
Expand Down
4 changes: 2 additions & 2 deletions src/components/products/product-apis/productApisHandlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export class ProductApisHandlers implements IWidgetHandler {
name: "product-apis",
category: "Products",
displayName: "Product: APIs",
iconClass: "paperbits-cheque-3",
iconClass: "widget-icon widget-icon-api-management",
requires: ["html"],
createModel: async () => new ProductApisModel("list")
};
Expand All @@ -22,7 +22,7 @@ export class ProductApisTilesHandlers implements IWidgetHandler {
name: "product-apis-tiles",
category: "Products",
displayName: "Product: APIs (tiles)",
iconClass: "paperbits-cheque-3",
iconClass: "widget-icon widget-icon-api-management",
requires: ["html"],
createModel: async () => new ProductApisModel("tiles")
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export class ProductDetailsViewModelBinder implements ViewModelBinder<ProductDet
}

viewModel["widgetBinding"] = {
displayName: "Product: details",
displayName: "Product: Details",
model: model,
draggable: true,
flow: "block",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ export class ProductDetailsHandlers implements IWidgetHandler {
const widgetOrder: IWidgetOrder = {
name: "productDetails",
category: "Products",
displayName: "Product: details",
iconClass: "paperbits-cheque-3",
displayName: "Product: Details",
iconClass: "widget-icon widget-icon-api-management",
requires: ["html"],
createModel: async () => new ProductDetailsModel()
};
Expand Down
6 changes: 3 additions & 3 deletions src/components/products/product-list/productListHandlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export class ProductListHandlers implements IWidgetHandler {
name: "productList",
category: "Products",
displayName: "List of products",
iconClass: "paperbits-cheque-3",
iconClass: "widget-icon widget-icon-api-management",
requires: ["html"],
createModel: async () => new ProductListModel("list")
};
Expand All @@ -22,7 +22,7 @@ export class ProductListDropdownHandlers implements IWidgetHandler {
name: "productListDropdown",
category: "Products",
displayName: "List of products (dropdown)",
iconClass: "paperbits-cheque-3",
iconClass: "widget-icon widget-icon-api-management",
requires: ["html"],
createModel: async () => new ProductListModel("dropdown")
};
Expand All @@ -37,7 +37,7 @@ export class ProductListTilesHandlers implements IWidgetHandler {
name: "productListTiles",
category: "Products",
displayName: "List of products (tiles)",
iconClass: "paperbits-cheque-3",
iconClass: "widget-icon widget-icon-api-management",
requires: ["html"],
createModel: async () => new ProductListModel("tiles")
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export class ProductSubscribeViewModelBinder implements ViewModelBinder<ProductS
}

viewModel["widgetBinding"] = {
displayName: "Product: subscribe form",
displayName: "Product: Subscribe form",
model: model,
flow: "block",
applyChanges: async (updatedModel: ProductSubscribeModel) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ export class ProductSubscribeHandlers implements IWidgetHandler {
const widgetOrder: IWidgetOrder = {
name: "productSubscribe",
category: "Products",
displayName: "Product: subscribe form",
iconClass: "paperbits-cheque-3",
displayName: "Product: Subscribe form",
iconClass: "widget-icon widget-icon-api-management",
requires: ["html"],
createModel: async () => new ProductSubscribeModel()
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export class ProductSubscriptionsViewModelBinder implements ViewModelBinder<Prod
viewModel = new ProductSubscriptionsViewModel();

viewModel["widgetBinding"] = {
displayName: "Product: subscriptions",
displayName: "Product: Subscriptions",
model: model,
flow: "block",
draggable: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ export class ProductSubscriptionsHandlers implements IWidgetHandler {
const widgetOrder: IWidgetOrder = {
name: "product-subscriptions",
category: "Products",
displayName: "Product: subscriptions",
iconClass: "paperbits-cheque-3",
displayName: "Product: Subscriptions",
iconClass: "widget-icon widget-icon-api-management",
requires: ["html"],
createModel: async () => new ProductSubscriptionsModel()
};
Expand Down
2 changes: 1 addition & 1 deletion src/components/reports/reportsHandlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export class ReportsHandlers implements IWidgetHandler {
name: "reports",
category: "Analytics",
displayName: "Reports",
iconClass: "paperbits-cheque-3",
iconClass: "widget-icon widget-icon-api-management",
requires: ["html"],
createModel: async () => new ReportsModel()
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ export class ChangePasswordHandlers implements IWidgetHandler {
const widgetOrder: IWidgetOrder = {
name: "change-password",
category: "User",
displayName: "Password: change form",
iconClass: "paperbits-cheque-3",
displayName: "Password: Change form",
iconClass: "widget-icon widget-icon-api-management",
requires: ["html"],
createModel: async () => new ChangePasswordModel()
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export class ChangePasswordViewModelBinder implements ViewModelBinder<ChangePass
if (!viewModel) {
viewModel = new ChangePasswordViewModel();
viewModel["widgetBinding"] = {
displayName: "Password: change form",
displayName: "Password: Change form",
model: model,
flow: "block",
draggable: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ export class ConfirmPasswordHandlers implements IWidgetHandler {
const widgetOrder: IWidgetOrder = {
name: "confirmPassword",
category: "User",
displayName: "Password: confirmation form",
iconClass: "paperbits-cheque-3",
displayName: "Password: Confirmation form",
iconClass: "widget-icon widget-icon-api-management",
requires: ["html"],
createModel: async () => new ConfirmPasswordModel()
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export class ConfirmPassworViewModelBinder implements ViewModelBinder<ConfirmPas
if (!viewModel) {
viewModel = new ConfirmPasswordViewModel();
viewModel["widgetBinding"] = {
displayName: "Password: confirmation form",
displayName: "Password: Confirmation form",
model: model,
flow: "block",
draggable: true
Expand Down
2 changes: 1 addition & 1 deletion src/components/users/profile/ko/profileViewModelBinder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export class ProfileViewModelBinder implements ViewModelBinder<ProfileModel, Pro
viewModel = new ProfileViewModel();

viewModel["widgetBinding"] = {
displayName: "User: profile",
displayName: "User: Profile",
model: model,
flow: "block",
draggable: true,
Expand Down
4 changes: 2 additions & 2 deletions src/components/users/profile/profileHandlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ export class ProfileHandlers implements IWidgetHandler {
const widgetOrder: IWidgetOrder = {
name: "profile",
category: "User",
displayName: "User: profile",
iconClass: "paperbits-cheque-3",
displayName: "User: Profile",
iconClass: "widget-icon widget-icon-api-management",
requires: ["html"],
createModel: async () => new ProfileModel()
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export class ResetPasswordViewModelBinder implements ViewModelBinder<ResetPasswo
if (!viewModel) {
viewModel = new ResetPasswordViewModel();
viewModel["widgetBinding"] = {
displayName: "Password: reset form",
displayName: "Password: Reset form",
model: model,
flow: "block",
draggale: true
Expand Down
4 changes: 2 additions & 2 deletions src/components/users/reset-password/resetPasswordHandlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ export class ResetPasswordHandlers implements IWidgetHandler {
const widgetOrder: IWidgetOrder = {
name: "reset-password",
category: "User",
displayName: "Password: reset form",
iconClass: "paperbits-cheque-3",
displayName: "Password: Reset form",
iconClass: "widget-icon widget-icon-api-management",
requires: ["html"],
createModel: async () => new ResetPasswordModel()
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class SigninSocialViewModelBinder implements ViewModelBinder<SigninSocial
draggable: true,
editor: "signin-social-editor",
model: model,
flow: "block",
flow: "inline",
applyChanges: () => {
this.modelToViewModel(model, viewModel, bindingContext);
this.eventManager.dispatchEvent("onContentUpdate");
Expand Down
2 changes: 1 addition & 1 deletion src/components/users/signin-social/signinSocialHandlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export class SigninSocialHandlers implements IWidgetHandler {
name: "signinSocial",
category: "User",
displayName: "Sign-in button: OAuth",
iconClass: "paperbits-cheque-3",
iconClass: "widget-icon widget-icon-api-management",
requires: ["html"],
createModel: async () => {
const model = new SigninSocialModel();
Expand Down
2 changes: 1 addition & 1 deletion src/components/users/signin/ko/signinViewModelBinder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class SigninViewModelBinder implements ViewModelBinder<SigninModel, Signi
viewModel = new SigninViewModel();
viewModel["widgetBinding"] = {
name: "signin",
displayName: "Sign-in form: basic",
displayName: "Sign-in form: Basic",
model: model,
flow: "block",
draggable: true,
Expand Down
Loading