From 02bdf3fea3a8719a4c7afefb929d0eb68267df55 Mon Sep 17 00:00:00 2001 From: Dave Mc Nicoll Date: Tue, 17 Oct 2023 21:56:49 -0400 Subject: [PATCH 1/3] - WIP on asset --- meta/definitions.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/meta/definitions.php b/meta/definitions.php index 6ee10bc..30a1e1c 100644 --- a/meta/definitions.php +++ b/meta/definitions.php @@ -6,12 +6,10 @@ return [ 'assets.webcomponent' => [ 'picea' => [ 'asset' => [ - 'source' => [ - [ - 'path' => implode(DIRECTORY_SEPARATOR, [ $path, "asset", '' ]), - 'order' => 10 - ] - ], + [ + 'path' => implode(DIRECTORY_SEPARATOR, [ $path, "asset", '' ]), + 'order' => 10 + ] ] ], ], From e55292fba7971a86f6059fcd377a9e7be13865ff Mon Sep 17 00:00:00 2001 From: Dave Mc Nicoll Date: Tue, 17 Oct 2023 22:52:44 -0400 Subject: [PATCH 2/3] - Fixed definition directory --- meta/definitions.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meta/definitions.php b/meta/definitions.php index 30a1e1c..df885d3 100644 --- a/meta/definitions.php +++ b/meta/definitions.php @@ -1,13 +1,11 @@ [ 'picea' => [ 'asset' => [ [ - 'path' => implode(DIRECTORY_SEPARATOR, [ $path, "asset", '' ]), + 'path' => implode(DIRECTORY_SEPARATOR, [ dirname(__DIR__), "asset", '' ]), 'order' => 10 ] ] From 29057fcdfa68ab7b2daa682e45f4ea995e12d00d Mon Sep 17 00:00:00 2001 From: Dave Mc Nicoll Date: Tue, 17 Oct 2023 23:20:33 -0400 Subject: [PATCH 3/3] - Set webcomponent views into this package --- meta/definitions.php | 6 ++ view/webcomponent/ui-calendar.phtml | 4 ++ view/webcomponent/ui-message.phtml | 46 ++++++++++++ view/webcomponent/ui-notification.phtml | 23 ++++++ view/webcomponent/ui-popup.phtml | 19 +++++ view/webcomponent/ui-responsive.phtml | 0 view/webcomponent/ui-select.phtml | 31 ++++++++ view/webcomponent/ui-textarea.phtml | 94 +++++++++++++++++++++++++ 8 files changed, 223 insertions(+) create mode 100644 view/webcomponent/ui-calendar.phtml create mode 100644 view/webcomponent/ui-message.phtml create mode 100644 view/webcomponent/ui-notification.phtml create mode 100644 view/webcomponent/ui-popup.phtml create mode 100644 view/webcomponent/ui-responsive.phtml create mode 100644 view/webcomponent/ui-select.phtml create mode 100644 view/webcomponent/ui-textarea.phtml diff --git a/meta/definitions.php b/meta/definitions.php index df885d3..e5c4840 100644 --- a/meta/definitions.php +++ b/meta/definitions.php @@ -3,6 +3,12 @@ return [ 'assets.webcomponent' => [ 'picea' => [ + 'view' => [ + [ + 'path' => implode(DIRECTORY_SEPARATOR, [ dirname(__DIR__), "view", '' ]), + 'order' => 10 + ] + ], 'asset' => [ [ 'path' => implode(DIRECTORY_SEPARATOR, [ dirname(__DIR__), "asset", '' ]), diff --git a/view/webcomponent/ui-calendar.phtml b/view/webcomponent/ui-calendar.phtml new file mode 100644 index 0000000..12de752 --- /dev/null +++ b/view/webcomponent/ui-calendar.phtml @@ -0,0 +1,4 @@ + + + + diff --git a/view/webcomponent/ui-message.phtml b/view/webcomponent/ui-message.phtml new file mode 100644 index 0000000..beecf87 --- /dev/null +++ b/view/webcomponent/ui-message.phtml @@ -0,0 +1,46 @@ + + + diff --git a/view/webcomponent/ui-notification.phtml b/view/webcomponent/ui-notification.phtml new file mode 100644 index 0000000..2f4bd55 --- /dev/null +++ b/view/webcomponent/ui-notification.phtml @@ -0,0 +1,23 @@ + + + diff --git a/view/webcomponent/ui-popup.phtml b/view/webcomponent/ui-popup.phtml new file mode 100644 index 0000000..6297bca --- /dev/null +++ b/view/webcomponent/ui-popup.phtml @@ -0,0 +1,19 @@ + + + diff --git a/view/webcomponent/ui-responsive.phtml b/view/webcomponent/ui-responsive.phtml new file mode 100644 index 0000000..e69de29 diff --git a/view/webcomponent/ui-select.phtml b/view/webcomponent/ui-select.phtml new file mode 100644 index 0000000..78df532 --- /dev/null +++ b/view/webcomponent/ui-select.phtml @@ -0,0 +1,31 @@ + + + diff --git a/view/webcomponent/ui-textarea.phtml b/view/webcomponent/ui-textarea.phtml new file mode 100644 index 0000000..1c505c7 --- /dev/null +++ b/view/webcomponent/ui-textarea.phtml @@ -0,0 +1,94 @@ + + + +{# #} +