-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from UmbHost/develop
Updated dependencies
- Loading branch information
Showing
26 changed files
with
495 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...eckout.StarterKit.Web/App_Plugins/Contentment/backoffice/icons/icon-discord.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions
1
...eckout.StarterKit.Web/App_Plugins/Contentment/backoffice/icons/icon-threads.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions
1
...heckout.StarterKit.Web/App_Plugins/Contentment/backoffice/icons/icon-tiktok.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions
1
...kout.StarterKit.Web/App_Plugins/Contentment/backoffice/icons/icon-x-twitter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
UmbCheckout.StarterKit.Web/App_Plugins/Contentment/contentment.css
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
UmbCheckout.StarterKit.Web/App_Plugins/Contentment/contentment.js
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
UmbCheckout.StarterKit.Web/App_Plugins/Contentment/editors/data-picker.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<div ng-class="vm.uniqueId" ng-controller="Umbraco.Community.Contentment.DataEditors.DataPicker.Controller as vm"> | ||
<umb-load-indicator ng-if="vm.loading === true"></umb-load-indicator> | ||
<contentment-items-editor ng-if="vm.loading === false" | ||
ng-model="model.value" | ||
add-button-label-key="vm.addButtonLabelKey" | ||
allow-add="vm.allowAdd" | ||
allow-edit="vm.allowEdit" | ||
allow-remove="vm.allowRemove" | ||
allow-sort="vm.allowSort" | ||
default-icon="vm.defaultIcon" | ||
display-mode="vm.displayMode" | ||
get-item="vm.populate" | ||
on-add="vm.add" | ||
on-remove="vm.remove" | ||
property-actions="vm.propertyActions"> | ||
</contentment-items-editor> | ||
</div> |
101 changes: 101 additions & 0 deletions
101
UmbCheckout.StarterKit.Web/App_Plugins/Contentment/editors/data-picker.overlay.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
<div class="contentment lk-overlay" ng-controller="Umbraco.Community.Contentment.Overlays.DataPicker.Controller as vm"> | ||
<umb-editor-view> | ||
|
||
<umb-editor-header name="vm.title" | ||
name-locked="true" | ||
hide-alias="true" | ||
hide-icon="true" | ||
hide-description="true"> | ||
</umb-editor-header> | ||
|
||
<umb-editor-container> | ||
|
||
<div class="umb-control-group"> | ||
<div class="form-search"> | ||
<umb-search-filter input-id="contentment-datapicker-search" | ||
model="vm.searchOptions.query" | ||
label-key="placeholders_search" | ||
text="Type to search..." | ||
on-change="vm.search()" | ||
css-class="w-100" | ||
auto-focus="true"> | ||
</umb-search-filter> | ||
</div> | ||
</div> | ||
|
||
<umb-load-indicator ng-show="vm.loading === true"></umb-load-indicator> | ||
|
||
<div class="umb-block-card-grid" ng-if="vm.listType === 'cards'" ng-show="vm.loading === false && vm.items.length !== 0"> | ||
<div class="umb-block-card" | ||
ng-repeat="item in vm.items" | ||
ng-class="{'--isOpen': vm.isSelected(item)}" | ||
ng-click="vm.select(item, $event)"> | ||
<div class="__showcase" | ||
ng-style="_img = vm.getImage(item)"> | ||
<div class="__icon" ng-if="!_img"> | ||
<umb-icon icon="{{item.icon || vm.defaultIcon}}"></umb-icon> | ||
</div> | ||
</div> | ||
<div class="__info"> | ||
<div class="__name" ng-bind="item.name"></div> | ||
<div class="__subname" ng-bind="item.description"></div> | ||
</div> | ||
<div class="__actions"></div> | ||
</div> | ||
</div> | ||
|
||
<umb-box ng-if="vm.listType !== 'cards'" ng-show="vm.loading === false && vm.items.length !== 0"> | ||
<umb-box-content> | ||
<ul class="umb-actions umb-actions-child"> | ||
<li class="umb-action" ng-class="{ '-disabled': item.disabled }" ng-repeat="item in vm.items"> | ||
<button type="button" class="umb-action-link umb-outline btn-reset" ng-click="vm.select(item, $event)"> | ||
<div ng-if="vm.enableMultiple" | ||
ng-class="{'umb-checkmark--checked': vm.isSelected(item)}" | ||
class="umb-checkmark umb-checkmark--m umb-outline"> | ||
<umb-icon ng-if="vm.isSelected(item)" icon="icon-check"></umb-icon> | ||
</div> | ||
<umb-icon icon="{{item.icon || vm.defaultIcon}}" class="large icon"></umb-icon> | ||
<span class="menu-label"> | ||
<span ng-bind="item.name"></span> | ||
<small ng-bind="item.description"></small> | ||
</span> | ||
</button> | ||
</li> | ||
</ul> | ||
</umb-box-content> | ||
</umb-box> | ||
|
||
<div class="flex justify-center" ng-show="vm.searchOptions.totalPages > 0 && vm.loading === false"> | ||
<umb-pagination page-number="vm.searchOptions.pageNumber" | ||
total-pages="vm.searchOptions.totalPages" | ||
on-change="vm.pagination(pageNumber)"> | ||
</umb-pagination> | ||
</div> | ||
|
||
<umb-empty-state ng-if="vm.loading === false && vm.searchOptions.query && vm.items.length === 0" position="center"> | ||
<localize key="general_searchNoResult">Sorry, we can not find what you are looking for.</localize> | ||
</umb-empty-state> | ||
|
||
</umb-editor-container> | ||
|
||
<umb-editor-footer> | ||
<umb-editor-footer-content-right> | ||
<umb-button type="button" | ||
button-style="link" | ||
label-key="general_close" | ||
shortcut="esc" | ||
action="vm.close()"> | ||
</umb-button> | ||
<umb-button ng-if="vm.enableMultiple" | ||
type="button" | ||
button-style="success" | ||
label-key="buttons_select" | ||
shortcut="ctrl+s" | ||
disabled="vm.allowSubmit === false" | ||
action="vm.submit()"> | ||
</umb-button> | ||
</umb-editor-footer-content-right> | ||
</umb-editor-footer> | ||
|
||
</umb-editor-view> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
UmbCheckout.StarterKit.Web/App_Plugins/Contentment/package.manifest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"name": "Contentment", | ||
"version": "4.4.4", | ||
"id": "Umbraco.Community.Contentment", | ||
"version": "4.5.0", | ||
"css": [ "~/App_Plugins/Contentment/contentment.css" ], | ||
"javascript": [ "~/App_Plugins/Contentment/contentment.js" ] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.