Plugin Directory

Changeset 3002720

Timestamp:
11/28/2023 12:32:14 PM (12 months ago)
Author:
PerS
Message:

Update to version 2.1.4 from GitHub

Location:
jobbnorge-block
Files:
42 edited
1 copied

Legend:

Unmodified
Added
Removed
  • jobbnorge-block/tags/2.1.4/CHANGELOG.md

    r3000744 r3002720  
    11# Cangelog
     2
     3
     4
     5
    26
    37## 2.1.3
  • jobbnorge-block/tags/2.1.4/README.md

    r3000729 r3002720  
    161161
    162162```html
    163 <ul
    164     class="wp-block-dss-jobbnorge is-grid columns-N has-excerpts has-deadline has-scope has-duration"
    165 >
     163<ul class="has-employer has-dates has-scope has-excerpts wp-block-dss-jobbnorge">
    166164    <li class="wp-block-dss-jobbnorge__item">
    167         <div class="wp-block-dss-jobbnorge__item-title">
    168             <a href="URL">Title</a>
     165        <div class="wp-block-dss-jobbnorge__item-title"><a
     166                href="https://www.jobbnorge.no/ledige-stillinger/stilling/XXXXXX">Title</a></div>
     167        <div class="wp-block-dss-jobbnorge__item-meta">
     168            <div class="wp-block-dss-jobbnorge__item-employer">Employer</div>
     169            <time datetime="2023-11-26T00:00:00+00:00" class="wp-block-dss-jobbnorge__item-deadline">Deadline:
     170                1/1/1970</time>
     171            <div class="wp-block-dss-jobbnorge__item-scope">Scope: Full time</div>
    169172        </div>
    170         <div class="wp-block-dss-jobbnorge__item-meta">
    171             <time datetime="" class="wp-block-dss-jobbnorge__item-deadline">
    172                 Date
    173             </time>
    174             <div class="wp-block-dss-jobbnorge__item-scope">Scope</div>
    175         </div>
    176         <div class="wp-block-dss-jobbnorge__item-excerpt">
    177             Excerpt
    178             <a href="URL">Read More</a>
     173        <div class="wp-block-dss-jobbnorge__item-excerpt">The excerpt … <a
     174                href="https://www.jobbnorge.no/ledige-stillinger/stilling/XXXXXX">Read more</a>
    179175        </div>
    180176    </li>
     177
     178
     179
    181180</ul>
    182181```
    183182
    184 `is-grid`, `columns-N` (N = 2-6), `has-excerpts`, `has-deadline`, `has-scope` and `has-duration` are added to the `<ul>` element depending on the block settings.
     183`is-grid`, `columns-N` (N = 2-6), `has-e` are added to the `<ul>` element depending on the block settings.
    185184
    186185Default styling is provided by the [`style.scss`](src/style.scss) file.
  • jobbnorge-block/tags/2.1.4/build/block.json

    r3000744 r3002720  
    33  "apiVersion": 2,
    44  "name": "dss/jobbnorge",
    5   "version": "2.1.3",
     5  "version": "2.1.",
    66  "title": "Jobbnorge",
    77  "category": "widgets",
  • jobbnorge-block/tags/2.1.4/build/init.asset.php

    r3000744 r3002720  
    1 <?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives', 'wp-server-side-render'), 'version' => 'a743f74c59f51b7c7e58');
     1<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives', 'wp-server-side-render'), 'version' => '');
  • jobbnorge-block/tags/2.1.4/build/init.js

    r3000744 r3002720  
    1 !function(){"use strict";var e,o={938:function(e,o,t){var l=window.React,n=window.wp.primitives,r=(0,l.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(n.Path,{d:"M15.5 9.5a1 1 0 100-2 1 1 0 000 2zm0 1.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5zm-2.25 6v-2a2.75 2.75 0 00-2.75-2.75h-4A2.75 2.75 0 003.75 15v2h1.5v-2c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v2h1.5zm7-2v2h-1.5v-2c0-.69-.56-1.25-1.25-1.25H15v-1.5h2.5A2.75 2.75 0 0120.25 15zM9.5 8.5a1 1 0 11-2 0 1 1 0 012 0zm1.5 0a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0z",fillRule:"evenodd"})),a=window.wp.blocks,i=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"dss/jobbnorge","version":"2.1.3","title":"Jobbnorge","category":"widgets","icon":"people","description":"Retrieve and display job listings from Jobbnorge.no","keywords":["jobbnorge","jobbnorge.no"],"supports":{"html":false},"attributes":{"columns":{"type":"number","default":3},"blockLayout":{"type":"string","default":"list"},"employerID":{"type":"string","default":""},"noJobsMessage":{"type":"string","default":""},"orderBy":{"type":"string","default":"Deadline"},"itemsToShow":{"type":"number","default":5},"displayEmployer":{"type":"boolean","default":false},"displayExcerpt":{"type":"boolean","default":true},"displayDeadline":{"type":"boolean","default":false},"displayScope":{"type":"boolean","default":false},"displayDate":{"type":"boolean","default":true},"excerptLength":{"type":"number","default":55}},"textdomain":"wp-jobbnorge-block","editorScript":"file:init.js","editorStyle":"file:editor.scss","style":"file:style.scss"}'),c=window.wp.blockEditor,s=window.wp.components,b=window.wp.element,p=(0,l.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(n.Path,{d:"m19 7-3-3-8.5 8.5-1 4 4-1L19 7Zm-7 11.5H5V20h7v-1.5Z"})),d=(0,l.createElement)(n.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,l.createElement)(n.Path,{d:"M4 4v1.5h16V4H4zm8 8.5h8V11h-8v1.5zM4 20h16v-1.5H4V20zm4-8c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2z"})),m=(0,l.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(n.Path,{d:"m3 5c0-1.10457.89543-2 2-2h13.5c1.1046 0 2 .89543 2 2v13.5c0 1.1046-.8954 2-2 2h-13.5c-1.10457 0-2-.8954-2-2zm2-.5h6v6.5h-6.5v-6c0-.27614.22386-.5.5-.5zm-.5 8v6c0 .2761.22386.5.5.5h6v-6.5zm8 0v6.5h6c.2761 0 .5-.2239.5-.5v-6zm0-8v6.5h6.5v-6c0-.27614-.2239-.5-.5-.5z",fillRule:"evenodd",clipRule:"evenodd"})),u=window.wp.i18n,g=window.wp.serverSideRender,w=t.n(g);const{name:v}=i;(e=>{const{metadata:o,settings:t,name:l}=e;(0,a.registerBlockType)({name:l,...o},t)})({name:v,metadata:i,settings:{icon:r,example:{attributes:{employerID:"123[, 456, 789]"}},edit:function({attributes:e,setAttributes:o}){const[t,n]=(0,b.useState)(!e.employerID),{blockLayout:a,columns:i,displayScope:g,displayDate:v,displayEmployer:y,displayExcerpt:h,employerID:f,itemsToShow:k,noJobsMessage:_,orderBy:E}=e;function j(t){return()=>{const l=e[t];o({[t]:!l})}}const C=(0,c.useBlockProps)();var x;if(t)return(0,l.createElement)("div",{...C},(0,l.createElement)(s.Placeholder,{icon:r,label:"Jobbnorge"},(0,l.createElement)("form",{onSubmit:function(e){e.preventDefault(),f&&(o({employerID:f}),n(!1))},className:"wp-block-dss-jobbnorge__placeholder-form"},window.wpJobbnorgeBlock&&window.wpJobbnorgeBlock.employers?(0,l.createElement)(s.SelectControl,{multiple:!0,value:f.split(","),onChange:e=>o({employerID:e.toString()}),options:(null!==(x=wpJobbnorgeBlock.employers)&&void 0!==x?x:[]).map((e=>{var o;return{label:e.label,value:e.value,disabled:null!==(o=e?.disabled)&&void 0!==o&&o}})),className:"wp-block-dss-jobbnorge__placeholder-input",help:(0,u.__)("Select employers to display. Ctrl-click (Windows) or Cmd-click (Mac) to select multiple employers. Alt-click (Windows) or Option-click (Mac) to select a range of employers.","wp-jobbnorge-block"),__nextHasNoMarginBottom:!0}):(0,l.createElement)(s.TextControl,{placeholder:(0,u.__)("Employer ID [,id2, id3, ..]","wp-jobbnorge-block"),value:f,onChange:e=>o({employerID:e}),className:"wp-block-dss-jobbnorge__placeholder-input"}),(0,l.createElement)(s.Button,{variant:"primary",type:"submit"},(0,u.__)("Save","wp-jobbnorge-block")))));const S=[{icon:p,title:(0,u.__)("Edit Jobbnorge URL","wp-jobbnorge-block"),onClick:()=>n(!0)},{icon:d,title:(0,u.__)("List view","wp-jobbnorge-block"),onClick:()=>o({blockLayout:"list"}),isActive:"list"===a},{icon:m,title:(0,u.__)("Grid view","wp-jobbnorge-block"),onClick:()=>o({blockLayout:"grid"}),isActive:"grid"===a}];return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(c.BlockControls,null,(0,l.createElement)(s.ToolbarGroup,{controls:S})),(0,l.createElement)(c.InspectorControls,null,(0,l.createElement)(s.PanelBody,{title:(0,u.__)("Settings","wp-jobbnorge-block")},(0,l.createElement)(s.RangeControl,{__nextHasNoMarginBottom:!0,label:(0,u.__)("Number of items","wp-jobbnorge-block"),value:k,onChange:e=>o({itemsToShow:e}),min:1,max:100,required:!0}),f.includes(",")&&(0,l.createElement)(s.RadioControl,{label:(0,u.__)("Order by","wp-jobbnorge-block"),selected:E,options:[{label:(0,u.__)("Deadline","wp-jobbnorge-block"),value:"Deadline"},{label:(0,u.__)("Employer","wp-jobbnorge-block"),value:"Employer"}],onChange:e=>o({orderBy:e})}),(0,l.createElement)(s.TextareaControl,{label:(0,u.__)("No jobs found message","wp-jobbnorge-block"),help:(0,u.__)("Message to display if no jobs are found","wp-jobbnorge-block"),value:_||(0,u.__)("There are no jobs at this time.","wp-jobbnorge-block"),onChange:e=>o({noJobsMessage:e})})),(0,l.createElement)(s.PanelBody,{title:(0,u.__)("Item","wp-jobbnorge-block")},(0,l.createElement)(s.ToggleControl,{label:(0,u.__)("Display employer","wp-jobbnorge-block"),checked:y,onChange:j("displayEmployer")}),(0,l.createElement)(s.ToggleControl,{label:(0,u.__)("Display excerpt","wp-jobbnorge-block"),checked:h,onChange:j("displayExcerpt")}),(0,l.createElement)(s.ToggleControl,{label:(0,u.__)("Display deadline","wp-jobbnorge-block"),checked:v,onChange:j("displayDate")}),(0,l.createElement)(s.ToggleControl,{label:(0,u.__)("Display scope","wp-jobbnorge-block"),checked:g,onChange:j("displayScope")})),"grid"===a&&(0,l.createElement)(s.PanelBody,{title:(0,u.__)("Grid view","wp-jobbnorge-block")},(0,l.createElement)(s.RangeControl,{__nextHasNoMarginBottom:!0,label:(0,u.__)("Columns","wp-jobbnorge-block"),value:i,onChange:e=>o({columns:e}),min:2,max:6,required:!0}))),(0,l.createElement)("div",{...C},(0,l.createElement)(s.Disabled,null,(0,l.createElement)(w(),{block:"dss/jobbnorge",attributes:e,httpMethod:"POST"}))))}}})}},t={};function l(e){var n=t[e];if(void 0!==n)return n.exports;var r=t[e]={exports:{}};return o[e](r,r.exports,l),r.exports}l.m=o,e=[],l.O=function(o,t,n,r){if(!t){var a=1/0;for(b=0;b<e.length;b++){t=e[b][0],n=e[b][1],r=e[b][2];for(var i=!0,c=0;c<t.length;c++)(!1&r||a>=r)&&Object.keys(l.O).every((function(e){return l.O[e](t[c])}))?t.splice(c--,1):(i=!1,r<a&&(a=r));if(i){e.splice(b--,1);var s=n();void 0!==s&&(o=s)}}return o}r=r||0;for(var b=e.length;b>0&&e[b-1][2]>r;b--)e[b]=e[b-1];e[b]=[t,n,r]},l.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(o,{a:o}),o},l.d=function(e,o){for(var t in o)l.o(o,t)&&!l.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},l.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},function(){var e={410:0,308:0};l.O.j=function(o){return 0===e[o]};var o=function(o,t){var n,r,a=t[0],i=t[1],c=t[2],s=0;if(a.some((function(o){return 0!==e[o]}))){for(n in i)l.o(i,n)&&(l.m[n]=i[n]);if(c)var b=c(l)}for(o&&o(t);s<a.length;s++)r=a[s],l.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return l.O(b)},t=self.webpackChunkjobbnorge_block=self.webpackChunkjobbnorge_block||[];t.forEach(o.bind(null,0)),t.push=o.bind(null,t.push.bind(t))}();var n=l.O(void 0,[308],(function(){return l(938)}));n=l.O(n)}();
     1!function(){"use strict";var e,o={938:function(e,o,t){var l=window.React,n=window.wp.primitives,r=(0,l.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(n.Path,{d:"M15.5 9.5a1 1 0 100-2 1 1 0 000 2zm0 1.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5zm-2.25 6v-2a2.75 2.75 0 00-2.75-2.75h-4A2.75 2.75 0 003.75 15v2h1.5v-2c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v2h1.5zm7-2v2h-1.5v-2c0-.69-.56-1.25-1.25-1.25H15v-1.5h2.5A2.75 2.75 0 0120.25 15zM9.5 8.5a1 1 0 11-2 0 1 1 0 012 0zm1.5 0a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0z",fillRule:"evenodd"})),a=window.wp.blocks,i=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"dss/jobbnorge","version":"2.1. to select a range of employers.","wp-jobbnorge-block"),__nextHasNoMarginBottom:!0}):(0,l.createElement)(s.TextControl,{placeholder:(0,u.__)("Employer ID [,id2, id3, ..]","wp-jobbnorge-block"),value:f,onChange:e=>o({employerID:e}),className:"wp-block-dss-jobbnorge__placeholder-input"}),(0,l.createElement)(s.Button,{variant:"primary",type:"submit"},(0,u.__)("Save","wp-jobbnorge-block")))));const S=[{icon:p,title:(0,u.__)("Edit Jobbnorge URL","wp-jobbnorge-block"),onClick:()=>n(!0)},{icon:d,title:(0,u.__)("List view","wp-jobbnorge-block"),onClick:()=>o({blockLayout:"list"}),isActive:"list"===a},{icon:m,title:(0,u.__)("Grid view","wp-jobbnorge-block"),onClick:()=>o({blockLayout:"grid"}),isActive:"grid"===a}];return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(c.BlockControls,null,(0,l.createElement)(s.ToolbarGroup,{controls:S})),(0,l.createElement)(c.InspectorControls,null,(0,l.createElement)(s.PanelBody,{title:(0,u.__)("Settings","wp-jobbnorge-block")},(0,l.createElement)(s.RangeControl,{__nextHasNoMarginBottom:!0,label:(0,u.__)("Number of items","wp-jobbnorge-block"),value:k,onChange:e=>o({itemsToShow:e}),min:1,max:100,required:!0}),f.includes(",")&&(0,l.createElement)(s.RadioControl,{label:(0,u.__)("Order by","wp-jobbnorge-block"),selected:E,options:[{label:(0,u.__)("Deadline","wp-jobbnorge-block"),value:"Deadline"},{label:(0,u.__)("Employer","wp-jobbnorge-block"),value:"Employer"}],onChange:e=>o({orderBy:e})}),(0,l.createElement)(s.TextareaControl,{label:(0,u.__)("No jobs found message","wp-jobbnorge-block"),help:(0,u.__)("Message to display if no jobs are found","wp-jobbnorge-block"),value:_||(0,u.__)("There are no jobs at this time.","wp-jobbnorge-block"),onChange:e=>o({noJobsMessage:e})})),(0,l.createElement)(s.PanelBody,{title:(0,u.__)("Item","wp-jobbnorge-block")},(0,l.createElement)(s.ToggleControl,{label:(0,u.__)("Display employer","wp-jobbnorge-block"),checked:y,onChange:j("displayEmployer")}),(0,l.createElement)(s.ToggleControl,{label:(0,u.__)("Display excerpt","wp-jobbnorge-block"),checked:h,onChange:j("displayExcerpt")}),(0,l.createElement)(s.ToggleControl,{label:(0,u.__)("Display deadline","wp-jobbnorge-block"),checked:v,onChange:j("displayDate")}),(0,l.createElement)(s.ToggleControl,{label:(0,u.__)("Display scope","wp-jobbnorge-block"),checked:g,onChange:j("displayScope")})),"grid"===a&&(0,l.createElement)(s.PanelBody,{title:(0,u.__)("Grid view","wp-jobbnorge-block")},(0,l.createElement)(s.RangeControl,{__nextHasNoMarginBottom:!0,label:(0,u.__)("Columns","wp-jobbnorge-block"),value:i,onChange:e=>o({columns:e}),min:2,max:6,required:!0}))),(0,l.createElement)("div",{...C},(0,l.createElement)(s.Disabled,null,(0,l.createElement)(w(),{block:"dss/jobbnorge",attributes:e,httpMethod:"POST"}))))}}})}},t={};function l(e){var n=t[e];if(void 0!==n)return n.exports;var r=t[e]={exports:{}};return o[e](r,r.exports,l),r.exports}l.m=o,e=[],l.O=function(o,t,n,r){if(!t){var a=1/0;for(b=0;b<e.length;b++){t=e[b][0],n=e[b][1],r=e[b][2];for(var i=!0,c=0;c<t.length;c++)(!1&r||a>=r)&&Object.keys(l.O).every((function(e){return l.O[e](t[c])}))?t.splice(c--,1):(i=!1,r<a&&(a=r));if(i){e.splice(b--,1);var s=n();void 0!==s&&(o=s)}}return o}r=r||0;for(var b=e.length;b>0&&e[b-1][2]>r;b--)e[b]=e[b-1];e[b]=[t,n,r]},l.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(o,{a:o}),o},l.d=function(e,o){for(var t in o)l.o(o,t)&&!l.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},l.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},function(){var e={410:0,308:0};l.O.j=function(o){return 0===e[o]};var o=function(o,t){var n,r,a=t[0],i=t[1],c=t[2],s=0;if(a.some((function(o){return 0!==e[o]}))){for(n in i)l.o(i,n)&&(l.m[n]=i[n]);if(c)var b=c(l)}for(o&&o(t);s<a.length;s++)r=a[s],l.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return l.O(b)},t=self.webpackChunkjobbnorge_block=self.webpackChunkjobbnorge_block||[];t.forEach(o.bind(null,0)),t.push=o.bind(null,t.push.bind(t))}();var n=l.O(void 0,[308],(function(){return l(938)}));n=l.O(n)}();
  • jobbnorge-block/tags/2.1.4/languages/wp-jobbnorge-block-en_US-5847f2cef22ef3cae0e9359a7a5dd2ec.json

    r3000729 r3002720  
    1414                ""
    1515            ],
    16             "Select employers to display. Ctrl-click (Windows) or Cmd-click (Mac) to select multiple employers. Alt-click (Windows) or Option-click (Mac) to select a range of employers.": [
     16            "Select employers to display. Ctrl-click (Windows) or Cmd-click (Mac) to select multiple employers. to select a range of employers.": [
    1717                ""
    1818            ],
  • jobbnorge-block/tags/2.1.4/languages/wp-jobbnorge-block-en_US-bb1d7dea005e67527e728d4801f74b61.json

    r3000729 r3002720  
    1414                ""
    1515            ],
    16             "Select employers to display. Ctrl-click (Windows) or Cmd-click (Mac) to select multiple employers. Alt-click (Windows) or Option-click (Mac) to select a range of employers.": [
     16            "Select employers to display. Ctrl-click (Windows) or Cmd-click (Mac) to select multiple employers. to select a range of employers.": [
    1717                ""
    1818            ],
  • jobbnorge-block/tags/2.1.4/languages/wp-jobbnorge-block-en_US.po

    r3000744 r3002720  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Jobbnorge Block 2.1.2\n"
     5"Project-Id-Version: Jobbnorge Block 2.1.\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/jobbnorge-block\n"
    77"Last-Translator: Per Søderlind <per@soderlind.no\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2023-11-23T14:15:02+00:00\n"
     12"POT-Creation-Date: 2023-11-2+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.9.0\n"
     
    6767#: build/init.js:1
    6868#: src/edit.js:95
    69 msgid "Select employers to display. Ctrl-click (Windows) or Cmd-click (Mac) to select multiple employers. Alt-click (Windows) or Option-click (Mac) to select a range of employers."
     69msgid "Select employers to display. Ctrl-click (Windows) or Cmd-click (Mac) to select multiple employers. to select a range of employers."
    7070msgstr ""
    7171
  • jobbnorge-block/tags/2.1.4/languages/wp-jobbnorge-block-nb_NO-5847f2cef22ef3cae0e9359a7a5dd2ec.json

    r3000744 r3002720  
    11{
    2     "translation-revision-date": "2023-11-23 14:49+0100",
     2    "translation-revision-date": "2023-11-29+0100",
    33    "generator": "WP-CLI\/2.9.0",
    44    "source": "build\/init.js",
     
    1414                "Arbeidsgiver"
    1515            ],
    16             "Select employers to display. Ctrl-click (Windows) or Cmd-click (Mac) to select multiple employers. Alt-click (Windows) or Option-click (Mac) to select a range of employers.": [
    17                 "Velg arbeidsgivere som skal vises. Ctrl-klikk (Windows) eller Cmd-klikk (Mac) for \u00e5 velge flere arbeidsgivere. Alt-klikk (Windows) eller Option-klikk (Mac) for \u00e5 velge et utvalg av arbeidsgivere."
     16            "Select employers to display. Ctrl-click (Windows) or Cmd-click (Mac) to select multiple employers. to select a range of employers.": [
     17                "Velg arbeidsgivere som skal vises. Ctrl-klikk (Windows) eller Cmd-klikk (Mac) for \u00e5 velge flere arbeidsgivere. for \u00e5 velge et utvalg av arbeidsgivere."
    1818            ],
    1919            "Employer ID [,id2, id3, ..]": [
  • jobbnorge-block/tags/2.1.4/languages/wp-jobbnorge-block-nb_NO-bb1d7dea005e67527e728d4801f74b61.json

    r3000744 r3002720  
    11{
    2     "translation-revision-date": "2023-11-23 14:49+0100",
     2    "translation-revision-date": "2023-11-29+0100",
    33    "generator": "WP-CLI\/2.9.0",
    44    "source": "src\/edit.js",
     
    1414                "Arbeidsgiver"
    1515            ],
    16             "Select employers to display. Ctrl-click (Windows) or Cmd-click (Mac) to select multiple employers. Alt-click (Windows) or Option-click (Mac) to select a range of employers.": [
    17                 "Velg arbeidsgivere som skal vises. Ctrl-klikk (Windows) eller Cmd-klikk (Mac) for \u00e5 velge flere arbeidsgivere. Alt-klikk (Windows) eller Option-klikk (Mac) for \u00e5 velge et utvalg av arbeidsgivere."
     16            "Select employers to display. Ctrl-click (Windows) or Cmd-click (Mac) to select multiple employers. to select a range of employers.": [
     17                "Velg arbeidsgivere som skal vises. Ctrl-klikk (Windows) eller Cmd-klikk (Mac) for \u00e5 velge flere arbeidsgivere. for \u00e5 velge et utvalg av arbeidsgivere."
    1818            ],
    1919            "Employer ID [,id2, id3, ..]": [
  • jobbnorge-block/tags/2.1.4/languages/wp-jobbnorge-block-nb_NO.po

    r3000729 r3002720  
    55"Project-Id-Version: Jobbnorge Block 0.1.0\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/jobbnorge-block\n"
    7 "POT-Creation-Date: 2023-11-23T13:47:33+00:00\n"
    8 "PO-Revision-Date: 2023-11-23 14:49+0100\n"
     7"POT-Creation-Date: 2023-11-2+00:00\n"
     8"PO-Revision-Date: 2023-11-29+0100\n"
    99"Last-Translator: Per Søderlind <per@soderlind.no>\n"
    1010"Language-Team: \n"
     
    6767msgid ""
    6868"Select employers to display. Ctrl-click (Windows) or Cmd-click (Mac) to "
    69 "select multiple employers. Alt-click (Windows) or Option-click (Mac) to "
    70 "select a range of employers."
     69"select multiple employers. Shift-click to select a range of employers."
    7170msgstr ""
    7271"Velg arbeidsgivere som skal vises. Ctrl-klikk (Windows) eller Cmd-klikk "
    73 "(Mac) for å velge flere arbeidsgivere. Alt-klikk (Windows) eller Option-"
    74 "klikk (Mac) for å velge et utvalg av arbeidsgivere."
     72"(Mac) for å velge flere arbeidsgivere. "
     73"arbeidsgivere."
    7574
    7675#: build/init.js:1 src/edit.js:103
     
    166165msgstr "jobbnorge.no"
    167166
     167
     168
     169
     170
     171
     172
     173
     174
     175
    168176#~ msgid "Select employers to display. Ctrl + Click to select more than one."
    169177#~ msgstr ""
  • jobbnorge-block/tags/2.1.4/languages/wp-jobbnorge-block.pot

    r3000744 r3002720  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Jobbnorge Block 2.1.2\n"
     5"Project-Id-Version: Jobbnorge Block 2.1.\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/jobbnorge-block\n"
    77"Last-Translator: Per Søderlind <per@soderlind.no\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2023-11-23T14:15:02+00:00\n"
     12"POT-Creation-Date: 2023-11-2+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.9.0\n"
     
    6767#: build/init.js:1
    6868#: src/edit.js:95
    69 msgid "Select employers to display. Ctrl-click (Windows) or Cmd-click (Mac) to select multiple employers. Alt-click (Windows) or Option-click (Mac) to select a range of employers."
     69msgid "Select employers to display. Ctrl-click (Windows) or Cmd-click (Mac) to select multiple employers. to select a range of employers."
    7070msgstr ""
    7171
  • jobbnorge-block/tags/2.1.4/package-lock.json

    r3000744 r3002720  
    11{
    22    "name": "jobbnorge-block",
    3     "version": "2.1.3",
     3    "version": "2.1.",
    44    "lockfileVersion": 3,
    55    "requires": true,
     
    77        "": {
    88            "name": "jobbnorge-block",
    9             "version": "2.1.3",
     9            "version": "2.1.",
    1010            "license": "GPL-2.0-or-later",
    1111            "dependencies": {
  • jobbnorge-block/tags/2.1.4/package.json

    r3000744 r3002720  
    11{
    22    "name": "jobbnorge-block",
    3     "version": "2.1.3",
     3    "version": "2.1.",
    44    "description": "Jobbnorge Block for WordPress Gutenberg",
    55    "author": "Per Søderlind <per@soderlind.no>",
  • jobbnorge-block/tags/2.1.4/readme.txt

    r3000744 r3002720  
    55Requires at least: 5.9
    66Requires PHP:      7.4
    7 Stable tag:        2.1.3
     7Stable tag:        2.1.
    88License:           GPL-2.0-or-later
    99License URI:       https://www.gnu.org/licenses/gpl-2.0.html
     
    1001003. Listview with options.
    1011014. Gridview with options.
    102 5. Custom Select field for employer ID. Ctrl-click (Windows) or Cmd-click (Mac) to select multiple employers. Alt-click (Windows) or Option-click (Mac) to select a range of employers.
     1025. Custom Select field for employer ID. Ctrl-click (Windows) or Cmd-click (Mac) to select multiple employers. to select a range of employers.
    103103
    104104== Changelog ==
     105
     106
     107
     108
    105109
    106110= 2.1.3 =
  • jobbnorge-block/tags/2.1.4/src/block.json

    r3000744 r3002720  
    33    "apiVersion": 2,
    44    "name": "dss/jobbnorge",
    5     "version": "2.1.3",
     5    "version": "2.1.",
    66    "title": "Jobbnorge",
    77    "category": "widgets",
  • jobbnorge-block/tags/2.1.4/src/edit.js

    r3000729 r3002720  
    9494                                className="wp-block-dss-jobbnorge__placeholder-input"
    9595                                help={__(
    96                                     'Select employers to display. Ctrl-click (Windows) or Cmd-click (Mac) to select multiple employers. Alt-click (Windows) or Option-click (Mac) to select a range of employers.',
     96                                    'Select employers to display. Ctrl-click (Windows) or Cmd-click (Mac) to select multiple employers. to select a range of employers.',
    9797                                    'wp-jobbnorge-block'
    9898                                )}
  • jobbnorge-block/tags/2.1.4/wp-jobb-norge.php

    r3000744 r3002720  
    66 * Requires at least: 5.9
    77 * Requires PHP:      7.0
    8  * Version:           2.1.3
     8 * Version:           2.1.
    99 * Author:            PerS
    1010 * License:           GPL-2.0-or-later
  • jobbnorge-block/trunk/CHANGELOG.md

    r3000744 r3002720  
    11# Cangelog
     2
     3
     4
     5
    26
    37## 2.1.3
  • jobbnorge-block/trunk/README.md

    r3000729 r3002720  
    161161
    162162```html
    163 <ul
    164     class="wp-block-dss-jobbnorge is-grid columns-N has-excerpts has-deadline has-scope has-duration"
    165 >
     163<ul class="has-employer has-dates has-scope has-excerpts wp-block-dss-jobbnorge">
    166164    <li class="wp-block-dss-jobbnorge__item">
    167         <div class="wp-block-dss-jobbnorge__item-title">
    168             <a href="URL">Title</a>
     165        <div class="wp-block-dss-jobbnorge__item-title"><a
     166                href="https://www.jobbnorge.no/ledige-stillinger/stilling/XXXXXX">Title</a></div>
     167        <div class="wp-block-dss-jobbnorge__item-meta">
     168            <div class="wp-block-dss-jobbnorge__item-employer">Employer</div>
     169            <time datetime="2023-11-26T00:00:00+00:00" class="wp-block-dss-jobbnorge__item-deadline">Deadline:
     170                1/1/1970</time>
     171            <div class="wp-block-dss-jobbnorge__item-scope">Scope: Full time</div>
    169172        </div>
    170         <div class="wp-block-dss-jobbnorge__item-meta">
    171             <time datetime="" class="wp-block-dss-jobbnorge__item-deadline">
    172                 Date
    173             </time>
    174             <div class="wp-block-dss-jobbnorge__item-scope">Scope</div>
    175         </div>
    176         <div class="wp-block-dss-jobbnorge__item-excerpt">
    177             Excerpt
    178             <a href="URL">Read More</a>
     173        <div class="wp-block-dss-jobbnorge__item-excerpt">The excerpt … <a
     174                href="https://www.jobbnorge.no/ledige-stillinger/stilling/XXXXXX">Read more</a>
    179175        </div>
    180176    </li>
     177
     178
     179
    181180</ul>
    182181```
    183182
    184 `is-grid`, `columns-N` (N = 2-6), `has-excerpts`, `has-deadline`, `has-scope` and `has-duration` are added to the `<ul>` element depending on the block settings.
     183`is-grid`, `columns-N` (N = 2-6), `has-e` are added to the `<ul>` element depending on the block settings.
    185184
    186185Default styling is provided by the [`style.scss`](src/style.scss) file.
  • jobbnorge-block/trunk/build/block.json

    r3000744 r3002720  
    33  "apiVersion": 2,
    44  "name": "dss/jobbnorge",
    5   "version": "2.1.3",
     5  "version": "2.1.",
    66  "title": "Jobbnorge",
    77  "category": "widgets",
  • jobbnorge-block/trunk/build/init.asset.php

    r3000744 r3002720  
    1 <?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives', 'wp-server-side-render'), 'version' => 'a743f74c59f51b7c7e58');
     1<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives', 'wp-server-side-render'), 'version' => '');
  • jobbnorge-block/trunk/build/init.js

    r3000744 r3002720  
    1 !function(){"use strict";var e,o={938:function(e,o,t){var l=window.React,n=window.wp.primitives,r=(0,l.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(n.Path,{d:"M15.5 9.5a1 1 0 100-2 1 1 0 000 2zm0 1.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5zm-2.25 6v-2a2.75 2.75 0 00-2.75-2.75h-4A2.75 2.75 0 003.75 15v2h1.5v-2c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v2h1.5zm7-2v2h-1.5v-2c0-.69-.56-1.25-1.25-1.25H15v-1.5h2.5A2.75 2.75 0 0120.25 15zM9.5 8.5a1 1 0 11-2 0 1 1 0 012 0zm1.5 0a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0z",fillRule:"evenodd"})),a=window.wp.blocks,i=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"dss/jobbnorge","version":"2.1.3","title":"Jobbnorge","category":"widgets","icon":"people","description":"Retrieve and display job listings from Jobbnorge.no","keywords":["jobbnorge","jobbnorge.no"],"supports":{"html":false},"attributes":{"columns":{"type":"number","default":3},"blockLayout":{"type":"string","default":"list"},"employerID":{"type":"string","default":""},"noJobsMessage":{"type":"string","default":""},"orderBy":{"type":"string","default":"Deadline"},"itemsToShow":{"type":"number","default":5},"displayEmployer":{"type":"boolean","default":false},"displayExcerpt":{"type":"boolean","default":true},"displayDeadline":{"type":"boolean","default":false},"displayScope":{"type":"boolean","default":false},"displayDate":{"type":"boolean","default":true},"excerptLength":{"type":"number","default":55}},"textdomain":"wp-jobbnorge-block","editorScript":"file:init.js","editorStyle":"file:editor.scss","style":"file:style.scss"}'),c=window.wp.blockEditor,s=window.wp.components,b=window.wp.element,p=(0,l.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(n.Path,{d:"m19 7-3-3-8.5 8.5-1 4 4-1L19 7Zm-7 11.5H5V20h7v-1.5Z"})),d=(0,l.createElement)(n.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,l.createElement)(n.Path,{d:"M4 4v1.5h16V4H4zm8 8.5h8V11h-8v1.5zM4 20h16v-1.5H4V20zm4-8c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2z"})),m=(0,l.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(n.Path,{d:"m3 5c0-1.10457.89543-2 2-2h13.5c1.1046 0 2 .89543 2 2v13.5c0 1.1046-.8954 2-2 2h-13.5c-1.10457 0-2-.8954-2-2zm2-.5h6v6.5h-6.5v-6c0-.27614.22386-.5.5-.5zm-.5 8v6c0 .2761.22386.5.5.5h6v-6.5zm8 0v6.5h6c.2761 0 .5-.2239.5-.5v-6zm0-8v6.5h6.5v-6c0-.27614-.2239-.5-.5-.5z",fillRule:"evenodd",clipRule:"evenodd"})),u=window.wp.i18n,g=window.wp.serverSideRender,w=t.n(g);const{name:v}=i;(e=>{const{metadata:o,settings:t,name:l}=e;(0,a.registerBlockType)({name:l,...o},t)})({name:v,metadata:i,settings:{icon:r,example:{attributes:{employerID:"123[, 456, 789]"}},edit:function({attributes:e,setAttributes:o}){const[t,n]=(0,b.useState)(!e.employerID),{blockLayout:a,columns:i,displayScope:g,displayDate:v,displayEmployer:y,displayExcerpt:h,employerID:f,itemsToShow:k,noJobsMessage:_,orderBy:E}=e;function j(t){return()=>{const l=e[t];o({[t]:!l})}}const C=(0,c.useBlockProps)();var x;if(t)return(0,l.createElement)("div",{...C},(0,l.createElement)(s.Placeholder,{icon:r,label:"Jobbnorge"},(0,l.createElement)("form",{onSubmit:function(e){e.preventDefault(),f&&(o({employerID:f}),n(!1))},className:"wp-block-dss-jobbnorge__placeholder-form"},window.wpJobbnorgeBlock&&window.wpJobbnorgeBlock.employers?(0,l.createElement)(s.SelectControl,{multiple:!0,value:f.split(","),onChange:e=>o({employerID:e.toString()}),options:(null!==(x=wpJobbnorgeBlock.employers)&&void 0!==x?x:[]).map((e=>{var o;return{label:e.label,value:e.value,disabled:null!==(o=e?.disabled)&&void 0!==o&&o}})),className:"wp-block-dss-jobbnorge__placeholder-input",help:(0,u.__)("Select employers to display. Ctrl-click (Windows) or Cmd-click (Mac) to select multiple employers. Alt-click (Windows) or Option-click (Mac) to select a range of employers.","wp-jobbnorge-block"),__nextHasNoMarginBottom:!0}):(0,l.createElement)(s.TextControl,{placeholder:(0,u.__)("Employer ID [,id2, id3, ..]","wp-jobbnorge-block"),value:f,onChange:e=>o({employerID:e}),className:"wp-block-dss-jobbnorge__placeholder-input"}),(0,l.createElement)(s.Button,{variant:"primary",type:"submit"},(0,u.__)("Save","wp-jobbnorge-block")))));const S=[{icon:p,title:(0,u.__)("Edit Jobbnorge URL","wp-jobbnorge-block"),onClick:()=>n(!0)},{icon:d,title:(0,u.__)("List view","wp-jobbnorge-block"),onClick:()=>o({blockLayout:"list"}),isActive:"list"===a},{icon:m,title:(0,u.__)("Grid view","wp-jobbnorge-block"),onClick:()=>o({blockLayout:"grid"}),isActive:"grid"===a}];return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(c.BlockControls,null,(0,l.createElement)(s.ToolbarGroup,{controls:S})),(0,l.createElement)(c.InspectorControls,null,(0,l.createElement)(s.PanelBody,{title:(0,u.__)("Settings","wp-jobbnorge-block")},(0,l.createElement)(s.RangeControl,{__nextHasNoMarginBottom:!0,label:(0,u.__)("Number of items","wp-jobbnorge-block"),value:k,onChange:e=>o({itemsToShow:e}),min:1,max:100,required:!0}),f.includes(",")&&(0,l.createElement)(s.RadioControl,{label:(0,u.__)("Order by","wp-jobbnorge-block"),selected:E,options:[{label:(0,u.__)("Deadline","wp-jobbnorge-block"),value:"Deadline"},{label:(0,u.__)("Employer","wp-jobbnorge-block"),value:"Employer"}],onChange:e=>o({orderBy:e})}),(0,l.createElement)(s.TextareaControl,{label:(0,u.__)("No jobs found message","wp-jobbnorge-block"),help:(0,u.__)("Message to display if no jobs are found","wp-jobbnorge-block"),value:_||(0,u.__)("There are no jobs at this time.","wp-jobbnorge-block"),onChange:e=>o({noJobsMessage:e})})),(0,l.createElement)(s.PanelBody,{title:(0,u.__)("Item","wp-jobbnorge-block")},(0,l.createElement)(s.ToggleControl,{label:(0,u.__)("Display employer","wp-jobbnorge-block"),checked:y,onChange:j("displayEmployer")}),(0,l.createElement)(s.ToggleControl,{label:(0,u.__)("Display excerpt","wp-jobbnorge-block"),checked:h,onChange:j("displayExcerpt")}),(0,l.createElement)(s.ToggleControl,{label:(0,u.__)("Display deadline","wp-jobbnorge-block"),checked:v,onChange:j("displayDate")}),(0,l.createElement)(s.ToggleControl,{label:(0,u.__)("Display scope","wp-jobbnorge-block"),checked:g,onChange:j("displayScope")})),"grid"===a&&(0,l.createElement)(s.PanelBody,{title:(0,u.__)("Grid view","wp-jobbnorge-block")},(0,l.createElement)(s.RangeControl,{__nextHasNoMarginBottom:!0,label:(0,u.__)("Columns","wp-jobbnorge-block"),value:i,onChange:e=>o({columns:e}),min:2,max:6,required:!0}))),(0,l.createElement)("div",{...C},(0,l.createElement)(s.Disabled,null,(0,l.createElement)(w(),{block:"dss/jobbnorge",attributes:e,httpMethod:"POST"}))))}}})}},t={};function l(e){var n=t[e];if(void 0!==n)return n.exports;var r=t[e]={exports:{}};return o[e](r,r.exports,l),r.exports}l.m=o,e=[],l.O=function(o,t,n,r){if(!t){var a=1/0;for(b=0;b<e.length;b++){t=e[b][0],n=e[b][1],r=e[b][2];for(var i=!0,c=0;c<t.length;c++)(!1&r||a>=r)&&Object.keys(l.O).every((function(e){return l.O[e](t[c])}))?t.splice(c--,1):(i=!1,r<a&&(a=r));if(i){e.splice(b--,1);var s=n();void 0!==s&&(o=s)}}return o}r=r||0;for(var b=e.length;b>0&&e[b-1][2]>r;b--)e[b]=e[b-1];e[b]=[t,n,r]},l.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(o,{a:o}),o},l.d=function(e,o){for(var t in o)l.o(o,t)&&!l.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},l.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},function(){var e={410:0,308:0};l.O.j=function(o){return 0===e[o]};var o=function(o,t){var n,r,a=t[0],i=t[1],c=t[2],s=0;if(a.some((function(o){return 0!==e[o]}))){for(n in i)l.o(i,n)&&(l.m[n]=i[n]);if(c)var b=c(l)}for(o&&o(t);s<a.length;s++)r=a[s],l.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return l.O(b)},t=self.webpackChunkjobbnorge_block=self.webpackChunkjobbnorge_block||[];t.forEach(o.bind(null,0)),t.push=o.bind(null,t.push.bind(t))}();var n=l.O(void 0,[308],(function(){return l(938)}));n=l.O(n)}();
     1!function(){"use strict";var e,o={938:function(e,o,t){var l=window.React,n=window.wp.primitives,r=(0,l.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,l.createElement)(n.Path,{d:"M15.5 9.5a1 1 0 100-2 1 1 0 000 2zm0 1.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5zm-2.25 6v-2a2.75 2.75 0 00-2.75-2.75h-4A2.75 2.75 0 003.75 15v2h1.5v-2c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v2h1.5zm7-2v2h-1.5v-2c0-.69-.56-1.25-1.25-1.25H15v-1.5h2.5A2.75 2.75 0 0120.25 15zM9.5 8.5a1 1 0 11-2 0 1 1 0 012 0zm1.5 0a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0z",fillRule:"evenodd"})),a=window.wp.blocks,i=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"dss/jobbnorge","version":"2.1. to select a range of employers.","wp-jobbnorge-block"),__nextHasNoMarginBottom:!0}):(0,l.createElement)(s.TextControl,{placeholder:(0,u.__)("Employer ID [,id2, id3, ..]","wp-jobbnorge-block"),value:f,onChange:e=>o({employerID:e}),className:"wp-block-dss-jobbnorge__placeholder-input"}),(0,l.createElement)(s.Button,{variant:"primary",type:"submit"},(0,u.__)("Save","wp-jobbnorge-block")))));const S=[{icon:p,title:(0,u.__)("Edit Jobbnorge URL","wp-jobbnorge-block"),onClick:()=>n(!0)},{icon:d,title:(0,u.__)("List view","wp-jobbnorge-block"),onClick:()=>o({blockLayout:"list"}),isActive:"list"===a},{icon:m,title:(0,u.__)("Grid view","wp-jobbnorge-block"),onClick:()=>o({blockLayout:"grid"}),isActive:"grid"===a}];return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(c.BlockControls,null,(0,l.createElement)(s.ToolbarGroup,{controls:S})),(0,l.createElement)(c.InspectorControls,null,(0,l.createElement)(s.PanelBody,{title:(0,u.__)("Settings","wp-jobbnorge-block")},(0,l.createElement)(s.RangeControl,{__nextHasNoMarginBottom:!0,label:(0,u.__)("Number of items","wp-jobbnorge-block"),value:k,onChange:e=>o({itemsToShow:e}),min:1,max:100,required:!0}),f.includes(",")&&(0,l.createElement)(s.RadioControl,{label:(0,u.__)("Order by","wp-jobbnorge-block"),selected:E,options:[{label:(0,u.__)("Deadline","wp-jobbnorge-block"),value:"Deadline"},{label:(0,u.__)("Employer","wp-jobbnorge-block"),value:"Employer"}],onChange:e=>o({orderBy:e})}),(0,l.createElement)(s.TextareaControl,{label:(0,u.__)("No jobs found message","wp-jobbnorge-block"),help:(0,u.__)("Message to display if no jobs are found","wp-jobbnorge-block"),value:_||(0,u.__)("There are no jobs at this time.","wp-jobbnorge-block"),onChange:e=>o({noJobsMessage:e})})),(0,l.createElement)(s.PanelBody,{title:(0,u.__)("Item","wp-jobbnorge-block")},(0,l.createElement)(s.ToggleControl,{label:(0,u.__)("Display employer","wp-jobbnorge-block"),checked:y,onChange:j("displayEmployer")}),(0,l.createElement)(s.ToggleControl,{label:(0,u.__)("Display excerpt","wp-jobbnorge-block"),checked:h,onChange:j("displayExcerpt")}),(0,l.createElement)(s.ToggleControl,{label:(0,u.__)("Display deadline","wp-jobbnorge-block"),checked:v,onChange:j("displayDate")}),(0,l.createElement)(s.ToggleControl,{label:(0,u.__)("Display scope","wp-jobbnorge-block"),checked:g,onChange:j("displayScope")})),"grid"===a&&(0,l.createElement)(s.PanelBody,{title:(0,u.__)("Grid view","wp-jobbnorge-block")},(0,l.createElement)(s.RangeControl,{__nextHasNoMarginBottom:!0,label:(0,u.__)("Columns","wp-jobbnorge-block"),value:i,onChange:e=>o({columns:e}),min:2,max:6,required:!0}))),(0,l.createElement)("div",{...C},(0,l.createElement)(s.Disabled,null,(0,l.createElement)(w(),{block:"dss/jobbnorge",attributes:e,httpMethod:"POST"}))))}}})}},t={};function l(e){var n=t[e];if(void 0!==n)return n.exports;var r=t[e]={exports:{}};return o[e](r,r.exports,l),r.exports}l.m=o,e=[],l.O=function(o,t,n,r){if(!t){var a=1/0;for(b=0;b<e.length;b++){t=e[b][0],n=e[b][1],r=e[b][2];for(var i=!0,c=0;c<t.length;c++)(!1&r||a>=r)&&Object.keys(l.O).every((function(e){return l.O[e](t[c])}))?t.splice(c--,1):(i=!1,r<a&&(a=r));if(i){e.splice(b--,1);var s=n();void 0!==s&&(o=s)}}return o}r=r||0;for(var b=e.length;b>0&&e[b-1][2]>r;b--)e[b]=e[b-1];e[b]=[t,n,r]},l.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(o,{a:o}),o},l.d=function(e,o){for(var t in o)l.o(o,t)&&!l.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},l.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},function(){var e={410:0,308:0};l.O.j=function(o){return 0===e[o]};var o=function(o,t){var n,r,a=t[0],i=t[1],c=t[2],s=0;if(a.some((function(o){return 0!==e[o]}))){for(n in i)l.o(i,n)&&(l.m[n]=i[n]);if(c)var b=c(l)}for(o&&o(t);s<a.length;s++)r=a[s],l.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return l.O(b)},t=self.webpackChunkjobbnorge_block=self.webpackChunkjobbnorge_block||[];t.forEach(o.bind(null,0)),t.push=o.bind(null,t.push.bind(t))}();var n=l.O(void 0,[308],(function(){return l(938)}));n=l.O(n)}();
  • jobbnorge-block/trunk/languages/wp-jobbnorge-block-en_US-5847f2cef22ef3cae0e9359a7a5dd2ec.json

    r3000729 r3002720  
    1414                ""
    1515            ],
    16             "Select employers to display. Ctrl-click (Windows) or Cmd-click (Mac) to select multiple employers. Alt-click (Windows) or Option-click (Mac) to select a range of employers.": [
     16            "Select employers to display. Ctrl-click (Windows) or Cmd-click (Mac) to select multiple employers. to select a range of employers.": [
    1717                ""
    1818            ],
  • jobbnorge-block/trunk/languages/wp-jobbnorge-block-en_US-bb1d7dea005e67527e728d4801f74b61.json

    r3000729 r3002720  
    1414                ""
    1515            ],
    16             "Select employers to display. Ctrl-click (Windows) or Cmd-click (Mac) to select multiple employers. Alt-click (Windows) or Option-click (Mac) to select a range of employers.": [
     16            "Select employers to display. Ctrl-click (Windows) or Cmd-click (Mac) to select multiple employers. to select a range of employers.": [
    1717                ""
    1818            ],
  • jobbnorge-block/trunk/languages/wp-jobbnorge-block-en_US.po

    r3000744 r3002720  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Jobbnorge Block 2.1.2\n"
     5"Project-Id-Version: Jobbnorge Block 2.1.\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/jobbnorge-block\n"
    77"Last-Translator: Per Søderlind <per@soderlind.no\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2023-11-23T14:15:02+00:00\n"
     12"POT-Creation-Date: 2023-11-2+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.9.0\n"
     
    6767#: build/init.js:1
    6868#: src/edit.js:95
    69 msgid "Select employers to display. Ctrl-click (Windows) or Cmd-click (Mac) to select multiple employers. Alt-click (Windows) or Option-click (Mac) to select a range of employers."
     69msgid "Select employers to display. Ctrl-click (Windows) or Cmd-click (Mac) to select multiple employers. to select a range of employers."
    7070msgstr ""
    7171
  • jobbnorge-block/trunk/languages/wp-jobbnorge-block-nb_NO-5847f2cef22ef3cae0e9359a7a5dd2ec.json

    r3000744 r3002720  
    11{
    2     "translation-revision-date": "2023-11-23 14:49+0100",
     2    "translation-revision-date": "2023-11-29+0100",
    33    "generator": "WP-CLI\/2.9.0",
    44    "source": "build\/init.js",
     
    1414                "Arbeidsgiver"
    1515            ],
    16             "Select employers to display. Ctrl-click (Windows) or Cmd-click (Mac) to select multiple employers. Alt-click (Windows) or Option-click (Mac) to select a range of employers.": [
    17                 "Velg arbeidsgivere som skal vises. Ctrl-klikk (Windows) eller Cmd-klikk (Mac) for \u00e5 velge flere arbeidsgivere. Alt-klikk (Windows) eller Option-klikk (Mac) for \u00e5 velge et utvalg av arbeidsgivere."
     16            "Select employers to display. Ctrl-click (Windows) or Cmd-click (Mac) to select multiple employers. to select a range of employers.": [
     17                "Velg arbeidsgivere som skal vises. Ctrl-klikk (Windows) eller Cmd-klikk (Mac) for \u00e5 velge flere arbeidsgivere. for \u00e5 velge et utvalg av arbeidsgivere."
    1818            ],
    1919            "Employer ID [,id2, id3, ..]": [
  • jobbnorge-block/trunk/languages/wp-jobbnorge-block-nb_NO-bb1d7dea005e67527e728d4801f74b61.json

    r3000744 r3002720  
    11{
    2     "translation-revision-date": "2023-11-23 14:49+0100",
     2    "translation-revision-date": "2023-11-29+0100",
    33    "generator": "WP-CLI\/2.9.0",
    44    "source": "src\/edit.js",
     
    1414                "Arbeidsgiver"
    1515            ],
    16             "Select employers to display. Ctrl-click (Windows) or Cmd-click (Mac) to select multiple employers. Alt-click (Windows) or Option-click (Mac) to select a range of employers.": [
    17                 "Velg arbeidsgivere som skal vises. Ctrl-klikk (Windows) eller Cmd-klikk (Mac) for \u00e5 velge flere arbeidsgivere. Alt-klikk (Windows) eller Option-klikk (Mac) for \u00e5 velge et utvalg av arbeidsgivere."
     16            "Select employers to display. Ctrl-click (Windows) or Cmd-click (Mac) to select multiple employers. to select a range of employers.": [
     17                "Velg arbeidsgivere som skal vises. Ctrl-klikk (Windows) eller Cmd-klikk (Mac) for \u00e5 velge flere arbeidsgivere. for \u00e5 velge et utvalg av arbeidsgivere."
    1818            ],
    1919            "Employer ID [,id2, id3, ..]": [
  • jobbnorge-block/trunk/languages/wp-jobbnorge-block-nb_NO.po

    r3000729 r3002720  
    55"Project-Id-Version: Jobbnorge Block 0.1.0\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/jobbnorge-block\n"
    7 "POT-Creation-Date: 2023-11-23T13:47:33+00:00\n"
    8 "PO-Revision-Date: 2023-11-23 14:49+0100\n"
     7"POT-Creation-Date: 2023-11-2+00:00\n"
     8"PO-Revision-Date: 2023-11-29+0100\n"
    99"Last-Translator: Per Søderlind <per@soderlind.no>\n"
    1010"Language-Team: \n"
     
    6767msgid ""
    6868"Select employers to display. Ctrl-click (Windows) or Cmd-click (Mac) to "
    69 "select multiple employers. Alt-click (Windows) or Option-click (Mac) to "
    70 "select a range of employers."
     69"select multiple employers. Shift-click to select a range of employers."
    7170msgstr ""
    7271"Velg arbeidsgivere som skal vises. Ctrl-klikk (Windows) eller Cmd-klikk "
    73 "(Mac) for å velge flere arbeidsgivere. Alt-klikk (Windows) eller Option-"
    74 "klikk (Mac) for å velge et utvalg av arbeidsgivere."
     72"(Mac) for å velge flere arbeidsgivere. "
     73"arbeidsgivere."
    7574
    7675#: build/init.js:1 src/edit.js:103
     
    166165msgstr "jobbnorge.no"
    167166
     167
     168
     169
     170
     171
     172
     173
     174
     175
    168176#~ msgid "Select employers to display. Ctrl + Click to select more than one."
    169177#~ msgstr ""
  • jobbnorge-block/trunk/languages/wp-jobbnorge-block.pot

    r3000744 r3002720  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Jobbnorge Block 2.1.2\n"
     5"Project-Id-Version: Jobbnorge Block 2.1.\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/jobbnorge-block\n"
    77"Last-Translator: Per Søderlind <per@soderlind.no\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2023-11-23T14:15:02+00:00\n"
     12"POT-Creation-Date: 2023-11-2+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.9.0\n"
     
    6767#: build/init.js:1
    6868#: src/edit.js:95
    69 msgid "Select employers to display. Ctrl-click (Windows) or Cmd-click (Mac) to select multiple employers. Alt-click (Windows) or Option-click (Mac) to select a range of employers."
     69msgid "Select employers to display. Ctrl-click (Windows) or Cmd-click (Mac) to select multiple employers. to select a range of employers."
    7070msgstr ""
    7171
  • jobbnorge-block/trunk/package-lock.json

    r3000744 r3002720  
    11{
    22    "name": "jobbnorge-block",
    3     "version": "2.1.3",
     3    "version": "2.1.",
    44    "lockfileVersion": 3,
    55    "requires": true,
     
    77        "": {
    88            "name": "jobbnorge-block",
    9             "version": "2.1.3",
     9            "version": "2.1.",
    1010            "license": "GPL-2.0-or-later",
    1111            "dependencies": {
  • jobbnorge-block/trunk/package.json

    r3000744 r3002720  
    11{
    22    "name": "jobbnorge-block",
    3     "version": "2.1.3",
     3    "version": "2.1.",
    44    "description": "Jobbnorge Block for WordPress Gutenberg",
    55    "author": "Per Søderlind <per@soderlind.no>",
  • jobbnorge-block/trunk/readme.txt

    r3000744 r3002720  
    55Requires at least: 5.9
    66Requires PHP:      7.4
    7 Stable tag:        2.1.3
     7Stable tag:        2.1.
    88License:           GPL-2.0-or-later
    99License URI:       https://www.gnu.org/licenses/gpl-2.0.html
     
    1001003. Listview with options.
    1011014. Gridview with options.
    102 5. Custom Select field for employer ID. Ctrl-click (Windows) or Cmd-click (Mac) to select multiple employers. Alt-click (Windows) or Option-click (Mac) to select a range of employers.
     1025. Custom Select field for employer ID. Ctrl-click (Windows) or Cmd-click (Mac) to select multiple employers. to select a range of employers.
    103103
    104104== Changelog ==
     105
     106
     107
     108
    105109
    106110= 2.1.3 =
  • jobbnorge-block/trunk/src/block.json

    r3000744 r3002720  
    33    "apiVersion": 2,
    44    "name": "dss/jobbnorge",
    5     "version": "2.1.3",
     5    "version": "2.1.",
    66    "title": "Jobbnorge",
    77    "category": "widgets",
  • jobbnorge-block/trunk/src/edit.js

    r3000729 r3002720  
    9494                                className="wp-block-dss-jobbnorge__placeholder-input"
    9595                                help={__(
    96                                     'Select employers to display. Ctrl-click (Windows) or Cmd-click (Mac) to select multiple employers. Alt-click (Windows) or Option-click (Mac) to select a range of employers.',
     96                                    'Select employers to display. Ctrl-click (Windows) or Cmd-click (Mac) to select multiple employers. to select a range of employers.',
    9797                                    'wp-jobbnorge-block'
    9898                                )}
  • jobbnorge-block/trunk/wp-jobb-norge.php

    r3000744 r3002720  
    66 * Requires at least: 5.9
    77 * Requires PHP:      7.0
    8  * Version:           2.1.3
     8 * Version:           2.1.
    99 * Author:            PerS
    1010 * License:           GPL-2.0-or-later
Note: See TracChangeset for help on using the changeset viewer.