{"_id":"@aylx/dmn-js-properties-panel","_rev":"3-fac4732d5d8edef7e44364468539945b","name":"@aylx/dmn-js-properties-panel","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@aylx/dmn-js-properties-panel","version":"1.0.0","keywords":["bpmn-io","dmn-js","properties","properties-panel"],"author":{"url":"https://github.com/nikku","name":"Nico Rehwaldt"},"license":"MIT","_id":"@aylx/dmn-js-properties-panel@1.0.0","maintainers":[{"name":"zxuanhong","email":"zxuanhong@aliyun.com"}],"homepage":"https://github.com/bpmn-io/dmn-js-properties-panel#readme","bugs":{"url":"https://github.com/bpmn-io/dmn-js-properties-panel/issues"},"dist":{"shasum":"0781709197326534e6d0f1c8152afb09550ef26a","tarball":"https://registry.npmjs.org/@aylx/dmn-js-properties-panel/-/dmn-js-properties-panel-1.0.0.tgz","fileCount":8,"integrity":"sha512-Jkxo0YbPgk/Kb7f41KbA+k4yRN34F4OHCIZytc4ACFxd/fHKHCLvnIzKBpZgysInRblnIxxNul8AU5v2LkdMMg==","signatures":[{"sig":"MEUCIQDgnuS0NUXLpW9YEGier5bGhdVX+8stTX9652TCrtZkpQIgAUdAtaj68jYwUgh07VBKqZYRUuQQlEf14vLkXO4FgAU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":278406},"main":"dist/index.js","module":"dist/index.esm.js","engines":{"node":"*"},"gitHead":"d45a565fb4866e7aab03fcb6607428938b000fcd","scripts":{"all":"run-s lint test distro","dev":"npm test -- --auto-watch --no-single-run","lint":"eslint .","test":"karma start karma.config.js","build":"run-p bundle","start":"npm run start:cloud","bundle":"rollup -c --bundleConfigAsCjs","distro":"run-s build test:build","prepare":"run-s bundle","start:dmn":"cross-env SINGLE_START=dmn npm run dev","test:build":"mocha --reporter=spec --recursive test/distro","start:cloud":"cross-env SINGLE_START=cloud npm run dev","bundle:watch":"npm run bundle -- -w"},"_npmUser":{"name":"zxuanhong","email":"zxuanhong@aliyun.com"},"repository":{"url":"git+https://github.com/bpmn-io/dmn-js-properties-panel.git","type":"git"},"_npmVersion":"10.7.0","description":"A properties panel for dmn-js","directories":{},"_nodeVersion":"18.20.4","dependencies":{"min-dom":"^4.1.0","min-dash":"^4.2.1","diagram-js":"^14.3.1"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.4.1","karma":"^6.4.3","mocha":"^10.4.0","sinon":"^17.0.1","dmn-js":"^16.6.0","eslint":"^9.0.0","rollup":"^4.18.0","webpack":"^5.92.1","cross-env":"^7.0.3","puppeteer":"^23.0.0","dmn-js-drd":"^16.6.0","sinon-chai":"^3.7.0","@babel/core":"^7.24.7","karma-mocha":"^2.0.1","@svgr/rollup":"^8.1.0","babel-loader":"^9.1.2","npm-run-all2":"^7.0.0","@svgr/webpack":"^8.1.0","dmn-js-shared":"^16.5.0","karma-webpack":"^5.0.1","karma-coverage":"^2.2.1","@aylx/dmn-moddle":"^1.0.0","karma-sinon-chai":"^2.0.2","rollup-plugin-copy":"^3.4.0","@rollup/plugin-json":"^6.1.0","@rollup/plugin-alias":"^5.1.0","@rollup/plugin-babel":"^6.0.3","eslint-plugin-import":"^2.31.0","karma-debug-launcher":"^0.0.5","babel-plugin-istanbul":"^7.0.0","eslint-plugin-bpmn-io":"^2.0.0","karma-chrome-launcher":"^3.2.0","@aylx/properties-panel":"^1.0.0","karma-env-preprocessor":"^0.1.1","@rollup/plugin-commonjs":"^28.0.0","@testing-library/preact":"^3.2.4","eslint-plugin-react-hooks":"^5.0.0","@rollup/plugin-node-resolve":"^15.1.0","mocha-test-container-support":"^0.2.0","@babel/plugin-transform-react-jsx":"^7.24.7"},"peerDependencies":{"dmn-js":">=13","@aylx/properties-panel":">=1.0"},"_npmOperationalInternal":{"tmp":"tmp/dmn-js-properties-panel_1.0.0_1730712912161_0.2504523695902927","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@aylx/dmn-js-properties-panel","version":"1.0.1","keywords":["bpmn-io","dmn-js","properties","properties-panel"],"author":{"url":"https://github.com/nikku","name":"Nico Rehwaldt"},"license":"MIT","_id":"@aylx/dmn-js-properties-panel@1.0.1","maintainers":[{"name":"zxuanhong","email":"zxuanhong@aliyun.com"}],"homepage":"https://github.com/bpmn-io/dmn-js-properties-panel#readme","bugs":{"url":"https://github.com/bpmn-io/dmn-js-properties-panel/issues"},"dist":{"shasum":"9a0b21c1861d3ea7d5119a6eb48da4b7d0be82a2","tarball":"https://registry.npmjs.org/@aylx/dmn-js-properties-panel/-/dmn-js-properties-panel-1.0.1.tgz","fileCount":8,"integrity":"sha512-3cKWX9Oy0u5WXMIZLA+6SBEzEaE2+UgckePVGwyeLuYYfjPVPxAh6330rah/LYEigfpB0fQzEsFUK+avr4t1uA==","signatures":[{"sig":"MEUCIQDQAk6w/qpXs5fI9qCK1XLeEM80r7WEAQ53NoawzrOChAIgRT7ab9h4SrfdqXiiL43a4hPpwpqvYgcV22uDcwoPk9o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":278407},"main":"dist/index.js","module":"dist/index.esm.js","engines":{"node":"*"},"gitHead":"2d0a85bcbfe23a2af1131274771b7966e1e7132e","scripts":{"all":"run-s lint test distro","dev":"npm test -- --auto-watch --no-single-run","lint":"eslint .","test":"karma start karma.config.js","build":"run-p bundle","start":"npm run start:cloud","bundle":"rollup -c --bundleConfigAsCjs","distro":"run-s build test:build","prepare":"run-s bundle","start:dmn":"cross-env SINGLE_START=dmn npm run dev","test:build":"mocha --reporter=spec --recursive test/distro","start:cloud":"cross-env SINGLE_START=cloud npm run dev","bundle:watch":"npm run bundle -- -w"},"_npmUser":{"name":"zxuanhong","email":"zxuanhong@aliyun.com"},"repository":{"url":"git+https://github.com/bpmn-io/dmn-js-properties-panel.git","type":"git"},"_npmVersion":"10.9.0","description":"A properties panel for dmn-js","directories":{},"_nodeVersion":"20.11.1","dependencies":{"min-dom":"^5.1.1","min-dash":"^4.2.2","diagram-js":"^15.1.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^5.1.2","karma":"^6.4.4","mocha":"^10.8.2","sinon":"^19.0.2","dmn-js":"^16.8.1","eslint":"^9.14.0","rollup":"^4.24.4","webpack":"^5.96.1","cross-env":"^7.0.3","puppeteer":"^23.7.0","dmn-js-drd":"^16.8.0","sinon-chai":"^4.0.0","@babel/core":"^7.26.0","karma-mocha":"^2.0.1","@svgr/rollup":"^8.1.0","babel-loader":"^9.2.1","npm-run-all2":"^7.0.1","@svgr/webpack":"^8.1.0","dmn-js-shared":"^16.8.0","karma-webpack":"^5.0.1","karma-coverage":"^2.2.1","@aylx/dmn-moddle":"^1.0.1","karma-sinon-chai":"^2.0.2","rollup-plugin-copy":"^3.5.0","@rollup/plugin-json":"^6.1.0","@rollup/plugin-alias":"^5.1.1","@rollup/plugin-babel":"^6.0.4","eslint-plugin-import":"^2.31.0","karma-debug-launcher":"^0.0.5","babel-plugin-istanbul":"^7.0.0","eslint-plugin-bpmn-io":"^2.0.2","karma-chrome-launcher":"^3.2.0","@aylx/properties-panel":"^1.0.0","karma-env-preprocessor":"^0.1.1","@rollup/plugin-commonjs":"^28.0.1","@testing-library/preact":"^3.2.4","eslint-plugin-react-hooks":"^5.0.0","@rollup/plugin-node-resolve":"^15.3.0","mocha-test-container-support":"^0.2.0","@babel/plugin-transform-react-jsx":"^7.25.9"},"peerDependencies":{"dmn-js":">=13","@aylx/properties-panel":">=1.0"},"_npmOperationalInternal":{"tmp":"tmp/dmn-js-properties-panel_1.0.1_1730919540932_0.05536734134528554","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@aylx/dmn-js-properties-panel","version":"1.0.2","keywords":["bpmn-io","dmn-js","properties","properties-panel"],"author":{"url":"https://github.com/nikku","name":"Nico Rehwaldt"},"license":"MIT","_id":"@aylx/dmn-js-properties-panel@1.0.2","maintainers":[{"name":"zxuanhong","email":"zxuanhong@aliyun.com"}],"homepage":"https://github.com/bpmn-io/dmn-js-properties-panel#readme","bugs":{"url":"https://github.com/bpmn-io/dmn-js-properties-panel/issues"},"dist":{"shasum":"6626d5ef69e094fb85fb798ac1c83407ad150c6e","tarball":"https://registry.npmjs.org/@aylx/dmn-js-properties-panel/-/dmn-js-properties-panel-1.0.2.tgz","fileCount":8,"integrity":"sha512-+8h0g8IyUPdHErCJyqM96ERbflEr/Bv3QN1/FH4CFvY+lODcHzsfBtqfIDe33lUv1htKjvjtdp/xx81OcfAhCg==","signatures":[{"sig":"MEYCIQD09QRVoVNtPbVsaB+AVptZyVtgljsyAv9TtvbG0Ju4IgIhAJYGn03+isP8lLX91AAo6BBZqDg8tEffu2aX38Ap0PvS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":280847},"main":"dist/index.js","module":"dist/index.esm.js","engines":{"node":"*"},"gitHead":"44c4ca38508957d28aae4762ef3ef39d4fda61f6","scripts":{"all":"run-s lint test distro","dev":"npm test -- --auto-watch --no-single-run","lint":"eslint .","test":"karma start karma.config.js","build":"run-p bundle","start":"npm run start:cloud","bundle":"rollup -c --bundleConfigAsCjs","distro":"run-s build test:build","prepare":"run-s bundle","start:dmn":"cross-env SINGLE_START=dmn npm run dev","test:build":"mocha --reporter=spec --recursive test/distro","start:cloud":"cross-env SINGLE_START=cloud npm run dev","bundle:watch":"npm run bundle -- -w"},"_npmUser":{"name":"zxuanhong","email":"zxuanhong@aliyun.com"},"repository":{"url":"git+https://github.com/bpmn-io/dmn-js-properties-panel.git","type":"git"},"_npmVersion":"10.9.0","description":"A properties panel for dmn-js","directories":{},"_nodeVersion":"20.11.1","dependencies":{"min-dom":"^5.1.1","min-dash":"^4.2.2","diagram-js":"^15.2.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^5.1.2","karma":"^6.4.4","mocha":"^10.8.2","sinon":"^19.0.2","dmn-js":"^16.8.1","eslint":"^9.14.0","rollup":"^4.24.4","webpack":"^5.96.1","cross-env":"^7.0.3","puppeteer":"^23.7.1","dmn-js-drd":"^16.8.0","sinon-chai":"^4.0.0","@babel/core":"^7.26.0","karma-mocha":"^2.0.1","@svgr/rollup":"^8.1.0","babel-loader":"^9.2.1","npm-run-all2":"^7.0.1","@svgr/webpack":"^8.1.0","dmn-js-shared":"^16.8.0","karma-webpack":"^5.0.1","karma-coverage":"^2.2.1","@aylx/dmn-moddle":"^1.0.2","karma-sinon-chai":"^2.0.2","rollup-plugin-copy":"^3.5.0","@rollup/plugin-json":"^6.1.0","@rollup/plugin-alias":"^5.1.1","@rollup/plugin-babel":"^6.0.4","eslint-plugin-import":"^2.31.0","karma-debug-launcher":"^0.0.5","babel-plugin-istanbul":"^7.0.0","eslint-plugin-bpmn-io":"^2.0.2","karma-chrome-launcher":"^3.2.0","@aylx/properties-panel":"^1.0.2","karma-env-preprocessor":"^0.1.1","@rollup/plugin-commonjs":"^28.0.1","@testing-library/preact":"^3.2.4","eslint-plugin-react-hooks":"^5.0.0","@rollup/plugin-node-resolve":"^15.3.0","mocha-test-container-support":"^0.2.0","@babel/plugin-transform-react-jsx":"^7.25.9"},"peerDependencies":{"dmn-js":">=13","@aylx/properties-panel":">=1.0"},"_npmOperationalInternal":{"tmp":"tmp/dmn-js-properties-panel_1.0.2_1730992156048_0.016286232054517624","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@aylx/dmn-js-properties-panel","version":"1.0.3","description":"A properties panel for dmn-js","scripts":{"all":"run-s lint test distro","distro":"run-s build test:build","build":"run-p bundle","bundle":"rollup -c --bundleConfigAsCjs","bundle:watch":"npm run bundle -- -w","lint":"eslint .","dev":"npm test -- --auto-watch --no-single-run","test":"karma start karma.config.js","test:build":"mocha --reporter=spec --recursive test/distro","start":"npm run start:cloud","start:cloud":"cross-env SINGLE_START=cloud npm run dev","start:dmn":"cross-env SINGLE_START=dmn npm run dev","prepare":"run-s bundle"},"repository":{"type":"git","url":"git+https://github.com/bpmn-io/dmn-js-properties-panel.git"},"keywords":["bpmn-io","dmn-js","properties","properties-panel"],"main":"dist/index.js","module":"dist/index.esm.js","author":{"name":"Nico Rehwaldt","url":"https://github.com/nikku"},"license":"MIT","engines":{"node":"*"},"dependencies":{"diagram-js":"^15.2.0","min-dash":"^4.2.2","min-dom":"^5.1.1"},"devDependencies":{"@babel/core":"^7.26.0","@babel/plugin-transform-react-jsx":"^7.25.9","@rollup/plugin-alias":"^5.1.1","@rollup/plugin-babel":"^6.0.4","@rollup/plugin-commonjs":"^28.0.1","@rollup/plugin-json":"^6.1.0","@rollup/plugin-node-resolve":"^15.3.0","@svgr/rollup":"^8.1.0","@svgr/webpack":"^8.1.0","@testing-library/preact":"^3.2.4","babel-loader":"^9.2.1","babel-plugin-istanbul":"^7.0.0","chai":"^5.1.2","cross-env":"^7.0.3","dmn-js":"^16.8.1","dmn-js-drd":"^16.8.0","dmn-js-shared":"^16.8.0","eslint":"^9.14.0","eslint-plugin-bpmn-io":"^2.0.2","eslint-plugin-import":"^2.31.0","eslint-plugin-react-hooks":"^5.0.0","karma":"^6.4.4","karma-chrome-launcher":"^3.2.0","karma-coverage":"^2.2.1","karma-debug-launcher":"^0.0.5","karma-env-preprocessor":"^0.1.1","karma-mocha":"^2.0.1","karma-sinon-chai":"^2.0.2","karma-webpack":"^5.0.1","mocha":"^10.8.2","mocha-test-container-support":"^0.2.0","npm-run-all2":"^7.0.1","puppeteer":"^23.7.1","rollup":"^4.24.4","rollup-plugin-copy":"^3.5.0","sinon":"^19.0.2","sinon-chai":"^4.0.0","webpack":"^5.96.1","@aylx/properties-panel":"^1.0.2","@aylx/dmn-moddle":"^1.0.2"},"peerDependencies":{"@aylx/properties-panel":">=1.0","dmn-js":">=13"},"_id":"@aylx/dmn-js-properties-panel@1.0.3","gitHead":"44c4ca38508957d28aae4762ef3ef39d4fda61f6","bugs":{"url":"https://github.com/bpmn-io/dmn-js-properties-panel/issues"},"homepage":"https://github.com/bpmn-io/dmn-js-properties-panel#readme","_nodeVersion":"20.11.1","_npmVersion":"10.9.0","dist":{"integrity":"sha512-OdVrIIyfmTFDGuiguK1tkqph3I2e6QSuiIvvzyESjZkkBeyoa7YqFgLSCat+3tPWpNSUXc+KxIsDxqPe4q1oUg==","shasum":"407d0781a200f93ed9d2cfd1cceb1ba2f5aa4b41","tarball":"https://registry.npmjs.org/@aylx/dmn-js-properties-panel/-/dmn-js-properties-panel-1.0.3.tgz","fileCount":8,"unpackedSize":280847,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID8BefT808QnBO1tlw9IGLNU+PPKHMSchoqzG/WfaS2SAiEA0w/mEVBckoxp9lHpbmFFAtseDS+jXH496950RMds+a0="}]},"_npmUser":{"name":"zxuanhong","email":"zxuanhong@aliyun.com"},"directories":{},"maintainers":[{"name":"zxuanhong","email":"zxuanhong@aliyun.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dmn-js-properties-panel_1.0.3_1730996648267_0.599043496956096"},"_hasShrinkwrap":false}},"time":{"created":"2024-11-04T09:35:12.049Z","modified":"2024-11-07T16:24:08.674Z","1.0.0":"2024-11-04T09:35:12.305Z","1.0.1":"2024-11-06T18:59:01.131Z","1.0.2":"2024-11-07T15:09:16.276Z","1.0.3":"2024-11-07T16:24:08.464Z"},"bugs":{"url":"https://github.com/bpmn-io/dmn-js-properties-panel/issues"},"author":{"name":"Nico Rehwaldt","url":"https://github.com/nikku"},"license":"MIT","homepage":"https://github.com/bpmn-io/dmn-js-properties-panel#readme","keywords":["bpmn-io","dmn-js","properties","properties-panel"],"repository":{"type":"git","url":"git+https://github.com/bpmn-io/dmn-js-properties-panel.git"},"description":"A properties panel for dmn-js","maintainers":[{"name":"zxuanhong","email":"zxuanhong@aliyun.com"}],"readme":"# dmn-js-properties-panel\n\n[![CI](https://github.com/bpmn-io/dmn-js-properties-panel/workflows/CI/badge.svg)](https://github.com/bpmn-io/dmn-js-properties-panel/actions?query=workflow%3ACI)\n\nThis is properties panel extension for [dmn-js](https://github.com/bpmn-io/dmn-js).\n\n![dmn-js-properties-panel screenshot](./docs/screenshot.png \"Screenshot of the dmn-js editor + the properties panel\")\n\n## Features\n\nThe properties panel allows users to edit invisible DMN properties in a convenient way.\n\nSome of the features are:\n\n* Edit element ids and names\n* Edit execution related [Camunda](http://camunda.org) properties\n* Redo and undo (plugs into the [dmn-js](https://github.com/bpmn-io/dmn-js) editing cycle)\n\n\n## Usage\n\nProvide two HTML elements, one for the properties panel and one for the DMN diagram:\n\n```html\n<div class=\"modeler\">\n  <div id=\"canvas\"></div>\n  <div id=\"properties\"></div>\n</div>\n```\n\nBootstrap [dmn-js](https://github.com/bpmn-io/dmn-js) with the properties panel, and a [properties provider](./lib/provider):\n\n```javascript\nimport DmnModeler from 'dmn-js/lib/Modeler';\n\nimport {\n  DmnPropertiesPanelModule,\n  DmnPropertiesProviderModule,\n} from 'dmn-js-properties-panel';\n\nvar dmnModeler = new DmnModeler({\n  drd: {\n    propertiesPanel: {\n      parent: '#properties'\n    },\n    additionalModules: [\n      DmnPropertiesPanelModule,\n      DmnPropertiesProviderModule\n    ]\n  },\n  container: '#canvas'\n});\n```\n\n\n### Dynamic Attach/Detach\n\nYou may attach or detach the properties panel dynamically to any element on the page, too:\n\n```javascript\nvar propertiesPanel = dmnJS.get('propertiesPanel');\n\n// detach the panel\npropertiesPanel.detach();\n\n// attach it to some other element\npropertiesPanel.attachTo('#other-properties');\n```\n\n\n### Use with Camunda properties\n\nIn order to be able to edit [Camunda](https://camunda.org) related properties, use the [camunda properties provider](./lib/provider/camunda).\nIn addition, you need to define the `camunda` namespace via [camunda-dmn-moddle](https://github.com/camunda/camunda-dmn-moddle).\n\n```javascript\nimport DmnModeler from 'dmn-js/lib/Modeler';\nimport {\n  DmnPropertiesPanelModule,\n  DmnPropertiesProviderModule,\n  CamundaPropertiesProviderModule\n} from 'dmn-js-properties-panel';\n\n\n// use Camunda properties provider\nimport CamundaPropertiesProvider from 'src/provider/camunda';\n\n// a descriptor that defines Camunda related DMN 1.1 XML extensions\nimport camundaModdleDescriptor from 'camunda-dmn-moddle/resources/camunda';\n\nvar dmnModeler = new DmnModeler({\n  drd: {\n    propertiesPanel: {\n      parent: '#properties'\n    },\n    additionalModules: [\n      DmnPropertiesPanelModule,\n      DmnPropertiesProviderModule,\n      CamundaPropertiesProviderModule\n    ]\n  },\n  container: '#canvas'\n  // make camunda prefix known for import, editing and export\n  moddleExtensions: {\n    kunpeng: camundaModdleDescriptor\n  }\n});\n\n...\n```\n\n\n## Additional Resources\n\n* [Issue tracker](https://github.com/bpmn-io/dmn-js-properties-panel)\n* [Forum](https://forum.bpmn.io)\n\n\n## Development\n\n### Running the tests\n\n```bash\nnpm install\n\nexport TEST_BROWSERS=Chrome\nnpm run all\n```\n\n\n## License\n\nMIT\n","readmeFilename":"README.md"}